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

(39 errors, 17 warnings)

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

mod/realtimequiz/backup/moodle2/backup_realtimequiz_settingslib.php
(#1) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
mod/realtimequiz/backup/moodle2/backup_realtimequiz_stepslib.php
(#31) Expected MOODLE_INTERNAL check or config.php inclusion
mod/realtimequiz/backup/moodle2/restore_realtimequiz_stepslib.php
(#31) Expected MOODLE_INTERNAL check or config.php inclusion
mod/realtimequiz/db/upgrade.php
(#63) Inline comments must start with a capital letter, digit or 3-dots sequence
mod/realtimequiz/editquestion_form.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
mod/realtimequiz/index.php
(#21) Inline doc block comments are not allowed; use "// Comment." instead
mod/realtimequiz/lang/de/realtimequiz.php
(#2) Inline comments must end in full-stops, exclamation marks, or question marks
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) No space found before comment text; expected "// Translation: Joachim Vogelgesang" but found "//Translation: Joachim Vogelgesang"
(#3) Line 2 of the opening comment must start "//".
(#4) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#4) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#4) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#4) Line 6 of the opening comment must start "// (at your option) any later version.".
(#4) Line 7 of the opening comment must start "//".
(#4) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#4) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#4) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#4) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#4) Line 12 of the opening comment must start "//".
(#5) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#5) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#10) Inline comments must end in full-stops, exclamation marks, or question marks
(#16) Inline comments must end in full-stops, exclamation marks, or question marks
(#22) Inline comments must end in full-stops, exclamation marks, or question marks
(#27) Inline comments must end in full-stops, exclamation marks, or question marks
(#51) Inline comments must end in full-stops, exclamation marks, or question marks
(#63) Inline comments must end in full-stops, exclamation marks, or question marks
(#67) Inline comments must end in full-stops, exclamation marks, or question marks
(#75) Inline comments must end in full-stops, exclamation marks, or question marks
(#107) Inline comments must end in full-stops, exclamation marks, or question marks
(#114) A closing tag is not permitted at the end of a PHP file
mod/realtimequiz/lang/en/realtimequiz.php
(#36) Inline comments must end in full-stops, exclamation marks, or question marks
mod/realtimequiz/lib.php
(#143) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#209) Inline comments must start with a capital letter, digit or 3-dots sequence
mod/realtimequiz/locallib.php
(#164) Empty IF statement detected
(#169) This comment is 80% valid code; is this commented out code?
(#169) No space found before comment text; expected "// realtimequiz_send_error(get_string('alreadyanswered','realtimequiz'));" but found "//realtimequiz_send_error(get_string('alreadyanswered','realtimequiz'));"
mod/realtimequiz/mod_form.php
(#20) Inline doc block comments are not allowed; use "// Comment." instead
mod/realtimequiz/responses.php
(#164) Inline comments must start with a capital letter, digit or 3-dots sequence
(#274) Line exceeds maximum limit of 180 characters; contains 185 characters
mod/realtimequiz/settings.php
(#20) Inline doc block comments are not allowed; use "// Comment." instead
mod/realtimequiz/version.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Line 2 of the opening comment must start "//".
(#3) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#3) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#3) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#3) Line 6 of the opening comment must start "// (at your option) any later version.".
(#3) Line 7 of the opening comment must start "//".
(#4) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#4) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#4) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#4) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#4) Line 12 of the opening comment must start "//".
(#5) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#5) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".

Javascript coding style problems

(80 errors, 345 warnings)

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

mod/realtimequiz/editquestions.js
(#1) Expected space or tab after '/*' in comment. (spaced-comment)
(#2) Identifier 'mod_realtimequiz' is not in camel case. (camelcase)
(#4) Identifier 'init_editpage' is not in camel case. (camelcase)
(#4) Unexpected space before function parentheses. (space-before-function-paren)
(#9) Identifier 'highlight_correct' is not in camel case. (camelcase)
(#9) Unexpected space before function parentheses. (space-before-function-paren)
(#10) Unexpected space before function parentheses. (space-before-function-paren)
(#14) Unexpected 'this'. (no-invalid-this)
(#15) Unexpected 'this'. (no-invalid-this)
(#22) Unexpected 'this'. (no-invalid-this)
(#30) Unexpected space before function parentheses. (space-before-function-paren)
mod/realtimequiz/view_student.js
(#10) Infix operators must be spaced. (space-infix-ops)
(#11) Infix operators must be spaced. (space-infix-ops)
(#12) Infix operators must be spaced. (space-infix-ops)
(#13) Infix operators must be spaced. (space-infix-ops)
(#14) Infix operators must be spaced. (space-infix-ops)
(#15) Infix operators must be spaced. (space-infix-ops)
(#18) Infix operators must be spaced. (space-infix-ops)
(#19) Infix operators must be spaced. (space-infix-ops)
(#20) Infix operators must be spaced. (space-infix-ops)
(#21) Infix operators must be spaced. (space-infix-ops)
(#22) Infix operators must be spaced. (space-infix-ops)
(#33) Expected space or tab after '/**' in comment. (spaced-comment)
(#36) Identifier 'realtimequiz_maxdebugmessages' is not in camel case. (camelcase)
(#37) Identifier 'realtimequiz_debug_stop' is not in camel case. (camelcase)
(#39) Missing JSDoc comment. (require-jsdoc)
(#39) 'realtimequiz_debugmessage' is defined but never used. (no-unused-vars)
(#39) Identifier 'realtimequiz_debugmessage' is not in camel case. (camelcase)
(#40) Identifier 'realtimequiz_maxdebugmessages' is not in camel case. (camelcase)
(#41) Identifier 'realtimequiz_maxdebugmessages' is not in camel case. (camelcase)
(#44) Line 44 exceeds the maximum line length of 132. (max-len)
(#51) Missing JSDoc comment. (require-jsdoc)
(#51) Identifier 'realtimequiz_debug_stopall' is not in camel case. (camelcase)
(#51) 'realtimequiz_debug_stopall' is defined but never used. (no-unused-vars)
(#52) Identifier 'realtimequiz_debug_stop' is not in camel case. (camelcase)
(#56) Expected space or tab after '/**' in comment. (spaced-comment)
(#60) Missing JSDoc comment. (require-jsdoc)
(#60) 'realtimequiz_set_maxanswers' is defined but never used. (no-unused-vars)
(#60) Identifier 'realtimequiz_set_maxanswers' is not in camel case. (camelcase)
(#64) Missing JSDoc comment. (require-jsdoc)
(#64) Identifier 'realtimequiz_set_quizid' is not in camel case. (camelcase)
(#64) 'realtimequiz_set_quizid' is defined but never used. (no-unused-vars)
(#68) Missing JSDoc comment. (require-jsdoc)
(#68) 'realtimequiz_set_userid' is defined but never used. (no-unused-vars)
(#68) Identifier 'realtimequiz_set_userid' is not in camel case. (camelcase)
(#72) Missing JSDoc comment. (require-jsdoc)
(#72) Identifier 'realtimequiz_set_sesskey' is not in camel case. (camelcase)
(#72) 'realtimequiz_set_sesskey' is defined but never used. (no-unused-vars)
(#76) Missing JSDoc comment. (require-jsdoc)
(#76) 'realtimequiz_set_image' is defined but never used. (no-unused-vars)
(#76) Identifier 'realtimequiz_set_image' is not in camel case. (camelcase)
(#80) Missing JSDoc comment. (require-jsdoc)
(#80) Identifier 'realtimequiz_set_text' is not in camel case. (camelcase)
(#80) 'realtimequiz_set_text' is defined but never used. (no-unused-vars)
(#84) Missing JSDoc comment. (require-jsdoc)
(#84) 'realtimequiz_set_coursepage' is defined but never used. (no-unused-vars)
(#84) Identifier 'realtimequiz_set_coursepage' is not in camel case. (camelcase)
(#88) Missing JSDoc comment. (require-jsdoc)
(#88) 'realtimequiz_set_siteroot' is defined but never used. (no-unused-vars)
(#88) Identifier 'realtimequiz_set_siteroot' is not in camel case. (camelcase)
(#92) Missing JSDoc comment. (require-jsdoc)
(#92) 'realtimequiz_set_running' is defined but never used. (no-unused-vars)
(#92) Identifier 'realtimequiz_set_running' is not in camel case. (camelcase)
(#96) Expected space or tab after '/**' in comment. (spaced-comment)
(#99) Identifier 'realtimequiz_init_student_view' is not in camel case. (camelcase)
(#99) 'realtimequiz_init_student_view' is defined but never used. (no-unused-vars)
(#100) Infix operators must be spaced. (space-infix-ops)
(#100) Infix operators must be spaced. (space-infix-ops)
(#100) ["joinquiz"] is better written in dot notation. (dot-notation)
(#100) Infix operators must be spaced. (space-infix-ops)
(#100) Missing semicolon. (semi)
(#101) Infix operators must be spaced. (space-infix-ops)
(#101) ["joininstruct"] is better written in dot notation. (dot-notation)
(#101) Infix operators must be spaced. (space-infix-ops)
(#101) Missing semicolon. (semi)
(#105) Missing JSDoc comment. (require-jsdoc)
(#105) Identifier 'realtimequiz_init_question_view' is not in camel case. (camelcase)
(#110) Line 110 exceeds the maximum line length of 132. (max-len)
(#110) Infix operators must be spaced. (space-infix-ops)
(#110) ["waitstudent"] is better written in dot notation. (dot-notation)
(#110) Infix operators must be spaced. (space-infix-ops)
(#110) Infix operators must be spaced. (space-infix-ops)
(#110) ["clicknext"] is better written in dot notation. (dot-notation)
(#110) Infix operators must be spaced. (space-infix-ops)
(#112) 'realtimequiz_update_next_button' is not defined. (no-undef)
(#114) Line 114 exceeds the maximum line length of 132. (max-len)
(#114) Infix operators must be spaced. (space-infix-ops)
(#114) ["waitfirst"] is better written in dot notation. (dot-notation)
(#114) Infix operators must be spaced. (space-infix-ops)
(#121) Expected space or tab after '/**' in comment. (spaced-comment)
(#121) Missing JSDoc for parameter 'status'. (valid-jsdoc)
(#124) Identifier 'realtimequiz_set_status' is not in camel case. (camelcase)
(#128) Missing JSDoc comment. (require-jsdoc)
(#128) Identifier 'realtimequiz_set_question_number' is not in camel case. (camelcase)
(#129) ["question"] is better written in dot notation. (dot-notation)
(#133) Missing JSDoc comment. (require-jsdoc)
(#133) Identifier 'realtimequiz_set_question_text' is not in camel case. (camelcase)
(#137) Missing JSDoc comment. (require-jsdoc)
(#137) Identifier 'realtimequiz_set_question_image' is not in camel case. (camelcase)
(#139) Line 139 exceeds the maximum line length of 132. (max-len)
(#139) Infix operators must be spaced. (space-infix-ops)
(#139) Infix operators must be spaced. (space-infix-ops)
(#139) Infix operators must be spaced. (space-infix-ops)
(#139) Infix operators must be spaced. (space-infix-ops)
(#139) Infix operators must be spaced. (space-infix-ops)
(#139) Infix operators must be spaced. (space-infix-ops)
(#145) Missing JSDoc comment. (require-jsdoc)
(#145) Identifier 'realtimequiz_clear_answers' is not in camel case. (camelcase)
(#150) Missing JSDoc comment. (require-jsdoc)
(#150) Identifier 'realtimequiz_set_answer' is not in camel case. (camelcase)
(#152) Unexpected alert. (no-alert)
(#152) ["invalidanswer"] is better written in dot notation. (dot-notation)
(#155) Expected space or tab after '//' in comment. (spaced-comment)
(#155) Multiple spaces found before '//ASCII 'A''. (no-multi-spaces)
(#156) Infix operators must be spaced. (space-infix-ops)
(#156) Infix operators must be spaced. (space-infix-ops)
(#156) Infix operators must be spaced. (space-infix-ops)
(#156) Infix operators must be spaced. (space-infix-ops)
(#160) Infix operators must be spaced. (space-infix-ops)
(#160) Infix operators must be spaced. (space-infix-ops)
(#161) Infix operators must be spaced. (space-infix-ops)
(#161) Infix operators must be spaced. (space-infix-ops)
(#162) Infix operators must be spaced. (space-infix-ops)
(#162) ["blank"] is better written in dot notation. (dot-notation)
(#162) Infix operators must be spaced. (space-infix-ops)
(#168) Missing JSDoc comment. (require-jsdoc)
(#168) Identifier 'realtimequiz_set_question' is not in camel case. (camelcase)
(#169) Use ‘===’ to compare with ‘null’. (no-eq-null)
(#170) Unexpected alert. (no-alert)
(#175) Line 175 exceeds the maximum line length of 132. (max-len)
(#175) Multiple spaces found before '// If the ques...'. (no-multi-spaces)
(#192) Infix operators must be spaced. (space-infix-ops)
(#192) Infix operators must be spaced. (space-infix-ops)
(#193) Infix operators must be spaced. (space-infix-ops)
(#200) Missing JSDoc comment. (require-jsdoc)
(#200) Identifier 'realtimequiz_disable_answer' is not in camel case. (camelcase)
(#201) A space is required after ','. (comma-spacing)
(#204) Missing JSDoc comment. (require-jsdoc)
(#204) Identifier 'realtimequiz_set_result' is not in camel case. (camelcase)
(#205) Infix operators must be spaced. (space-infix-ops)
(#208) Infix operators must be spaced. (space-infix-ops)
(#208) Infix operators must be spaced. (space-infix-ops)
(#212) Infix operators must be spaced. (space-infix-ops)
(#215) Blocks are nested too deeply (5). (max-depth)
(#216) ["tick"] is better written in dot notation. (dot-notation)
(#216) Infix operators must be spaced. (space-infix-ops)
(#216) ["tick"] is better written in dot notation. (dot-notation)
(#216) Infix operators must be spaced. (space-infix-ops)
(#218) ["cross"] is better written in dot notation. (dot-notation)
(#218) Infix operators must be spaced. (space-infix-ops)
(#218) ["cross"] is better written in dot notation. (dot-notation)
(#218) Infix operators must be spaced. (space-infix-ops)
(#229) Missing JSDoc comment. (require-jsdoc)
(#229) Identifier 'realtimequiz_show_final_results' is not in camel case. (camelcase)
(#232) 'msg' used outside of binding context. (block-scoped-var)
(#232) Infix operators must be spaced. (space-infix-ops)
(#232) ["finalresults"] is better written in dot notation. (dot-notation)
(#232) Infix operators must be spaced. (space-infix-ops)
(#233) 'msg' used outside of binding context. (block-scoped-var)
(#233) Infix operators must be spaced. (space-infix-ops)
(#233) ["classresult"] is better written in dot notation. (dot-notation)
(#233) Infix operators must be spaced. (space-infix-ops)
(#233) Infix operators must be spaced. (space-infix-ops)
(#233) Infix operators must be spaced. (space-infix-ops)
(#233) ["resultcorrect"] is better written in dot notation. (dot-notation)
(#235) Line 235 exceeds the maximum line length of 132. (max-len)
(#235) 'msg' used outside of binding context. (block-scoped-var)
(#235) Infix operators must be spaced. (space-infix-ops)
(#235) ["yourresult"] is better written in dot notation. (dot-notation)
(#235) Infix operators must be spaced. (space-infix-ops)
(#235) Infix operators must be spaced. (space-infix-ops)
(#236) 'msg' used outside of binding context. (block-scoped-var)
(#236) Infix operators must be spaced. (space-infix-ops)
(#236) ["resultcorrect"] is better written in dot notation. (dot-notation)
(#236) Infix operators must be spaced. (space-infix-ops)
(#238) 'msg' used outside of binding context. (block-scoped-var)
(#240) 'msg' used outside of binding context. (block-scoped-var)
(#240) 'msg' is already defined. (no-redeclare)
(#240) Infix operators must be spaced. (space-infix-ops)
(#240) ["quizfinished"] is better written in dot notation. (dot-notation)
(#240) Infix operators must be spaced. (space-infix-ops)
(#242) 'msg' used outside of binding context. (block-scoped-var)
(#242) 'msg' used outside of binding context. (block-scoped-var)
(#245) Expected space or tab after '/**' in comment. (spaced-comment)
(#245) Missing JSDoc for parameter 'choice'. (valid-jsdoc)
(#245) Comments should not begin with a lowercase character (capitalized-comments)
(#248) Identifier 'realtimequiz_select_choice' is not in camel case. (camelcase)
(#248) 'realtimequiz_select_choice' is defined but never used. (no-unused-vars)
(#250) ["sendinganswer"] is better written in dot notation. (dot-notation)
(#251) Infix operators must be spaced. (space-infix-ops)
(#254) Infix operators must be spaced. (space-infix-ops)
(#255) Infix operators must be spaced. (space-infix-ops)
(#255) Infix operators must be spaced. (space-infix-ops)
(#264) Missing JSDoc for parameter 'counttime'. (valid-jsdoc)
(#264) Missing JSDoc for parameter 'preview'. (valid-jsdoc)
(#264) Expected space or tab after '/**' in comment. (spaced-comment)
(#267) Identifier 'realtimequiz_start_timer' is not in camel case. (camelcase)
(#270) ["displaynext"] is better written in dot notation. (dot-notation)
(#272) ["timeleft"] is better written in dot notation. (dot-notation)
(#274) Infix operators must be spaced. (space-infix-ops)
(#274) Infix operators must be spaced. (space-infix-ops)
(#275) Infix operators must be spaced. (space-infix-ops)
(#275) Implied eval. Consider passing a function instead of a string. (no-implied-eval)
(#275) Infix operators must be spaced. (space-infix-ops)
(#275) Infix operators must be spaced. (space-infix-ops)
(#279) Missing JSDoc comment. (require-jsdoc)
(#279) Identifier 'realtimequiz_stop_timer' is not in camel case. (camelcase)
(#280) Use ‘===’ to compare with ‘null’. (no-eq-null)
(#286) Missing JSDoc comment. (require-jsdoc)
(#286) Identifier 'realtimequiz_timer_tick' is not in camel case. (camelcase)
(#290) Infix operators must be spaced. (space-infix-ops)
(#294) ["questionfinished"] is better written in dot notation. (dot-notation)
(#298) Infix operators must be spaced. (space-infix-ops)
(#298) Infix operators must be spaced. (space-infix-ops)
(#309) Missing JSDoc for parameter 'code'. (valid-jsdoc)
(#309) Missing JSDoc for parameter 'time'. (valid-jsdoc)
(#309) Expected space or tab after '/**' in comment. (spaced-comment)
(#312) Identifier 'realtimequiz_delayed_request' is not in camel case. (camelcase)
(#313) Use ‘===’ to compare with ‘null’. (no-eq-null)
(#321) Missing JSDoc comment. (require-jsdoc)
(#321) Identifier 'realtimequiz_create_request' is not in camel case. (camelcase)
(#324) Identifier 'realtimequiz_debug_stop' is not in camel case. (camelcase)
(#328) Unexpected tab character. (no-tabs)
(#329) Use ‘===’ to compare with ‘null’. (no-eq-null)
(#345) 'ActiveXObject' is not defined. (no-undef)
(#346) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#349) 'ActiveXObject' is not defined. (no-undef)
(#350) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#351) Empty block statement. (no-empty)
(#357) Unexpected alert. (no-alert)
(#357) ["httprequestfail"] is better written in dot notation. (dot-notation)
(#358) Function 'realtimequiz_create_request' expected no return value. (consistent-return)
(#363) Infix operators must be spaced. (space-infix-ops)
(#365) Infix operators must be spaced. (space-infix-ops)
(#365) Infix operators must be spaced. (space-infix-ops)
(#371) Missing JSDoc comment. (require-jsdoc)
(#371) Identifier 'realtimequiz_resend_request' is not in camel case. (camelcase)
(#381) Missing JSDoc comment. (require-jsdoc)
(#381) Identifier 'realtimequiz_return_course' is not in camel case. (camelcase)
(#383) Unexpected alert. (no-alert)
(#385) Expected space or tab after '//' in comment. (spaced-comment)
(#385) Comments should not begin with a lowercase character (capitalized-comments)
(#389) Missing JSDoc comment. (require-jsdoc)
(#389) Identifier 'node_text' is not in camel case. (camelcase)
(#399) Missing JSDoc comment. (require-jsdoc)
(#399) Identifier 'realtimequiz_get_question' is not in camel case. (camelcase)
(#400) Infix operators must be spaced. (space-infix-ops)
(#403) Missing JSDoc comment. (require-jsdoc)
(#403) Identifier 'realtimequiz_get_results' is not in camel case. (camelcase)
(#404) Infix operators must be spaced. (space-infix-ops)
(#404) Infix operators must be spaced. (space-infix-ops)
(#404) Infix operators must be spaced. (space-infix-ops)
(#407) Missing JSDoc comment. (require-jsdoc)
(#407) Identifier 'realtimequiz_post_answer' is not in camel case. (camelcase)
(#408) Line 408 exceeds the maximum line length of 132. (max-len)
(#408) Infix operators must be spaced. (space-infix-ops)
(#408) Infix operators must be spaced. (space-infix-ops)
(#408) Infix operators must be spaced. (space-infix-ops)
(#408) Infix operators must be spaced. (space-infix-ops)
(#408) Infix operators must be spaced. (space-infix-ops)
(#408) Infix operators must be spaced. (space-infix-ops)
(#408) Infix operators must be spaced. (space-infix-ops)
(#411) Missing JSDoc comment. (require-jsdoc)
(#411) 'realtimequiz_join_quiz' is defined but never used. (no-unused-vars)
(#411) Identifier 'realtimequiz_join_quiz' is not in camel case. (camelcase)
(#412) Infix operators must be spaced. (space-infix-ops)
(#412) Infix operators must be spaced. (space-infix-ops)
(#416) Missing JSDoc comment. (require-jsdoc)
(#416) Function 'realtimequiz_process_contents' has a complexity of 28. (complexity)
(#416) Identifier 'realtimequiz_process_contents' is not in camel case. (camelcase)
(#420) Use ‘===’ to compare with ‘null’. (no-eq-null)
(#434) Use ‘===’ to compare with ‘null’. (no-eq-null)
(#445) Blocks are nested too deeply (5). (max-depth)
(#446) Unexpected alert. (no-alert)
(#446) ["noquestion"] is better written in dot notation. (dot-notation)
(#446) Infix operators must be spaced. (space-infix-ops)
(#447) Blocks are nested too deeply (6). (max-depth)
(#447) Unexpected confirm. (no-alert)
(#447) ["tryagain"] is better written in dot notation. (dot-notation)
(#454) Blocks are nested too deeply (6). (max-depth)
(#460) 'realtimequiz_update_next_button' is not defined. (no-undef)
(#464) Blocks are nested too deeply (5). (max-depth)
(#473) Blocks are nested too deeply (6). (max-depth)
(#473) Infix operators must be spaced. (space-infix-ops)
(#473) Infix operators must be spaced. (space-infix-ops)
(#477) Blocks are nested too deeply (7). (max-depth)
(#481) Blocks are nested too deeply (6). (max-depth)
(#486) ["resultthisquestion"] is better written in dot notation. (dot-notation)
(#486) Infix operators must be spaced. (space-infix-ops)
(#488) Infix operators must be spaced. (space-infix-ops)
(#488) ["resultoverall"] is better written in dot notation. (dot-notation)
(#490) Infix operators must be spaced. (space-infix-ops)
(#490) ["resultcorrect"] is better written in dot notation. (dot-notation)
(#491) Blocks are nested too deeply (7). (max-depth)
(#492) Line 492 exceeds the maximum line length of 132. (max-len)
(#492) Infix operators must be spaced. (space-infix-ops)
(#492) ["yourresult"] is better written in dot notation. (dot-notation)
(#492) Infix operators must be spaced. (space-infix-ops)
(#493) Infix operators must be spaced. (space-infix-ops)
(#493) ["resultcorrect"] is better written in dot notation. (dot-notation)
(#493) Infix operators must be spaced. (space-infix-ops)
(#500) Blocks are nested too deeply (5). (max-depth)
(#501) 'realtimequiz_update_next_button' is not defined. (no-undef)
(#501) Multiple spaces found before '// Teacher con...'. (no-multi-spaces)
(#503) A space is required after ','. (comma-spacing)
(#507) Blocks are nested too deeply (5). (max-depth)
(#508) ["answersent"] is better written in dot notation. (dot-notation)
(#514) 'waittime' used outside of binding context. (block-scoped-var)
(#515) Blocks are nested too deeply (5). (max-depth)
(#515) 'waittime' used outside of binding context. (block-scoped-var)
(#516) 'waittime' used outside of binding context. (block-scoped-var)
(#516) 'waittime' used outside of binding context. (block-scoped-var)
(#518) 'waittime' used outside of binding context. (block-scoped-var)
(#521) 'waittime' used outside of binding context. (block-scoped-var)
(#524) 'waittime' used outside of binding context. (block-scoped-var)
(#524) 'waittime' is already defined. (no-redeclare)
(#525) Blocks are nested too deeply (5). (max-depth)
(#525) 'waittime' used outside of binding context. (block-scoped-var)
(#526) 'waittime' used outside of binding context. (block-scoped-var)
(#526) 'waittime' used outside of binding context. (block-scoped-var)
(#528) 'waittime' used outside of binding context. (block-scoped-var)
(#531) 'waittime' used outside of binding context. (block-scoped-var)
(#537) ["quiznotrunning"] is better written in dot notation. (dot-notation)
(#544) Unexpected alert. (no-alert)
(#544) ["servererror"] is better written in dot notation. (dot-notation)
(#544) Infix operators must be spaced. (space-infix-ops)
(#547) Unexpected alert. (no-alert)
(#547) ["badresponse"] is better written in dot notation. (dot-notation)
(#547) Infix operators must be spaced. (space-infix-ops)
(#548) Blocks are nested too deeply (5). (max-depth)
(#548) Unexpected confirm. (no-alert)
(#548) ["tryagain"] is better written in dot notation. (dot-notation)
(#560) Expected space or tab after '//' in comment. (spaced-comment)
(#561) Expected space or tab after '//' in comment. (spaced-comment)
(#563) Expected space or tab after '//' in comment. (spaced-comment)
(#564) Expected space or tab after '//' in comment. (spaced-comment)
mod/realtimequiz/view_teacher.js
(#8) 'realtimequiz' is not defined. (no-undef)
(#10) Missing JSDoc comment. (require-jsdoc)
(#10) Identifier 'realtimequiz_first_question' is not in camel case. (camelcase)
(#15) 'realtimequiz_create_request' is not defined. (no-undef)
(#15) Infix operators must be spaced. (space-infix-ops)
(#15) 'realtimequiz' is not defined. (no-undef)
(#15) Infix operators must be spaced. (space-infix-ops)
(#15) Infix operators must be spaced. (space-infix-ops)
(#15) 'realtimequiz' is not defined. (no-undef)
(#15) Infix operators must be spaced. (space-infix-ops)
(#16) Expected space or tab after '//' in comment. (spaced-comment)
(#19) Missing JSDoc comment. (require-jsdoc)
(#19) Identifier 'realtimequiz_next_question' is not in camel case. (camelcase)
(#21) Line 21 exceeds the maximum line length of 132. (max-len)
(#21) 'realtimequiz_create_request' is not defined. (no-undef)
(#21) Infix operators must be spaced. (space-infix-ops)
(#21) 'realtimequiz' is not defined. (no-undef)
(#21) Infix operators must be spaced. (space-infix-ops)
(#21) Infix operators must be spaced. (space-infix-ops)
(#21) 'realtimequiz' is not defined. (no-undef)
(#21) Infix operators must be spaced. (space-infix-ops)
(#21) Infix operators must be spaced. (space-infix-ops)
(#21) 'realtimequiz' is not defined. (no-undef)
(#22) 'realtimequiz' is not defined. (no-undef)
(#22) 'realtimequiz' is not defined. (no-undef)
(#23) Expected space or tab after '//' in comment. (spaced-comment)
(#26) Missing JSDoc comment. (require-jsdoc)
(#26) Identifier 'realtimequiz_update_next_button' is not in camel case. (camelcase)
(#27) 'realtimequiz' is not defined. (no-undef)
(#31) Line 31 exceeds the maximum line length of 132. (max-len)
(#31) 'realtimequiz' is not defined. (no-undef)
(#31) 'realtimequiz' is not defined. (no-undef)
(#34) Line 34 exceeds the maximum line length of 132. (max-len)
(#34) Infix operators must be spaced. (space-infix-ops)
(#34) 'realtimequiz' is not defined. (no-undef)
(#34) ["next"] is better written in dot notation. (dot-notation)
(#34) Infix operators must be spaced. (space-infix-ops)
(#38) Line 38 exceeds the maximum line length of 132. (max-len)
(#38) Infix operators must be spaced. (space-infix-ops)
(#38) 'realtimequiz' is not defined. (no-undef)
(#38) ["next"] is better written in dot notation. (dot-notation)
(#38) Infix operators must be spaced. (space-infix-ops)
(#42) Missing JSDoc comment. (require-jsdoc)
(#42) Identifier 'realtimequiz_start_quiz' is not in camel case. (camelcase)
(#43) 'realtimequiz' is not defined. (no-undef)
(#47) Missing JSDoc comment. (require-jsdoc)
(#47) 'realtimequiz_start_new_quiz' is defined but never used. (no-unused-vars)
(#47) Identifier 'realtimequiz_start_new_quiz' is not in camel case. (camelcase)
(#48) Unexpected confirm. (no-alert)
(#48) 'realtimequiz' is not defined. (no-undef)
(#48) ["startnewquizconfirm"] is better written in dot notation. (dot-notation)
(#54) Missing JSDoc comment. (require-jsdoc)
(#54) 'realtimequiz_reconnect_quiz' is defined but never used. (no-unused-vars)
(#54) Identifier 'realtimequiz_reconnect_quiz' is not in camel case. (camelcase)
(#55) 'realtimequiz' is not defined. (no-undef)
(#56) 'realtimequiz_create_request' is not defined. (no-undef)
(#56) Infix operators must be spaced. (space-infix-ops)
(#56) 'realtimequiz' is not defined. (no-undef)
(#59) Missing JSDoc comment. (require-jsdoc)
(#59) Identifier 'realtimequiz_init_teacher_view' is not in camel case. (camelcase)
(#59) 'realtimequiz_init_teacher_view' is defined but never used. (no-unused-vars)
(#60) 'realtimequiz' is not defined. (no-undef)
(#60) Multiple spaces found before '// Set to true...'. (no-multi-spaces)
(#62) 'realtimequiz' is not defined. (no-undef)
(#63) Line 63 exceeds the maximum line length of 132. (max-len)
(#63) 'realtimequiz' is not defined. (no-undef)
(#63) ["reconnectquiz"] is better written in dot notation. (dot-notation)
(#64) Infix operators must be spaced. (space-infix-ops)
(#64) 'realtimequiz' is not defined. (no-undef)
(#64) ["reconnectinstruct"] is better written in dot notation. (dot-notation)
(#64) Infix operators must be spaced. (space-infix-ops)
(#65) Line 65 exceeds the maximum line length of 132. (max-len)
(#65) 'realtimequiz' is not defined. (no-undef)
(#65) ["startnewquiz"] is better written in dot notation. (dot-notation)
(#66) 'realtimequiz' is not defined. (no-undef)
(#66) ["teacherstartnewinstruct"] is better written in dot notation. (dot-notation)
(#68) Line 68 exceeds the maximum line length of 132. (max-len)
(#68) 'realtimequiz' is not defined. (no-undef)
(#68) ["startquiz"] is better written in dot notation. (dot-notation)
(#69) 'realtimequiz' is not defined. (no-undef)
(#69) ["teacherstartinstruct"] is better written in dot notation. (dot-notation)
(#71) Infix operators must be spaced. (space-infix-ops)
(#71) 'realtimequiz' is not defined. (no-undef)
(#71) ["joinquizasstudent"] is better written in dot notation. (dot-notation)
(#71) Infix operators must be spaced. (space-infix-ops)
(#72) Infix operators must be spaced. (space-infix-ops)
(#72) 'realtimequiz' is not defined. (no-undef)
(#72) ["teacherjoinquizinstruct"] is better written in dot notation. (dot-notation)
(#72) Infix operators must be spaced. (space-infix-ops)

CSS problems

(20 errors, 0 warnings)

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

mod/realtimequiz/styles.css
(#12) Unexpected duplicate "background" (declaration-block-no-duplicate-properties)
(#13) Unexpected duplicate "background" (declaration-block-no-duplicate-properties)
(#25) Unexpected duplicate "background" (declaration-block-no-duplicate-properties)
(#26) Unexpected duplicate "background" (declaration-block-no-duplicate-properties)
(#35) Unexpected duplicate "background" (declaration-block-no-duplicate-properties)
(#36) Unexpected duplicate "background" (declaration-block-no-duplicate-properties)
(#45) Unexpected duplicate "background" (declaration-block-no-duplicate-properties)
(#46) Unexpected duplicate "background" (declaration-block-no-duplicate-properties)
(#55) Unexpected duplicate "background" (declaration-block-no-duplicate-properties)
(#56) Unexpected duplicate "background" (declaration-block-no-duplicate-properties)
(#11) Expected "DXImageTransform.Microsoft.gradient" to be "dximagetransform.microsoft.gradient" (function-name-case)
(#24) Expected "DXImageTransform.Microsoft.gradient" to be "dximagetransform.microsoft.gradient" (function-name-case)
(#34) Expected "DXImageTransform.Microsoft.gradient" to be "dximagetransform.microsoft.gradient" (function-name-case)
(#44) Expected "DXImageTransform.Microsoft.gradient" to be "dximagetransform.microsoft.gradient" (function-name-case)
(#54) Expected "DXImageTransform.Microsoft.gradient" to be "dximagetransform.microsoft.gradient" (function-name-case)
(#10) Unexpected whitespace at end of line (no-eol-whitespace)
(#23) Unexpected whitespace at end of line (no-eol-whitespace)
(#33) Unexpected whitespace at end of line (no-eol-whitespace)
(#43) Unexpected whitespace at end of line (no-eol-whitespace)
(#53) Unexpected whitespace at end of line (no-eol-whitespace)

PHPDocs style problems

(108 errors, 0 warnings)

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

mod/realtimequiz/adminlib.php
(#29) Package mod_aspirelist is not valid
(#17) File-level phpdocs block is not found
(#22) Invalid phpdocs tag @author: used
mod/realtimequiz/backup/moodle2/backup_realtimequiz_activity_task.class.php
(#32) Class backup_realtimequiz_activity_task does not have @copyright tag
(#32) Class backup_realtimequiz_activity_task does not have @license tag
mod/realtimequiz/backup/moodle2/backup_realtimequiz_settingslib.php
(#18) Package moodlecore is not valid
(#17) No one-line description found in phpdocs for file
mod/realtimequiz/backup/moodle2/backup_realtimequiz_stepslib.php
(#33) Function backup_realtimequiz_activity_structure_step::define_structure is not documented
(#17) No one-line description found in phpdocs for file
(#28) Class backup_realtimequiz_activity_structure_step does not have @copyright tag
(#28) Class backup_realtimequiz_activity_structure_step does not have @license tag
mod/realtimequiz/backup/moodle2/restore_realtimequiz_activity_task.class.php
(#18) Package moodlecore is not valid
(#17) No one-line description found in phpdocs for file
(#28) No one-line description found in phpdocs for class restore_realtimequiz_activity_task
(#28) Class restore_realtimequiz_activity_task does not have @copyright tag
(#28) Class restore_realtimequiz_activity_task does not have @license tag
mod/realtimequiz/backup/moodle2/restore_realtimequiz_stepslib.php
(#18) Package moodlecore is not valid
(#33) Function restore_realtimequiz_activity_structure_step::define_structure is not documented
(#52) Function restore_realtimequiz_activity_structure_step::process_realtimequiz is not documented
(#65) Function restore_realtimequiz_activity_structure_step::process_realtimequiz_question is not documented
(#77) Function restore_realtimequiz_activity_structure_step::process_realtimequiz_answer is not documented
(#89) Function restore_realtimequiz_activity_structure_step::process_realtimequiz_session is not documented
(#102) Function restore_realtimequiz_activity_structure_step::process_realtimequiz_submission is not documented
(#117) Function restore_realtimequiz_activity_structure_step::after_execute is not documented
(#17) No one-line description found in phpdocs for file
(#28) Class restore_realtimequiz_activity_structure_step does not have @copyright tag
(#28) Class restore_realtimequiz_activity_structure_step does not have @license tag
mod/realtimequiz/db/access.php
(#17) File-level phpdocs block is not found
mod/realtimequiz/db/upgrade.php
(#19) Package is not specified for function xmldb_realtimequiz_upgrade. It is also not specified in file-level phpdocs
(#17) File-level phpdocs block is not found
(#19) Function xmldb_realtimequiz_upgrade is not documented
mod/realtimequiz/edit.php
(#78) Function realtimequiz_list_questions is not documented
(#128) Function realtimequiz_confirm_deletequestion is not documented
(#17) File-level phpdocs block does not have @copyright tag
(#17) File-level phpdocs block does not have @license tag
(#20) Invalid phpdocs tag @author: used
mod/realtimequiz/editquestion_form.php
(#21) Package is not specified for class realtimequiz_editquestion_form. It is also not specified in file-level phpdocs
(#17) File-level phpdocs block is not found
(#21) Class realtimequiz_editquestion_form is not documented
(#23) Function realtimequiz_editquestion_form::definition is not documented
(#67) Function realtimequiz_editquestion_form::definition_after_data is not documented
mod/realtimequiz/index.php
(#25) Package realtimequiz is not valid
(#17) File-level phpdocs block is not found
(#24) Invalid phpdocs tag @author: used
mod/realtimequiz/lang/de/realtimequiz.php
(#4) File-level phpdocs block is not found
mod/realtimequiz/lang/en/realtimequiz.php
(#17) File-level phpdocs block is not found
mod/realtimequiz/lib.php
(#26) Package is not specified for function realtimequiz_add_instance. It is also not specified in file-level phpdocs
(#51) Package is not specified for function realtimequiz_update_instance. It is also not specified in file-level phpdocs
(#75) Package is not specified for function realtimequiz_delete_instance. It is also not specified in file-level phpdocs
(#108) Package is not specified for function realtimequiz_user_outline. It is also not specified in file-level phpdocs
(#122) Package is not specified for function realtimequiz_user_complete. It is also not specified in file-level phpdocs
(#133) Package is not specified for function realtimequiz_print_recent_activity. It is also not specified in file-level phpdocs
(#146) Package is not specified for function realtimequiz_cron. It is also not specified in file-level phpdocs
(#159) Package is not specified for function realtimequiz_grades. It is also not specified in file-level phpdocs
(#176) Package is not specified for function realtimequiz_get_participants. It is also not specified in file-level phpdocs
(#189) Package is not specified for function realtimequiz_scale_used. It is also not specified in file-level phpdocs
(#205) Package is not specified for function realtimequiz_scale_used_anywhere. It is also not specified in file-level phpdocs
(#213) Package is not specified for function realtimequiz_view_tabs. It is also not specified in file-level phpdocs
(#254) Package is not specified for function realtimequiz_pluginfile. It is also not specified in file-level phpdocs
(#289) Package is not specified for function realtimequiz_supports. It is also not specified in file-level phpdocs
(#23) Package realtimequiz is not valid
(#17) File-level phpdocs block is not found
(#205) Function realtimequiz_scale_used_anywhere is not documented
(#213) Function realtimequiz_view_tabs is not documented
(#254) Function realtimequiz_pluginfile is not documented
(#289) Function realtimequiz_supports is not documented
(#108) Phpdocs for function realtimequiz_user_outline has incomplete parameters list
(#122) Phpdocs for function realtimequiz_user_complete has incomplete parameters list
(#133) Phpdocs for function realtimequiz_print_recent_activity has incomplete parameters list
(#195) Phpdocs for function realtimequiz_scale_used has incomplete parameters list
mod/realtimequiz/locallib.php
(#34) Function realtimequiz_start_response is not documented
(#39) Function realtimequiz_end_response is not documented
(#43) Function realtimequiz_send_error is not documented
(#47) Function realtimequiz_send_question is not documented
(#94) Function realtimequiz_send_results is not documented
(#154) Function realtimequiz_record_answer is not documented
(#189) Function realtimequiz_send_running is not documented
(#193) Function realtimequiz_send_not_running is not documented
(#197) Function realtimequiz_send_await_question is not documented
(#203) Function realtimequiz_send_await_results is not documented
(#214) Function realtimequiz_send_final_results is not documented
(#224) Function realtimequiz_update_status is not documented
(#265) Function realtimequiz_is_running is not documented
(#270) Function realtimequiz_current_question is not documented
(#284) Function realtimequiz_goto_question is not documented
mod/realtimequiz/mod_form.php
(#46) Package is not specified for class mod_realtimequiz_mod_form. It is also not specified in file-level phpdocs
(#17) File-level phpdocs block is not found
(#46) Class mod_realtimequiz_mod_form is not documented
(#48) Function mod_realtimequiz_mod_form::definition is not documented
mod/realtimequiz/quizdata.php
(#21) Package realtimequiz is not valid
(#17) File-level phpdocs block does not have @copyright tag
(#17) File-level phpdocs block does not have @license tag
(#20) Invalid phpdocs tag @author: used
mod/realtimequiz/responses.php
(#21) Package realtimequiz is not valid
(#17) File-level phpdocs block does not have @copyright tag
(#17) File-level phpdocs block does not have @license tag
mod/realtimequiz/settings.php
(#24) Package realtimequiz is not valid
(#17) File-level phpdocs block is not found
mod/realtimequiz/tests/generator/lib.php
(#27) Class mod_realtimequiz_generator is not documented
(#28) Function mod_realtimequiz_generator::create_instance is not documented
mod/realtimequiz/version.php
(#7) Package realtimequiz is not valid
(#2) No one-line description found in phpdocs for file
(#2) File-level phpdocs block does not have @copyright tag
(#2) File-level phpdocs block does not have @license tag
(#6) Invalid phpdocs tag @author: used
mod/realtimequiz/view.php
(#21) Package realtimequiz is not valid
(#17) File-level phpdocs block does not have @copyright tag
(#17) File-level phpdocs block does not have @license tag

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]

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

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]