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

(0 errors, 0 warnings)

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


Javascript coding style problems

(1 errors, 45 warnings)

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

question/type/vplquestion/amd/src/codeeditors.js
(#32) Missing JSDoc comment. (require-jsdoc)
(#97) Missing JSDoc comment. (require-jsdoc)
question/type/vplquestion/amd/src/editform.js
(#29) Missing JSDoc comment. (require-jsdoc)
(#36) Missing JSDoc comment. (require-jsdoc)
(#52) Missing JSDoc comment. (require-jsdoc)
(#58) Expected catch,fail() or return (promise/catch-or-return)
(#78) Expected catch,fail() or return (promise/catch-or-return)
(#95) Missing JSDoc comment. (require-jsdoc)
(#132) Missing JSDoc comment. (require-jsdoc)
(#141) Missing JSDoc comment. (require-jsdoc)
(#156) Missing JSDoc comment. (require-jsdoc)
(#158) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#161) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#166) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#176) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#186) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
question/type/vplquestion/amd/src/scriptsloader.js
(#25) Missing JSDoc comment. (require-jsdoc)
(#39) Identifier 'VPL_Util' is not in camel case. (camelcase)
(#47) Identifier 'VPL_Terminal' is not in camel case. (camelcase)
(#51) Missing JSDoc comment. (require-jsdoc)
(#62) Missing JSDoc comment. (require-jsdoc)
(#64) Expected catch,fail() or return (promise/catch-or-return)
question/type/vplquestion/amd/src/studentanswer.js
(#30) Missing JSDoc comment. (require-jsdoc)
(#42) Missing JSDoc comment. (require-jsdoc)
(#51) Missing JSDoc comment. (require-jsdoc)
(#58) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#67) Missing JSDoc comment. (require-jsdoc)
(#85) Missing JSDoc comment. (require-jsdoc)
(#99) Missing JSDoc comment. (require-jsdoc)
(#130) Read-only global 'Terminal' should not be modified. (no-global-assign)
(#141) Unexpected empty function. (no-empty-function)
(#160) Missing semicolon. (babel/semi)
question/type/vplquestion/amd/src/vplservice.js
(#28) Missing JSDoc comment. (require-jsdoc)
(#28) Missing space before opening brace. (space-before-blocks)
(#50) Identifier 'VPL_Util' is not in camel case. (camelcase)
(#51) Identifier 'VPL_Util' is not in camel case. (camelcase)
(#68) A space is required after ','. (comma-spacing)
(#75) Identifier 'VPL_Util' is not in camel case. (camelcase)
(#101) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#117) Identifier 'VPL_Util' is not in camel case. (camelcase)
(#119) Identifier 'VPL_Util' is not in camel case. (camelcase)
(#126) Identifier 'VPL_Util' is not in camel case. (camelcase)
(#127) Unexpected empty function. (no-empty-function)
(#128) Unexpected empty function. (no-empty-function)
(#129) Missing space before opening brace. (space-before-blocks)
(#138) Identifier 'VPL_Util' is not in camel case. (camelcase)

CSS problems

(2 errors, 0 warnings)

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

question/type/vplquestion/styles.css
(#138) Unexpected !important (declaration-no-important)
(#139) Unexpected !important (declaration-no-important)

PHPDocs style problems

(12 errors, 0 warnings)

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

question/type/vplquestion/question.php
(#45) Function qtype_vplquestion_question::get_expected_data is not documented
(#49) Function qtype_vplquestion_question::get_correct_response is not documented
(#62) Function qtype_vplquestion_question::summarise_response is not documented
(#73) Function qtype_vplquestion_question::is_complete_response is not documented
(#77) Function qtype_vplquestion_question::get_validation_error is not documented
(#84) Function qtype_vplquestion_question::is_same_response is not documented
(#88) Function qtype_vplquestion_question::grade_response is not documented
question/type/vplquestion/questiontype.php
(#34) Function qtype_vplquestion::extra_question_fields is not documented
(#49) Phpdocs for function qtype_vplquestion::import_from_xml has incomplete parameters list
question/type/vplquestion/renderer.php
(#38) Function qtype_vplquestion_renderer::formulation_and_controls is not documented
(#158) Function qtype_vplquestion_renderer::specific_feedback is not documented
(#177) Function qtype_vplquestion_renderer::correct_response is not documented

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

(1 errors, 1 warnings)

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

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

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]


Gherkin .feature problems

(0 errors, 0 warnings)

This section shows problems detected in behat .feature files [More info]