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

(20 errors, 9 warnings)

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

question/type/easyoddname/edit_easyoddname_form.php
(#22) Whitespace found at end of line
(#44) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#147) This comment is 49% valid code; is this commented out code?
(#147) Inline comments must start with a capital letter, digit or 3-dots sequence
(#147) Line indented incorrectly; expected at least 8 spaces, found 0
(#147) Expected 1 space before comment text but found 8; use block comment if you need indentation
(#148) Line indented incorrectly; expected at least 8 spaces, found 0
(#148) Expected 1 space before comment text but found 8; use block comment if you need indentation
(#149) Inline comments must end in full-stops, exclamation marks, or question marks
(#149) Line indented incorrectly; expected at least 8 spaces, found 0
(#149) Expected 1 space before comment text but found 8; use block comment if you need indentation
(#151) Inline comments must start with a capital letter, digit or 3-dots sequence
(#151) Inline comments must end in full-stops, exclamation marks, or question marks
(#151) This comment is 73% valid code; is this commented out code?
(#151) Line indented incorrectly; expected at least 8 spaces, found 0
(#151) Expected 1 space before comment text but found 8; use block comment if you need indentation
(#166) This comment is 57% valid code; is this commented out code?
(#166) Inline comments must start with a capital letter, digit or 3-dots sequence
(#166) Line indented incorrectly; expected at least 8 spaces, found 0
(#166) Expected 1 space before comment text but found 8; use block comment if you need indentation
(#167) Inline comments must end in full-stops, exclamation marks, or question marks
(#167) Line indented incorrectly; expected at least 8 spaces, found 0
(#167) Expected 1 space before comment text but found 8; use block comment if you need indentation
question/type/easyoddname/lang/en/qtype_easyoddname.php
(#22) Whitespace found at end of line
question/type/easyoddname/lib.php
(#23) Whitespace found at end of line
question/type/easyoddname/question.php
(#21) Whitespace found at end of line
question/type/easyoddname/questiontype.php
(#22) Whitespace found at end of line
question/type/easyoddname/renderer.php
(#31) Whitespace found at end of line
question/type/easyoddname/version.php
(#22) Whitespace found at end of line

Javascript coding style problems

(0 errors, 29 warnings)

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

question/type/easyoddname/easyoddname_script.js
(#3) Missing semicolon.
(#15) Missing semicolon.
(#18) Missing semicolon.
(#22) Missing semicolon.
(#146) 'newnode' is already defined.
(#152) 'newnode' used out of scope.
(#274) Expected '===' and instead saw '=='.
(#16) 'o' is defined but never used.
(#24) 'e' is defined but never used.
(#37) 'htmlid' is defined but never used.
(#37) 'url' is defined but never used.
(#37) 'Y' is defined but never used.
(#146) 'newnode' is defined but never used.
(#217) 'dd' is defined but never used.
(#216) 'k' is defined but never used.
(#237) 'tar' is defined but never used.
(#235) 'k' is defined but never used.
(#257) 'callback' is defined but never used.
(#251) 'o' is defined but never used.
(#254) 'o' is defined but never used.
question/type/easyoddname/module.js
(#10) Expected '===' and instead saw '=='.
(#20) Missing semicolon.
(#109) 'newnode' is already defined.
(#113) 'newnode' used out of scope.
(#109) 'newnode' is defined but never used.
(#149) 'dd' is defined but never used.
(#148) 'k' is defined but never used.
(#164) 'tar' is defined but never used.
(#162) 'k' is defined but never used.

CSS problems

(0 errors, 1 warnings)

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

question/type/easyoddname/styles.css
(#3) width can't be used with display: inline.

PHPDocs style problems

(41 errors, 0 warnings)

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

question/type/easyoddname/backup/moodle2/backup_qtype_easyomech_plugin.class.php
(#17) No one-line description found in phpdocs for file
(#18) Package moodlecore is not valid
question/type/easyoddname/backup/moodle2/restore_qtype_easyomech_plugin.class.php
(#30) Class restore_qtype_easyoddname_plugin is not documented
(#17) No one-line description found in phpdocs for file
(#51) Phpdocs for function restore_qtype_easyoddname_plugin::process_easyoddname has incomplete parameters list
(#30) Package is not specified for class restore_qtype_easyoddname_plugin. It is also not specified in file-level phpdocs
question/type/easyoddname/db/upgradelib.php
(#40) Function qtype_easyoddname_qe2_attempt_updater::right_answer is not documented
(#48) Function qtype_easyoddname_qe2_attempt_updater::was_answered is not documented
(#52) Function qtype_easyoddname_qe2_attempt_updater::response_summary is not documented
(#60) Function qtype_easyoddname_qe2_attempt_updater::set_first_step_data_elements is not documented
(#63) Function qtype_easyoddname_qe2_attempt_updater::supply_missing_first_step_data is not documented
(#66) Function qtype_easyoddname_qe2_attempt_updater::set_data_elements_for_step is not documented
(#30) No one-line description found in phpdocs for class qtype_easyoddname_qe2_attempt_updater
(#20) Package qtype is not valid
question/type/easyoddname/edit_easyoddname_form.php
(#31) Class qtype_easyoddname_edit_form is not documented
(#33) Function qtype_easyoddname_edit_form::definition_inner is not documented
(#180) Function qtype_easyoddname_edit_form::get_per_answer_fields is not documented
(#193) Function qtype_easyoddname_edit_form::data_preprocessing is not documented
(#198) Function qtype_easyoddname_edit_form::qtype is not documented
(#20) Package qtype is not valid
question/type/easyoddname/lang/en/qtype_easyoddname.php
(#20) Package qtype is not valid
question/type/easyoddname/lib.php
(#31) Phpdocs for function qtype_easyoddname_pluginfile has incomplete parameters list
(#21) Package qtype is not valid
question/type/easyoddname/question.php
(#29) Class qtype_easyoddname_question is not documented
(#32) Function qtype_easyoddname_question::compare_response_with_answer is not documented
(#37) Function qtype_easyoddname_question::get_expected_data is not documented
(#17) No one-line description found in phpdocs for file
(#19) Package qtype is not valid
question/type/easyoddname/questiontype.php
(#40) Function qtype_easyoddname::extra_question_fields is not documented
(#44) Function qtype_easyoddname::questionid_column_name is not documented
(#20) Package qtype is not valid
question/type/easyoddname/renderer.php
(#35) Function qtype_easyoddname_renderer::formulation_and_controls is not documented
(#231) Function qtype_easyoddname_renderer::require_js is not documented
(#261) Function qtype_easyoddname_renderer::fraction_for_last_response is not documented
(#274) Function qtype_easyoddname_renderer::get_last_response is not documented
(#284) Function qtype_easyoddname_renderer::specific_feedback is not documented
(#300) Function qtype_easyoddname_renderer::correct_response is not documented
(#312) Function qtype_easyoddname_renderer::hidden_fields is not documented
(#323) Function qtype_easyoddname_renderer::hidden_field_for_qt_var is not documented
(#20) Package qtype is not valid
question/type/easyoddname/version.php
(#20) Package qtype 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]