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

(3 errors, 1 warnings)

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

question/type/jme/db/upgrade.php
(#112) Inline comments must end in full-stops, exclamation marks, or question marks
(#122) Functions must not contain multiple empty lines in a row; found 2 empty lines
question/type/jme/questiontype.php
(#61) Expected 1 space before "="; 0 found
(#61) Expected 1 space after "="; 0 found

Javascript coding style problems

(0 errors, 251 warnings)

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

question/type/jme/jme_script.js
(#3) 'textfieldid' is not defined.
(#4) 'textfieldid' is not defined.
(#1) 'getSmilesEdit' is defined but never used.
(#12) 'jsmeOnLoad' is defined but never used.
question/type/jme/module.js
(#2) Line is too long.
(#2) 'PluginDetect' was used before it was defined.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Value of 'd' may be overwritten in IE 8 and earlier.
(#2) Variables should not be deleted.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Use '===' to compare with 'true'.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Use '===' to compare with 'null'.
(#2) Missing semicolon.
(#2) Use '!==' to compare with 'null'.
(#2) Use '!==' to compare with 'null'.
(#2) Missing semicolon.
(#2) Use '===' to compare with 'null'.
(#2) Missing semicolon.
(#2) Unreachable 'return' after 'return'.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Empty block.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Unnecessary semicolon.
(#2) Missing semicolon.
(#2) Use '===' to compare with '0'.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Value of 'c' may be overwritten in IE 8 and earlier.
(#2) Missing semicolon.
(#2) Value of 'f' may be overwritten in IE 8 and earlier.
(#2) Missing semicolon.
(#2) Empty block.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Use '===' to compare with 'null'.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Use '===' to compare with '0'.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Use '===' to compare with '0'.
(#2) Use '!==' to compare with ''.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Use '===' to compare with 'null'.
(#2) Use '!==' to compare with ''.
(#2) Missing semicolon.
(#2) Use '===' to compare with 'null'.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Use '===' to compare with 'null'.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Use '!==' to compare with 'null'.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Value of 'h' may be overwritten in IE 8 and earlier.
(#2) Use '!==' to compare with 'null'.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Value of 'h' may be overwritten in IE 8 and earlier.
(#2) Missing semicolon.
(#2) Value of 'h' may be overwritten in IE 8 and earlier.
(#2) Use '===' to compare with '0'.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Unnecessary semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Value of 'f' may be overwritten in IE 8 and earlier.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Value of 'h' may be overwritten in IE 8 and earlier.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Value of 'h' may be overwritten in IE 8 and earlier.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Use '===' to compare with '0'.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Value of 'c' may be overwritten in IE 8 and earlier.
(#2) Missing semicolon.
(#2) Value of 'b' may be overwritten in IE 8 and earlier.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Value of 'j' may be overwritten in IE 8 and earlier.
(#2) Missing semicolon.
(#2) Value of 'j' may be overwritten in IE 8 and earlier.
(#2) Missing semicolon.
(#2) Value of 'j' may be overwritten in IE 8 and earlier.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Value of 'j' may be overwritten in IE 8 and earlier.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#15) The array literal notation [] is preferable.
(#45) Missing semicolon.
(#60) Creating global 'for' variable. Should be 'for (var appletno ...'.
(#88) Missing semicolon.
(#163) Missing semicolon.
(#61) 'appletno' is not defined.
(#62) 'appletno' is not defined.
(#118) 'jsmeApplet' is not defined.
(#118) 'JSApplet' is not defined.
(#122) 'jsmeApplet' is not defined.
(#125) 'jsmeApplet' is not defined.
(#131) 'jsmeApplet' is not defined.
(#2) 'd' is defined but never used.
(#2) 'a' is defined but never used.
(#2) 'b' is defined but never used.
(#2) 'e' is defined but never used.
(#2) 'b' is defined but never used.
(#2) 'c' is defined but never used.
(#2) 'f' is defined but never used.
(#2) 'b' is defined but never used.
(#2) 'a' is defined but never used.
(#2) 'd' is defined but never used.
(#2) 'e' is defined but never used.
(#2) 'g' is defined but never used.
(#2) 'g' is defined but never used.
(#2) 'd' is defined but never used.
(#2) 'c' is defined but never used.
(#2) 'f' is defined but never used.
(#2) 'h' is defined but never used.
(#2) 'f' is defined but never used.
(#2) 'h' is defined but never used.
(#2) 'c' is defined but never used.
(#2) 'd' is defined but never used.
(#2) 'b' is defined but never used.
(#2) 'j' is defined but never used.
(#2) 'm' is defined but never used.
(#2) 'f' is defined but never used.

CSS problems

(0 errors, 1 warnings)

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

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

PHPDocs style problems

(40 errors, 0 warnings)

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

question/type/jme/backup/moodle1/lib.php
(#17) No one-line description found in phpdocs for file
(#30) There is no description in phpdocs for function get_question_subpaths
(#40) Phpdocs for function moodle1_qtype_jme_handler::process_question has incomplete parameters list
(#25) Class moodle1_qtype_jme_handler does not have @copyright tag
(#25) Class moodle1_qtype_jme_handler does not have @license tag
question/type/jme/backup/moodle2/backup_qtype_jme_plugin.class.php
(#17) No one-line description found in phpdocs for file
question/type/jme/backup/moodle2/restore_qtype_jme_plugin.class.php
(#17) No one-line description found in phpdocs for file
(#27) No one-line description found in phpdocs for class restore_qtype_jme_plugin
(#55) Phpdocs for function restore_qtype_jme_plugin::process_jme has incomplete parameters list
question/type/jme/db/upgradelib.php
(#39) Function qtype_jme_qe2_attempt_updater::right_answer is not documented
(#47) Function qtype_jme_qe2_attempt_updater::was_answered is not documented
(#51) Function qtype_jme_qe2_attempt_updater::response_summary is not documented
(#59) Function qtype_jme_qe2_attempt_updater::set_first_step_data_elements is not documented
(#62) Function qtype_jme_qe2_attempt_updater::supply_missing_first_step_data is not documented
(#65) Function qtype_jme_qe2_attempt_updater::set_data_elements_for_step is not documented
(#29) No one-line description found in phpdocs for class qtype_jme_qe2_attempt_updater
question/type/jme/edit_jme_form.php
(#29) Class qtype_jme_edit_form is not documented
(#31) Function qtype_jme_edit_form::definition_inner is not documented
(#72) Function qtype_jme_edit_form::get_per_answer_fields is not documented
(#93) Function qtype_jme_edit_form::data_preprocessing is not documented
(#98) Function qtype_jme_edit_form::qtype is not documented
question/type/jme/lib.php
(#31) Package qtype__jme is not valid
question/type/jme/question.php
(#38) Function qtype_jme_question::compare_response_with_answer is not documented
(#43) Function qtype_jme_question::get_expected_data is not documented
question/type/jme/questiontype.php
(#40) Function qtype_jme::extra_question_fields is not documented
(#44) Function qtype_jme::initialise_question_instance is not documented
(#71) Function qtype_jme::import_from_xml is not documented
(#53) Phpdocs for function qtype_jme::export_to_xml has incomplete parameters list
(#36) Class qtype_jme does not have @copyright tag
(#36) Class qtype_jme does not have @license tag
question/type/jme/renderer.php
(#33) Function qtype_jme_renderer::formulation_and_controls is not documented
(#96) Function qtype_jme_renderer::require_js is not documented
(#139) Function qtype_jme_renderer::hidden_fields is not documented
(#150) Function qtype_jme_renderer::hidden_field_for_qt_var is not documented
(#161) Function qtype_jme_renderer::fraction_for_last_response is not documented
(#174) Function qtype_jme_renderer::get_last_response is not documented
(#184) Function qtype_jme_renderer::specific_feedback is not documented
(#200) Function qtype_jme_renderer::correct_response is not documented
(#29) Class qtype_jme_renderer does not have @copyright tag
(#29) Class qtype_jme_renderer does not have @license tag

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]