Prechecker results: error


PHP lint problems

(1 errors, 0 warnings)

This section shows php lint problems in the code detected by php -l [More info]

mod/folderexamtimer/index.php
(#100) PHP Parse error: syntax error, unexpected 'public' (T_PUBLIC), expecting end of file in /mod/folderexamtimer/index.php on line 100

PHP coding style problems

(235 errors, 110 warnings)

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

mod/folderexamtimer/backup/moodle2/backup_folderexamtimer_activity_task.class.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#55) The static declaration must come after the visibility declaration
(#58) Commas (,) must be followed by white space.
(#60) Inline comments must end in full-stops, exclamation marks, or question marks
(#61) Expected 1 space before "="; 0 found
(#61) Expected 1 space after "="; 0 found
(#62) Expected 1 space before "="; 0 found
(#64) Inline comments must end in full-stops, exclamation marks, or question marks
(#65) Expected 1 space before "="; 0 found
(#65) Expected 1 space after "="; 0 found
(#66) Expected 1 space before "="; 0 found
mod/folderexamtimer/backup/moodle2/backup_folderexamtimer_stepslib.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#36) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) Spaces must be used to indent lines; tabs are not allowed
(#40) Tab found within whitespace
(#40) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) Line indented incorrectly; expected at least 8 spaces, found 2
(#42) Commas (,) must be followed by white space.
(#43) Commas (,) must be followed by white space.
(#43) Line exceeds 132 characters; contains 136 characters
(#46) Inline comments must end in full-stops, exclamation marks, or question marks
(#48) Inline comments must end in full-stops, exclamation marks, or question marks
(#52) Inline comments must end in full-stops, exclamation marks, or question marks
(#54) Inline comments must end in full-stops, exclamation marks, or question marks
(#58) Inline comments must end in full-stops, exclamation marks, or question marks
mod/folderexamtimer/backup/moodle2/restore_folderexamtimer_activity_task.class.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#27) Line exceeds 132 characters; contains 133 characters
(#27) Inline comments must end in full-stops, exclamation marks, or question marks
(#39) Inline comments must end in full-stops, exclamation marks, or question marks
(#46) Inline comments must start with a capital letter, digit or 3-dots sequence
(#46) Inline comments must end in full-stops, exclamation marks, or question marks
(#54) The static declaration must come after the visibility declaration
(#66) The static declaration must come after the visibility declaration
(#82) The static declaration must come after the visibility declaration
(#102) The static declaration must come after the visibility declaration
mod/folderexamtimer/backup/moodle2/restore_folderexamtimer_stepslib.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#39) Inline comments must end in full-stops, exclamation marks, or question marks
(#58) Inline comments must start with a capital letter, digit or 3-dots sequence
(#58) Inline comments must end in full-stops, exclamation marks, or question marks
(#60) Inline comments must start with a capital letter, digit or 3-dots sequence
(#60) Inline comments must end in full-stops, exclamation marks, or question marks
(#65) Inline comments must end in full-stops, exclamation marks, or question marks
mod/folderexamtimer/classes/analytics/indicator/activity_base.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/folderexamtimer/classes/analytics/indicator/cognitive_depth.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/folderexamtimer/classes/analytics/indicator/social_breadth.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/folderexamtimer/classes/event/all_files_downloaded.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#56) Line exceeds 132 characters; contains 141 characters
mod/folderexamtimer/classes/event/course_module_instance_list_viewed.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/folderexamtimer/classes/event/course_module_viewed.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/folderexamtimer/classes/event/folderexamtimer_updated.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#63) Line exceeds 132 characters; contains 137 characters
mod/folderexamtimer/classes/external.php
(#162) Line exceeds 132 characters; contains 159 characters
(#163) Line exceeds 132 characters; contains 137 characters
(#197) Line exceeds 132 characters; contains 144 characters
(#199) Line exceeds 132 characters; contains 146 characters
mod/folderexamtimer/classes/privacy/provider.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/folderexamtimer/classes/search/activity.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/folderexamtimer/db/access.php
(#50) This comment is 44% valid code; is this commented out code?
mod/folderexamtimer/db/install.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#31) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/folderexamtimer/db/log.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#30) Expected 1 space before "=>"; 0 found
(#30) Expected 1 space after "=>"; 0 found
(#30) Expected 1 space before "=>"; 0 found
(#30) Expected 1 space after "=>"; 0 found
(#30) Expected 1 space before "=>"; 0 found
(#30) Expected 1 space after "=>"; 0 found
(#30) Expected 1 space before "=>"; 0 found
(#30) Expected 1 space after "=>"; 0 found
(#31) Expected 1 space before "=>"; 0 found
(#31) Expected 1 space after "=>"; 0 found
(#31) Expected 1 space before "=>"; 0 found
(#31) Expected 1 space after "=>"; 0 found
(#31) Expected 1 space before "=>"; 0 found
(#31) Expected 1 space after "=>"; 0 found
(#31) Expected 1 space before "=>"; 0 found
(#31) Expected 1 space after "=>"; 0 found
(#32) Expected 1 space before "=>"; 0 found
(#32) Expected 1 space after "=>"; 0 found
(#32) Expected 1 space before "=>"; 0 found
(#32) Expected 1 space after "=>"; 0 found
(#32) Expected 1 space before "=>"; 0 found
(#32) Expected 1 space after "=>"; 0 found
(#32) Expected 1 space before "=>"; 0 found
(#32) Expected 1 space after "=>"; 0 found
(#33) Expected 1 space before "=>"; 0 found
(#33) Expected 1 space after "=>"; 0 found
(#33) Expected 1 space before "=>"; 0 found
(#33) Expected 1 space after "=>"; 0 found
(#33) Expected 1 space before "=>"; 0 found
(#33) Expected 1 space after "=>"; 0 found
(#33) Expected 1 space before "=>"; 0 found
(#33) Expected 1 space after "=>"; 0 found
mod/folderexamtimer/db/services.php
(#42) Line exceeds 132 characters; contains 142 characters
(#43) Line exceeds 132 characters; contains 137 characters
mod/folderexamtimer/db/upgrade.php
(#45) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#70) Line exceeds 132 characters; contains 138 characters
(#77) Inline comments must start with a capital letter, digit or 3-dots sequence
mod/folderexamtimer/download_folderexamtimer.php
(#40) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#48) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#58) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
mod/folderexamtimer/edit.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#31) Inline comments must end in full-stops, exclamation marks, or question marks
(#35) Expected 1 space before "=>"; 0 found
(#35) Expected 1 space after "=>"; 0 found
(#36) Expected 1 space before "=>"; 0 found
(#36) Expected 1 space after "=>"; 0 found
(#52) Expected 1 space before "=>"; 0 found
(#52) Expected 1 space after "=>"; 0 found
(#52) Expected 1 space before "=>"; 0 found
(#52) Expected 1 space after "=>"; 0 found
mod/folderexamtimer/edit_form.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#31) Visibility must be declared on method "definition"
(#40) Variable "submit_string" must not contain underscores.
(#41) Variable "submit_string" must not contain underscores.
mod/folderexamtimer/index.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#28) Inline comments must start with a capital letter, digit or 3-dots sequence
(#28) Inline comments must end in full-stops, exclamation marks, or question marks
(#30) Expected 1 space before "=>"; 0 found
(#30) Expected 1 space after "=>"; 0 found
(#93) Inline comments must start with a capital letter, digit or 3-dots sequence
(#93) Inline comments must end in full-stops, exclamation marks, or question marks
mod/folderexamtimer/lib.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#2) Line 2 of the opening comment must start "//".
(#2) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#2) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#2) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#2) Line 6 of the opening comment must start "// (at your option) any later version.".
(#4) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#5) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#6) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#7) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#9) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#10) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#18) Inline doc block comments are not allowed; use "// Comment." instead
(#42) Closing brace must be on a line by itself
(#43) Closing brace must be on a line by itself
(#44) Closing brace must be on a line by itself
(#45) Closing brace must be on a line by itself
(#46) Closing brace must be on a line by itself
(#47) Closing brace must be on a line by itself
(#48) Closing brace must be on a line by itself
(#49) Closing brace must be on a line by itself
(#50) Closing brace must be on a line by itself
(#51) Closing brace must be on a line by itself
(#52) Closing brace must be on a line by itself
(#116) Inline comments must start with a capital letter, digit or 3-dots sequence
(#116) Inline comments must end in full-stops, exclamation marks, or question marks
(#117) Expected 1 space before "=>"; 0 found
(#117) Expected 1 space after "=>"; 0 found
(#121) Expected 1 space before "=>"; 0 found
(#121) Expected 1 space after "=>"; 0 found
(#150) Expected 1 space before "=>"; 0 found
(#150) Expected 1 space after "=>"; 0 found
(#167) Expected 1 space before "=>"; 0 found
(#167) Expected 1 space after "=>"; 0 found
(#174) Inline comments must start with a capital letter, digit or 3-dots sequence
(#174) Inline comments must end in full-stops, exclamation marks, or question marks
(#176) Expected 1 space before "=>"; 0 found
(#176) Expected 1 space after "=>"; 0 found
(#216) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#220) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#227) Logical operator "and" is prohibited; use "&&" instead
(#230) Inline comments must start with a capital letter, digit or 3-dots sequence
(#230) Inline comments must end in full-stops, exclamation marks, or question marks
(#238) Inline comments must start with a capital letter, digit or 3-dots sequence
(#238) Inline comments must end in full-stops, exclamation marks, or question marks
(#240) Line exceeds 132 characters; contains 145 characters
(#243) Inline comments must start with a capital letter, digit or 3-dots sequence
(#243) Inline comments must end in full-stops, exclamation marks, or question marks
(#275) Inline comments must start with a capital letter, digit or 3-dots sequence
(#275) Inline comments must end in full-stops, exclamation marks, or question marks
(#279) Inline comments must start with a capital letter, digit or 3-dots sequence
(#279) Inline comments must end in full-stops, exclamation marks, or question marks
(#284) Logical operator "or" is prohibited; use "||" instead
(#304) Variable "module_pagetype" must not contain underscores.
(#304) Expected 1 space before "=>"; 0 found
(#304) Expected 1 space after "=>"; 0 found
(#305) Variable "module_pagetype" must not contain underscores.
(#317) Expected 1 space before "=>"; 0 found
(#317) Expected 1 space after "=>"; 0 found
(#328) Line exceeds maximum limit of 180 characters; contains 212 characters
(#377) Expected 1 space before "=>"; 0 found
(#377) Expected 1 space after "=>"; 0 found
(#408) Line exceeds 132 characters; contains 133 characters
(#409) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#414) Inline comments must start with a capital letter, digit or 3-dots sequence
(#414) Inline comments must end in full-stops, exclamation marks, or question marks
(#425) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#436) Line indented incorrectly; expected 4 spaces, found 8
(#439) Line indented incorrectly; expected 4 spaces, found 8
(#454) Inline comments must start with a capital letter, digit or 3-dots sequence
(#454) Inline comments must end in full-stops, exclamation marks, or question marks
(#483) Inline comments must start with a capital letter, digit or 3-dots sequence
(#483) Inline comments must end in full-stops, exclamation marks, or question marks
(#846) Inline comments must start with a capital letter, digit or 3-dots sequence
(#873) Line indented incorrectly; expected 0 spaces, found 2
(#873) Commas (,) must be followed by white space.
(#873) Commas (,) must be followed by white space.
(#873) Commas (,) must be followed by white space.
(#874) Commas (,) must be followed by white space.
(#876) Inline comments must end in full-stops, exclamation marks, or question marks
(#879) Inline comments must end in full-stops, exclamation marks, or question marks
(#880) Expected "if (...) {\n"; found "if(...) {\n"
(#884) Inline comments must end in full-stops, exclamation marks, or question marks
(#887) Closing brace indented incorrectly; expected 2 spaces, found 0
mod/folderexamtimer/locallib.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#38) Logical operator "and" is prohibited; use "&&" instead
(#44) Logical operator "and" is prohibited; use "&&" instead
mod/folderexamtimer/mod_form.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#30) "require_once" must be immediately followed by an open parenthesis
(#33) Visibility must be declared on method "definition"
(#39) Inline comments must start with a capital letter, digit or 3-dots sequence
(#39) No space found before comment text; expected "// -------------------------------------------------------" but found "//-------------------------------------------------------"
(#41) Expected 1 space before "=>"; 0 found
(#41) Expected 1 space after "=>"; 0 found
(#51) Inline comments must end in full-stops, exclamation marks, or question marks
(#51) Line indented incorrectly; expected at least 8 spaces, found 0
(#53) Expected 1 space before "=>"; 0 found
(#53) Expected 1 space after "=>"; 0 found
(#56) Inline comments must start with a capital letter, digit or 3-dots sequence
(#56) No space found before comment text; expected "// -------------------------------------------------------" but found "//-------------------------------------------------------"
(#58) Expected 1 space before "=>"; 0 found
(#58) Expected 1 space after "=>"; 0 found
(#58) Expected 1 space before "=>"; 0 found
(#58) Expected 1 space after "=>"; 0 found
(#75) Line exceeds 132 characters; contains 135 characters
(#84) Inline comments must start with a capital letter, digit or 3-dots sequence
(#84) No space found before comment text; expected "// -------------------------------------------------------" but found "//-------------------------------------------------------"
(#87) Inline comments must start with a capital letter, digit or 3-dots sequence
(#87) No space found before comment text; expected "// -------------------------------------------------------" but found "//-------------------------------------------------------"
(#90) Inline comments must start with a capital letter, digit or 3-dots sequence
(#90) No space found before comment text; expected "// -------------------------------------------------------" but found "//-------------------------------------------------------"
(#96) Visibility must be declared on method "data_preprocessing"
(#96) Variable "default_values" must not contain underscores.
(#98) Inline comments must start with a capital letter, digit or 3-dots sequence
(#98) Inline comments must end in full-stops, exclamation marks, or question marks
(#100) Expected 1 space before "=>"; 0 found
(#100) Expected 1 space after "=>"; 0 found
(#101) Variable "default_values" must not contain underscores.
(#103) Spaces must be used to indent lines; tabs are not allowed
(#103) Tab found within whitespace
(#103) Inline comments must end in full-stops, exclamation marks, or question marks
(#103) Line indented incorrectly; expected at least 8 spaces, found 2
(#104) Variable "default_values" must not contain underscores.
(#104) Expected 1 space before "="; 0 found
(#105) Variable "default_values" must not contain underscores.
(#106) Line indented incorrectly; expected 8 spaces, found 4
(#106) Expected "if (...) {\n"; found "if(...) {\n"
(#106) Variable "default_values" must not contain underscores.
(#107) Line indented incorrectly; expected at least 12 spaces, found 8
(#107) Variable "default_values" must not contain underscores.
(#107) Expected 1 space before "="; 0 found
(#107) Expected 1 space after "="; 0 found
(#108) Line indented incorrectly; expected 8 spaces, found 4
(#111) Visibility must be declared on method "validation"
(#115) Inline comments must end in full-stops, exclamation marks, or question marks
(#128) Expected 5 space(s) before asterisk; 1 found
(#129) Expected 5 space(s) before asterisk; 1 found
(#130) Expected 5 space(s) before asterisk; 1 found
(#131) Expected 5 space(s) before asterisk; 1 found
(#132) Expected 5 space(s) before asterisk; 1 found
(#133) Expected 5 space(s) before asterisk; 1 found
(#135) Line indented incorrectly; expected 4 spaces, found 0
(#136) Line indented incorrectly; expected at least 8 spaces, found 4
(#138) Line indented incorrectly; expected at least 8 spaces, found 4
(#139) Line indented incorrectly; expected at least 8 spaces, found 4
(#140) Line indented incorrectly; expected at least 8 spaces, found 4
(#141) Line indented incorrectly; expected at least 8 spaces, found 4
(#142) Line indented incorrectly; expected 4 spaces, found 0
(#144) Line indented incorrectly; expected at least 4 spaces, found 0
(#151) Line indented incorrectly; expected 4 spaces, found 0
(#152) Line indented incorrectly; expected at least 8 spaces, found 4
(#153) Line indented incorrectly; expected 4 spaces, found 0
mod/folderexamtimer/renderer.php
(#33) Line indented incorrectly; expected 4 spaces, found 8
(#46) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#49) Closing brace indented incorrectly; expected 8 spaces, found 4
(#89) Inline comments must start with a capital letter, digit or 3-dots sequence
(#99) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#101) Line indented incorrectly; expected at least 8 spaces, found 4
(#102) Line indented incorrectly; expected 8 spaces, found 4
(#104) Inline comments must end in full-stops, exclamation marks, or question marks
(#104) Line indented incorrectly; expected at least 12 spaces, found 0
(#104) No space found before comment text; expected "// Display files to only logged in user who has capability" but found "//Display files to only logged in user who has capability"
(#105) Line indented incorrectly; expected at least 12 spaces, found 8
(#107) Line indented incorrectly; expected 8 spaces, found 4
(#107) Expected "} else {\n"; found "}else{\n"
(#108) Line indented incorrectly; expected at least 12 spaces, found 8
(#110) Line indented incorrectly; expected 8 spaces, found 4
(#112) Inline comments must start with a capital letter, digit or 3-dots sequence
(#112) This comment is 67% valid code; is this commented out code?
(#112) No space found before comment text; expected "// $output .= "testing testing";" but found "//$output .= "testing testing";"
(#135) Line exceeds 132 characters; contains 139 characters
(#145) Line indented incorrectly; expected 8 spaces, found 6
(#151) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#153) Closing brace indented incorrectly; expected 6 spaces, found 8
(#178) Line indented incorrectly; expected at least 4 spaces, found 1
(#179) Expected 2 space(s) before asterisk; 5 found
(#180) Expected 2 space(s) before asterisk; 5 found
(#188) Logical operator "and" is prohibited; use "&&" instead
(#191) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#193) Inline comments must end in full-stops, exclamation marks, or question marks
(#193) Line indented incorrectly; expected at least 8 spaces, found 0
(#197) Expected 1 space before "="; 0 found
(#197) Expected 1 space after "="; 0 found
(#198) Expected "} else {\n"; found "}else{\n"
(#200) Expected 1 space before "="; 0 found
(#200) Expected 1 space after "="; 0 found
(#227) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#229) Spaces must be used to indent lines; tabs are not allowed
(#229) Tab found within whitespace
(#229) Line indented incorrectly; expected at least 12 spaces, found 4
(#230) Spaces must be used to indent lines; tabs are not allowed
(#230) Tab found within whitespace
(#230) Line indented incorrectly; expected at least 12 spaces, found 5
(#231) Spaces must be used to indent lines; tabs are not allowed
(#231) Tab found within whitespace
(#231) Line indented incorrectly; expected at least 12 spaces, found 5
(#232) Spaces must be used to indent lines; tabs are not allowed
(#232) Tab found within whitespace
(#232) Line indented incorrectly; expected at least 12 spaces, found 4
(#234) Spaces must be used to indent lines; tabs are not allowed
(#234) Tab found within whitespace
(#234) Line indented incorrectly; expected at least 12 spaces, found 4
mod/folderexamtimer/settings.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#29) Inline comments must start with a capital letter, digit or 3-dots sequence
(#29) No space found before comment text; expected "// --- general settings -----------------------------------------------------------------------------------" but found "//--- general settings -----------------------------------------------------------------------------------"
mod/folderexamtimer/version.php
(#28) Inline comments must end in full-stops, exclamation marks, or question marks
(#29) Inline comments must end in full-stops, exclamation marks, or question marks
(#30) Inline comments must end in full-stops, exclamation marks, or question marks
mod/folderexamtimer/view.php
(#33) Inline comments must end in full-stops, exclamation marks, or question marks
(#34) Inline comments must start with a capital letter, digit or 3-dots sequence
(#34) Inline comments must end in full-stops, exclamation marks, or question marks
(#37) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) Expected 1 space before "=>"; 0 found
(#38) Expected 1 space after "=>"; 0 found
(#44) Expected 1 space before "=>"; 0 found
(#44) Expected 1 space after "=>"; 0 found
(#50) Expected 1 space before "=>"; 0 found
(#50) Expected 1 space after "=>"; 0 found
(#69) Inline comments must end in full-stops, exclamation marks, or question marks
(#87) Inline comments must end in full-stops, exclamation marks, or question marks
(#88) Commas (,) must be followed by white space.

Javascript coding style problems

(47 errors, 143 warnings)

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

mod/folderexamtimer/folderexamtimer.js
(#25) Expected space or tab after '/**' in comment. (spaced-comment)
(#25) Missing JSDoc @returns for function. (valid-jsdoc)
(#25) Missing JSDoc for parameter 'endtime'. (valid-jsdoc)
(#42) Missing JSDoc comment. (require-jsdoc)
(#49) Missing JSDoc comment. (require-jsdoc)
mod/folderexamtimer/js/start.js
(#1) '$' is not defined. (no-undef)
(#2) '$' is not defined. (no-undef)
(#3) '$' is not defined. (no-undef)
(#7) '$' is not defined. (no-undef)
(#13) 'event' is defined but never used. (no-unused-vars)
mod/folderexamtimer/module.js
(#25) Identifier 'mod_folderexamtimer' is not in camel case. (camelcase)
(#27) Identifier 'init_tree' is not in camel case. (camelcase)
(#27) Identifier 'expand_all' is not in camel case. (camelcase)
(#31) 'node' is defined but never used. (no-unused-vars)
(#31) 'event' is defined but never used. (no-unused-vars)
(#32) Comments should not begin with a lowercase character. (capitalized-comments)
(#42) Identifier 'expand_all' is not in camel case. (camelcase)
(#51) Missing semicolon. (semi)
mod/folderexamtimer/moduletimer.js
(#25) Identifier 'mod_quiz' is not in camel case. (camelcase)
(#27) Identifier 'init_attempt_form' is not in camel case. (camelcase)
(#33) Identifier 'init_review_form' is not in camel case. (camelcase)
(#35) Statement inside of curly braces should be on next line. (brace-style)
(#35) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#38) Identifier 'init_comment_popup' is not in camel case. (camelcase)
(#43) Statement inside of curly braces should be on next line. (brace-style)
(#43) Missing semicolon. (semi)
(#43) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#44) Missing semicolon. (semi)
(#65) Missing JSDoc parameter type for 'Y'. (valid-jsdoc)
(#66) Missing JSDoc parameter type for 'start'. (valid-jsdoc)
(#67) Missing JSDoc parameter type for 'preview'. (valid-jsdoc)
(#71) Operator '*' must be spaced. (space-infix-ops)
(#77) Missing JSDoc for parameter 'e'. (valid-jsdoc)
(#80) 'e' is defined but never used. (no-unused-vars)
(#86) Missing JSDoc @returns for function. (valid-jsdoc)
(#86) Missing JSDoc for parameter 'num'. (valid-jsdoc)
(#89) Identifier 'two_digit' is not in camel case. (camelcase)
(#100) Operator '/' must be spaced. (space-infix-ops)
(#125) Operator '/' must be spaced. (space-infix-ops)
(#126) Operator '*' must be spaced. (space-infix-ops)
(#127) Operator '/' must be spaced. (space-infix-ops)
(#128) Operator '*' must be spaced. (space-infix-ops)
(#153) Identifier 'update_flag_state' is not in camel case. (camelcase)
(#172) Move function declaration to function body root. (no-inner-declarations)
(#172) Missing JSDoc comment. (require-jsdoc)
(#172) Identifier 'nav_to_page' is not in camel case. (camelcase)
(#180) Unnecessary semicolon. (no-extra-semi)
(#209) 'nav_to_page' is not defined. (no-undef)
(#218) Identifier 'secure_window' is not in camel case. (camelcase)
(#224) Multiple spaces found before 'M'. (no-multi-spaces)
(#225) Multiple spaces found before 'M'. (no-multi-spaces)
(#226) Multiple spaces found before 'M'. (no-multi-spaces)
(#228) Multiple spaces found before 'M'. (no-multi-spaces)
(#229) Multiple spaces found before 'M'. (no-multi-spaces)
(#230) Multiple spaces found before 'M'. (no-multi-spaces)
(#245) Identifier 'is_content_editable' is not in camel case. (camelcase)
(#256) Identifier 'prevent_selection' is not in camel case. (camelcase)
(#256) 'e' is defined but never used. (no-unused-vars)
(#261) Unexpected alert. (no-alert)
(#265) Identifier 'prevent_mouse' is not in camel case. (camelcase)
(#277) Identifier 'init_close_button' is not in camel case. (camelcase)
(#278) 'e' is defined but never used. (no-unused-vars)
(#279) Missing semicolon. (semi)
(#291) Operator '*' must be spaced. (space-infix-ops)
mod/folderexamtimer/templates/customjs.js
(#1) '$' is not defined. (no-undef)
(#1) Missing space before opening brace. (space-before-blocks)
(#2) Expected space or tab after '//' in comment. (spaced-comment)
(#7) Expected space or tab after '//' in comment. (spaced-comment)
(#8) Unexpected space before function parentheses. (space-before-function-paren)
(#14) Comments should not begin with a lowercase character. (capitalized-comments)
(#14) Expected space or tab after '//' in comment. (spaced-comment)
(#15) Missing JSDoc comment. (require-jsdoc)
(#15) Missing space before opening brace. (space-before-blocks)
(#16) '$' is not defined. (no-undef)
(#17) '$' is not defined. (no-undef)
(#21) Operator '!=' must be spaced. (space-infix-ops)
(#21) Expected space or tab after '//' in comment. (spaced-comment)
(#22) Expected { after 'if' condition. (curly)
(#22) Operator '=' must be spaced. (space-infix-ops)
(#22) Requires a space after '{'. (block-spacing)
(#22) Statement inside of curly braces should be on next line. (brace-style)
(#22) Missing space before opening brace. (space-before-blocks)
(#22) Requires a space before '}'. (block-spacing)
(#22) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#22) Missing semicolon. (semi)
(#22) Missing semicolon. (semi)
(#23) Operator '!=' must be spaced. (space-infix-ops)
(#23) Expected space or tab after '//' in comment. (spaced-comment)
(#24) Expected { after 'if' condition. (curly)
(#24) Operator '=' must be spaced. (space-infix-ops)
(#24) Missing semicolon. (semi)
(#25) Expected space or tab after '//' in comment. (spaced-comment)
(#26) Expected { after 'else'. (curly)
(#26) Operator '=' must be spaced. (space-infix-ops)
(#26) Requires a space after '{'. (block-spacing)
(#26) Statement inside of curly braces should be on next line. (brace-style)
(#26) Missing space before opening brace. (space-before-blocks)
(#26) Requires a space before '}'. (block-spacing)
(#26) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#26) Missing semicolon. (semi)
(#26) Missing semicolon. (semi)
(#29) Comments should not begin with a lowercase character. (capitalized-comments)
(#29) Expected space or tab after '//' in comment. (spaced-comment)
(#30) Missing JSDoc comment. (require-jsdoc)
(#31) Expected { after 'if' condition. (curly)
(#32) Unnecessary escape character: \[. (no-useless-escape)
(#35) Expected { after 'if' condition. (curly)
(#36) Expected { after 'if' condition. (curly)
(#40) Comments should not begin with a lowercase character. (capitalized-comments)
(#41) 'id' is assigned a value but never used. (no-unused-vars)
(#43) Expected space or tab after '//' in comment. (spaced-comment)
(#44) Missing JSDoc comment. (require-jsdoc)
(#59) Missing JSDoc comment. (require-jsdoc)
(#62) More than 2 blank lines not allowed. (no-multiple-empty-lines)
(#69) Missing JSDoc comment. (require-jsdoc)
(#78) More than 2 blank lines not allowed. (no-multiple-empty-lines)
(#88) More than 2 blank lines not allowed. (no-multiple-empty-lines)
(#97) Missing JSDoc comment. (require-jsdoc)
(#97) Identifier 'warming_up' is not in camel case. (camelcase)
(#97) Missing space before opening brace. (space-before-blocks)
(#108) Expected space or tab after '//' in comment. (spaced-comment)
(#109) A space is required after ','. (comma-spacing)
mod/folderexamtimer/templates/customjs2.js
(#1) '$' is not defined. (no-undef)
(#1) Missing space before opening brace. (space-before-blocks)
(#2) Expected space or tab after '//' in comment. (spaced-comment)
(#6) Expected space or tab after '//' in comment. (spaced-comment)
(#7) Missing JSDoc comment. (require-jsdoc)
(#7) Identifier 'div_h' is not in camel case. (camelcase)
(#7) Missing space before opening brace. (space-before-blocks)
(#12) Unexpected space before function parentheses. (space-before-function-paren)
(#18) Comments should not begin with a lowercase character. (capitalized-comments)
(#18) Expected space or tab after '//' in comment. (spaced-comment)
(#19) Missing JSDoc comment. (require-jsdoc)
(#19) Missing space before opening brace. (space-before-blocks)
(#20) '$' is not defined. (no-undef)
(#21) '$' is not defined. (no-undef)
(#25) Operator '!=' must be spaced. (space-infix-ops)
(#25) Expected space or tab after '//' in comment. (spaced-comment)
(#26) Expected { after 'if' condition. (curly)
(#26) Operator '=' must be spaced. (space-infix-ops)
(#26) Requires a space after '{'. (block-spacing)
(#26) Statement inside of curly braces should be on next line. (brace-style)
(#26) Missing space before opening brace. (space-before-blocks)
(#26) Requires a space before '}'. (block-spacing)
(#26) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#26) Missing semicolon. (semi)
(#26) Missing semicolon. (semi)
(#27) Operator '!=' must be spaced. (space-infix-ops)
(#27) Expected space or tab after '//' in comment. (spaced-comment)
(#28) Expected { after 'if' condition. (curly)
(#28) Operator '=' must be spaced. (space-infix-ops)
(#28) Missing semicolon. (semi)
(#29) Expected space or tab after '//' in comment. (spaced-comment)
(#30) Expected { after 'else'. (curly)
(#30) Operator '=' must be spaced. (space-infix-ops)
(#30) Requires a space after '{'. (block-spacing)
(#30) Statement inside of curly braces should be on next line. (brace-style)
(#30) Missing space before opening brace. (space-before-blocks)
(#30) Requires a space before '}'. (block-spacing)
(#30) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#30) Missing semicolon. (semi)
(#30) Missing semicolon. (semi)
(#34) Comments should not begin with a lowercase character. (capitalized-comments)
(#34) Expected space or tab after '//' in comment. (spaced-comment)
(#35) Missing JSDoc comment. (require-jsdoc)
(#36) Expected { after 'if' condition. (curly)
(#37) Unnecessary escape character: \[. (no-useless-escape)
(#40) Expected { after 'if' condition. (curly)
(#41) Expected { after 'if' condition. (curly)
(#45) Comments should not begin with a lowercase character. (capitalized-comments)
(#46) 'id' is assigned a value but never used. (no-unused-vars)
(#48) Expected space or tab after '//' in comment. (spaced-comment)
(#49) Missing JSDoc comment. (require-jsdoc)
(#64) Missing JSDoc comment. (require-jsdoc)
(#72) Missing JSDoc comment. (require-jsdoc)
(#81) More than 2 blank lines not allowed. (no-multiple-empty-lines)
(#84) Comments should not begin with a lowercase character. (capitalized-comments)
(#84) Expected space or tab after '//' in comment. (spaced-comment)
(#87) Comments should not begin with a lowercase character. (capitalized-comments)
(#87) Expected space or tab after '//' in comment. (spaced-comment)
(#99) Missing JSDoc comment. (require-jsdoc)
(#99) Identifier 'warming_up' is not in camel case. (camelcase)
(#99) Missing space before opening brace. (space-before-blocks)
(#100) Comments should not begin with a lowercase character. (capitalized-comments)
(#100) Expected space or tab after '//' in comment. (spaced-comment)
(#103) Comments should not begin with a lowercase character. (capitalized-comments)
(#103) Expected space or tab after '//' in comment. (spaced-comment)
(#108) More than 2 blank lines not allowed. (no-multiple-empty-lines)
(#111) Expected space or tab after '//' in comment. (spaced-comment)
(#112) A space is required after ','. (comma-spacing)

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(59 errors, 33 warnings)

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

mod/folderexamtimer/backup/moodle2/backup_folderexamtimer_activity_task.class.php
(#2) Empty line found after PHP open tag
mod/folderexamtimer/backup/moodle2/backup_folderexamtimer_stepslib.php
(#2) Empty line found after PHP open tag
(#34) Function backup_folderexamtimer_activity_structure_step::define_structure is not documented
(#22) Invalid phpdocs tag @copyleft used
mod/folderexamtimer/backup/moodle2/restore_folderexamtimer_activity_task.class.php
(#2) Empty line found after PHP open tag
(#18) No one-line description found in phpdocs for file
(#29) No one-line description found in phpdocs for class restore_folderexamtimer_activity_task
(#78) Inline phpdocs tag {@link restore_logs_processor} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#80) Inline phpdocs tag {@link restore_log_rule} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#94) Inline phpdocs tag {@link restore_logs_processor} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#96) Inline phpdocs tag {@link restore_log_rule} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
mod/folderexamtimer/backup/moodle2/restore_folderexamtimer_stepslib.php
(#2) Empty line found after PHP open tag
(#34) Function restore_folderexamtimer_activity_structure_step::define_structure is not documented
(#43) Function restore_folderexamtimer_activity_structure_step::process_folderexamtimer is not documented
(#64) Function restore_folderexamtimer_activity_structure_step::after_execute is not documented
(#18) No one-line description found in phpdocs for file
mod/folderexamtimer/classes/analytics/indicator/cognitive_depth.php
(#49) Function cognitive_depth::get_indicator_type is not documented
(#53) Function cognitive_depth::get_cognitive_depth_level is not documented
mod/folderexamtimer/classes/analytics/indicator/social_breadth.php
(#49) Function social_breadth::get_indicator_type is not documented
(#53) Function social_breadth::get_social_breadth_level is not documented
mod/folderexamtimer/classes/event/course_module_viewed.php
(#48) Function course_module_viewed::get_objectid_mapping is not documented
mod/folderexamtimer/classes/event/folderexamtimer_updated.php
(#85) Function folderexamtimer_updated::get_objectid_mapping is not documented
mod/folderexamtimer/db/install.php
(#2) Empty line found after PHP open tag
(#33) Function xmldb_folderexamtimer_install is not documented
mod/folderexamtimer/db/log.php
(#2) Empty line found after PHP open tag
mod/folderexamtimer/db/upgrade.php
(#47) Function xmldb_folderexamtimer_upgrade is not documented
mod/folderexamtimer/edit.php
(#2) Empty line found after PHP open tag
mod/folderexamtimer/edit_form.php
(#2) Empty line found after PHP open tag
(#30) Class mod_folderexamtimer_edit_form is not documented
(#31) Function mod_folderexamtimer_edit_form::definition is not documented
mod/folderexamtimer/index.php
(#2) Empty line found after PHP open tag
(#100) Function timer_setting is not documented
mod/folderexamtimer/lib.php
(#2) File-level phpdocs block is not found
(#58) Phpdocs for function folderexamtimer_reset_userdata has incomplete parameters list
(#308) Phpdocs for function folderexamtimer_export_contents has incomplete parameters list
(#399) Inline phpdocs tag {@link folderexamtimer_cm_info_dynamic()} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#400) Inline phpdocs tag {@link folderexamtimer_cm_info_view()} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#35) Package is not specified for function folderexamtimer_supports. It is also not specified in file-level phpdocs
(#56) Package is not specified for function folderexamtimer_reset_userdata. It is also not specified in file-level phpdocs
(#69) Package is not specified for function folderexamtimer_get_view_actions. It is also not specified in file-level phpdocs
(#83) Package is not specified for function folderexamtimer_get_post_actions. It is also not specified in file-level phpdocs
(#97) Package is not specified for function folderexamtimer_add_instance. It is also not specified in file-level phpdocs
(#130) Package is not specified for function folderexamtimer_update_instance. It is also not specified in file-level phpdocs
(#159) Package is not specified for function folderexamtimer_delete_instance. It is also not specified in file-level phpdocs
(#297) Package is not specified for function folderexamtimer_page_type_list. It is also not specified in file-level phpdocs
(#308) Package is not specified for function folderexamtimer_export_contents. It is also not specified in file-level phpdocs
(#346) Package is not specified for function folderexamtimer_dndupload_register. It is also not specified in file-level phpdocs
(#356) Package is not specified for function folderexamtimer_dndupload_handle. It is also not specified in file-level phpdocs
(#394) Package is not specified for function folderexamtimer_get_coursemodule_info. It is also not specified in file-level phpdocs
(#444) Package is not specified for function folderexamtimer_cm_info_dynamic. It is also not specified in file-level phpdocs
(#459) Package is not specified for function folderexamtimer_cm_info_view. It is also not specified in file-level phpdocs
(#489) Package is not specified for function folderexamtimer_view. It is also not specified in file-level phpdocs
(#517) Package is not specified for function folderexamtimer_archive_available. It is also not specified in file-level phpdocs
(#547) Package is not specified for function folderexamtimer_get_directory_size. It is also not specified in file-level phpdocs
(#566) Package is not specified for function folderexamtimer_downloaded. It is also not specified in file-level phpdocs
(#591) Package is not specified for function folderexamtimer_get_recent_mod_activity. It is also not specified in file-level phpdocs
(#648) Package is not specified for function folderexamtimer_print_recent_mod_activity. It is also not specified in file-level phpdocs
(#691) Package is not specified for function folderexamtimer_get_recent_activity. It is also not specified in file-level phpdocs
(#719) Package is not specified for function folderexamtimer_print_recent_activity. It is also not specified in file-level phpdocs
(#781) Package is not specified for function folderexamtimer_check_updates_since. It is also not specified in file-level phpdocs
(#795) Package is not specified for function mod_folderexamtimer_core_calendar_provide_event_action. It is also not specified in file-level phpdocs
(#838) Package is not specified for function mod_folderexamtimer_get_path_from_pluginfile. It is also not specified in file-level phpdocs
(#863) Package is not specified for function folderexamtimer_get_completion_state. It is also not specified in file-level phpdocs
(#889) Package is not specified for function mod_folderexamtimer_get_completion_active_rule_descriptions. It is also not specified in file-level phpdocs
mod/folderexamtimer/locallib.php
(#2) Empty line found after PHP open tag
(#37) Function folderexamtimer_content_file_info::get_parent is not documented
(#43) Function folderexamtimer_content_file_info::get_visible_name is not documented
mod/folderexamtimer/mod_form.php
(#2) Empty line found after PHP open tag
(#32) Class mod_folderexamtimer_mod_form is not documented
(#33) Function mod_folderexamtimer_mod_form::definition is not documented
(#96) Function mod_folderexamtimer_mod_form::data_preprocessing is not documented
(#111) Function mod_folderexamtimer_mod_form::validation is not documented
(#135) Function mod_folderexamtimer_mod_form::add_completion_rules is not documented
(#22) Invalid phpdocs tag @copyleft used
(#21) Package mod form is not valid
mod/folderexamtimer/renderer.php
(#28) Class mod_folderexamtimer_renderer is not documented
(#245) Class folderexamtimer_tree is not documented
(#33) Function mod_folderexamtimer_renderer::countdown_timer is not documented
(#159) Function mod_folderexamtimer_renderer::render_folderexamtimer_tree is not documented
(#182) Function mod_folderexamtimer_renderer::htmllize_tree is not documented
(#251) Function folderexamtimer_tree::__construct is not documented
(#246) Variable folderexamtimer_tree::$context is not documented
(#247) Variable folderexamtimer_tree::$folderexamtimer is not documented
(#248) Variable folderexamtimer_tree::$cm is not documented
(#249) Variable folderexamtimer_tree::$dir is not documented
(#21) Invalid phpdocs tag @copyleft used
(#20) Package Get time is not valid
mod/folderexamtimer/settings.php
(#2) Empty line found after PHP open tag
mod/folderexamtimer/version.php
(#21) Invalid phpdocs tag @copyleft used
(#20) Package Version is not valid
mod/folderexamtimer/view.php
(#21) Invalid phpdocs tag @copyleft used
(#20) Package View mod_folderexamtimer 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, 6 warnings)

This section shows problems detected in mustache templates [More info]

mod/folderexamtimer/templates/timer.mustache
(#1) HTML Validation info, line 7: Section lacks heading. Consider using “h2”-“h6” elements to add identifying headings to all sections. (4></div><section id="folderexamtimer" style="display:none"><div)
(#1) ESLint warning [capitalized-comments]: Comments should not begin with a lowercase character. ( //get the variable from the language file
(#1) ESLint warning [spaced-comment]: Expected space or tab after '//' in comment. ( //get the variable from the language file
mod/folderexamtimer/templates/timerstudent.mustache
(#1) HTML Validation info, line 6: Section lacks heading. Consider using “h2”-“h6” elements to add identifying headings to all sections. (4></div><section id="folderexamtimer" style="display:none"><div )
(#1) ESLint warning [capitalized-comments]: Comments should not begin with a lowercase character. ( //get the variable from the language file
(#1) ESLint warning [spaced-comment]: Expected space or tab after '//' in comment. ( //get the variable from the language file

Gherkin .feature problems

(0 errors, 0 warnings)

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