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

(40 errors, 15 warnings)

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

question/type/easyonamejs/edit_easyonamejs_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?
(#39) Expected 1 space before comment text but found 4; use block comment if you need indentation
question/type/easyonamejs/lib.php
(#23) Whitespace found at end of line
question/type/easyonamejs/question.php
(#57) This comment is 67% valid code; is this commented out code?
(#57) Inline comments must start with a capital letter, digit or 3-dots sequence
(#57) No space found before comment text; expected "// echo $marvinjsconfig->obabelpath;" but found "//echo $marvinjsconfig->obabelpath;"
(#58) Inline comments must end in full-stops, exclamation marks, or question marks
(#58) No space found before comment text; expected "// $command = escapeshellarg($marvinjsconfig->obabelpath . ' -imol -o' . $format . ' --title');" but found "//$command = escapeshellarg($marvinjsconfig->obabelpath . ' -imol -o' . $format . ' --title');"
(#62) Inline comments must start with a capital letter, digit or 3-dots sequence
(#62) Inline comments must end in full-stops, exclamation marks, or question marks
(#62) This comment is 80% valid code; is this commented out code?
(#62) No space found before comment text; expected "// print_object($process);" but found "//print_object($process);"
(#64) Inline comments must start with a capital letter, digit or 3-dots sequence
(#67) Inline comments must end in full-stops, exclamation marks, or question marks
(#67) This comment is 80% valid code; is this commented out code?
(#67) No space found before comment text; expected "// print_object($pipes);" but found "//print_object($pipes);"
(#75) This comment is 75% valid code; is this commented out code?
(#75) Inline comments must start with a capital letter, digit or 3-dots sequence
(#75) No space found before comment text; expected "// echo $output;" but found "//echo $output;"
(#76) This comment is 75% valid code; is this commented out code?
(#76) No space found before comment text; expected "// echo $err;" but found "//echo $err;"
question/type/easyonamejs/questiontype.php
(#22) Whitespace found at end of line
question/type/easyonamejs/renderer.php
(#97) Line indented incorrectly; expected 12 spaces, found 8
(#98) Line indented incorrectly; expected at least 16 spaces, found 12
(#99) Line indented incorrectly; expected at least 16 spaces, found 12
(#100) Line indented incorrectly; expected at least 16 spaces, found 12
(#104) Line indented incorrectly; expected at least 16 spaces, found 12
(#105) Line indented incorrectly; expected at least 16 spaces, found 12
(#106) Line indented incorrectly; expected at least 16 spaces, found 12
(#107) Line indented incorrectly; expected at least 16 spaces, found 12
(#111) Line indented incorrectly; expected at least 16 spaces, found 12
(#112) Line indented incorrectly; expected at least 16 spaces, found 12
(#116) Line indented incorrectly; expected at least 16 spaces, found 12
(#117) Line indented incorrectly; expected 12 spaces, found 8
(#118) Line indented incorrectly; expected at least 12 spaces, found 8
(#120) Line indented incorrectly; expected at least 12 spaces, found 8
(#121) Line indented incorrectly; expected at least 12 spaces, found 8
(#122) Line indented incorrectly; expected at least 12 spaces, found 8
(#122) Expected 1 space before "=>"; 0 found
(#123) Line indented incorrectly; expected at least 12 spaces, found 8
(#123) Expected 1 space before "=>"; 0 found
(#124) Line indented incorrectly; expected at least 12 spaces, found 8
(#125) Line indented incorrectly; expected at least 12 spaces, found 8
(#125) Expected 1 space before "=>"; 0 found
(#125) Expected 1 space after "=>"; 0 found
(#126) Line indented incorrectly; expected at least 12 spaces, found 8
(#126) Expected 1 space before "=>"; 0 found
(#126) Expected 1 space after "=>"; 0 found
(#127) Line indented incorrectly; expected at least 12 spaces, found 8
(#128) Line indented incorrectly; expected at least 12 spaces, found 8
(#129) Line indented incorrectly; expected at least 12 spaces, found 8
(#130) Line indented incorrectly; expected at least 12 spaces, found 8
question/type/easyonamejs/settings.php
(#22) Whitespace found at end of line

Javascript coding style problems

(68 errors, 48 warnings)

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

question/type/easyonamejs/module.js
(#1) Identifier 'qtype_easyonamejs' is not in camel case. (camelcase)
(#1) Missing semicolon. (semi)
(#2) Identifier 'qtype_easyonamejs' 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 'insert_easyonamejs_applet' is not in camel case. (camelcase)
(#66) Identifier 'stripped_answer_id' is not in camel case. (camelcase)
(#70) Expected space or tab after '//' in comment. (spaced-comment)
(#71) 'easyonamejsoptions' is defined but never used (no-unused-vars)
(#78) 'inputController' is defined but never used (no-unused-vars)
(#79) 'MarvinJSUtil' is not defined. (no-undef)
(#84) Missing JSDoc comment. (require-jsdoc)
(#89) Unexpected empty function. (no-empty-function)
(#94) Use ‘===’ to compare with ‘null’. (no-eq-null)
(#96) 'e' is defined but never used (no-unused-vars)
(#97) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#97) 'exportPromise' is not defined. (no-undef)
(#98) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#98) 'exportPromise' is not defined. (no-undef)
(#99) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#101) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#108) 'previewsubmit' used outside of binding context. (block-scoped-var)
(#108) Use ‘===’ to compare with ‘null’. (no-eq-null)
(#109) 'previewsubmit' used outside of binding context. (block-scoped-var)
(#109) 'e' is defined but never used (no-unused-vars)
(#110) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#110) 'exportPromise' is not defined. (no-undef)
(#111) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#111) 'exportPromise' is not defined. (no-undef)
(#112) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#114) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#120) 'e' is defined but never used (no-unused-vars)
(#121) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#121) 'exportPromise' is not defined. (no-undef)
(#122) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#122) 'exportPromise' is not defined. (no-undef)
(#123) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#125) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#140) Identifier 'show_error' is not in camel case. (camelcase)
(#145) Missing JSDoc @returns for function. (valid-jsdoc)
(#145) Missing JSDoc for parameter 'appletname'. (valid-jsdoc)
(#148) Identifier 'find_java_applet' is not in camel case. (camelcase)
(#149) 'appletno' is not defined. (no-undef)
(#150) 'appletno' is not defined. (no-undef)
(#151) 'appletno' is not defined. (no-undef)
(#160) Identifier 'show_java' is not in camel case. (camelcase)
(#161) Identifier 'stripped_answer_id' is not in camel case. (camelcase)
(#168) Expected space or tab after '//' in comment. (spaced-comment)
(#169) Expected space or tab after '//' in comment. (spaced-comment)
(#173) 'inputController' is defined but never used (no-unused-vars)
(#174) 'MarvinJSUtil' is not defined. (no-undef)
(#178) 'pastePromise' is defined but never used (no-unused-vars)
(#183) Missing JSDoc comment. (require-jsdoc)
(#192) Unexpected empty function. (no-empty-function)
(#197) Identifier 'insert_applet' is not in camel case. (camelcase)
(#214) Expected space or tab after '//' in comment. (spaced-comment)
(#216) 'MarvinJSUtil' is not defined. (no-undef)
(#220) 'pastePromise' is defined but never used (no-unused-vars)
(#225) Missing JSDoc comment. (require-jsdoc)
(#239) Missing semicolon. (semi)
(#240) Identifier 'init_getanswerstring' is not in camel case. (camelcase)
(#240) Identifier 'moodle_version' is not in camel case. (camelcase)
(#241) 'o' is defined but never used (no-unused-vars)
(#241) Unexpected empty function. (no-empty-function)
(#242) 'o' is defined but never used (no-unused-vars)
(#243) Expected space or tab after '/*' in comment. (spaced-comment)
(#245) 'callback' is defined but never used (no-unused-vars)
(#249) Identifier 'moodle_version' is not in camel case. (camelcase)
(#249) Expected space or tab after '//' in comment. (spaced-comment)
(#250) 'YAHOO' is not defined. (no-undef)
(#255) 'inputController' is defined but never used (no-unused-vars)
(#256) 'MarvinJSUtil' is not defined. (no-undef)
(#266) 'exportPromise' is not defined. (no-undef)
(#267) 'exportPromise' is not defined. (no-undef)
(#269) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#273) Missing JSDoc comment. (require-jsdoc)
(#293) Identifier 'init_viewanswerstring' is not in camel case. (camelcase)
(#293) Identifier 'moodle_version' is not in camel case. (camelcase)
(#294) 'o' is defined but never used (no-unused-vars)
(#294) Unexpected empty function. (no-empty-function)
(#295) 'o' is defined but never used (no-unused-vars)
(#296) Expected space or tab after '/*' in comment. (spaced-comment)
(#298) 'callback' is defined but never used (no-unused-vars)
(#302) Identifier 'moodle_version' is not in camel case. (camelcase)
(#302) Expected space or tab after '//' in comment. (spaced-comment)
(#303) 'YAHOO' is not defined. (no-undef)
(#308) 'inputController' is defined but never used (no-unused-vars)
(#309) 'MarvinJSUtil' is not defined. (no-undef)
(#321) 'pastePromise' is defined but never used (no-unused-vars)
(#324) Missing JSDoc comment. (require-jsdoc)
(#344) Identifier 'init_viewanswerstring' is not in camel case. (camelcase)
(#344) Identifier 'moodle_version' is not in camel case. (camelcase)
(#345) 'o' is defined but never used (no-unused-vars)
(#345) Unexpected empty function. (no-empty-function)
(#346) 'o' is defined but never used (no-unused-vars)
(#347) Expected space or tab after '/*' in comment. (spaced-comment)
(#349) 'callback' is defined but never used (no-unused-vars)
(#353) Identifier 'moodle_version' is not in camel case. (camelcase)
(#353) Expected space or tab after '//' in comment. (spaced-comment)
(#354) 'YAHOO' is not defined. (no-undef)
(#359) 'inputController' is defined but never used (no-unused-vars)
(#360) 'MarvinJSUtil' is not defined. (no-undef)
(#373) 'pastePromise' is defined but never used (no-unused-vars)
(#375) Line 375 exceeds the maximum line length of 132. (max-len)
(#375) Infix operators must be spaced. (space-infix-ops)
(#379) Missing JSDoc comment. (require-jsdoc)

CSS problems

(1 errors, 1 warnings)

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

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

PHPDocs style problems

(39 errors, 0 warnings)

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

question/type/easyonamejs/backup/moodle2/backup_qtype_easyonamejs_plugin.class.php
(#27) Class backup_qtype_easyonamejs_plugin is not documented
(#17) No one-line description found in phpdocs for file
(#18) Package moodlecore is not valid
question/type/easyonamejs/backup/moodle2/restore_qtype_easyonamejs_plugin.class.php
(#27) Class restore_qtype_easyonamejs_plugin is not documented
(#17) No one-line description found in phpdocs for file
(#48) Phpdocs for function restore_qtype_easyonamejs_plugin::process_easyonamejs has incomplete parameters list
(#18) Package moodlecore is not valid
question/type/easyonamejs/edit_easyonamejs_form.php
(#26) Class qtype_easyonamejs_edit_form is not documented
(#27) Function qtype_easyonamejs_edit_form::definition_inner is not documented
(#76) Function qtype_easyonamejs_edit_form::get_per_answer_fields is not documented
(#102) Function qtype_easyonamejs_edit_form::data_preprocessing is not documented
(#106) Function qtype_easyonamejs_edit_form::qtype is not documented
(#19) Package qtype is not valid
question/type/easyonamejs/lang/en/qtype_easyonamejs.php
(#20) Package qtype is not valid
question/type/easyonamejs/lib.php
(#31) Phpdocs for function qtype_easyonamejs_pluginfile has incomplete parameters list
(#21) Package qtype is not valid
question/type/easyonamejs/question.php
(#30) Class qtype_easyonamejs_question is not documented
(#31) Function qtype_easyonamejs_question::compare_response_with_answer is not documented
(#42) Function qtype_easyonamejs_question::get_expected_data is not documented
(#49) Function qtype_easyonamejs_question::openbabel_convert_molfile is not documented
(#19) Package qtype is not valid
question/type/easyonamejs/questiontype.php
(#34) Class qtype_easyonamejs is not documented
(#35) Function qtype_easyonamejs::extra_question_fields is not documented
(#39) Function qtype_easyonamejs::questionid_column_name is not documented
(#42) Function qtype_easyonamejs::initialise_question_instance is not documented
(#20) Package qtype is not valid
question/type/easyonamejs/renderer.php
(#35) Function qtype_easyonamejs_renderer::formulation_and_controls is not documented
(#132) Function qtype_easyonamejs_renderer::remove_xml_tags is not documented
(#143) Function qtype_easyonamejs_renderer::general_feedback is not documented
(#147) Function qtype_easyonamejs_renderer::require_js is not documented
(#172) Function qtype_easyonamejs_renderer::fraction_for_last_response is not documented
(#183) Function qtype_easyonamejs_renderer::get_last_response is not documented
(#192) Function qtype_easyonamejs_renderer::specific_feedback is not documented
(#205) Function qtype_easyonamejs_renderer::correct_response is not documented
(#212) Function qtype_easyonamejs_renderer::hidden_fields is not documented
(#222) Function qtype_easyonamejs_renderer::hidden_field_for_qt_var is not documented
(#19) Package qtype is not valid
question/type/easyonamejs/settings.php
(#20) Package qtype is not valid
question/type/easyonamejs/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]