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

(182 errors, 45 warnings)

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

report/forumgraph/getcourses.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#32) Variable "visible_courses" must not contain underscores.
(#33) Variable "course_names" must not contain underscores.
(#35) Variable "visible_courses" must not contain underscores.
(#35) Variable "course_names" must not contain underscores.
(#38) Inline comments must start with a capital letter, digit or 3-dots sequence
(#38) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) Variable "course_names" must not contain underscores.
(#42) Variable "course_names" must not contain underscores.
report/forumgraph/getforums.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#37) Inline comments must start with a capital letter, digit or 3-dots sequence
(#37) Inline comments must end in full-stops, exclamation marks, or question marks
report/forumgraph/getjson.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#32) Variable "uid_mapping" must not contain underscores.
(#33) Variable "uid_mapping" must not contain underscores.
report/forumgraph/index.php
(#54) Variable "course_obj" must not contain underscores.
(#54) Expected 1 space before "=>"; 0 found
(#54) Expected 1 space after "=>"; 0 found
(#56) Variable "course_stub" must not contain underscores.
(#56) Expected 1 space before "=>"; 0 found
(#56) Expected 1 space after "=>"; 0 found
(#56) Expected 1 space before "=>"; 0 found
(#56) Expected 1 space after "=>"; 0 found
(#57) Variable "course_obj" must not contain underscores.
(#58) Variable "course_obj" must not contain underscores.
(#58) Variable "course_stub" must not contain underscores.
(#59) Variable "course_obj" must not contain underscores.
(#59) Variable "course_stub" must not contain underscores.
(#62) Variable "course_obj" must not contain underscores.
(#74) Inline comments must start with a capital letter, digit or 3-dots sequence
(#74) Inline comments must end in full-stops, exclamation marks, or question marks
(#77) Inline comments must start with a capital letter, digit or 3-dots sequence
(#77) Inline comments must end in full-stops, exclamation marks, or question marks
(#78) Variable "course_obj" must not contain underscores.
(#78) Expected 1 space before "=>"; 0 found
(#78) Expected 1 space after "=>"; 0 found
(#79) Variable "course_obj" must not contain underscores.
(#80) Variable "course_category" must not contain underscores.
(#80) Expected 1 space before "=>"; 0 found
(#80) Expected 1 space after "=>"; 0 found
(#80) Variable "course_obj" must not contain underscores.
(#81) Variable "course_category" must not contain underscores.
(#82) Variable "course_category" must not contain underscores.
(#85) Variable "course_category" must not contain underscores.
(#91) Inline comments must start with a capital letter, digit or 3-dots sequence
(#91) Inline comments must end in full-stops, exclamation marks, or question marks
(#93) Expected 1 space before "=>"; 0 found
(#93) Expected 1 space after "=>"; 0 found
(#93) Line exceeds maximum limit of 180 characters; contains 207 characters
(#95) Inline comments must start with a capital letter, digit or 3-dots sequence
(#95) Inline comments must end in full-stops, exclamation marks, or question marks
(#99) Whitespace found at end of line
(#100) Inline comments must end in full-stops, exclamation marks, or question marks
(#101) Variable "first_level_courses" must not contain underscores.
(#101) Line exceeds 132 characters; contains 136 characters
(#102) Variable "first_level_courses" must not contain underscores.
(#105) Expected 1 space before "=>"; 0 found
(#105) Expected 1 space after "=>"; 0 found
(#112) Whitespace found at end of line
(#114) Expected 1 space before "=>"; 0 found
(#114) Expected 1 space after "=>"; 0 found
(#114) Line exceeds maximum limit of 180 characters; contains 190 characters
(#116) Expected 1 space before "=>"; 0 found
(#116) Expected 1 space after "=>"; 0 found
(#116) Line exceeds maximum limit of 180 characters; contains 185 characters
(#119) Inline comments must start with a capital letter, digit or 3-dots sequence
(#119) Inline comments must end in full-stops, exclamation marks, or question marks
(#132) Inline comments must end in full-stops, exclamation marks, or question marks
(#138) Inline comments must end in full-stops, exclamation marks, or question marks
(#141) Commas (,) must be followed by white space.
(#178) Inline comments must end in full-stops, exclamation marks, or question marks
(#180) Inline control structures are not allowed
(#184) Inline comments must end in full-stops, exclamation marks, or question marks
(#185) Variable "forum_obj" must not contain underscores.
(#185) Expected 1 space before "=>"; 0 found
(#185) Expected 1 space after "=>"; 0 found
(#186) Expected 1 space before "=>"; 0 found
(#186) Expected 1 space after "=>"; 0 found
(#186) Variable "forum_obj" must not contain underscores.
(#187) Whitespace found at end of line
(#188) Variable "mpu_str" must not contain underscores.
(#190) Variable "discussion_ids" must not contain underscores.
(#191) Whitespace found at end of line
(#192) Inline comments must end in full-stops, exclamation marks, or question marks
(#193) Variable "query_params" must not contain underscores.
(#193) Expected 1 space before "=>"; 0 found
(#193) Expected 1 space after "=>"; 0 found
(#194) Variable "in_sql" must not contain underscores.
(#194) Variable "in_params" must not contain underscores.
(#194) Variable "discussion_ids" must not contain underscores.
(#195) Variable "in_params" must not contain underscores.
(#195) Variable "query_params" must not contain underscores.
(#196) Variable "replies_count" must not contain underscores.
(#196) Variable "in_sql" must not contain underscores.
(#196) Line exceeds 132 characters; contains 142 characters
(#197) Whitespace found at end of line
(#198) Inline comments must end in full-stops, exclamation marks, or question marks
(#200) Variable "in_sql" must not contain underscores.
(#200) Variable "in_params" must not contain underscores.
(#200) Line exceeds maximum limit of 180 characters; contains 200 characters
(#201) Whitespace found at end of line
(#203) Variable "mpu_str" must not contain underscores.
(#205) Variable "log_href" must not contain underscores.
(#205) Line exceeds 132 characters; contains 163 characters
(#206) Variable "log_href" must not contain underscores.
(#207) Expected 1 space before "=>"; 0 found
(#207) Expected 1 space after "=>"; 0 found
(#208) Variable "mpu_str" must not contain underscores.
(#208) Variable "log_href" must not contain underscores.
(#211) Variable "in_sql" must not contain underscores.
(#211) Variable "in_params" must not contain underscores.
(#211) Line exceeds maximum limit of 180 characters; contains 219 characters
(#212) Inline control structures are not allowed
(#212) Variable "mpu_str" must not contain underscores.
(#212) Variable "mpu_str" must not contain underscores.
(#212) Line exceeds 132 characters; contains 155 characters
(#213) Variable "mpu_str" must not contain underscores.
(#216) Whitespace found at end of line
(#217) Inline comments must end in full-stops, exclamation marks, or question marks
(#218) Whitespace found at end of line
(#219) Whitespace found at end of line
(#220) Inline comments must end in full-stops, exclamation marks, or question marks
(#223) Commas (,) must be followed by white space.
(#224) Whitespace found at end of line
(#231) Whitespace found at end of line
(#235) Variable "replies_count" must not contain underscores.
(#238) Whitespace found at end of line
(#242) Variable "mpu_str" must not contain underscores.
(#245) Whitespace found at end of line
(#248) Whitespace found at end of line
(#250) Inline comments must start with a capital letter, digit or 3-dots sequence
(#250) Inline comments must end in full-stops, exclamation marks, or question marks
(#252) Line exceeds 132 characters; contains 156 characters
(#257) Variable "js_course" must not contain underscores.
(#258) Variable "js_cmid" must not contain underscores.
(#259) Variable "js_forum" must not contain underscores.
(#260) Variable "js_wwwroot" must not contain underscores.
(#262) Variable "js_forum" must not contain underscores.
(#262) Variable "js_cmid" must not contain underscores.
(#262) Variable "js_course" must not contain underscores.
(#262) Variable "js_wwwroot" must not contain underscores.
report/forumgraph/lib.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#46) Line exceeds 132 characters; contains 137 characters
(#68) Whitespace found at end of line
(#80) Variable "visible_courses" must not contain underscores.
(#80) Variable "course_names" must not contain underscores.
(#82) Inline comments must end in full-stops, exclamation marks, or question marks
(#85) Expected 1 space before "="; 0 found
(#85) Expected 1 space after "="; 0 found
(#85) Expected 1 space before "<"; 0 found
(#85) Expected 1 space after "<"; 0 found
(#85) The use of function sizeof() is forbidden; use count() instead
(#87) Line exceeds 132 characters; contains 144 characters
(#92) Expected 1 space before "=>"; 0 found
(#92) Expected 1 space after "=>"; 0 found
(#94) Variable "visible_courses" must not contain underscores.
(#95) Variable "course_names" must not contain underscores.
(#101) Variable "visible_courses" must not contain underscores.
(#101) Variable "course_names" must not contain underscores.
(#115) Expected 1 space before "=>"; 0 found
(#115) Expected 1 space after "=>"; 0 found
(#116) Expected 1 space before "=>"; 0 found
(#116) Expected 1 space after "=>"; 0 found
(#121) Expected 1 space before "=>"; 0 found
(#121) Expected 1 space after "=>"; 0 found
(#143) Expected 1 space before "=>"; 0 found
(#143) Expected 1 space after "=>"; 0 found
(#144) Expected 1 space before "=>"; 0 found
(#144) Expected 1 space after "=>"; 0 found
(#145) Variable "discussion_ids" must not contain underscores.
(#147) Variable "discussion_ids" must not contain underscores.
(#149) Variable "in_sql" must not contain underscores.
(#149) Variable "in_params" must not contain underscores.
(#149) Variable "discussion_ids" must not contain underscores.
(#150) Variable "in_sql" must not contain underscores.
(#151) Variable "in_params" must not contain underscores.
(#155) Variable "uid_mapping" must not contain underscores.
(#158) Expected 1 space before "=>"; 0 found
(#158) Expected 1 space after "=>"; 0 found
(#159) Line exceeds 132 characters; contains 133 characters
(#160) Expected 1 space before "=>"; 0 found
(#160) Expected 1 space after "=>"; 0 found
(#160) Expected 1 space before "=>"; 0 found
(#160) Expected 1 space after "=>"; 0 found
(#161) Whitespace found at end of line
(#162) Inline comments must start with a capital letter, digit or 3-dots sequence
(#162) Inline comments must end in full-stops, exclamation marks, or question marks
(#167) Expected 1 space before ":"; 0 found
(#167) Expected 1 space after ":"; 0 found
(#168) Expected 1 space before ":"; 0 found
(#168) Expected 1 space after ":"; 0 found
(#169) Expected 1 space before "=="; 0 found
(#169) Expected 1 space after "=="; 0 found
(#169) Expected 1 space before "?"; 0 found
(#169) Expected 1 space after "?"; 0 found
(#169) Expected 1 space before ":"; 0 found
(#169) Expected 1 space after ":"; 0 found
(#170) Variable "uid_mapping" must not contain underscores.
(#174) Inline control structures are not allowed
(#174) Space found before semicolon; expected "++;" but found "++ ;"
(#175) Inline control structures are not allowed
(#177) Whitespace found at end of line
(#178) Inline comments must start with a capital letter, digit or 3-dots sequence
(#178) Inline comments must end in full-stops, exclamation marks, or question marks
(#182) Line exceeds 132 characters; contains 137 characters
(#194) Variable "uid_mapping" must not contain underscores.
(#211) Variable "uid_mapping" must not contain underscores.
(#223) Inline control structures are not allowed
(#226) Whitespace found at end of line
(#227) Variable "edges_keys" must not contain underscores.
(#228) Variable "edges_keys" must not contain underscores.
(#230) Expected 1 space before "=>"; 0 found
(#230) Expected 1 space after "=>"; 0 found
(#230) Expected 1 space before "=>"; 0 found
(#230) Expected 1 space after "=>"; 0 found
(#234) Variable "uid_mapping" must not contain underscores.
(#234) Variable "uid_mapping" must not contain underscores.
(#235) Inline control structures are not allowed
(#251) Expected 1 space before "=>"; 0 found
(#251) Expected 1 space after "=>"; 0 found
(#252) Line exceeds 132 characters; contains 151 characters
report/forumgraph/settings.php
(#29) Inline comments must start with a capital letter, digit or 3-dots sequence
(#29) Inline comments must end in full-stops, exclamation marks, or question marks
(#30) Line exceeds maximum limit of 180 characters; contains 185 characters
(#32) Inline comments must start with a capital letter, digit or 3-dots sequence
(#32) Inline comments must end in full-stops, exclamation marks, or question marks
report/forumgraph/version.php
(#30) Inline comments must end in full-stops, exclamation marks, or question marks

Javascript coding style problems

(1 errors, 524 warnings)

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

report/forumgraph/d3.v3.min.js
(#1) Line is too long.
(#1) 'n' is already defined.
(#1) Expected '!==' and instead saw '!='.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Expected '{' and instead saw 't'.
(#1) Missing semicolon.
(#1) Expected '{' and instead saw 'Object'.
(#1) Missing semicolon.
(#1) Value of 'r' may be overwritten in IE 8 and earlier.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Expected '{' and instead saw 'return'.
(#1) Expected '{' and instead saw 'return'.
(#1) Missing semicolon.
(#1) Expected '{' and instead saw 'r'.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) 't' is already defined.
(#1) Expected '{' and instead saw '('.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) A constructor name should start with an uppercase letter.
(#1) Missing '()' invoking a constructor.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Expected a conditional expression and instead saw an assignment.
(#1) Expected '{' and instead saw 't'.
(#1) Missing semicolon.
(#1) A constructor name should start with an uppercase letter.
(#1) Missing '()' invoking a constructor.
(#1) Expected '{' and instead saw 't'.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) 'u' used out of scope.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Missing 'new' prefix when invoking a constructor.
(#1) Missing semicolon.
(#1) Expected '===' and instead saw '=='.
(#1) Missing 'new' prefix when invoking a constructor.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Expected '===' and instead saw '=='.
(#1) Missing 'new' prefix when invoking a constructor.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Expected '===' and instead saw '=='.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Expected '===' and instead saw '=='.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Expected '===' and instead saw '=='.
(#1) Expected '===' and instead saw '=='.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) 'e' is already defined.
(#1) Expected '{' and instead saw 'n'.
(#1) Missing semicolon.
(#1) 'r' is already defined.
(#1) Expected '{' and instead saw 'n'.
(#1) Missing semicolon.
(#1) Expected '===' and instead saw '=='.
(#1) Missing semicolon.
(#1) Expected a conditional expression and instead saw an assignment.
(#1) Expected '{' and instead saw 'return'.
(#1) 'i' is already defined.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Expected '===' and instead saw '=='.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Expected '===' and instead saw '=='.
(#1) Expected '===' and instead saw '=='.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Expected '===' and instead saw '=='.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Expected '===' and instead saw '=='.
(#1) Expected '===' and instead saw '=='.
(#1) Missing semicolon.
(#1) Expected '===' and instead saw '=='.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Missing 'new' prefix when invoking a constructor.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Expected '{' and instead saw 'for'.
(#1) Expected '{' and instead saw '('.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Missing 'new' prefix when invoking a constructor.
(#1) Missing semicolon.
(#1) Expected '!==' and instead saw '!='.
(#1) Expected '{' and instead saw ';'.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) 'i' is already defined.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Expected '{' and instead saw 'if'.
(#1) Expected a conditional expression and instead saw an assignment.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Unexpected use of '&'.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Confusing plusses.
(#1) Missing semicolon.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) A leading decimal point can be confused with a dot: '.5'.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Missing 'new' prefix when invoking a constructor.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) A leading decimal point can be confused with a dot: '.4985314'.
(#1) A leading decimal point can be confused with a dot: '.969266'.
(#1) A leading decimal point can be confused with a dot: '.041556'.
(#1) A leading decimal point can be confused with a dot: '.0556434'.
(#1) A leading decimal point can be confused with a dot: '.2040259'.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) A leading decimal point can be confused with a dot: '.206893034'.
(#1) Missing semicolon.
(#1) A leading decimal point can be confused with a dot: '.008856'.
(#1) Missing semicolon.
(#1) A leading decimal point can be confused with a dot: '.00304'.
(#1) A leading decimal point can be confused with a dot: '.055'.
(#1) Missing semicolon.
(#1) Unexpected use of '>>'.
(#1) Unexpected use of '&'.
(#1) Unexpected use of '>>'.
(#1) Unexpected use of '&'.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) A constructor name should start with an uppercase letter.
(#1) Missing semicolon.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Expected a conditional expression and instead saw an assignment.
(#1) Expected '{' and instead saw 'switch'.
(#1) Missing semicolon.
(#1) Expected '!==' and instead saw '!='.
(#1) Missing semicolon.
(#1) A leading decimal point can be confused with a dot: '.5'.
(#1) Expected '===' and instead saw '=='.
(#1) Expected '===' and instead saw '=='.
(#1) Missing semicolon.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) A leading decimal point can be confused with a dot: '.4124564'.
(#1) A leading decimal point can be confused with a dot: '.3575761'.
(#1) A leading decimal point can be confused with a dot: '.1804375'.
(#1) A leading decimal point can be confused with a dot: '.2126729'.
(#1) A leading decimal point can be confused with a dot: '.7151522'.
(#1) A leading decimal point can be confused with a dot: '.072175'.
(#1) A leading decimal point can be confused with a dot: '.0193339'.
(#1) A leading decimal point can be confused with a dot: '.119192'.
(#1) A leading decimal point can be confused with a dot: '.9503041'.
(#1) Missing 'new' prefix when invoking a constructor.
(#1) Missing semicolon.
(#1) A leading decimal point can be confused with a dot: '.04045'.
(#1) A leading decimal point can be confused with a dot: '.055'.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Expected '===' and instead saw '=='.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Expected '===' and instead saw '=='.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Expected '{' and instead saw 'a'.
(#1) Missing semicolon.
(#1) Missing '()' invoking a constructor.
(#1) Missing '()' invoking a constructor.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Expected '===' and instead saw '=='.
(#1) Missing semicolon.
(#1) Expected '===' and instead saw '=='.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Expected '===' and instead saw '=='.
(#1) Expected '===' and instead saw '=='.
(#1) Expected '{' and instead saw 'for'.
(#1) Expected '{' and instead saw 'c'.
(#1) Expected '!==' and instead saw '!='.
(#1) Expected '!==' and instead saw '!='.
(#1) Expected '!==' and instead saw '!='.
(#1) Missing semicolon.
(#1) Expected '===' and instead saw '=='.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Expected '===' and instead saw '=='.
(#1) Missing semicolon.
(#1) Expected '===' and instead saw '=='.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Expected '{' and instead saw 'n'.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Expected '{' and instead saw 't'.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Expected '{' and instead saw 'r'.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Expected '{' and instead saw 'qt'.
(#1) Missing semicolon.
(#1) 'n' is already defined.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Missing 'new' prefix when invoking a constructor.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Missing 'new' prefix when invoking a constructor.
(#1) Missing semicolon.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) 'n' is already defined.
(#1) Missing 'new' prefix when invoking a constructor.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Missing 'new' prefix when invoking a constructor.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) 'n' is already defined.
(#1) Missing 'new' prefix when invoking a constructor.
(#1) Missing 'new' prefix when invoking a constructor.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing 'new' prefix when invoking a constructor.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Confusing use of '!'.
(#1) 't' is already defined.
(#1) Missing 'new' prefix when invoking a constructor.
(#1) Expected '{' and instead saw 'i'.
(#1) Missing semicolon.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Missing 'new' prefix when invoking a constructor.
(#1) Missing 'new' prefix when invoking a constructor.
(#1) Expected '{' and instead saw 'for'.
(#1) Expected '{' and instead saw 'a'.
(#1) Expected '{' and instead saw 'if'.
(#1) Expected '{' and instead saw 'return'.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Expected '{' and instead saw 'for'.
(#1) 'o' is already defined.
(#1) Expected '{' and instead saw 'i'.
(#1) Expected '{' and instead saw 'r'.
(#1) Missing semicolon.
(#1) 'o' is already defined.
(#1) Expected '{' and instead saw 'i'.
(#1) Missing semicolon.
(#1) Expected '{' and instead saw 'r'.
(#1) Missing semicolon.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Expected a conditional expression and instead saw an assignment.
(#1) 't' is already defined.
(#1) Expected '{' and instead saw 'i'.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Unexpected use of '&'.
(#1) 'r' is already defined.
(#1) Expected '{' and instead saw 'i'.
(#1) Missing semicolon.
(#1) Unexpected use of '&'.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Missing 'new' prefix when invoking a constructor.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Missing 'new' prefix when invoking a constructor.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Unexpected use of '^'.
(#1) Unexpected use of '^'.
(#1) Missing 'new' prefix when invoking a constructor.
(#1) Missing 'new' prefix when invoking a constructor.
(#1) Unexpected use of '^'.
(#1) Missing 'new' prefix when invoking a constructor.
(#1) Unexpected use of '^'.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Bad operand.
(#1) Expected '{' and instead saw 'break'.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Unexpected use of '^'.
(#1) Unexpected use of '&'.
(#1) Missing semicolon.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Expected '===' and instead saw '=='.
(#1) Expected '{' and instead saw 'i'.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Expected '{' and instead saw 'r'.
(#1) Missing semicolon.
(#1) Missing 'new' prefix when invoking a constructor.
(#1) Missing semicolon.
(#1) 't' is already defined.
(#1) Missing semicolon.
(#1) 'e' is already defined.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Missing 'new' prefix when invoking a constructor.
(#1) Missing 'new' prefix when invoking a constructor.
(#1) Expected '{' and instead saw 's'.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Unexpected use of '^'.
(#1) Unexpected use of '&'.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Missing 'new' prefix when invoking a constructor.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Unexpected use of '|'.
(#1) Unexpected use of '<<'.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) 'r' is already defined.
(#1) Missing 'new' prefix when invoking a constructor.
(#1) Expected '{' and instead saw 'return'.
(#1) Missing 'new' prefix when invoking a constructor.
(#1) Missing 'new' prefix when invoking a constructor.
(#1) Missing 'new' prefix when invoking a constructor.
(#1) Missing 'new' prefix when invoking a constructor.
(#1) Missing 'new' prefix when invoking a constructor.
(#1) Missing 'new' prefix when invoking a constructor.
(#1) Confusing use of '!'.
(#1) Missing 'new' prefix when invoking a constructor.
(#1) Missing 'new' prefix when invoking a constructor.
(#1) Missing 'new' prefix when invoking a constructor.
(#1) Expected '{' and instead saw 'return'.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Unexpected use of '^'.
(#1) Unexpected use of '^'.
(#1) Missing 'new' prefix when invoking a constructor.
(#1) Missing 'new' prefix when invoking a constructor.
(#1) Missing 'new' prefix when invoking a constructor.
(#1) Missing semicolon.
(#1) 'i' is already defined.
(#1) Unexpected use of '|='.
(#1) Unexpected use of '|='.
(#1) Unexpected use of '|='.
(#1) Unexpected use of '|='.
(#1) Missing semicolon.
(#1) Missing 'new' prefix when invoking a constructor.
(#1) Missing semicolon.
(#1) Missing 'new' prefix when invoking a constructor.
(#1) Missing semicolon.
(#1) 'i' is already defined.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) 'o' is already defined.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Expected '{' and instead saw 'for'.
(#1) Expected '{' and instead saw 'u'.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Too many errors. (20% scanned).
report/forumgraph/module.js
(#23) Expected '!==' and instead saw '!='.
(#25) Expected '!==' and instead saw '!='.
(#27) Expected '!==' and instead saw '!='.
(#32) Missing semicolon.
(#34) 'loadCourseMenu' was used before it was defined.
(#36) Expected '===' and instead saw '=='.
(#54) Value of 'e' may be overwritten in IE 8 and earlier.
(#75) 'loadForumMenu' was used before it was defined.
(#77) Expected '===' and instead saw '=='.
(#95) Value of 'e' may be overwritten in IE 8 and earlier.
(#117) 'runJS' was used before it was defined.
(#121) Expected '===' and instead saw '=='.
(#122) Expected '===' and instead saw '=='.
(#123) eval can be harmful.
(#147) 'd3Graph' was used before it was defined.
(#197) Expected '===' and instead saw '=='.
(#212) A leading decimal point can be confused with a dot: '.1'.
(#261) 'fade' was used before it was defined.
(#276) A leading decimal point can be confused with a dot: '.9'.
(#7) 'edgeCurve' is defined but never used.
(#112) 'toTimestamp' is defined but never used.
(#136) 'toggleNodeLabel' is defined but never used.
(#118) 'coursemenu' is defined but never used.
(#119) 'forummenu' is defined but never used.

CSS problems

(0 errors, 9 warnings)

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

report/forumgraph/styles.css
(#10) Unknown property 'stroke'.
(#11) Unknown property 'stroke-width'.
(#15) Unknown property 'stroke'.
(#16) Unknown property 'stroke-opacity'.
(#20) Unknown property 'fill'.
(#21) Unknown property 'stroke'.
(#22) Unknown property 'stroke-width'.
(#26) Unknown property 'fill'.
(#49) Unknown property 'fill'.

PHPDocs style problems

(3 errors, 0 warnings)

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

report/forumgraph/index.php
(#17) No one-line description found in phpdocs for file
report/forumgraph/lib.php
(#76) Phpdocs for function report_forumgraph_get_category_courses has incomplete parameters list
report/forumgraph/version.php
(#20) Package report 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]


Mustache template problems

(0 errors, 0 warnings)

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