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

(221 errors, 51 warnings)

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

question/type/multinumerical/backup/moodle1/lib.php
(#49) Inline comments must start with a capital letter, digit or 3-dots sequence
(#49) Inline comments must end in full-stops, exclamation marks, or question marks
question/type/multinumerical/backup/moodle2/backup_qtype_multinumerical_plugin.class.php
(#37) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) Inline comments must end in full-stops, exclamation marks, or question marks
(#43) Inline comments must start with a capital letter, digit or 3-dots sequence
(#43) Inline comments must end in full-stops, exclamation marks, or question marks
(#46) Inline comments must end in full-stops, exclamation marks, or question marks
(#47) Line exceeds maximum limit of 180 characters; contains 196 characters
(#49) Inline comments must end in full-stops, exclamation marks, or question marks
(#52) Inline comments must start with a capital letter, digit or 3-dots sequence
(#52) Inline comments must end in full-stops, exclamation marks, or question marks
(#56) Inline comments must start with a capital letter, digit or 3-dots sequence
(#56) Inline comments must end in full-stops, exclamation marks, or question marks
question/type/multinumerical/backup/moodle2/restore_qtype_multinumerical_plugin.class.php
(#39) Inline comments must end in full-stops, exclamation marks, or question marks
(#41) Inline comments must start with a capital letter, digit or 3-dots sequence
(#41) Inline comments must end in full-stops, exclamation marks, or question marks
(#45) Inline comments must end in full-stops, exclamation marks, or question marks
(#57) Inline comments must end in full-stops, exclamation marks, or question marks
(#63) Inline comments must end in full-stops, exclamation marks, or question marks
(#65) Inline comments must end in full-stops, exclamation marks, or question marks
(#67) Inline comments must end in full-stops, exclamation marks, or question marks
(#69) Inline comments must end in full-stops, exclamation marks, or question marks
(#71) Empty ELSE statement detected
(#72) Inline comments must end in full-stops, exclamation marks, or question marks
question/type/multinumerical/db/upgrade.php
(#38) Inline comments must end in full-stops, exclamation marks, or question marks
(#42) Inline comments must end in full-stops, exclamation marks, or question marks
(#45) Inline comments must end in full-stops, exclamation marks, or question marks
(#49) Inline comments must end in full-stops, exclamation marks, or question marks
(#52) Inline comments must start with a capital letter, digit or 3-dots sequence
(#52) Inline comments must end in full-stops, exclamation marks, or question marks
question/type/multinumerical/edit_multinumerical_form.php
(#42) Line exceeds 132 characters; contains 137 characters
(#44) Line exceeds 132 characters; contains 159 characters
(#47) Variable "usecolorforfeedback_menu" must not contain underscores.
(#52) Variable "usecolorforfeedback_menu" must not contain underscores.
(#55) Variable "displaycalc_menu" must not contain underscores.
(#61) Variable "displaycalc_menu" must not contain underscores.
(#64) Variable "binarygrade_menu" must not contain underscores.
(#69) Variable "binarygrade_menu" must not contain underscores.
(#78) Inline comments must start with a capital letter, digit or 3-dots sequence
(#78) Inline comments must end in full-stops, exclamation marks, or question marks
question/type/multinumerical/question.php
(#75) Spaces must be used to indent lines; tabs are not allowed
(#75) Tab found within whitespace
(#75) Line indented incorrectly; expected at least 8 spaces, found 5
(#76) Spaces must be used to indent lines; tabs are not allowed
(#76) Tab found within whitespace
(#76) Line indented incorrectly; expected at least 8 spaces, found 5
(#77) Spaces must be used to indent lines; tabs are not allowed
(#77) Tab found within whitespace
(#77) Line indented incorrectly; expected at least 8 spaces, found 5
(#78) Spaces must be used to indent lines; tabs are not allowed
(#78) Tab found within whitespace
(#78) Line indented incorrectly; expected at least 8 spaces, found 5
(#79) Spaces must be used to indent lines; tabs are not allowed
(#79) Tab found within whitespace
(#79) Line indented incorrectly; expected at least 8 spaces, found 5
(#79) Variable "feedbackperconditions_computed" must not contain underscores.
(#80) Spaces must be used to indent lines; tabs are not allowed
(#80) Tab found within whitespace
(#80) Line indented incorrectly; expected at least 8 spaces, found 6
(#81) Spaces must be used to indent lines; tabs are not allowed
(#81) Tab found within whitespace
(#81) Line indented incorrectly; expected 8 spaces, found 5
(#82) Spaces must be used to indent lines; tabs are not allowed
(#82) Tab found within whitespace
(#82) Line indented incorrectly; expected at least 12 spaces, found 6
(#82) Line exceeds 132 characters; contains 151 characters
(#83) Spaces must be used to indent lines; tabs are not allowed
(#83) Tab found within whitespace
(#83) Line indented incorrectly; expected at least 12 spaces, found 6
(#84) Spaces must be used to indent lines; tabs are not allowed
(#84) Tab found within whitespace
(#84) Line indented incorrectly; expected 12 spaces, found 6
(#85) Spaces must be used to indent lines; tabs are not allowed
(#85) Tab found within whitespace
(#85) Line indented incorrectly; expected at least 16 spaces, found 7
(#86) Spaces must be used to indent lines; tabs are not allowed
(#86) Tab found within whitespace
(#86) Line indented incorrectly; expected at least 16 spaces, found 7
(#87) Spaces must be used to indent lines; tabs are not allowed
(#87) Tab found within whitespace
(#87) Line indented incorrectly; expected 16 spaces, found 7
(#88) Spaces must be used to indent lines; tabs are not allowed
(#88) Tab found within whitespace
(#88) Line indented incorrectly; expected 20 spaces, found 8
(#89) Spaces must be used to indent lines; tabs are not allowed
(#89) Tab found within whitespace
(#89) Line indented incorrectly; expected at least 24 spaces, found 9
(#89) Variable "feedbackperconditions_computed" must not contain underscores.
(#90) Spaces must be used to indent lines; tabs are not allowed
(#90) Tab found within whitespace
(#90) Line indented incorrectly; expected at least 24 spaces, found 9
(#90) Variable "feedbackperconditions_computed" must not contain underscores.
(#90) Line exceeds maximum limit of 180 characters; contains 289 characters
(#91) Spaces must be used to indent lines; tabs are not allowed
(#91) Tab found within whitespace
(#91) Line indented incorrectly; expected at least 24 spaces, found 9
(#91) Variable "feedbackperconditions_computed" must not contain underscores.
(#92) Spaces must be used to indent lines; tabs are not allowed
(#92) Tab found within whitespace
(#92) Line indented incorrectly; expected 20 spaces, found 8
(#93) Spaces must be used to indent lines; tabs are not allowed
(#93) Tab found within whitespace
(#93) Line indented incorrectly; expected 20 spaces, found 8
(#93) Expected "} else {\n"; found "}\n \t\t\t\telse {\n"
(#94) Spaces must be used to indent lines; tabs are not allowed
(#94) Tab found within whitespace
(#94) Line indented incorrectly; expected at least 24 spaces, found 9
(#94) Variable "feedbackperconditions_computed" must not contain underscores.
(#95) Spaces must be used to indent lines; tabs are not allowed
(#95) Tab found within whitespace
(#95) Line indented incorrectly; expected 20 spaces, found 8
(#96) Spaces must be used to indent lines; tabs are not allowed
(#96) Tab found within whitespace
(#96) Line indented incorrectly; expected 16 spaces, found 8
(#96) Closing brace indented incorrectly; expected 7 spaces, found 8
(#97) Spaces must be used to indent lines; tabs are not allowed
(#97) Tab found within whitespace
(#97) Line indented incorrectly; expected 16 spaces, found 7
(#97) Expected "} else {\n"; found "}\n \t\t\telse {\n"
(#98) Spaces must be used to indent lines; tabs are not allowed
(#98) Tab found within whitespace
(#98) Line indented incorrectly; expected at least 20 spaces, found 8
(#99) Spaces must be used to indent lines; tabs are not allowed
(#99) Tab found within whitespace
(#99) Line indented incorrectly; expected 16 spaces, found 7
(#100) Spaces must be used to indent lines; tabs are not allowed
(#100) Tab found within whitespace
(#100) Line indented incorrectly; expected 12 spaces, found 6
(#101) Spaces must be used to indent lines; tabs are not allowed
(#101) Tab found within whitespace
(#101) Line indented incorrectly; expected 12 spaces, found 6
(#101) Expected "} else {\n"; found "}\n \t\telse {\n"
(#102) Spaces must be used to indent lines; tabs are not allowed
(#102) Tab found within whitespace
(#102) Line indented incorrectly; expected at least 16 spaces, found 7
(#103) Spaces must be used to indent lines; tabs are not allowed
(#103) Tab found within whitespace
(#103) Line indented incorrectly; expected 16 spaces, found 7
(#104) Spaces must be used to indent lines; tabs are not allowed
(#104) Tab found within whitespace
(#104) Line indented incorrectly; expected 20 spaces, found 8
(#105) Spaces must be used to indent lines; tabs are not allowed
(#105) Tab found within whitespace
(#105) Line indented incorrectly; expected at least 24 spaces, found 9
(#105) Variable "feedbackperconditions_computed" must not contain underscores.
(#106) Spaces must be used to indent lines; tabs are not allowed
(#106) Tab found within whitespace
(#106) Line indented incorrectly; expected at least 24 spaces, found 9
(#106) Variable "feedbackperconditions_computed" must not contain underscores.
(#106) Line exceeds maximum limit of 180 characters; contains 287 characters
(#107) Spaces must be used to indent lines; tabs are not allowed
(#107) Tab found within whitespace
(#107) Line indented incorrectly; expected at least 24 spaces, found 9
(#107) Variable "feedbackperconditions_computed" must not contain underscores.
(#108) Spaces must be used to indent lines; tabs are not allowed
(#108) Tab found within whitespace
(#108) Line indented incorrectly; expected 20 spaces, found 8
(#109) Spaces must be used to indent lines; tabs are not allowed
(#109) Tab found within whitespace
(#109) Line indented incorrectly; expected 20 spaces, found 8
(#109) Expected "} else {\n"; found "}\n \t\t\t\telse {\n"
(#110) Spaces must be used to indent lines; tabs are not allowed
(#110) Tab found within whitespace
(#110) Line indented incorrectly; expected at least 24 spaces, found 9
(#110) Variable "feedbackperconditions_computed" must not contain underscores.
(#111) Spaces must be used to indent lines; tabs are not allowed
(#111) Tab found within whitespace
(#111) Line indented incorrectly; expected 20 spaces, found 8
(#112) Spaces must be used to indent lines; tabs are not allowed
(#112) Tab found within whitespace
(#112) Line indented incorrectly; expected 16 spaces, found 7
(#113) Spaces must be used to indent lines; tabs are not allowed
(#113) Tab found within whitespace
(#113) Line indented incorrectly; expected 16 spaces, found 7
(#113) Expected "} else {\n"; found "}\n \t\t\telse {\n"
(#114) Spaces must be used to indent lines; tabs are not allowed
(#114) Tab found within whitespace
(#114) Line indented incorrectly; expected at least 20 spaces, found 8
(#115) Spaces must be used to indent lines; tabs are not allowed
(#115) Tab found within whitespace
(#115) Line indented incorrectly; expected 16 spaces, found 7
(#116) Spaces must be used to indent lines; tabs are not allowed
(#116) Tab found within whitespace
(#116) Line indented incorrectly; expected 12 spaces, found 6
(#117) Spaces must be used to indent lines; tabs are not allowed
(#117) Tab found within whitespace
(#117) Line indented incorrectly; expected 12 spaces, found 6
(#117) Line exceeds maximum limit of 180 characters; contains 181 characters
(#118) Spaces must be used to indent lines; tabs are not allowed
(#118) Tab found within whitespace
(#118) Line indented incorrectly; expected at least 16 spaces, found 10
(#118) Variable "feedbackperconditions_computed" must not contain underscores.
(#119) Spaces must be used to indent lines; tabs are not allowed
(#119) Tab found within whitespace
(#119) Line indented incorrectly; expected 12 spaces, found 6
(#120) Spaces must be used to indent lines; tabs are not allowed
(#120) Tab found within whitespace
(#120) Line indented incorrectly; expected 8 spaces, found 5
(#121) Spaces must be used to indent lines; tabs are not allowed
(#121) Tab found within whitespace
(#121) Line indented incorrectly; expected at least 8 spaces, found 5
(#121) Variable "feedbackperconditions_computed" must not contain underscores.
(#122) Spaces must be used to indent lines; tabs are not allowed
(#122) Tab found within whitespace
(#122) Line indented incorrectly; expected at least 8 spaces, found 5
(#132) Inline comments must start with a capital letter, digit or 3-dots sequence
(#132) Inline comments must end in full-stops, exclamation marks, or question marks
(#145) Inline comments must start with a capital letter, digit or 3-dots sequence
(#145) Inline comments must end in full-stops, exclamation marks, or question marks
(#147) Inline comments must start with a capital letter, digit or 3-dots sequence
(#148) Inline comments must end in full-stops, exclamation marks, or question marks
(#153) Spaces must be used to indent lines; tabs are not allowed
(#153) Tab found within whitespace
(#153) Inline comments must end in full-stops, exclamation marks, or question marks
(#153) Line indented incorrectly; expected at least 12 spaces, found 9
(#154) Spaces must be used to indent lines; tabs are not allowed
(#154) Tab found within whitespace
(#154) Line indented incorrectly; expected at least 12 spaces, found 9
(#161) Inline comments must start with a capital letter, digit or 3-dots sequence
(#161) Inline comments must end in full-stops, exclamation marks, or question marks
(#167) Inline comments must start with a capital letter, digit or 3-dots sequence
(#167) Inline comments must end in full-stops, exclamation marks, or question marks
(#175) Line exceeds 132 characters; contains 152 characters
(#177) Expected "} else {\n"; found "}\n else {\n"
(#178) Line exceeds 132 characters; contains 176 characters
(#180) Spaces must be used to indent lines; tabs are not allowed
(#180) Tab found within whitespace
(#180) Line indented incorrectly; expected 8 spaces, found 5
(#180) The use of function eval() is forbidden
(#180) Line exceeds 132 characters; contains 138 characters
(#181) Spaces must be used to indent lines; tabs are not allowed
(#181) Tab found within whitespace
(#181) Line indented incorrectly; expected at least 12 spaces, found 9
(#182) Spaces must be used to indent lines; tabs are not allowed
(#182) Tab found within whitespace
(#182) Line indented incorrectly; expected at least 12 spaces, found 9
(#183) Spaces must be used to indent lines; tabs are not allowed
(#183) Tab found within whitespace
(#183) Line indented incorrectly; expected at least 12 spaces, found 9
(#184) Spaces must be used to indent lines; tabs are not allowed
(#184) Tab found within whitespace
(#184) Line indented incorrectly; expected at least 12 spaces, found 9
(#185) Line indented incorrectly; expected at least 12 spaces, found 10
(#186) Closing brace indented incorrectly; expected 5 spaces, found 8
(#195) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#196) Line exceeds 132 characters; contains 138 characters
(#211) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#224) Inline comments must start with a capital letter, digit or 3-dots sequence
(#236) Expected 1 space after closing parenthesis; found 0
(#240) Commas (,) must be followed by white space.
(#245) Expected 1 space after closing parenthesis; found 0
(#246) Spaces must be used to indent lines; tabs are not allowed
(#246) Tab found within whitespace
(#246) Line indented incorrectly; expected at least 8 spaces, found 5
(#247) The use of function sizeof() is forbidden; use count() instead
question/type/multinumerical/questiontype.php
(#41) Line exceeds 132 characters; contains 154 characters
(#55) Inline comments must end in full-stops, exclamation marks, or question marks
question/type/multinumerical/renderer.php
(#50) Variable "parameter_name" must not contain underscores.
(#53) Expected "} else {\n"; found "}\n else {\n"
(#54) Variable "parameter_name" must not contain underscores.
(#57) Variable "parameter_name" must not contain underscores.
(#57) Variable "parameter_name" must not contain underscores.
(#58) Variable "parameter_name" must not contain underscores.
(#58) Variable "parameter_name" must not contain underscores.
(#59) Variable "parameter_name" must not contain underscores.
(#61) Variable "parameter_name" must not contain underscores.
(#62) Variable "parameter_name" must not contain underscores.
(#63) Variable "parameter_name" must not contain underscores.
(#67) Variable "parameter_name" must not contain underscores.
(#69) Variable "parameter_name" must not contain underscores.
(#69) Variable "parameter_name" must not contain underscores.
(#72) Variable "parameter_name" must not contain underscores.

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

(3 errors, 0 warnings)

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

question/type/multinumerical/styles.css
(#2) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#5) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#11) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)

PHPDocs style problems

(55 errors, 0 warnings)

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

question/type/multinumerical/backup/moodle1/lib.php
(#35) There is no description in phpdocs for function get_question_subpaths
(#44) Phpdocs for function moodle1_qtype_multinumerical_handler::process_question has incomplete parameters list
(#30) Class moodle1_qtype_multinumerical_handler does not have @copyright tag
(#30) Class moodle1_qtype_multinumerical_handler does not have @license tag
(#20) Package qtype is not valid
question/type/multinumerical/backup/moodle2/backup_qtype_multinumerical_plugin.class.php
(#30) Class backup_qtype_multinumerical_plugin is not documented
(#20) Package qtype is not valid
question/type/multinumerical/backup/moodle2/restore_qtype_multinumerical_plugin.class.php
(#30) Class restore_qtype_multinumerical_plugin is not documented
(#48) Phpdocs for function restore_qtype_multinumerical_plugin::process_multinumerical has incomplete parameters list
(#20) Package qtype is not valid
question/type/multinumerical/db/upgrade.php
(#30) Function xmldb_qtype_multinumerical_upgrade is not documented
(#20) Package qtype is not valid
question/type/multinumerical/db/upgradelib.php
(#30) Class qtype_multinumerical_qe2_attempt_updater is not documented
(#32) Function qtype_multinumerical_qe2_attempt_updater::right_answer is not documented
(#36) Function qtype_multinumerical_qe2_attempt_updater::was_answered is not documented
(#40) Function qtype_multinumerical_qe2_attempt_updater::response_summary is not documented
(#44) Function qtype_multinumerical_qe2_attempt_updater::set_first_step_data_elements is not documented
(#47) Function qtype_multinumerical_qe2_attempt_updater::supply_missing_first_step_data is not documented
(#50) Function qtype_multinumerical_qe2_attempt_updater::set_data_elements_for_step is not documented
(#20) Package qtype is not valid
question/type/multinumerical/edit_multinumerical_form.php
(#30) Class qtype_multinumerical_edit_form is not documented
(#32) Function qtype_multinumerical_edit_form::definition_inner is not documented
(#75) Function qtype_multinumerical_edit_form::validation is not documented
(#98) Function qtype_multinumerical_edit_form::qtype is not documented
(#20) Package qtype is not valid
question/type/multinumerical/lang/en/qtype_multinumerical.php
(#20) Package qtype is not valid
question/type/multinumerical/lang/fr/qtype_multinumerical.php
(#20) Package qtype is not valid
question/type/multinumerical/lib.php
(#30) Phpdocs for function qtype_multinumerical_pluginfile has incomplete parameters list
(#20) Package qtype is not valid
question/type/multinumerical/question.php
(#29) Class qtype_multinumerical_question is not documented
(#31) Function qtype_multinumerical_question::get_expected_data is not documented
(#39) Function qtype_multinumerical_question::summarise_response is not documented
(#47) Function qtype_multinumerical_question::get_parameters is not documented
(#58) Function qtype_multinumerical_question::get_conditions is not documented
(#66) Function qtype_multinumerical_question::get_feedbackperconditions is not documented
(#74) Function qtype_multinumerical_question::compute_feedbackperconditions is not documented
(#125) Function qtype_multinumerical_question::check_condition is not documented
(#194) Function qtype_multinumerical_question::is_complete_response is not documented
(#203) Function qtype_multinumerical_question::get_validation_error is not documented
(#210) Function qtype_multinumerical_question::is_same_response is not documented
(#219) Function qtype_multinumerical_question::check_file_access is not documented
(#236) Function qtype_multinumerical_question::get_correct_response is not documented
(#245) Function qtype_multinumerical_question::grade_response is not documented
(#20) Package qtype is not valid
question/type/multinumerical/questiontype.php
(#34) Class qtype_multinumerical is not documented
(#36) Function qtype_multinumerical::questionid_column_name is not documented
(#40) Function qtype_multinumerical::extra_question_fields is not documented
(#44) Function qtype_multinumerical::save_question_options is not documented
(#20) Package qtype is not valid
question/type/multinumerical/renderer.php
(#30) Class qtype_multinumerical_renderer is not documented
(#31) Function qtype_multinumerical_renderer::formulation_and_controls is not documented
(#90) Function qtype_multinumerical_renderer::specific_feedback is not documented
(#100) Function qtype_multinumerical_renderer::correct_response is not documented
(#20) Package qtype is not valid
question/type/multinumerical/version.php
(#20) Package qtype is not valid

Update savepoints problems

(0 errors, 1 warnings)

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

question/type/multinumerical/db/upgrade.php
Detected less 'if' blocks (0) than 'savepoint' calls (1). Repeated savepoints?

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

(1 errors, 1 warnings)

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

Task "stylelint:css" failed. Use --force to continue.
Problems running grunt

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]