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

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

mod/realtimequiz/version.php
(#28) This comment is 42% valid code; is this commented out code?

Javascript coding style problems

(80 errors, 361 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) Identifier 'realtimequiz_debugmessage' is not in camel case. (camelcase)
(#39) 'realtimequiz_debugmessage' is defined but never used. (no-unused-vars)
(#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) 'realtimequiz_debug_stopall' is defined but never used. (no-unused-vars)
(#51) Identifier 'realtimequiz_debug_stopall' is not in camel case. (camelcase)
(#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) 'realtimequiz_set_sesskey' is defined but never used. (no-unused-vars)
(#72) Identifier 'realtimequiz_set_sesskey' is not in camel case. (camelcase)
(#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) Identifier 'realtimequiz_set_coursepage' is not in camel case. (camelcase)
(#84) 'realtimequiz_set_coursepage' is defined but never used. (no-unused-vars)
(#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) 'realtimequiz_init_student_view' is defined but never used. (no-unused-vars)
(#99) Identifier 'realtimequiz_init_student_view' is not in camel case. (camelcase)
(#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)
(#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)
(#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)
(#116) Line 116 exceeds the maximum line length of 132. (max-len)
(#116) Infix operators must be spaced. (space-infix-ops)
(#116) ["waitfirst"] is better written in dot notation. (dot-notation)
(#116) Infix operators must be spaced. (space-infix-ops)
(#123) Expected space or tab after '/**' in comment. (spaced-comment)
(#123) Missing JSDoc for parameter 'status'. (valid-jsdoc)
(#126) Identifier 'realtimequiz_set_status' is not in camel case. (camelcase)
(#130) Missing JSDoc comment. (require-jsdoc)
(#130) Identifier 'realtimequiz_set_question_number' is not in camel case. (camelcase)
(#131) ["question"] is better written in dot notation. (dot-notation)
(#135) Missing JSDoc comment. (require-jsdoc)
(#135) Identifier 'realtimequiz_set_question_text' is not in camel case. (camelcase)
(#139) Missing JSDoc comment. (require-jsdoc)
(#139) Identifier 'realtimequiz_set_question_image' is not in camel case. (camelcase)
(#141) Line 141 exceeds the maximum line length of 132. (max-len)
(#141) Infix operators must be spaced. (space-infix-ops)
(#141) Infix operators must be spaced. (space-infix-ops)
(#141) Infix operators must be spaced. (space-infix-ops)
(#141) Infix operators must be spaced. (space-infix-ops)
(#141) Infix operators must be spaced. (space-infix-ops)
(#141) Infix operators must be spaced. (space-infix-ops)
(#147) Missing JSDoc comment. (require-jsdoc)
(#147) Identifier 'realtimequiz_clear_answers' is not in camel case. (camelcase)
(#152) Missing JSDoc comment. (require-jsdoc)
(#152) Identifier 'realtimequiz_set_answer' is not in camel case. (camelcase)
(#154) Unexpected alert. (no-alert)
(#154) ["invalidanswer"] is better written in dot notation. (dot-notation)
(#157) Multiple spaces found before '//ASCII 'A''. (no-multi-spaces)
(#157) Expected space or tab after '//' in comment. (spaced-comment)
(#158) Infix operators must be spaced. (space-infix-ops)
(#158) Infix operators must be spaced. (space-infix-ops)
(#158) Infix operators must be spaced. (space-infix-ops)
(#158) Infix operators must be spaced. (space-infix-ops)
(#162) Infix operators must be spaced. (space-infix-ops)
(#162) Infix operators must be spaced. (space-infix-ops)
(#163) Infix operators must be spaced. (space-infix-ops)
(#163) Infix operators must be spaced. (space-infix-ops)
(#164) Infix operators must be spaced. (space-infix-ops)
(#164) ["blank"] is better written in dot notation. (dot-notation)
(#164) Infix operators must be spaced. (space-infix-ops)
(#170) Missing JSDoc comment. (require-jsdoc)
(#170) Identifier 'realtimequiz_set_question' is not in camel case. (camelcase)
(#171) Use ‘===’ to compare with ‘null’. (no-eq-null)
(#172) Unexpected alert. (no-alert)
(#177) Line 177 exceeds the maximum line length of 132. (max-len)
(#177) Multiple spaces found before '// If the ques...'. (no-multi-spaces)
(#194) Infix operators must be spaced. (space-infix-ops)
(#194) Infix operators must be spaced. (space-infix-ops)
(#195) Infix operators must be spaced. (space-infix-ops)
(#202) Missing JSDoc comment. (require-jsdoc)
(#202) Identifier 'realtimequiz_disable_answer' is not in camel case. (camelcase)
(#203) A space is required after ','. (comma-spacing)
(#206) Missing JSDoc comment. (require-jsdoc)
(#206) Identifier 'realtimequiz_set_result' is not in camel case. (camelcase)
(#207) Infix operators must be spaced. (space-infix-ops)
(#210) Infix operators must be spaced. (space-infix-ops)
(#210) Infix operators must be spaced. (space-infix-ops)
(#214) Infix operators must be spaced. (space-infix-ops)
(#217) Blocks are nested too deeply (5). (max-depth)
(#218) ["tick"] is better written in dot notation. (dot-notation)
(#218) Infix operators must be spaced. (space-infix-ops)
(#218) ["tick"] is better written in dot notation. (dot-notation)
(#218) Infix operators must be spaced. (space-infix-ops)
(#220) ["cross"] is better written in dot notation. (dot-notation)
(#220) Infix operators must be spaced. (space-infix-ops)
(#220) ["cross"] is better written in dot notation. (dot-notation)
(#220) Infix operators must be spaced. (space-infix-ops)
(#231) Missing JSDoc comment. (require-jsdoc)
(#231) Identifier 'realtimequiz_show_final_results' is not in camel case. (camelcase)
(#234) 'msg' used outside of binding context. (block-scoped-var)
(#234) Infix operators must be spaced. (space-infix-ops)
(#234) ["finalresults"] is better written in dot notation. (dot-notation)
(#234) Infix operators must be spaced. (space-infix-ops)
(#235) 'msg' used outside of binding context. (block-scoped-var)
(#235) Infix operators must be spaced. (space-infix-ops)
(#235) ["classresult"] 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)
(#235) Infix operators must be spaced. (space-infix-ops)
(#235) ["resultcorrect"] is better written in dot notation. (dot-notation)
(#237) Line 237 exceeds the maximum line length of 132. (max-len)
(#237) 'msg' used outside of binding context. (block-scoped-var)
(#237) Infix operators must be spaced. (space-infix-ops)
(#237) ["yourresult"] is better written in dot notation. (dot-notation)
(#237) Infix operators must be spaced. (space-infix-ops)
(#237) Infix operators must be spaced. (space-infix-ops)
(#238) 'msg' used outside of binding context. (block-scoped-var)
(#238) Infix operators must be spaced. (space-infix-ops)
(#238) ["resultcorrect"] is better written in dot notation. (dot-notation)
(#238) Infix operators must be spaced. (space-infix-ops)
(#240) 'msg' used outside of binding context. (block-scoped-var)
(#242) 'msg' is already defined. (no-redeclare)
(#242) 'msg' used outside of binding context. (block-scoped-var)
(#242) Infix operators must be spaced. (space-infix-ops)
(#242) ["quizfinished"] is better written in dot notation. (dot-notation)
(#242) Infix operators must be spaced. (space-infix-ops)
(#244) 'msg' used outside of binding context. (block-scoped-var)
(#244) 'msg' used outside of binding context. (block-scoped-var)
(#247) Comments should not begin with a lowercase character (capitalized-comments)
(#247) Expected space or tab after '/**' in comment. (spaced-comment)
(#247) Missing JSDoc for parameter 'choice'. (valid-jsdoc)
(#250) Identifier 'realtimequiz_select_choice' is not in camel case. (camelcase)
(#250) 'realtimequiz_select_choice' is defined but never used. (no-unused-vars)
(#252) ["sendinganswer"] is better written in dot notation. (dot-notation)
(#253) Infix operators must be spaced. (space-infix-ops)
(#256) Infix operators must be spaced. (space-infix-ops)
(#257) Infix operators must be spaced. (space-infix-ops)
(#257) Infix operators must be spaced. (space-infix-ops)
(#266) Missing JSDoc for parameter 'counttime'. (valid-jsdoc)
(#266) Missing JSDoc for parameter 'preview'. (valid-jsdoc)
(#266) Expected space or tab after '/**' in comment. (spaced-comment)
(#269) Identifier 'realtimequiz_start_timer' is not in camel case. (camelcase)
(#272) ["displaynext"] is better written in dot notation. (dot-notation)
(#274) ["timeleft"] is better written in dot notation. (dot-notation)
(#276) Infix operators must be spaced. (space-infix-ops)
(#276) Infix operators must be spaced. (space-infix-ops)
(#277) Infix operators must be spaced. (space-infix-ops)
(#277) Implied eval. Consider passing a function instead of a string. (no-implied-eval)
(#277) Infix operators must be spaced. (space-infix-ops)
(#277) Infix operators must be spaced. (space-infix-ops)
(#281) Missing JSDoc comment. (require-jsdoc)
(#281) Identifier 'realtimequiz_stop_timer' is not in camel case. (camelcase)
(#282) Use ‘===’ to compare with ‘null’. (no-eq-null)
(#288) Missing JSDoc comment. (require-jsdoc)
(#288) Identifier 'realtimequiz_timer_tick' is not in camel case. (camelcase)
(#292) Infix operators must be spaced. (space-infix-ops)
(#296) ["questionfinished"] is better written in dot notation. (dot-notation)
(#300) Infix operators must be spaced. (space-infix-ops)
(#300) Infix operators must be spaced. (space-infix-ops)
(#311) Missing JSDoc for parameter 'code'. (valid-jsdoc)
(#311) Expected space or tab after '/**' in comment. (spaced-comment)
(#311) Missing JSDoc for parameter 'time'. (valid-jsdoc)
(#314) Identifier 'realtimequiz_delayed_request' is not in camel case. (camelcase)
(#315) Use ‘===’ to compare with ‘null’. (no-eq-null)
(#323) Missing JSDoc comment. (require-jsdoc)
(#323) Identifier 'realtimequiz_create_request' is not in camel case. (camelcase)
(#326) Identifier 'realtimequiz_debug_stop' is not in camel case. (camelcase)
(#331) Use ‘===’ to compare with ‘null’. (no-eq-null)
(#347) 'ActiveXObject' is not defined. (no-undef)
(#348) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#351) 'ActiveXObject' is not defined. (no-undef)
(#352) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#353) Empty block statement. (no-empty)
(#359) Unexpected alert. (no-alert)
(#359) ["httprequestfail"] is better written in dot notation. (dot-notation)
(#360) Function 'realtimequiz_create_request' expected no return value. (consistent-return)
(#365) Infix operators must be spaced. (space-infix-ops)
(#367) Infix operators must be spaced. (space-infix-ops)
(#367) Infix operators must be spaced. (space-infix-ops)
(#373) Missing JSDoc comment. (require-jsdoc)
(#373) Identifier 'realtimequiz_resend_request' is not in camel case. (camelcase)
(#383) Missing JSDoc comment. (require-jsdoc)
(#383) Identifier 'realtimequiz_return_course' is not in camel case. (camelcase)
(#385) Unexpected alert. (no-alert)
(#387) Comments should not begin with a lowercase character (capitalized-comments)
(#387) Expected space or tab after '//' in comment. (spaced-comment)
(#391) Missing JSDoc comment. (require-jsdoc)
(#391) Identifier 'node_text' is not in camel case. (camelcase)
(#401) Missing JSDoc comment. (require-jsdoc)
(#401) Identifier 'realtimequiz_get_question' is not in camel case. (camelcase)
(#402) Infix operators must be spaced. (space-infix-ops)
(#405) Missing JSDoc comment. (require-jsdoc)
(#405) Identifier 'realtimequiz_get_results' is not in camel case. (camelcase)
(#406) Infix operators must be spaced. (space-infix-ops)
(#406) Infix operators must be spaced. (space-infix-ops)
(#406) Infix operators must be spaced. (space-infix-ops)
(#409) Missing JSDoc comment. (require-jsdoc)
(#409) Identifier 'realtimequiz_post_answer' is not in camel case. (camelcase)
(#410) Line 410 exceeds the maximum line length of 132. (max-len)
(#410) Infix operators must be spaced. (space-infix-ops)
(#410) Infix operators must be spaced. (space-infix-ops)
(#410) Infix operators must be spaced. (space-infix-ops)
(#410) Infix operators must be spaced. (space-infix-ops)
(#410) Infix operators must be spaced. (space-infix-ops)
(#410) Infix operators must be spaced. (space-infix-ops)
(#410) Infix operators must be spaced. (space-infix-ops)
(#413) Missing JSDoc comment. (require-jsdoc)
(#413) Identifier 'realtimequiz_join_quiz' is not in camel case. (camelcase)
(#413) 'realtimequiz_join_quiz' is defined but never used. (no-unused-vars)
(#414) Infix operators must be spaced. (space-infix-ops)
(#414) Infix operators must be spaced. (space-infix-ops)
(#418) Function 'realtimequiz_process_contents' has a complexity of 36. (complexity)
(#418) Missing JSDoc comment. (require-jsdoc)
(#418) Identifier 'realtimequiz_process_contents' is not in camel case. (camelcase)
(#422) Use ‘===’ to compare with ‘null’. (no-eq-null)
(#436) Use ‘===’ to compare with ‘null’. (no-eq-null)
(#446) Blocks are nested too deeply (5). (max-depth)
(#446) Expected { after 'if' condition. (curly)
(#447) Unexpected whitespace before semicolon. (semi-spacing)
(#449) Blocks are nested too deeply (5). (max-depth)
(#450) Unexpected alert. (no-alert)
(#450) ["noquestion"] is better written in dot notation. (dot-notation)
(#450) Infix operators must be spaced. (space-infix-ops)
(#451) Blocks are nested too deeply (6). (max-depth)
(#451) Unexpected confirm. (no-alert)
(#451) ["tryagain"] is better written in dot notation. (dot-notation)
(#458) Blocks are nested too deeply (6). (max-depth)
(#464) 'realtimequiz_update_next_button' is not defined. (no-undef)
(#468) Blocks are nested too deeply (5). (max-depth)
(#477) Blocks are nested too deeply (6). (max-depth)
(#477) Infix operators must be spaced. (space-infix-ops)
(#477) Infix operators must be spaced. (space-infix-ops)
(#481) Blocks are nested too deeply (7). (max-depth)
(#485) Blocks are nested too deeply (6). (max-depth)
(#490) ["resultthisquestion"] is better written in dot notation. (dot-notation)
(#490) Infix operators must be spaced. (space-infix-ops)
(#492) Infix operators must be spaced. (space-infix-ops)
(#492) ["resultoverall"] is better written in dot notation. (dot-notation)
(#494) Infix operators must be spaced. (space-infix-ops)
(#494) ["resultcorrect"] is better written in dot notation. (dot-notation)
(#495) Blocks are nested too deeply (7). (max-depth)
(#496) Line 496 exceeds the maximum line length of 132. (max-len)
(#496) Infix operators must be spaced. (space-infix-ops)
(#496) ["yourresult"] is better written in dot notation. (dot-notation)
(#496) Infix operators must be spaced. (space-infix-ops)
(#497) Infix operators must be spaced. (space-infix-ops)
(#497) ["resultcorrect"] is better written in dot notation. (dot-notation)
(#497) Infix operators must be spaced. (space-infix-ops)
(#504) Blocks are nested too deeply (5). (max-depth)
(#505) 'realtimequiz_update_next_button' is not defined. (no-undef)
(#505) Multiple spaces found before '// Teacher con...'. (no-multi-spaces)
(#507) A space is required after ','. (comma-spacing)
(#511) Blocks are nested too deeply (5). (max-depth)
(#512) ["answersent"] is better written in dot notation. (dot-notation)
(#518) 'waittime' used outside of binding context. (block-scoped-var)
(#519) Blocks are nested too deeply (5). (max-depth)
(#519) 'waittime' used outside of binding context. (block-scoped-var)
(#520) 'waittime' used outside of binding context. (block-scoped-var)
(#520) 'waittime' used outside of binding context. (block-scoped-var)
(#522) 'waittime' used outside of binding context. (block-scoped-var)
(#524) Identifier 'number_of_students' is not in camel case. (camelcase)
(#524) Unexpected whitespace before semicolon. (semi-spacing)
(#525) Blocks are nested too deeply (5). (max-depth)
(#525) Identifier 'number_of_students' is not in camel case. (camelcase)
(#526) Blocks are nested too deeply (6). (max-depth)
(#527) Line 527 exceeds the maximum line length of 132. (max-len)
(#527) Infix operators must be spaced. (space-infix-ops)
(#527) Infix operators must be spaced. (space-infix-ops)
(#527) ["studentconnected"] is better written in dot notation. (dot-notation)
(#527) Unexpected whitespace before semicolon. (semi-spacing)
(#529) Line 529 exceeds the maximum line length of 132. (max-len)
(#529) Infix operators must be spaced. (space-infix-ops)
(#529) Infix operators must be spaced. (space-infix-ops)
(#529) ["studentsconnected"] is better written in dot notation. (dot-notation)
(#529) Unexpected whitespace before semicolon. (semi-spacing)
(#532) 'waittime' used outside of binding context. (block-scoped-var)
(#535) 'waittime' used outside of binding context. (block-scoped-var)
(#535) 'waittime' is already defined. (no-redeclare)
(#536) Blocks are nested too deeply (5). (max-depth)
(#536) 'waittime' used outside of binding context. (block-scoped-var)
(#537) 'waittime' used outside of binding context. (block-scoped-var)
(#537) 'waittime' used outside of binding context. (block-scoped-var)
(#539) 'waittime' used outside of binding context. (block-scoped-var)
(#542) 'waittime' used outside of binding context. (block-scoped-var)
(#548) ["quiznotrunning"] is better written in dot notation. (dot-notation)
(#555) Unexpected alert. (no-alert)
(#555) ["servererror"] is better written in dot notation. (dot-notation)
(#555) Infix operators must be spaced. (space-infix-ops)
(#558) Unexpected alert. (no-alert)
(#558) ["badresponse"] is better written in dot notation. (dot-notation)
(#558) Infix operators must be spaced. (space-infix-ops)
(#559) Blocks are nested too deeply (5). (max-depth)
(#559) Unexpected confirm. (no-alert)
(#559) ["tryagain"] is better written in dot notation. (dot-notation)
(#580) Unexpected alert. (no-alert)
(#589) Expected space or tab after '//' in comment. (spaced-comment)
(#590) Expected space or tab after '//' in comment. (spaced-comment)
(#592) Expected space or tab after '//' in comment. (spaced-comment)
(#593) 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

(0 errors, 0 warnings)

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


PHPDocs style problems

(117 errors, 0 warnings)

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

mod/realtimequiz/adminlib.php
(#17) File-level phpdocs block is not found
(#22) Invalid phpdocs tag @author: used
(#29) Package mod_aspirelist is not valid
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
(#17) No one-line description found in phpdocs for file
(#18) Package moodlecore is not valid
mod/realtimequiz/backup/moodle2/backup_realtimequiz_stepslib.php
(#35) Function backup_realtimequiz_activity_structure_step::define_structure is not documented
(#17) No one-line description found in phpdocs for file
(#30) Class backup_realtimequiz_activity_structure_step does not have @copyright tag
(#30) Class backup_realtimequiz_activity_structure_step does not have @license tag
mod/realtimequiz/backup/moodle2/restore_realtimequiz_activity_task.class.php
(#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
(#18) Package moodlecore is not valid
mod/realtimequiz/backup/moodle2/restore_realtimequiz_stepslib.php
(#35) Function restore_realtimequiz_activity_structure_step::define_structure is not documented
(#54) Function restore_realtimequiz_activity_structure_step::process_realtimequiz is not documented
(#67) Function restore_realtimequiz_activity_structure_step::process_realtimequiz_question is not documented
(#79) Function restore_realtimequiz_activity_structure_step::process_realtimequiz_answer is not documented
(#91) Function restore_realtimequiz_activity_structure_step::process_realtimequiz_session is not documented
(#104) Function restore_realtimequiz_activity_structure_step::process_realtimequiz_submission is not documented
(#119) Function restore_realtimequiz_activity_structure_step::after_execute is not documented
(#17) No one-line description found in phpdocs for file
(#30) Class restore_realtimequiz_activity_structure_step does not have @copyright tag
(#30) Class restore_realtimequiz_activity_structure_step does not have @license tag
(#18) Package moodlecore is not valid
mod/realtimequiz/classes/privacy/provider.php
(#38) Class provider is not documented
(#42) Function provider::get_metadata is not documented
(#57) Function provider::get_modid is not documented
(#65) Function provider::get_contexts_for_userid is not documented
(#94) Function provider::export_user_data is not documented
(#171) Function provider::delete_data_for_all_users_in_context is not documented
(#188) Function provider::delete_data_for_user is not documented
(#56) Variable provider::$modid is not documented
mod/realtimequiz/db/access.php
(#17) File-level phpdocs block is not found
mod/realtimequiz/db/upgrade.php
(#17) File-level phpdocs block is not found
(#19) Function xmldb_realtimequiz_upgrade is not documented
(#19) Package is not specified for function xmldb_realtimequiz_upgrade. It is also not specified in file-level phpdocs
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
(#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
(#21) Package is not specified for class realtimequiz_editquestion_form. It is also not specified in file-level phpdocs
mod/realtimequiz/index.php
(#17) File-level phpdocs block does not have @copyright tag
(#17) File-level phpdocs block does not have @license tag
mod/realtimequiz/lang/de/realtimequiz.php
(#19) 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
(#17) File-level phpdocs block is not found
(#205) Function realtimequiz_scale_used_anywhere is not documented
(#212) Function realtimequiz_view_tabs is not documented
(#253) Function realtimequiz_pluginfile is not documented
(#288) 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
(#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
(#212) Package is not specified for function realtimequiz_view_tabs. It is also not specified in file-level phpdocs
(#253) Package is not specified for function realtimequiz_pluginfile. It is also not specified in file-level phpdocs
(#288) Package is not specified for function realtimequiz_supports. It is also not specified in file-level phpdocs
(#23) Package realtimequiz is not valid
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
(#186) Function realtimequiz_number_students is not documented
(#221) Function realtimequiz_send_running is not documented
(#225) Function realtimequiz_send_not_running is not documented
(#229) Function realtimequiz_send_await_question is not documented
(#235) Function realtimequiz_send_await_results is not documented
(#246) Function realtimequiz_send_final_results is not documented
(#256) Function realtimequiz_update_status is not documented
(#297) Function realtimequiz_is_running is not documented
(#302) Function realtimequiz_current_question is not documented
(#316) Function realtimequiz_goto_question is not documented
mod/realtimequiz/mod_form.php
(#17) File-level phpdocs block is not found
(#21) Class mod_realtimequiz_mod_form is not documented
(#23) Function mod_realtimequiz_mod_form::definition is not documented
(#21) Package is not specified for class mod_realtimequiz_mod_form. It is also not specified in file-level phpdocs
mod/realtimequiz/quizdata.php
(#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
(#21) Package realtimequiz is not valid
mod/realtimequiz/responses.php
(#17) File-level phpdocs block does not have @copyright tag
(#17) File-level phpdocs block does not have @license tag
(#21) Package realtimequiz is not valid
mod/realtimequiz/settings.php
(#17) File-level phpdocs block does not have @copyright tag
(#17) File-level phpdocs block does not have @license tag
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/tests/privacy_provider_test.php
(#30) Class mod_realtimequiz_privacy_provider_testcase is not documented
mod/realtimequiz/version.php
(#17) No one-line description found in phpdocs for file
(#17) File-level phpdocs block does not have @copyright tag
(#17) File-level phpdocs block does not have @license tag
(#21) Invalid phpdocs tag @author: used
(#22) Package realtimequiz is not valid
mod/realtimequiz/view.php
(#17) File-level phpdocs block does not have @copyright tag
(#17) File-level phpdocs block does not have @license tag
(#21) Package realtimequiz 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]