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, 3 warnings)

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

lib/editor/tinymce/plugins/clozeeditor/classes/privacy/provider.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#47) Method name "_get_reason" should not be prefixed with an underscore to indicate visibility
lib/editor/tinymce/plugins/clozeeditor/lib.php
(#17) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.

Javascript coding style problems

(186 errors, 234 warnings)

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

lib/editor/tinymce/plugins/clozeeditor/tinymce/editor_plugin.js
(#1) Comments should not begin with a lowercase character. (capitalized-comments)
(#18) 'tinymce' is not defined. (no-undef)
(#27) Extra space after key 'init'. (key-spacing)
(#31) 'lang' is not defined. (no-undef)
(#33) Extra space after key 'file'. (key-spacing)
(#33) 'lang' is not defined. (no-undef)
(#33) There should be no space before ','. (comma-spacing)
(#34) Extra space after key 'width'. (key-spacing)
(#35) Extra space after key 'height'. (key-spacing)
(#36) Extra space after key 'inline'. (key-spacing)
(#38) Identifier 'plugin_url' is not in camel case. (camelcase)
(#38) Extra space after key 'plugin_url'. (key-spacing)
(#44) Extra space after key 'title'. (key-spacing)
(#45) Extra space after key 'cmd'. (key-spacing)
(#46) Extra space after key 'image'. (key-spacing)
(#65) Extra space after key 'createControl'. (key-spacing)
(#65) 'n' is defined but never used. (no-unused-vars)
(#65) 'cm' is defined but never used. (no-unused-vars)
(#75) Extra space after key 'getInfo'. (key-spacing)
(#77) Extra space after key 'longname'. (key-spacing)
(#78) Extra space after key 'author'. (key-spacing)
(#79) Extra space after key 'authorurl'. (key-spacing)
(#80) Extra space after key 'infourl'. (key-spacing)
(#81) Extra space after key 'version'. (key-spacing)
(#87) 'tinymce' is not defined. (no-undef)
(#87) 'tinymce' is not defined. (no-undef)
lib/editor/tinymce/plugins/clozeeditor/tinymce/js/dialog1.js
(#7) Missing JSDoc comment. (require-jsdoc)
(#11) Missing JSDoc comment. (require-jsdoc)
(#15) Missing JSDoc comment. (require-jsdoc)
(#15) 'getThrottleElement' is defined but never used. (no-unused-vars)
(#19) Missing JSDoc comment. (require-jsdoc)
(#23) Missing JSDoc comment. (require-jsdoc)
(#27) Missing JSDoc comment. (require-jsdoc)
(#27) 'getFeedbackElement' is defined but never used. (no-unused-vars)
(#31) Missing JSDoc comment. (require-jsdoc)
(#31) 'getEncodeElement' is defined but never used. (no-unused-vars)
(#35) Missing JSDoc comment. (require-jsdoc)
(#35) 'getGradeElement' is defined but never used. (no-unused-vars)
(#40) Missing JSDoc comment. (require-jsdoc)
(#40) Expected to return a value at the end of function 'substr'. (consistent-return)
(#40) 'substr' is defined but never used. (no-unused-vars)
(#47) Missing JSDoc comment. (require-jsdoc)
(#47) 'strpos' is defined but never used. (no-unused-vars)
(#51) Missing JSDoc comment. (require-jsdoc)
(#51) 'isCode' is defined but never used. (no-unused-vars)
(#69) Missing JSDoc comment. (require-jsdoc)
(#69) 'checkPercentOnLeave' is defined but never used. (no-unused-vars)
(#70) Identifier 'correct_element' is not in camel case. (camelcase)
(#70) 'correct_element' is assigned a value but never used. (no-unused-vars)
(#71) Identifier 'percent_element' is not in camel case. (camelcase)
(#73) Identifier 'percent_element' is not in camel case. (camelcase)
(#74) 'setCorrectnessState' is not defined. (no-undef)
(#76) 'setCorrectnessState' is not defined. (no-undef)
(#80) Missing JSDoc comment. (require-jsdoc)
(#80) 'getQuizTypeFromInput' is defined but never used. (no-unused-vars)
(#86) Missing JSDoc comment. (require-jsdoc)
(#86) 'strstr' is defined but never used. (no-unused-vars)
(#86) Unexpected space before function parentheses. (space-before-function-paren)
(#104) Missing JSDoc comment. (require-jsdoc)
(#104) 'countAnswers' is defined but never used. (no-unused-vars)
(#105) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#106) 'tinyMCEPopup' is not defined. (no-undef)
(#106) Extra space after key 'format'. (key-spacing)
(#109) 'longstring' is not defined. (no-undef)
(#115) Missing JSDoc comment. (require-jsdoc)
(#115) 'countFilledInputs' is defined but never used. (no-unused-vars)
(#120) Identifier 'answer_element' is not in camel case. (camelcase)
(#120) 'answer_element' is not defined. (no-undef)
(#121) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#121) Identifier 'answer_element' is not in camel case. (camelcase)
(#121) Identifier 'answer_element' is not in camel case. (camelcase)
(#121) 'answer_element' is not defined. (no-undef)
(#124) Requires a space after '{'. (block-spacing)
(#124) Statement inside of curly braces should be on next line. (brace-style)
(#124) Unnecessary semicolon. (no-extra-semi)
(#133) Missing JSDoc comment. (require-jsdoc)
(#231) Missing JSDoc comment. (require-jsdoc)
(#231) 'Init' is defined but never used. (no-unused-vars)
(#233) Unnecessary semicolon. (no-extra-semi)
(#235) Missing JSDoc comment. (require-jsdoc)
(#236) '__dlg_close_on_esc' is not defined. (no-undef)
(#239) Missing JSDoc comment. (require-jsdoc)
(#239) 'Init' is already defined. (no-redeclare)
(#246) 'param' is assigned a value but never used. (no-unused-vars)
(#247) Unnecessary semicolon. (no-extra-semi)
(#249) Missing JSDoc comment. (require-jsdoc)
(#249) 'onOK' is defined but never used. (no-unused-vars)
(#253) 'i' used outside of binding context. (block-scoped-var)
(#254) 'el' used outside of binding context. (block-scoped-var)
(#254) 'i' used outside of binding context. (block-scoped-var)
(#255) 'el' used outside of binding context. (block-scoped-var)
(#257) 'el' used outside of binding context. (block-scoped-var)
(#263) 'i' is already defined. (no-redeclare)
(#263) 'i' used outside of binding context. (block-scoped-var)
(#264) 'i' used outside of binding context. (block-scoped-var)
(#265) 'el' is already defined. (no-redeclare)
(#265) 'el' used outside of binding context. (block-scoped-var)
(#266) 'el' used outside of binding context. (block-scoped-var)
(#268) '__dlg_close' is not defined. (no-undef)
(#270) Unnecessary semicolon. (no-extra-semi)
(#272) Missing JSDoc comment. (require-jsdoc)
(#272) 'onCancel' is defined but never used. (no-unused-vars)
(#273) '__dlg_close' is not defined. (no-undef)
(#275) Unnecessary semicolon. (no-extra-semi)
lib/editor/tinymce/plugins/clozeeditor/tinymce/js/encode.js
(#4) Missing JSDoc comment. (require-jsdoc)
(#5) 'getQuizTypeElement' is not defined. (no-undef)
(#12) 'i' is assigned a value but never used. (no-unused-vars)
(#16) Identifier 'throttle_value' is not in camel case. (camelcase)
(#16) 'throttle_value' is defined but never used. (no-unused-vars)
(#19) Missing JSDoc comment. (require-jsdoc)
(#19) 'encode' is defined but never used. (no-unused-vars)
(#21) 'countFilledInputs' is not defined. (no-undef)
(#24) ["answer"] is better written in dot notation. (dot-notation)
(#24) Multiple spaces found before '='. (no-multi-spaces)
(#24) 'getAnswerElement' is not defined. (no-undef)
(#25) ["percent"] is better written in dot notation. (dot-notation)
(#25) Multiple spaces found before '='. (no-multi-spaces)
(#25) 'getPercentElement' is not defined. (no-undef)
(#28) ["throttle"] is better written in dot notation. (dot-notation)
(#28) Multiple spaces found before '='. (no-multi-spaces)
(#28) 'getThrottleElement' is not defined. (no-undef)
(#30) ["throttle"] is better written in dot notation. (dot-notation)
(#30) Multiple spaces found before '='. (no-multi-spaces)
(#33) ["feedback"] is better written in dot notation. (dot-notation)
(#33) Multiple spaces found before '='. (no-multi-spaces)
(#33) 'getFeedbackElement' is not defined. (no-undef)
(#41) 'i' used outside of binding context. (block-scoped-var)
(#41) 'i' used outside of binding context. (block-scoped-var)
(#41) 'countFilledInputs' is not defined. (no-undef)
(#41) 'i' used outside of binding context. (block-scoped-var)
(#46) 'i' used outside of binding context. (block-scoped-var)
(#46) ["answer"] is better written in dot notation. (dot-notation)
(#46) Multiple spaces found before '='. (no-multi-spaces)
(#46) 'trim' is not defined. (no-undef)
(#46) 'i' used outside of binding context. (block-scoped-var)
(#46) ["answer"] is better written in dot notation. (dot-notation)
(#47) 'i' used outside of binding context. (block-scoped-var)
(#47) ["percent"] is better written in dot notation. (dot-notation)
(#47) Multiple spaces found before '='. (no-multi-spaces)
(#47) 'trim' is not defined. (no-undef)
(#47) 'i' used outside of binding context. (block-scoped-var)
(#47) ["percent"] is better written in dot notation. (dot-notation)
(#49) 'i' used outside of binding context. (block-scoped-var)
(#49) ["feedback"] is better written in dot notation. (dot-notation)
(#49) Multiple spaces found before '='. (no-multi-spaces)
(#49) 'trim' is not defined. (no-undef)
(#49) 'i' used outside of binding context. (block-scoped-var)
(#49) ["feedback"] is better written in dot notation. (dot-notation)
(#58) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#58) 'getPercentElement' is not defined. (no-undef)
(#58) 'i' used outside of binding context. (block-scoped-var)
(#59) 'getPercentElement' is not defined. (no-undef)
(#59) 'i' used outside of binding context. (block-scoped-var)
(#60) 'getPercentElement' is not defined. (no-undef)
(#60) 'i' used outside of binding context. (block-scoped-var)
(#66) 'getPercentElement' is not defined. (no-undef)
(#66) 'i' used outside of binding context. (block-scoped-var)
(#69) 'i' used outside of binding context. (block-scoped-var)
(#69) ["answer"] is better written in dot notation. (dot-notation)
(#70) 'i' used outside of binding context. (block-scoped-var)
(#70) ["throttle"] is better written in dot notation. (dot-notation)
(#72) 'i' used outside of binding context. (block-scoped-var)
(#72) ["feedback"] is better written in dot notation. (dot-notation)
(#80) 'getQuizTypeFromInput' is not defined. (no-undef)
(#82) 'stripslashes' is not defined. (no-undef)
lib/editor/tinymce/plugins/clozeeditor/tinymce/js/parse.js
(#6) This line has a length of 146. Maximum allowed is 132. (max-len)
(#8) Missing JSDoc comment. (require-jsdoc)
(#12) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#17) 'isCode' is not defined. (no-undef)
(#19) 'countAnswers' is not defined. (no-undef)
(#26) 'encode' is not defined. (no-undef)
(#27) 'isCode' is not defined. (no-undef)
(#39) 'toggleThrottle' is not defined. (no-undef)
(#43) Missing JSDoc comment. (require-jsdoc)
(#43) 'string' is defined but never used. (no-unused-vars)
(#49) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#50) 'tinyMCEPopup' is not defined. (no-undef)
(#50) Extra space after key 'format'. (key-spacing)
(#66) 'getAnswerElement' is not defined. (no-undef)
(#67) 'getAnswerElement' is not defined. (no-undef)
(#67) 'getAnswer' is not defined. (no-undef)
(#68) 'getPercentElement' is not defined. (no-undef)
(#68) 'getPercentage' is not defined. (no-undef)
(#71) 'getPercentage' is not defined. (no-undef)
(#72) 'checkPercentOnLeave' is not defined. (no-undef)
(#72) Missing semicolon. (semi)
(#74) 'checkPercentOnLeave' is not defined. (no-undef)
(#76) 'getFeedbackElement' is not defined. (no-undef)
(#76) 'getComment' is not defined. (no-undef)
(#77) 'getThrottleElement' is not defined. (no-undef)
(#77) 'getThrottle' is not defined. (no-undef)
(#85) Missing JSDoc comment. (require-jsdoc)
(#85) 'string' is defined but never used. (no-unused-vars)
(#91) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#92) 'tinyMCEPopup' is not defined. (no-undef)
(#92) Extra space after key 'format'. (key-spacing)
(#98) 'getAnswerElement' is not defined. (no-undef)
(#98) 'trim' is not defined. (no-undef)
(#99) 'getGradeElement' is not defined. (no-undef)
(#100) 'getCorrectElement' is not defined. (no-undef)
(#104) Missing JSDoc comment. (require-jsdoc)
(#104) 'checkPercentInput' is defined but never used. (no-unused-vars)
(#105) This line has a length of 165. Maximum allowed is 132. (max-len)
(#105) 'alphabet' is assigned a value but never used. (no-unused-vars)
(#106) 'element' is assigned a value but never used. (no-unused-vars)
(#106) 'getAnswerElement' is not defined. (no-undef)
(#126) Missing JSDoc comment. (require-jsdoc)
(#126) Unexpected space before function parentheses. (space-before-function-paren)
(#127) 'getPercentElement' is not defined. (no-undef)
(#131) 'checkPercentOnLeave' is not defined. (no-undef)
(#135) Missing JSDoc comment. (require-jsdoc)
(#136) 'counter' is not defined. (no-undef)
(#136) 'countInputRows' is not defined. (no-undef)
(#150) 'counter' is not defined. (no-undef)
(#152) 'counter' is not defined. (no-undef)
(#156) Identifier 'input_answer' is not in camel case. (camelcase)
(#158) Identifier 'input_answer' is not in camel case. (camelcase)
(#159) Identifier 'input_answer' is not in camel case. (camelcase)
(#159) 'counter' is not defined. (no-undef)
(#160) Identifier 'input_answer' is not in camel case. (camelcase)
(#160) 'counter' is not defined. (no-undef)
(#161) Identifier 'input_answer' is not in camel case. (camelcase)
(#162) Identifier 'input_answer' is not in camel case. (camelcase)
(#162) There should be no space before this paren. (space-in-parens)
(#166) Identifier 'input_throttle' is not in camel case. (camelcase)
(#167) Identifier 'input_throttle' is not in camel case. (camelcase)
(#168) Identifier 'input_throttle' is not in camel case. (camelcase)
(#168) 'counter' is not defined. (no-undef)
(#169) 'getQuizTypeElement' is not defined. (no-undef)
(#179) Identifier 'input_checkbox' is not in camel case. (camelcase)
(#180) Identifier 'input_checkbox' is not in camel case. (camelcase)
(#181) Identifier 'input_checkbox' is not in camel case. (camelcase)
(#181) 'counter' is not defined. (no-undef)
(#182) Identifier 'input_checkbox' is not in camel case. (camelcase)
(#182) 'counter' is not defined. (no-undef)
(#183) Identifier 'input_checkbox' is not in camel case. (camelcase)
(#188) Identifier 'input_percent' is not in camel case. (camelcase)
(#189) Identifier 'input_percent' is not in camel case. (camelcase)
(#190) Identifier 'input_percent' is not in camel case. (camelcase)
(#190) 'counter' is not defined. (no-undef)
(#191) Identifier 'input_percent' is not in camel case. (camelcase)
(#192) Identifier 'input_percent' is not in camel case. (camelcase)
(#193) Identifier 'input_percent' is not in camel case. (camelcase)
(#194) Identifier 'input_percent' is not in camel case. (camelcase)
(#194) 'counter' is not defined. (no-undef)
(#194) 'counter' is not defined. (no-undef)
(#199) Identifier 'input_feedback' is not in camel case. (camelcase)
(#200) Identifier 'input_feedback' is not in camel case. (camelcase)
(#201) Identifier 'input_feedback' is not in camel case. (camelcase)
(#201) 'counter' is not defined. (no-undef)
(#202) Identifier 'input_feedback' is not in camel case. (camelcase)
(#203) Identifier 'input_feedback' is not in camel case. (camelcase)
(#216) Missing JSDoc comment. (require-jsdoc)
(#216) Unexpected space before function parentheses. (space-before-function-paren)
(#217) Identifier 'correct_element' is not in camel case. (camelcase)
(#217) 'getCorrectElement' is not defined. (no-undef)
(#218) Identifier 'percent_element' is not in camel case. (camelcase)
(#218) 'percent_element' is assigned a value but never used. (no-unused-vars)
(#218) 'getPercentElement' is not defined. (no-undef)
(#220) Identifier 'correct_element' is not in camel case. (camelcase)
(#222) Identifier 'correct_element' is not in camel case. (camelcase)
(#228) Missing JSDoc comment. (require-jsdoc)
(#229) Identifier 'correct_element' is not in camel case. (camelcase)
(#229) 'getCorrectElement' is not defined. (no-undef)
(#230) Identifier 'percent_element' is not in camel case. (camelcase)
(#230) 'getPercentElement' is not defined. (no-undef)
(#234) Identifier 'percent_element' is not in camel case. (camelcase)
(#235) Identifier 'percent_element' is not in camel case. (camelcase)
(#236) Identifier 'percent_element' is not in camel case. (camelcase)
(#237) Identifier 'percent_element' is not in camel case. (camelcase)
(#238) Identifier 'correct_element' is not in camel case. (camelcase)
(#243) Identifier 'percent_element' is not in camel case. (camelcase)
(#244) Identifier 'percent_element' is not in camel case. (camelcase)
(#245) Identifier 'percent_element' is not in camel case. (camelcase)
(#247) Identifier 'percent_element' is not in camel case. (camelcase)
(#249) Identifier 'percent_element' is not in camel case. (camelcase)
(#250) Identifier 'correct_element' is not in camel case. (camelcase)
(#254) Missing JSDoc comment. (require-jsdoc)
(#275) 'getQuizTypeElement' is not defined. (no-undef)
(#279) Missing JSDoc comment. (require-jsdoc)
(#279) Expected to return a value at the end of function 'getPoints'. (consistent-return)
(#282) 'deleteAfterString' is not defined. (no-undef)
(#283) 'deleteTillChar' is not defined. (no-undef)
(#286) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#296) Missing JSDoc comment. (require-jsdoc)
(#301) 'deleteTillChar' is not defined. (no-undef)
(#303) 'deleteAfterString' is not defined. (no-undef)
(#310) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#311) 'tinyMCEPopup' is not defined. (no-undef)
(#315) Extra space after key 'init'. (key-spacing)
(#319) 'tinyMCEPopup' is not defined. (no-undef)
(#319) Extra space after key 'format'. (key-spacing)
(#327) Extra space after key 'insert'. (key-spacing)
(#331) 'tinyMCEPopup' is not defined. (no-undef)
(#331) 'encode' is not defined. (no-undef)
(#333) 'tinyMCEPopup' is not defined. (no-undef)
(#337) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#338) 'tinyMCEPopup' is not defined. (no-undef)
lib/editor/tinymce/plugins/clozeeditor/tinymce/js/parseAnswer.js
(#6) Missing JSDoc comment. (require-jsdoc)
(#6) Expected to return a value at the end of function 'getAnswer'. (consistent-return)
(#6) 'getAnswer' is defined but never used. (no-unused-vars)
(#7) 'getAnswerCode' is not defined. (no-undef)
(#10) 'deleteTillChar' is not defined. (no-undef)
(#11) 'deleteTillChar' is not defined. (no-undef)
(#13) 'countAnswers' is not defined. (no-undef)
(#15) 'deleteAfterString' is not defined. (no-undef)
(#17) 'isStringInString' is not defined. (no-undef)
(#19) 'deleteAfterString' is not defined. (no-undef)
(#21) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#33) Missing JSDoc comment. (require-jsdoc)
(#38) 'deleteTillChar' is not defined. (no-undef)
(#42) 'deleteTillChar' is not defined. (no-undef)
(#44) 'substr' is not defined. (no-undef)
(#48) 'deleteTillChar' is not defined. (no-undef)
lib/editor/tinymce/plugins/clozeeditor/tinymce/js/parseFeedback.js
(#6) Missing JSDoc comment. (require-jsdoc)
(#6) 'deleteInbetweenComments' is defined but never used. (no-unused-vars)
(#8) 'strstr' is not defined. (no-undef)
(#9) 'strstr' is not defined. (no-undef)
(#14) Missing JSDoc comment. (require-jsdoc)
(#14) Expected to return a value at the end of function 'getComment'. (consistent-return)
(#14) 'getComment' is defined but never used. (no-unused-vars)
(#15) 'getAnswerCode' is not defined. (no-undef)
(#18) 'countAnswers' is not defined. (no-undef)
(#21) 'countAnswers' is not defined. (no-undef)
(#22) 'deleteAfterString' is not defined. (no-undef)
(#24) 'deleteTillChar' is not defined. (no-undef)
(#26) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#32) 'deleteInbetweenAnswers' is not defined. (no-undef)
lib/editor/tinymce/plugins/clozeeditor/tinymce/js/parseHelper.js
(#5) Missing JSDoc comment. (require-jsdoc)
(#5) 'trim' is defined but never used. (no-unused-vars)
(#10) Missing JSDoc comment. (require-jsdoc)
(#10) 'isStringInString' is defined but never used. (no-unused-vars)
(#18) Missing JSDoc comment. (require-jsdoc)
(#23) Missing JSDoc comment. (require-jsdoc)
(#23) 'stripslashes' is defined but never used. (no-unused-vars)
(#28) Missing JSDoc comment. (require-jsdoc)
(#28) 'toggleThrottle' is defined but never used. (no-unused-vars)
(#33) 'allHTMLTags' is already defined. (no-redeclare)
(#36) 'i' is not defined. (no-undef)
(#36) 'i' is not defined. (no-undef)
(#36) 'i' is not defined. (no-undef)
(#38) 'i' is not defined. (no-undef)
(#39) 'getQuizTypeElement' is not defined. (no-undef)
(#40) 'i' is not defined. (no-undef)
(#42) 'i' is not defined. (no-undef)
(#48) Missing JSDoc comment. (require-jsdoc)
(#49) 'strstr' is not defined. (no-undef)
(#50) 'substr' is not defined. (no-undef)
(#54) Missing JSDoc comment. (require-jsdoc)
(#54) 'deleteAfterString' is defined but never used. (no-unused-vars)
(#55) 'strstr' is not defined. (no-undef)
(#60) Missing JSDoc comment. (require-jsdoc)
(#60) 'getAnswerCode' is defined but never used. (no-unused-vars)
(#68) Missing space before opening brace. (space-before-blocks)
lib/editor/tinymce/plugins/clozeeditor/tinymce/js/parsePercentage.js
(#6) Missing JSDoc comment. (require-jsdoc)
(#7) 'deleteTillChar' is not defined. (no-undef)
(#11) Missing JSDoc comment. (require-jsdoc)
(#11) Expected to return a value at the end of function 'percentOutput'. (consistent-return)
(#14) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#17) 'deleteTillChar' is not defined. (no-undef)
(#18) 'deleteAfterString' is not defined. (no-undef)
(#20) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#34) Missing JSDoc comment. (require-jsdoc)
(#34) Expected to return a value at the end of function 'getPercentage'. (consistent-return)
(#34) 'getPercentage' is defined but never used. (no-unused-vars)
(#37) 'getAnswerCode' is not defined. (no-undef)
(#39) 'countAnswers' is not defined. (no-undef)
(#41) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
lib/editor/tinymce/plugins/clozeeditor/tinymce/js/parseThrottle.js
(#6) Missing JSDoc comment. (require-jsdoc)
(#6) 'getThrottle' is defined but never used. (no-unused-vars)
(#7) 'getAnswerCode' is not defined. (no-undef)
(#9) 'countAnswers' is not defined. (no-undef)
(#11) 'deleteTillChar' is not defined. (no-undef)
(#12) 'deleteAfterString' is not defined. (no-undef)
(#14) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#26) Missing JSDoc comment. (require-jsdoc)
(#27) 'deleteTillChar' is not defined. (no-undef)
lib/editor/tinymce/plugins/clozeeditor/tinymce/js/popup.js
(#14) Missing JSDoc comment. (require-jsdoc)
(#15) There should be no space after '{'. (object-curly-spacing)
(#15) There should be no space before '}'. (object-curly-spacing)
(#22) Unnecessary semicolon. (no-extra-semi)
(#24) Missing JSDoc comment. (require-jsdoc)
(#24) 'comboSelectValue' is defined but never used. (no-unused-vars)
(#31) Unnecessary semicolon. (no-extra-semi)
(#33) Missing JSDoc comment. (require-jsdoc)
(#33) Identifier '__dlg_onclose' is not in camel case. (camelcase)
(#33) '__dlg_onclose' is defined but never used. (no-unused-vars)
(#35) Unnecessary semicolon. (no-extra-semi)
(#37) Missing JSDoc comment. (require-jsdoc)
(#37) Identifier '__dlg_init' is not in camel case. (camelcase)
(#37) '__dlg_init' is defined but never used. (no-unused-vars)
(#39) Identifier 'body_height' is not in camel case. (camelcase)
(#43) 'pos' used outside of binding context. (block-scoped-var)
(#44) Identifier 'body_height' is not in camel case. (camelcase)
(#44) 'pos' used outside of binding context. (block-scoped-var)
(#46) 'pos' is already defined. (no-redeclare)
(#46) 'pos' used outside of binding context. (block-scoped-var)
(#47) Identifier 'body_height' is not in camel case. (camelcase)
(#47) 'body_height' is assigned a value but never used. (no-unused-vars)
(#47) 'pos' used outside of binding context. (block-scoped-var)
(#51) Identifier '__dlg_close_on_esc' is not in camel case. (camelcase)
(#53) Unnecessary semicolon. (no-extra-semi)
(#55) Missing JSDoc comment. (require-jsdoc)
(#55) Identifier '__dlg_translate' is not in camel case. (camelcase)
(#55) '__dlg_translate' is defined but never used. (no-unused-vars)
(#69) 'txt' is already defined. (no-redeclare)
(#69) 'txt' used outside of binding context. (block-scoped-var)
(#70) 'txt' used outside of binding context. (block-scoped-var)
(#71) 'txt' used outside of binding context. (block-scoped-var)
(#73) Unnecessary semicolon. (no-extra-semi)
(#76) Missing JSDoc comment. (require-jsdoc)
(#76) Identifier '__dlg_close' is not in camel case. (camelcase)
(#76) '__dlg_close' is defined but never used. (no-unused-vars)
(#79) Unnecessary semicolon. (no-extra-semi)
(#81) Missing JSDoc comment. (require-jsdoc)
(#81) Identifier '__dlg_close_on_esc' is not in camel case. (camelcase)
(#82) Expected an assignment or function call and instead saw an expression. (no-unused-expressions)
(#88) Unnecessary semicolon. (no-extra-semi)
lib/editor/tinymce/plugins/clozeeditor/tinymce/langs/en_dlg.js
(#1) 'tinyMCE' is not defined. (no-undef)
(#1) A space is required after ','. (comma-spacing)

CSS problems

(1 errors, 0 warnings)

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

lib/editor/tinymce/plugins/clozeeditor/dialog.css
(#19) Unexpected unit "pt" (unit-blacklist)

PHPDocs style problems

(2 errors, 0 warnings)

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

lib/editor/tinymce/plugins/clozeeditor/classes/privacy/provider.php
(#36) Class provider is not documented
lib/editor/tinymce/plugins/clozeeditor/lib.php
(#31) Function tinymce_clozeeditor::update_init_params 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]


Missing changes in external functions or backup support for new detected tables or columns

(0 errors, 0 warnings)

This section shows potential problems detected when there are new database structures added in a patch and it is detected that nothing has been changed related with external functions (to be used by WS) or backup and restore. It must be checked that everything is correct and nothing is being missed in those areas. [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]


Gherkin .feature problems

(0 errors, 0 warnings)

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