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]

mod/quizgame/db/install.php
(#33) Expected MOODLE_INTERNAL check or config.php inclusion
mod/quizgame/db/uninstall.php
(#30) Expected MOODLE_INTERNAL check or config.php inclusion
mod/quizgame/grade.php
(#26) Expected login check (require_login, require_course_login, admin_externalpage_setup) following config inclusion. None found.

Javascript coding style problems

(18 errors, 93 warnings)

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

mod/quizgame/quizgame.js
(#1) Identifier 'mod_quizgame' is not in camel case. (camelcase)
(#1) Missing space before opening brace. (space-before-blocks)
(#21) 'playing' is defined but never used (no-unused-vars)
(#37) Missing JSDoc comment. (require-jsdoc)
(#45) Missing JSDoc comment. (require-jsdoc)
(#57) Missing JSDoc comment. (require-jsdoc)
(#64) Missing JSDoc comment. (require-jsdoc)
(#83) Missing JSDoc comment. (require-jsdoc)
(#90) Missing JSDoc comment. (require-jsdoc)
(#101) Missing JSDoc comment. (require-jsdoc)
(#107) Missing JSDoc comment. (require-jsdoc)
(#115) 'questions' is not defined. (no-undef)
(#115) 'questions' is not defined. (no-undef)
(#123) Missing JSDoc comment. (require-jsdoc)
(#123) 'e' is defined but never used (no-unused-vars)
(#125) 'questions' is not defined. (no-undef)
(#144) Missing JSDoc comment. (require-jsdoc)
(#148) Missing JSDoc comment. (require-jsdoc)
(#162) Missing JSDoc comment. (require-jsdoc)
(#196) Missing JSDoc comment. (require-jsdoc)
(#198) 'questions' is not defined. (no-undef)
(#202) 'questions' is not defined. (no-undef)
(#204) Missing JSDoc comment. (require-jsdoc)
(#211) Line 211 exceeds the maximum line length of 132. (max-len)
(#226) Line 226 exceeds the maximum line length of 132. (max-len)
(#227) Line 227 exceeds the maximum line length of 132. (max-len)
(#237) Missing JSDoc comment. (require-jsdoc)
(#244) 'i' used outside of binding context. (block-scoped-var)
(#244) 'i' used outside of binding context. (block-scoped-var)
(#244) 'i' used outside of binding context. (block-scoped-var)
(#245) 'i' used outside of binding context. (block-scoped-var)
(#252) Line 252 exceeds the maximum line length of 132. (max-len)
(#259) Line 259 exceeds the maximum line length of 132. (max-len)
(#263) Missing JSDoc comment. (require-jsdoc)
(#267) 'i' used outside of binding context. (block-scoped-var)
(#267) 'i' used outside of binding context. (block-scoped-var)
(#267) 'i' used outside of binding context. (block-scoped-var)
(#268) 'i' used outside of binding context. (block-scoped-var)
(#269) 'i' used outside of binding context. (block-scoped-var)
(#270) 'i' used outside of binding context. (block-scoped-var)
(#271) 'i' used outside of binding context. (block-scoped-var)
(#274) 'i' used outside of binding context. (block-scoped-var)
(#274) 'i' used outside of binding context. (block-scoped-var)
(#274) 'i' used outside of binding context. (block-scoped-var)
(#275) 'i' used outside of binding context. (block-scoped-var)
(#276) 'i' used outside of binding context. (block-scoped-var)
(#277) 'i' used outside of binding context. (block-scoped-var)
(#279) 'i' used outside of binding context. (block-scoped-var)
(#280) 'i' used outside of binding context. (block-scoped-var)
(#281) 'i' used outside of binding context. (block-scoped-var)
(#286) Opening curly brace does not appear on the same line as controlling statement. (brace-style)
(#286) Missing JSDoc comment. (require-jsdoc)
(#293) Unexpected space before function parentheses. (space-before-function-paren)
(#296) Unexpected space before function parentheses. (space-before-function-paren)
(#299) Unexpected space before function parentheses. (space-before-function-paren)
(#305) Unexpected space before function parentheses. (space-before-function-paren)
(#313) Missing JSDoc comment. (require-jsdoc)
(#325) Unexpected space before function parentheses. (space-before-function-paren)
(#332) Unexpected space before function parentheses. (space-before-function-paren)
(#340) Unexpected space before function parentheses. (space-before-function-paren)
(#343) Unexpected space before function parentheses. (space-before-function-paren)
(#346) Unexpected space before function parentheses. (space-before-function-paren)
(#350) Missing JSDoc comment. (require-jsdoc)
(#358) Unexpected space before function parentheses. (space-before-function-paren)
(#387) Unexpected space before function parentheses. (space-before-function-paren)
(#399) Opening curly brace does not appear on the same line as controlling statement. (brace-style)
(#403) Missing semicolon. (semi)
(#411) Missing JSDoc comment. (require-jsdoc)
(#415) Unexpected space before function parentheses. (space-before-function-paren)
(#421) Missing JSDoc comment. (require-jsdoc)
(#436) Unexpected space before function parentheses. (space-before-function-paren)
(#484) Unexpected space before function parentheses. (space-before-function-paren)
(#498) 'shot' is defined but never used (no-unused-vars)
(#498) Unexpected empty function. (no-empty-function)
(#501) Missing JSDoc comment. (require-jsdoc)
(#511) Unexpected space before function parentheses. (space-before-function-paren)
(#530) Missing JSDoc comment. (require-jsdoc)
(#583) Missing semicolon. (semi)
(#593) Missing semicolon. (semi)
(#595) Missing JSDoc comment. (require-jsdoc)
(#602) Unexpected space before function parentheses. (space-before-function-paren)
(#612) Unexpected space before function parentheses. (space-before-function-paren)
(#619) Missing JSDoc comment. (require-jsdoc)
(#630) Unexpected space before function parentheses. (space-before-function-paren)
(#643) Unexpected space before function parentheses. (space-before-function-paren)
(#646) Unexpected space before function parentheses. (space-before-function-paren)
(#652) Missing JSDoc comment. (require-jsdoc)
(#661) Unexpected space before function parentheses. (space-before-function-paren)
(#667) Unexpected space before function parentheses. (space-before-function-paren)
(#673) Missing JSDoc comment. (require-jsdoc)
(#677) Missing JSDoc comment. (require-jsdoc)
(#677) Expected to return a value at the end of this function. (consistent-return)
(#677) Identifier 'collide_ordered' is not in camel case. (camelcase)
(#699) Missing JSDoc comment. (require-jsdoc)
(#705) Missing JSDoc comment. (require-jsdoc)
(#715) Missing JSDoc comment. (require-jsdoc)
(#724) Missing JSDoc comment. (require-jsdoc)
(#730) Missing JSDoc comment. (require-jsdoc)
(#747) Missing JSDoc comment. (require-jsdoc)
(#757) Missing JSDoc comment. (require-jsdoc)
(#759) 'playerWasClicked' is not defined. (no-undef)
(#760) 'playerWasClicked' is not defined. (no-undef)
(#771) Missing JSDoc comment. (require-jsdoc)
(#777) Missing JSDoc comment. (require-jsdoc)
(#782) Missing JSDoc comment. (require-jsdoc)
(#783) There should be no spaces inside this paren. (space-in-parens)
(#793) Missing JSDoc comment. (require-jsdoc)
(#801) Missing JSDoc comment. (require-jsdoc)
(#806) Missing JSDoc comment. (require-jsdoc)
(#807) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#822) Missing JSDoc comment. (require-jsdoc)

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(0 errors, 0 warnings)

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


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]