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

(0 errors, 5 warnings)

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

mod/qcreate/edit.php
(#24) Expected login check (require_login, require_course_login, admin_externalpage_setup) following config inclusion. None found.
mod/qcreate/exportgood.php
(#26) Expected login check (require_login, require_course_login, admin_externalpage_setup) following config inclusion. None found.
mod/qcreate/tests/behat/behat_mod_qcreate.php
(#48) Line exceeds 132 characters; contains 137 characters
mod/qcreate/tests/lib_test.php
(#42) Possible useless method overriding detected
mod/qcreate/tests/locallib_test.php
(#226) Line exceeds 132 characters; contains 157 characters

Javascript coding style problems

(0 errors, 0 warnings)

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


CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(134 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/analytics/indicator/cognitive_depth.php
(#49) Function cognitive_depth::get_indicator_type is not documented
(#53) Function cognitive_depth::get_cognitive_depth_level is not documented
mod/qcreate/classes/analytics/indicator/social_breadth.php
(#49) Function social_breadth::get_indicator_type is not documented
(#53) Function social_breadth::get_social_breadth_level is not documented
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
(#28) Class synchronize_qaccess does not have @copyright tag
(#28) Class synchronize_qaccess does not have @license tag
mod/qcreate/classes/task/update_grades.php
(#28) Class update_grades does not have @copyright tag
(#28) Class update_grades does not have @license tag
mod/qcreate/db/upgrade.php
(#44) Function xmldb_qcreate_upgrade is not documented
mod/qcreate/export_good_questions_form.php
(#29) Class qcreate_export_good_questions_form is not documented
(#30) 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
(#1511) Function qcreate_question_pluginfile is not documented
(#1523) Function qcreate_time_status is not documented
(#17) No one-line description found in phpdocs for file
(#1182) There is no description in phpdocs for function qcreate_grade_aggregate
(#180) Phpdocs for function qcreate_reset_userdata has incomplete parameters list
(#362) Phpdocs for function qcreate_reset_course_form_definition has incomplete parameters list
(#412) Phpdocs for function qcreate_user_complete has incomplete parameters list
(#720) Phpdocs for function qcreate_student_q_access_sync has incomplete parameters list
(#786) Phpdocs for function qcreate_scale_used has incomplete parameters list
(#863) Phpdocs for function qcreate_process_grades has incomplete parameters list
(#933) Phpdocs for function qcreate_process_local_grade has incomplete parameters list
(#1022) Phpdocs for function qcreate_get_qestions_number has incomplete parameters list
(#1056) Phpdocs for function qcreate_get_local_grade has incomplete parameters list
(#1083) Phpdocs for function qcreate_prepare_new_local_grade has incomplete parameters list
(#1183) Phpdocs for function qcreate_grade_aggregate has incomplete parameters list
(#1245) Phpdocs for function qcreate_required_qtypes has incomplete parameters list
(#1691) Phpdocs for function mod_qcreate_core_calendar_get_valid_event_timestart_range has incomplete parameters list
(#1725) Phpdocs for function mod_qcreate_core_calendar_event_timestart_updated has incomplete parameters list
(#95) Not recommended phpdocs tag @global used
(#95) Not recommended phpdocs tag @global used
(#769) Not recommended phpdocs tag @example used
mod/qcreate/locallib.php
(#17) File-level phpdocs block is not found
(#276) Function qcreate::get_required_qtypes is not documented
(#280) Function qcreate::get_allowed_qtypes_list is not documented
(#284) Function qcreate::get_allowed_qtypes_array is not documented
(#288) Function qcreate::get_allowed_qtypes_where is not documented
(#777) Function qcreate::questions_of_type is not documented
(#787) Function qcreate::qtype_menu is not documented
(#1707) There is no description in phpdocs for function qcreate_question_action_icons
(#1722) There is no description in phpdocs for function qcreate_question_edit_button
(#1772) There is no description in phpdocs for function qcreate_question_delete_button
(#1802) There is no description in phpdocs for function qcreate_question_preview_button
(#889) Phpdocs for function qcreate::count_user_questions has incomplete parameters list
(#1311) Phpdocs for function qcreate::get_local_grade has incomplete parameters list
(#1371) Phpdocs for function qcreate::is_activity_open has incomplete parameters list
(#1503) Phpdocs for function qcreate::send_qcreate_notification has incomplete parameters list
(#1578) Phpdocs for function qcreate::send_notification has incomplete parameters list
(#1803) Phpdocs for function qcreate_question_preview_button has incomplete parameters list
(#1707) Package is not specified for function qcreate_question_action_icons. It is also not specified in file-level phpdocs
(#1722) Package is not specified for function qcreate_question_edit_button. It is also not specified in file-level phpdocs
(#1772) Package is not specified for function qcreate_question_delete_button. It is also not specified in file-level phpdocs
(#1802) 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
(#166) Function mod_qcreate_mod_form::data_preprocessing is not documented
(#195) Function mod_qcreate_mod_form::validation is not documented
(#35) Variable mod_qcreate_mod_form::$_requireds is not documented
mod/qcreate/renderable.php
(#166) Variable qcreate_teacher_overview::$available is not documented
(#167) Variable qcreate_teacher_overview::$timenow is not documented
(#168) Variable qcreate_teacher_overview::$required is not documented
(#169) Variable qcreate_teacher_overview::$allowed is not documented
(#199) Variable qcreate_student_view::$cm is not documented
(#200) Variable qcreate_student_view::$cat is not documented
(#201) Variable qcreate_student_view::$requiredquestions is not documented
(#202) Variable qcreate_student_view::$extraquestions is not documented
(#203) Variable qcreate_student_view::$qtyperequired is not documented
(#204) Variable qcreate_student_view::$extraquestionsgraded is not documented
(#205) Variable qcreate_student_view::$extraquestionsdone is not documented
(#206) Variable qcreate_student_view::$extras is not documented
(#207) Variable qcreate_student_view::$studentgrade is not documented
(#208) Variable qcreate_student_view::$qtypesallowed is not documented
(#213) Variable qcreate_student_view::$available is not documented
(#214) Variable qcreate_student_view::$timenow is not documented
(#137) Phpdocs for function qcreate_gradingmessage::__construct has incomplete parameters list
(#174) Phpdocs for function qcreate_teacher_overview::__construct has incomplete parameters list
(#219) 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
(#402) Function mod_qcreate_renderer::student_required_view is not documented
(#446) Function mod_qcreate_renderer::student_questionlist_view is not documented
(#458) Function mod_qcreate_renderer::student_question_view is not documented
(#492) Function mod_qcreate_renderer::student_extra_view is not documented
(#533) 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
(#342) 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
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]


grunt changes

(0 errors, 0 warnings)

This section shows files built by grunt and not commited [More info]


shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(0 errors, 0 warnings)

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