Prechecker results: error


PHP lint problems

(0 errors, 0 warnings)

This section shows php lint problems in the code detected by php -l [More info]


PHP coding style problems

(11 errors, 7 warnings)

This section shows the coding style problems detected in the code by phpcs [More info]

mod/qcreate/classes/task/synchronize_qaccess.php
(#29) Expected MOODLE_INTERNAL check or config.php inclusion
mod/qcreate/classes/task/update_grades.php
(#29) Expected MOODLE_INTERNAL check or config.php inclusion
mod/qcreate/db/upgrade.php
(#42) Expected MOODLE_INTERNAL check or config.php inclusion
mod/qcreate/edit.php
(#24) Expected login check (require_login, require_course_login, admin_externalpage_setup) following config inclusion. None found.
mod/qcreate/export_good_questions_form.php
(#25) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
mod/qcreate/exportgood.php
(#26) Expected login check (require_login, require_course_login, admin_externalpage_setup) following config inclusion. None found.
(#30) Expected 1 space after "="; newline found
mod/qcreate/lib.php
(#61) Expected MOODLE_INTERNAL check or config.php inclusion
(#1192) Expected 1 space after "+"; newline found
mod/qcreate/locallib.php
(#17) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#1086) Expected 1 space after "="; newline found
(#1088) Expected 1 space after "="; newline found
(#1139) Expected 1 space after "/"; newline found
mod/qcreate/mod_form.php
(#183) Expected 1 space after "="; newline found
mod/qcreate/tests/lib_test.php
(#42) Possible useless method overriding detected
mod/qcreate/tests/locallib_test.php
(#226) Expected 1 space after "+"; newline found
(#227) Expected 1 space after "+"; newline found
(#228) Expected 1 space after "+"; newline found

Javascript coding style problems

(0 errors, 0 warnings)

This section shows the coding style problems detected in the code by jshint [More info]


CSS problems

(0 errors, 0 warnings)

This section shows CSS problems detected by csslint [More info]


PHPDocs style problems

(129 errors, 3 warnings)

This section shows the phpdocs problems detected in the code by local_moodlecheck [More info]

mod/qcreate/backup/moodle1/lib.php
(#111) Function moodle1_mod_qcreate_handler::on_qcreate_requireds_start is not documented
(#115) Function moodle1_mod_qcreate_handler::on_qcreate_requireds_end is not documented
(#119) Function moodle1_mod_qcreate_handler::process_qcreate_required is not documented
(#123) Function moodle1_mod_qcreate_handler::on_qcreate_grades_start is not documented
(#127) Function moodle1_mod_qcreate_handler::on_qcreate_grades_end is not documented
(#131) Function moodle1_mod_qcreate_handler::process_qcreate_grade is not documented
(#17) No one-line description found in phpdocs for file
(#73) Phpdocs for function moodle1_mod_qcreate_handler::process_qcreate has incomplete parameters list
(#28) Class moodle1_mod_qcreate_handler does not have @copyright tag
(#28) Class moodle1_mod_qcreate_handler does not have @license tag
mod/qcreate/backup/moodle2/backup_qcreate_stepslib.php
(#33) Function backup_qcreate_activity_structure_step::define_structure is not documented
(#17) No one-line description found in phpdocs for file
mod/qcreate/backup/moodle2/restore_qcreate_activity_task.class.php
(#17) No one-line description found in phpdocs for file
(#29) No one-line description found in phpdocs for class restore_qcreate_activity_task
mod/qcreate/backup/moodle2/restore_qcreate_stepslib.php
(#35) Function restore_qcreate_activity_structure_step::define_structure is not documented
(#54) Function restore_qcreate_activity_structure_step::process_qcreate is not documented
(#88) Function restore_qcreate_activity_structure_step::process_qcreate_required is not documented
(#99) Function restore_qcreate_activity_structure_step::process_qcreate_grade is not documented
(#116) Function restore_qcreate_activity_structure_step::inform_new_usage_id is not documented
(#119) Function restore_qcreate_activity_structure_step::after_execute is not documented
(#17) No one-line description found in phpdocs for file
mod/qcreate/classes/event/question_graded.php
(#37) Package core is not valid
mod/qcreate/classes/event/question_regraded.php
(#37) Package core is not valid
mod/qcreate/classes/task/synchronize_qaccess.php
(#26) Class synchronize_qaccess does not have @copyright tag
(#26) Class synchronize_qaccess does not have @license tag
mod/qcreate/classes/task/update_grades.php
(#26) Class update_grades does not have @copyright tag
(#26) Class update_grades does not have @license tag
mod/qcreate/db/upgrade.php
(#42) Function xmldb_qcreate_upgrade is not documented
mod/qcreate/export_good_questions_form.php
(#27) Class qcreate_export_good_questions_form is not documented
(#28) Function qcreate_export_good_questions_form::definition is not documented
mod/qcreate/exportgood.php
(#17) No one-line description found in phpdocs for file
mod/qcreate/lib.php
(#1408) Function qcreate_question_pluginfile is not documented
(#1420) Function qcreate_time_status is not documented
(#17) No one-line description found in phpdocs for file
(#1138) There is no description in phpdocs for function qcreate_grade_aggregate
(#279) Phpdocs for function qcreate_reset_userdata has incomplete parameters list
(#331) Phpdocs for function qcreate_reset_course_form_definition has incomplete parameters list
(#381) Phpdocs for function qcreate_user_complete has incomplete parameters list
(#690) Phpdocs for function qcreate_student_q_access_sync has incomplete parameters list
(#755) Phpdocs for function qcreate_scale_used has incomplete parameters list
(#832) Phpdocs for function qcreate_process_grades has incomplete parameters list
(#901) Phpdocs for function qcreate_process_local_grade has incomplete parameters list
(#990) Phpdocs for function qcreate_get_qestions_number has incomplete parameters list
(#1024) Phpdocs for function qcreate_get_local_grade has incomplete parameters list
(#1051) Phpdocs for function qcreate_prepare_new_local_grade has incomplete parameters list
(#1139) Phpdocs for function qcreate_grade_aggregate has incomplete parameters list
(#1201) Phpdocs for function qcreate_required_qtypes has incomplete parameters list
(#95) Not recommended phpdocs tag @global used
(#95) Not recommended phpdocs tag @global used
(#738) Not recommended phpdocs tag @example used
mod/qcreate/locallib.php
(#17) File-level phpdocs block is not found
(#275) Function qcreate::get_required_qtypes is not documented
(#279) Function qcreate::get_allowed_qtypes_list is not documented
(#283) Function qcreate::get_allowed_qtypes_array is not documented
(#287) Function qcreate::get_allowed_qtypes_where is not documented
(#769) Function qcreate::questions_of_type is not documented
(#779) Function qcreate::qtype_menu is not documented
(#1677) There is no description in phpdocs for function qcreate_question_action_icons
(#1692) There is no description in phpdocs for function qcreate_question_edit_button
(#1738) There is no description in phpdocs for function qcreate_question_delete_button
(#1768) There is no description in phpdocs for function qcreate_question_preview_button
(#881) Phpdocs for function qcreate::count_user_questions has incomplete parameters list
(#1282) Phpdocs for function qcreate::get_local_grade has incomplete parameters list
(#1342) Phpdocs for function qcreate::is_activity_open has incomplete parameters list
(#1474) Phpdocs for function qcreate::send_qcreate_notification has incomplete parameters list
(#1548) Phpdocs for function qcreate::send_notification has incomplete parameters list
(#1769) Phpdocs for function qcreate_question_preview_button has incomplete parameters list
(#1677) Package is not specified for function qcreate_question_action_icons. It is also not specified in file-level phpdocs
(#1692) Package is not specified for function qcreate_question_edit_button. It is also not specified in file-level phpdocs
(#1738) Package is not specified for function qcreate_question_delete_button. It is also not specified in file-level phpdocs
(#1768) Package is not specified for function qcreate_question_preview_button. It is also not specified in file-level phpdocs
mod/qcreate/mod_form.php
(#33) Class mod_qcreate_mod_form is not documented
(#37) Function mod_qcreate_mod_form::definition is not documented
(#162) Function mod_qcreate_mod_form::data_preprocessing is not documented
(#191) Function mod_qcreate_mod_form::validation is not documented
(#259) Function mod_qcreate_mod_form::get_data is not documented
(#35) Variable mod_qcreate_mod_form::$_requireds is not documented
mod/qcreate/renderable.php
(#132) Variable qcreate_teacher_overview::$available is not documented
(#133) Variable qcreate_teacher_overview::$timenow is not documented
(#134) Variable qcreate_teacher_overview::$required is not documented
(#135) Variable qcreate_teacher_overview::$allowed is not documented
(#165) Variable qcreate_student_view::$cm is not documented
(#166) Variable qcreate_student_view::$cat is not documented
(#167) Variable qcreate_student_view::$requiredquestions is not documented
(#168) Variable qcreate_student_view::$extraquestions is not documented
(#169) Variable qcreate_student_view::$qtyperequired is not documented
(#170) Variable qcreate_student_view::$extraquestionsgraded is not documented
(#171) Variable qcreate_student_view::$extraquestionsdone is not documented
(#172) Variable qcreate_student_view::$extras is not documented
(#173) Variable qcreate_student_view::$studentgrade is not documented
(#174) Variable qcreate_student_view::$qtypesallowed is not documented
(#179) Variable qcreate_student_view::$available is not documented
(#180) Variable qcreate_student_view::$timenow is not documented
(#140) Phpdocs for function qcreate_teacher_overview::__construct has incomplete parameters list
(#185) Phpdocs for function qcreate_student_view::__construct has incomplete parameters list
mod/qcreate/renderer.php
(#209) Function mod_qcreate_renderer::gradingstring is not documented
(#223) Function mod_qcreate_renderer::proper_grammar is not documented
(#237) Function mod_qcreate_renderer::proper_punctuation is not documented
(#258) Function mod_qcreate_renderer::teacher_required_questions is not documented
(#279) Function mod_qcreate_renderer::allowed_qtypes_list is not documented
(#392) Function mod_qcreate_renderer::student_required_view is not documented
(#436) Function mod_qcreate_renderer::student_questionlist_view is not documented
(#448) Function mod_qcreate_renderer::student_question_view is not documented
(#482) Function mod_qcreate_renderer::student_extra_view is not documented
(#523) Function mod_qcreate_renderer::render_grade is not documented
(#177) Phpdocs for function mod_qcreate_renderer::time_status has incomplete parameters list
(#296) Phpdocs for function mod_qcreate_renderer::render_qcreate_teacher_overview has incomplete parameters list
(#332) Phpdocs for function mod_qcreate_renderer::render_qcreate_student_view has incomplete parameters list
mod/qcreate/tests/base_test.php
(#141) Function mod_qcreate_base_testcase::create_extra_users is not documented
(#199) Function mod_qcreate_base_testcase::create_instance is not documented
(#221) Function testable_qcreate::testable_delete_grades is not documented
(#225) Function testable_qcreate::testable_get_graders is not documented
(#215) No one-line description found in phpdocs for class testable_qcreate
(#215) Class testable_qcreate does not have @copyright tag
(#215) Class testable_qcreate does not have @license tag
(#40) Invalid phpdocs tag @const used
(#42) Invalid phpdocs tag @const used
(#44) Invalid phpdocs tag @const used
(#46) Invalid phpdocs tag @const used
(#48) Invalid phpdocs tag @const used
(#50) Invalid phpdocs tag @const used
(#52) Invalid phpdocs tag @const used
(#54) Invalid phpdocs tag @const used
(#21) Category phpunit is not valid
mod/qcreate/tests/events_test.php
(#21) Category phpunit is not valid
(#34) Category phpunit is not valid
mod/qcreate/tests/generator/lib.php
(#17) File-level phpdocs block is not found
(#30) Phpdocs for function mod_qcreate_generator::create_instance has incomplete parameters list
mod/qcreate/tests/generator_test.php
(#21) Category phpunit is not valid
(#33) Category phpunit is not valid
mod/qcreate/tests/lib_test.php
(#21) Category phpunit is not valid
mod/qcreate/tests/locallib_test.php
(#21) Category phpunit is not valid

Update savepoints problems

(0 errors, 0 warnings)

This section shows problems detected with the handling of upgrade savepoints [More info]


Third party library modification problems

(0 errors, 0 warnings)

This section shows problems detected with the modification of third party libraries [More info]


Mustache template problems

(0 errors, 0 warnings)

This section shows problems detected in mustache templates [More info]