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

(12 errors, 5 warnings)

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

question/type/easyomechjs/edit_easyomechjs_form.php
(#39) Inline comments must start with a capital letter, digit or 3-dots sequence
(#39) Inline comments must end in full-stops, exclamation marks, or question marks
(#39) This comment is 58% valid code; is this commented out code?
question/type/easyomechjs/lib.php
(#23) Whitespace found at end of line
question/type/easyomechjs/question.php
(#24) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#74) This comment is 63% valid code; is this commented out code?
(#96) Whitespace found at end of line
question/type/easyomechjs/questiontype.php
(#22) Whitespace found at end of line
question/type/easyomechjs/renderer.php
(#58) Variable "response_buttons" must not contain underscores.
(#127) Expected 1 space before "=>"; 0 found
(#128) Expected 1 space before "=>"; 0 found
(#130) Expected 1 space before "=>"; 0 found
(#130) Expected 1 space after "=>"; 0 found
(#131) Expected 1 space before "=>"; 0 found
(#131) Expected 1 space after "=>"; 0 found
(#148) This comment is 55% valid code; is this commented out code?
question/type/easyomechjs/settings.php
(#22) Whitespace found at end of line

Javascript coding style problems

(115 errors, 65 warnings)

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

question/type/easyomechjs/module.js
(#1) Identifier 'qtype_easyomechjs' is not in camel case. (camelcase)
(#1) Missing semicolon. (semi)
(#2) Identifier 'qtype_easyomechjs' is not in camel case. (camelcase)
(#3) Identifier 'moodle_version' is not in camel case. (camelcase)
(#8) 'MarvinJSUtil' is not defined. (no-undef)
(#10) 'marvinController' is not defined. (no-undef)
(#12) 'pastePromise' is defined but never used (no-unused-vars)
(#12) 'marvinController' is not defined. (no-undef)
(#16) Missing JSDoc comment. (require-jsdoc)
(#34) Identifier 'moodle_version' is not in camel case. (camelcase)
(#39) 'MarvinJSUtil' is not defined. (no-undef)
(#41) 'marvinController' is not defined. (no-undef)
(#43) 'pastePromise' is defined but never used (no-unused-vars)
(#43) 'marvinController' is not defined. (no-undef)
(#47) Missing JSDoc comment. (require-jsdoc)
(#65) Identifier 'init_showarrowsrev' is not in camel case. (camelcase)
(#65) Identifier 'moodle_version' is not in camel case. (camelcase)
(#66) 'o' is defined but never used (no-unused-vars)
(#66) Unexpected empty function. (no-empty-function)
(#67) 'o' is defined but never used (no-unused-vars)
(#68) Expected space or tab after '/*' in comment. (spaced-comment)
(#70) 'callback' is defined but never used (no-unused-vars)
(#74) Identifier 'moodle_version' is not in camel case. (camelcase)
(#74) Expected space or tab after '//' in comment. (spaced-comment)
(#75) 'YAHOO' is not defined. (no-undef)
(#81) Expected space or tab after '//' in comment. (spaced-comment)
(#82) Opening curly brace does not appear on the same line as controlling statement. (brace-style)
(#83) 'parser' is not defined. (no-undef)
(#84) 'xmlDoc' is not defined. (no-undef)
(#84) 'parser' is not defined. (no-undef)
(#89) 'xmlDoc' is not defined. (no-undef)
(#89) 'ActiveXObject' is not defined. (no-undef)
(#90) 'xmlDoc' is not defined. (no-undef)
(#91) 'xmlDoc' is not defined. (no-undef)
(#93) 'meflowarrows' is not defined. (no-undef)
(#93) 'xmlDoc' is not defined. (no-undef)
(#94) 'meflowarrows' is not defined. (no-undef)
(#103) 'xAll' is not defined. (no-undef)
(#103) 'xmlDoc' is not defined. (no-undef)
(#104) 'i' is defined but never used (no-unused-vars)
(#105) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#107) 'xAll' is not defined. (no-undef)
(#108) 'xAll' is not defined. (no-undef)
(#119) 'xmlDoc' is not defined. (no-undef)
(#120) 'MarvinJSUtil' is not defined. (no-undef)
(#122) 'marvinController' is not defined. (no-undef)
(#124) 'pastePromise' is defined but never used (no-unused-vars)
(#124) 'marvinController' is not defined. (no-undef)
(#128) Missing JSDoc comment. (require-jsdoc)
(#146) Identifier 'init_showarrows' is not in camel case. (camelcase)
(#146) Identifier 'moodle_version' is not in camel case. (camelcase)
(#147) 'o' is defined but never used (no-unused-vars)
(#147) Unexpected empty function. (no-empty-function)
(#148) 'o' is defined but never used (no-unused-vars)
(#149) Expected space or tab after '/*' in comment. (spaced-comment)
(#151) 'callback' is defined but never used (no-unused-vars)
(#155) Identifier 'moodle_version' is not in camel case. (camelcase)
(#155) Expected space or tab after '//' in comment. (spaced-comment)
(#156) 'YAHOO' is not defined. (no-undef)
(#162) Expected space or tab after '//' in comment. (spaced-comment)
(#163) Opening curly brace does not appear on the same line as controlling statement. (brace-style)
(#164) 'parser' is not defined. (no-undef)
(#165) 'xmlDoc' is not defined. (no-undef)
(#165) 'parser' is not defined. (no-undef)
(#169) 'xmlDoc' is not defined. (no-undef)
(#169) 'ActiveXObject' is not defined. (no-undef)
(#170) 'xmlDoc' is not defined. (no-undef)
(#171) 'xmlDoc' is not defined. (no-undef)
(#173) 'meflowarrows' is not defined. (no-undef)
(#173) 'xmlDoc' is not defined. (no-undef)
(#174) 'meflowarrows' is not defined. (no-undef)
(#183) 'xAll' is not defined. (no-undef)
(#183) 'xmlDoc' is not defined. (no-undef)
(#184) 'i' is defined but never used (no-unused-vars)
(#185) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#187) 'xAll' is not defined. (no-undef)
(#188) 'xAll' is not defined. (no-undef)
(#199) 'xmlDoc' is not defined. (no-undef)
(#200) 'MarvinJSUtil' is not defined. (no-undef)
(#202) 'marvinController' is not defined. (no-undef)
(#204) 'pastePromise' is defined but never used (no-unused-vars)
(#204) 'marvinController' is not defined. (no-undef)
(#208) Missing JSDoc comment. (require-jsdoc)
(#226) Identifier 'insert_easyomechjs_applet' is not in camel case. (camelcase)
(#227) Identifier 'stripped_answer_id' is not in camel case. (camelcase)
(#231) 'easyomechjsoptions' is defined but never used (no-unused-vars)
(#238) 'inputController' is defined but never used (no-unused-vars)
(#239) 'MarvinJSUtil' is not defined. (no-undef)
(#245) Missing JSDoc comment. (require-jsdoc)
(#250) Unexpected empty function. (no-empty-function)
(#256) Use ‘===’ to compare with ‘null’. (no-eq-null)
(#258) 'e' is defined but never used (no-unused-vars)
(#259) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#259) 'exportPromise' is not defined. (no-undef)
(#260) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#260) 'exportPromise' is not defined. (no-undef)
(#262) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#268) Use ‘===’ to compare with ‘null’. (no-eq-null)
(#268) 'previewsubmit' used outside of binding context. (block-scoped-var)
(#269) 'previewsubmit' used outside of binding context. (block-scoped-var)
(#269) 'e' is defined but never used (no-unused-vars)
(#270) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#270) 'exportPromise' is not defined. (no-undef)
(#271) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#271) 'exportPromise' is not defined. (no-undef)
(#273) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#278) Use ‘===’ to compare with ‘null’. (no-eq-null)
(#279) 'e' is defined but never used (no-unused-vars)
(#280) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#280) 'exportPromise' is not defined. (no-undef)
(#281) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#281) 'exportPromise' is not defined. (no-undef)
(#283) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#288) More than 2 blank lines not allowed. (no-multiple-empty-lines)
(#304) Opening curly brace does not appear on the same line as controlling statement. (brace-style)
(#305) 'parser' is not defined. (no-undef)
(#306) 'xmlDoc' is not defined. (no-undef)
(#306) 'parser' is not defined. (no-undef)
(#309) 'xmlDoc' is not defined. (no-undef)
(#309) 'ActiveXObject' is not defined. (no-undef)
(#310) 'xmlDoc' is not defined. (no-undef)
(#311) 'xmlDoc' is not defined. (no-undef)
(#313) 'xmlDoc' is not defined. (no-undef)
(#315) Identifier 'show_error' is not in camel case. (camelcase)
(#320) Missing JSDoc for parameter 'appletname'. (valid-jsdoc)
(#320) Missing JSDoc @returns for function. (valid-jsdoc)
(#323) Identifier 'find_java_applet' is not in camel case. (camelcase)
(#324) 'appletno' is not defined. (no-undef)
(#325) 'appletno' is not defined. (no-undef)
(#326) 'appletno' is not defined. (no-undef)
(#335) Identifier 'show_java' is not in camel case. (camelcase)
(#336) Identifier 'stripped_answer_id' is not in camel case. (camelcase)
(#343) Expected space or tab after '//' in comment. (spaced-comment)
(#344) Expected space or tab after '//' in comment. (spaced-comment)
(#348) 'inputController' is defined but never used (no-unused-vars)
(#349) 'MarvinJSUtil' is not defined. (no-undef)
(#353) 'pastePromise' is defined but never used (no-unused-vars)
(#358) Missing JSDoc comment. (require-jsdoc)
(#367) Unexpected empty function. (no-empty-function)
(#372) Identifier 'insert_applet' is not in camel case. (camelcase)
(#386) Expected space or tab after '//' in comment. (spaced-comment)
(#387) Expected space or tab after '//' in comment. (spaced-comment)
(#391) More than 2 blank lines not allowed. (no-multiple-empty-lines)
(#392) Expected space or tab after '//' in comment. (spaced-comment)
(#394) 'MarvinJSUtil' is not defined. (no-undef)
(#398) 'pastePromise' is defined but never used (no-unused-vars)
(#403) Missing JSDoc comment. (require-jsdoc)
(#417) Missing semicolon. (semi)
(#418) Identifier 'init_getanswerstring' is not in camel case. (camelcase)
(#418) Identifier 'moodle_version' is not in camel case. (camelcase)
(#419) 'o' is defined but never used (no-unused-vars)
(#419) Unexpected empty function. (no-empty-function)
(#420) 'o' is defined but never used (no-unused-vars)
(#421) Expected space or tab after '/*' in comment. (spaced-comment)
(#423) 'callback' is defined but never used (no-unused-vars)
(#427) Identifier 'moodle_version' is not in camel case. (camelcase)
(#427) Expected space or tab after '//' in comment. (spaced-comment)
(#428) 'YAHOO' is not defined. (no-undef)
(#433) 'inputController' is defined but never used (no-unused-vars)
(#434) 'MarvinJSUtil' is not defined. (no-undef)
(#443) 'exportPromise' is not defined. (no-undef)
(#444) Missing semicolon. (semi)
(#445) 'exportPromise' is not defined. (no-undef)
(#452) Missing JSDoc comment. (require-jsdoc)
(#472) Identifier 'init_viewanswerstring' is not in camel case. (camelcase)
(#472) Identifier 'moodle_version' is not in camel case. (camelcase)
(#473) 'o' is defined but never used (no-unused-vars)
(#473) Unexpected empty function. (no-empty-function)
(#474) 'o' is defined but never used (no-unused-vars)
(#475) Expected space or tab after '/*' in comment. (spaced-comment)
(#477) 'callback' is defined but never used (no-unused-vars)
(#481) Identifier 'moodle_version' is not in camel case. (camelcase)
(#481) Expected space or tab after '//' in comment. (spaced-comment)
(#482) 'YAHOO' is not defined. (no-undef)
(#487) 'inputController' is defined but never used (no-unused-vars)
(#488) 'MarvinJSUtil' is not defined. (no-undef)
(#501) 'pastePromise' is defined but never used (no-unused-vars)
(#503) Line 503 exceeds the maximum line length of 132. (max-len)
(#503) Infix operators must be spaced. (space-infix-ops)
(#507) Missing JSDoc comment. (require-jsdoc)

CSS problems

(1 errors, 1 warnings)

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

question/type/easyomechjs/styles.css
(#3) width can't be used with display: inline.
(#47) Duplicate property 'border' found.

PHPDocs style problems

(37 errors, 0 warnings)

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

question/type/easyomechjs/backup/moodle2/backup_qtype_easyomechjs_plugin.class.php
(#27) Class backup_qtype_easyomechjs_plugin is not documented
(#17) No one-line description found in phpdocs for file
(#18) Package moodlecore is not valid
question/type/easyomechjs/backup/moodle2/restore_qtype_easyomechjs_plugin.class.php
(#27) Class restore_qtype_easyomechjs_plugin is not documented
(#17) No one-line description found in phpdocs for file
(#48) Phpdocs for function restore_qtype_easyomechjs_plugin::process_easyomechjs has incomplete parameters list
(#18) Package moodlecore is not valid
question/type/easyomechjs/edit_easyomechjs_form.php
(#26) Class qtype_easyomechjs_edit_form is not documented
(#27) Function qtype_easyomechjs_edit_form::definition_inner is not documented
(#73) Function qtype_easyomechjs_edit_form::get_per_answer_fields is not documented
(#88) Function qtype_easyomechjs_edit_form::data_preprocessing is not documented
(#92) Function qtype_easyomechjs_edit_form::qtype is not documented
(#19) Package qtype is not valid
question/type/easyomechjs/lang/en/qtype_easyomechjs.php
(#20) Package qtype is not valid
question/type/easyomechjs/lib.php
(#31) Phpdocs for function qtype_easyomechjs_pluginfile has incomplete parameters list
(#21) Package qtype is not valid
question/type/easyomechjs/question.php
(#30) Class qtype_easyomechjs_question is not documented
(#31) Function qtype_easyomechjs_question::compare_response_with_answer is not documented
(#98) Function qtype_easyomechjs_question::get_expected_data is not documented
(#19) Package qtype is not valid
question/type/easyomechjs/questiontype.php
(#34) Class qtype_easyomechjs is not documented
(#35) Function qtype_easyomechjs::extra_question_fields is not documented
(#39) Function qtype_easyomechjs::questionid_column_name is not documented
(#42) Function qtype_easyomechjs::initialise_question_instance is not documented
(#20) Package qtype is not valid
question/type/easyomechjs/renderer.php
(#32) Function qtype_easyomechjs_renderer::formulation_and_controls is not documented
(#137) Function qtype_easyomechjs_renderer::remove_xml_tags is not documented
(#154) Function qtype_easyomechjs_renderer::require_js is not documented
(#179) Function qtype_easyomechjs_renderer::fraction_for_last_response is not documented
(#190) Function qtype_easyomechjs_renderer::get_last_response is not documented
(#199) Function qtype_easyomechjs_renderer::specific_feedback is not documented
(#212) Function qtype_easyomechjs_renderer::correct_response is not documented
(#219) Function qtype_easyomechjs_renderer::hidden_fields is not documented
(#229) Function qtype_easyomechjs_renderer::hidden_field_for_qt_var is not documented
(#19) Package qtype is not valid
question/type/easyomechjs/settings.php
(#20) Package qtype is not valid
question/type/easyomechjs/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]


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]