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

(104 errors, 207 warnings)

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

local/learning_analytics/classes/demo.php
(#29) Inline comments must end in full-stops, exclamation marks, or question marks
(#35) The static declaration must come after the visibility declaration
(#42) The static declaration must come after the visibility declaration
(#71) This comment is 51% valid code; is this commented out code?
(#416) Commas (,) must be followed by white space.
(#416) Line exceeds 132 characters; contains 146 characters
(#418) Commas (,) must be followed by white space.
(#418) Line exceeds 132 characters; contains 144 characters
(#420) Commas (,) must be followed by white space.
(#420) Line exceeds 132 characters; contains 148 characters
(#422) Commas (,) must be followed by white space.
(#422) Line exceeds 132 characters; contains 163 characters
(#424) Commas (,) must be followed by white space.
(#424) Line exceeds 132 characters; contains 155 characters
(#426) Commas (,) must be followed by white space.
(#426) Line exceeds 132 characters; contains 149 characters
(#428) Commas (,) must be followed by white space.
(#428) Line exceeds 132 characters; contains 149 characters
(#430) Commas (,) must be followed by white space.
(#430) Line exceeds 132 characters; contains 149 characters
(#432) Commas (,) must be followed by white space.
(#432) Line exceeds 132 characters; contains 143 characters
(#434) Commas (,) must be followed by white space.
(#434) Line exceeds 132 characters; contains 146 characters
(#436) Commas (,) must be followed by white space.
(#436) Line exceeds 132 characters; contains 146 characters
(#438) Commas (,) must be followed by white space.
(#438) Line exceeds 132 characters; contains 140 characters
(#440) Commas (,) must be followed by white space.
(#440) Line exceeds 132 characters; contains 152 characters
(#442) Commas (,) must be followed by white space.
(#442) Line exceeds 132 characters; contains 152 characters
(#444) Commas (,) must be followed by white space.
(#444) Line exceeds 132 characters; contains 146 characters
(#446) Commas (,) must be followed by white space.
(#446) Line exceeds 132 characters; contains 153 characters
(#448) Commas (,) must be followed by white space.
(#448) Line exceeds 132 characters; contains 153 characters
(#450) Commas (,) must be followed by white space.
(#450) Line exceeds 132 characters; contains 147 characters
(#452) Commas (,) must be followed by white space.
(#452) Line exceeds 132 characters; contains 151 characters
(#454) Commas (,) must be followed by white space.
(#454) Line exceeds 132 characters; contains 147 characters
(#456) Commas (,) must be followed by white space.
(#456) Line exceeds 132 characters; contains 152 characters
(#458) Commas (,) must be followed by white space.
(#458) Line exceeds 132 characters; contains 148 characters
(#460) Commas (,) must be followed by white space.
(#460) Line exceeds 132 characters; contains 145 characters
(#462) Commas (,) must be followed by white space.
(#462) Line exceeds 132 characters; contains 149 characters
(#464) Commas (,) must be followed by white space.
(#464) Line exceeds 132 characters; contains 150 characters
(#466) Commas (,) must be followed by white space.
(#466) Line exceeds 132 characters; contains 151 characters
(#468) Commas (,) must be followed by white space.
(#468) Line exceeds 132 characters; contains 146 characters
(#470) Commas (,) must be followed by white space.
(#470) Line exceeds 132 characters; contains 149 characters
local/learning_analytics/classes/event/report_viewed.php
(#16) Whitespace found at end of line
(#31) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
local/learning_analytics/classes/local/outputs/table.php
(#81) Line exceeds 132 characters; contains 143 characters
local/learning_analytics/classes/output_base.php
(#30) The abstract declaration must precede the visibility declaration
local/learning_analytics/classes/plugininfo/lareport.php
(#37) Expected 5 space(s) before asterisk; 4 found
(#38) Expected 5 space(s) before asterisk; 4 found
(#39) Expected 5 space(s) before asterisk; 4 found
(#40) Expected 5 space(s) before asterisk; 4 found
(#41) Expected 5 space(s) before asterisk; 4 found
local/learning_analytics/classes/report_base.php
(#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
(#43) The abstract declaration must precede the visibility declaration
(#44) The abstract declaration must precede the visibility declaration
local/learning_analytics/classes/report_page_base.php
(#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
(#43) The abstract declaration must precede the visibility declaration
(#44) The abstract declaration must precede the visibility declaration
local/learning_analytics/classes/report_preview.php
(#36) The abstract declaration must precede the visibility declaration
(#36) Inline comments must start with a capital letter, digit or 3-dots sequence
(#36) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) Line exceeds 132 characters; contains 150 characters
(#41) Whitespace found at end of line
(#54) Line exceeds 132 characters; contains 165 characters
(#63) Whitespace found at end of line
(#68) Line exceeds 132 characters; contains 139 characters
(#70) Line exceeds 132 characters; contains 166 characters
local/learning_analytics/classes/router.php
(#63) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
local/learning_analytics/classes/settings.php
(#32) Inline comments must end in full-stops, exclamation marks, or question marks
(#34) Line exceeds maximum limit of 180 characters; contains 185 characters
(#35) Whitespace found at end of line
(#36) Line exceeds 132 characters; contains 164 characters
(#38) Line exceeds maximum limit of 180 characters; contains 222 characters
(#39) Line exceeds maximum limit of 180 characters; contains 197 characters
(#40) Line exceeds 132 characters; contains 145 characters
(#63) Inline comments must end in full-stops, exclamation marks, or question marks
(#70) Inline comments must start with a capital letter, digit or 3-dots sequence
(#70) Inline comments must end in full-stops, exclamation marks, or question marks
(#72) Inline comments must end in full-stops, exclamation marks, or question marks
(#80) Inline comments must end in full-stops, exclamation marks, or question marks
(#100) Inline comments must end in full-stops, exclamation marks, or question marks
(#103) Inline comments must start with a capital letter, digit or 3-dots sequence
(#103) Inline comments must end in full-stops, exclamation marks, or question marks
(#103) Whitespace found at end of line
(#121) Whitespace found at end of line
(#125) Inline comments must start with a capital letter, digit or 3-dots sequence
(#125) Inline comments must end in full-stops, exclamation marks, or question marks
(#131) Inline comments must start with a capital letter, digit or 3-dots sequence
(#131) Inline comments must end in full-stops, exclamation marks, or question marks
(#139) Expected 1 space before comment text but found 5; use block comment if you need indentation
(#141) Expected 1 space before comment text but found 5; use block comment if you need indentation
(#142) Inline comments must end in full-stops, exclamation marks, or question marks
(#143) Whitespace found at end of line
(#144) Inline comments must start with a capital letter, digit or 3-dots sequence
(#144) This comment is 59% valid code; is this commented out code?
(#147) Expected 1 space before comment text but found 5; use block comment if you need indentation
(#149) Whitespace found at end of line
(#150) Inline comments must start with a capital letter, digit or 3-dots sequence
(#150) This comment is 62% valid code; is this commented out code?
(#154) Inline comments must start with a capital letter, digit or 3-dots sequence
(#154) Inline comments must end in full-stops, exclamation marks, or question marks
local/learning_analytics/db/install.php
(#29) Whitespace found at end of line
local/learning_analytics/db/uninstall.php
(#30) Inline comments must end in full-stops, exclamation marks, or question marks
(#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
(#46) Inline comments must start with a capital letter, digit or 3-dots sequence
local/learning_analytics/db/upgrade.php
(#29) Spaces must be used to indent lines; tabs are not allowed
(#29) Tab found within whitespace
(#29) Line indented incorrectly; expected at least 4 spaces, found 1
(#31) Inline comments must end in full-stops, exclamation marks, or question marks
(#32) Inline comments must start with a capital letter, digit or 3-dots sequence
(#33) Inline comments must end in full-stops, exclamation marks, or question marks
(#35) Inline comments must start with a capital letter, digit or 3-dots sequence
(#35) Inline comments must end in full-stops, exclamation marks, or question marks
(#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
(#39) Whitespace found at end of line
(#40) Inline comments must end in full-stops, exclamation marks, or question marks
local/learning_analytics/help.php
(#54) Inline comments must end in full-stops, exclamation marks, or question marks
(#68) Inline comments must start with a capital letter, digit or 3-dots sequence
(#68) Inline comments must end in full-stops, exclamation marks, or question marks
(#85) Closing brace must be on a line by itself
local/learning_analytics/index.php
(#44) Inline comments must start with a capital letter, digit or 3-dots sequence
(#44) Inline comments must end in full-stops, exclamation marks, or question marks
(#44) This comment is 60% valid code; is this commented out code?
(#46) Whitespace found at end of line
(#58) Empty IF statement detected
(#59) Inline comments must start with a capital letter, digit or 3-dots sequence
(#59) Inline comments must end in full-stops, exclamation marks, or question marks
(#61) Inline comments must start with a capital letter, digit or 3-dots sequence
(#61) Inline comments must end in full-stops, exclamation marks, or question marks
(#71) Inline comments must start with a capital letter, digit or 3-dots sequence
(#72) Inline comments must end in full-stops, exclamation marks, or question marks
(#78) Inline comments must start with a capital letter, digit or 3-dots sequence
(#78) Inline comments must end in full-stops, exclamation marks, or question marks
(#81) Inline comments must start with a capital letter, digit or 3-dots sequence
(#81) Inline comments must end in full-stops, exclamation marks, or question marks
(#109) Inline comments must end in full-stops, exclamation marks, or question marks
(#113) Inline comments must start with a capital letter, digit or 3-dots sequence
local/learning_analytics/lang/de/local_learning_analytics.php
(#40) Inline comments must end in full-stops, exclamation marks, or question marks
(#43) Inline comments must start with a capital letter, digit or 3-dots sequence
(#45) Inline comments must end in full-stops, exclamation marks, or question marks
(#64) Inline comments must end in full-stops, exclamation marks, or question marks
(#105) Inline comments must end in full-stops, exclamation marks, or question marks
local/learning_analytics/lang/en/local_learning_analytics.php
(#40) Inline comments must end in full-stops, exclamation marks, or question marks
(#43) Inline comments must start with a capital letter, digit or 3-dots sequence
(#45) Inline comments must end in full-stops, exclamation marks, or question marks
(#64) Inline comments must end in full-stops, exclamation marks, or question marks
(#105) Inline comments must end in full-stops, exclamation marks, or question marks
local/learning_analytics/lib.php
(#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
(#38) This comment is 60% valid code; is this commented out code?
(#40) Whitespace found at end of line
(#43) Inline comments must start with a capital letter, digit or 3-dots sequence
(#43) Inline comments must end in full-stops, exclamation marks, or question marks
(#55) Empty IF statement detected
(#56) Inline comments must start with a capital letter, digit or 3-dots sequence
(#56) 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
(#68) Inline comments must start with a capital letter, digit or 3-dots sequence
(#69) Inline comments must end in full-stops, exclamation marks, or question marks
(#75) Inline comments must start with a capital letter, digit or 3-dots sequence
(#75) Inline comments must end in full-stops, exclamation marks, or question marks
(#78) Inline comments must start with a capital letter, digit or 3-dots sequence
(#78) Inline comments must end in full-stops, exclamation marks, or question marks
(#97) Inline comments must end in full-stops, exclamation marks, or question marks
(#102) Inline comments must start with a capital letter, digit or 3-dots sequence
(#102) Inline comments must end in full-stops, exclamation marks, or question marks
local/learning_analytics/reports/activities/classes/all.php
(#49) Inline comments must start with a capital letter, digit or 3-dots sequence
(#49) Inline comments must end in full-stops, exclamation marks, or question marks
(#56) Whitespace found at end of line
(#63) Inline comments must start with a capital letter, digit or 3-dots sequence
(#63) Inline comments must end in full-stops, exclamation marks, or question marks
local/learning_analytics/reports/activities/classes/preview.php
(#44) Line exceeds 132 characters; contains 171 characters
(#53) Line exceeds 132 characters; contains 134 characters
(#63) Line exceeds 132 characters; contains 166 characters
(#69) Line exceeds 132 characters; contains 138 characters
(#72) Whitespace found at end of line
local/learning_analytics/reports/activities/classes/query_helper.php
(#50) Whitespace found at end of line within string
local/learning_analytics/reports/activities/lareport_activities.php
(#46) Inline comments must start with a capital letter, digit or 3-dots sequence
(#84) Inline comments must start with a capital letter, digit or 3-dots sequence
(#84) Inline comments must end in full-stops, exclamation marks, or question marks
(#88) Inline comments must start with a capital letter, digit or 3-dots sequence
(#88) Inline comments must end in full-stops, exclamation marks, or question marks
(#93) Whitespace found at end of line
(#94) Inline comments must end in full-stops, exclamation marks, or question marks
(#100) Inline comments must start with a capital letter, digit or 3-dots sequence
(#100) This comment is 46% valid code; is this commented out code?
(#112) Whitespace found at end of line
(#113) Inline comments must start with a capital letter, digit or 3-dots sequence
(#113) Inline comments must end in full-stops, exclamation marks, or question marks
(#130) Inline comments must end in full-stops, exclamation marks, or question marks
(#140) Inline comments must start with a capital letter, digit or 3-dots sequence
(#140) Inline comments must end in full-stops, exclamation marks, or question marks
(#151) Inline comments must start with a capital letter, digit or 3-dots sequence
(#151) Inline comments must end in full-stops, exclamation marks, or question marks
(#162) Inline comments must start with a capital letter, digit or 3-dots sequence
(#162) This comment is 54% valid code; is this commented out code?
(#165) Inline comments must start with a capital letter, digit or 3-dots sequence
(#165) Inline comments must end in full-stops, exclamation marks, or question marks
(#173) Inline comments must start with a capital letter, digit or 3-dots sequence
(#179) Inline comments must start with a capital letter, digit or 3-dots sequence
(#179) This comment is 43% valid code; is this commented out code?
(#183) Inline comments must end in full-stops, exclamation marks, or question marks
(#183) Whitespace found at end of line
(#207) Inline comments must start with a capital letter, digit or 3-dots sequence
(#207) Inline comments must end in full-stops, exclamation marks, or question marks
(#221) Line exceeds 132 characters; contains 133 characters
(#229) Commas (,) must be followed by white space.
(#231) Commas (,) must be followed by white space.
(#234) Inline comments must end in full-stops, exclamation marks, or question marks
(#252) Line exceeds 132 characters; contains 141 characters
local/learning_analytics/reports/coursedashboard/lareport_coursedashboard.php
(#123) Variable "textClicks" must be all lower-case
(#125) Variable "textClicks" must be all lower-case
(#252) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#265) Variable "previewClass" must be all lower-case
(#266) Variable "previewClass" must be all lower-case
(#266) Line exceeds 132 characters; contains 150 characters
local/learning_analytics/reports/learners/classes/helper.php
(#74) Whitespace found at end of line
local/learning_analytics/reports/learners/classes/preview.php
(#49) Line exceeds 132 characters; contains 135 characters
(#55) Whitespace found at end of line
local/learning_analytics/reports/learners/classes/query_helper.php
(#36) Inline comments must start with a capital letter, digit or 3-dots sequence
(#36) Inline comments must end in full-stops, exclamation marks, or question marks
(#76) Inline comments must start with a capital letter, digit or 3-dots sequence
(#76) Inline comments must end in full-stops, exclamation marks, or question marks
(#80) Line exceeds 132 characters; contains 139 characters
local/learning_analytics/reports/learners/lareport_learners.php
(#61) Line exceeds 132 characters; contains 141 characters
(#143) Inline comments must start with a capital letter, digit or 3-dots sequence
(#143) This comment is 67% valid code; is this commented out code?
local/learning_analytics/reports/quiz_assign/classes/preview.php
(#42) Variable "hitsLast7Days" must be all lower-case
(#44) Variable "quiz_not_enough_value" must not contain underscores.
(#45) Variable "hitsLast7Days" must be all lower-case
(#46) Line exceeds maximum limit of 180 characters; contains 182 characters
(#48) Whitespace found at end of line
(#50) Variable "hitsLast7Days" must be all lower-case
(#50) Line exceeds 132 characters; contains 135 characters
(#57) Line exceeds 132 characters; contains 150 characters
(#60) Whitespace found at end of line
local/learning_analytics/reports/quiz_assign/classes/query_helper.php
(#97) Inline comments must start with a capital letter, digit or 3-dots sequence
(#97) Inline comments must end in full-stops, exclamation marks, or question marks
(#111) Inline comments must start with a capital letter, digit or 3-dots sequence
(#111) Inline comments must end in full-stops, exclamation marks, or question marks
local/learning_analytics/reports/quiz_assign/lang/de/lareport_quiz_assign.php
(#37) Inline comments must end in full-stops, exclamation marks, or question marks
(#43) Inline comments must end in full-stops, exclamation marks, or question marks
(#50) Inline comments must end in full-stops, exclamation marks, or question marks
local/learning_analytics/reports/quiz_assign/lang/en/lareport_quiz_assign.php
(#37) Inline comments must end in full-stops, exclamation marks, or question marks
(#43) Inline comments must end in full-stops, exclamation marks, or question marks
(#50) Inline comments must end in full-stops, exclamation marks, or question marks
local/learning_analytics/reports/quiz_assign/lareport_quiz_assign.php
(#38) Line exceeds 132 characters; contains 147 characters
(#90) Line exceeds 132 characters; contains 136 characters
(#117) Inline comments must start with a capital letter, digit or 3-dots sequence
(#117) Inline comments must end in full-stops, exclamation marks, or question marks
(#121) Inline comments must start with a capital letter, digit or 3-dots sequence
(#121) Inline comments must end in full-stops, exclamation marks, or question marks
(#145) Line exceeds 132 characters; contains 136 characters
local/learning_analytics/reports/weekheatmap/classes/preview.php
(#42) Variable "hitsLast7Days" must be all lower-case
(#46) Variable "hitsLast7Days" must be all lower-case
(#47) Line exceeds 132 characters; contains 170 characters
(#49) Whitespace found at end of line
(#51) Variable "hitsLast7Days" must be all lower-case
(#51) Line exceeds 132 characters; contains 135 characters
(#61) Whitespace found at end of line
local/learning_analytics/reports/weekheatmap/classes/query_helper.php
(#43) Whitespace found at end of line
(#67) Inline comments must start with a capital letter, digit or 3-dots sequence
(#67) Inline comments must end in full-stops, exclamation marks, or question marks
local/learning_analytics/reports/weekheatmap/lareport_weekheatmap.php
(#47) Variable "startOfWeek" must be all lower-case
(#50) Variable "startOfWeek" must be all lower-case
(#51) Variable "startOfWeek" must be all lower-case
(#51) Variable "startOfWeek" must be all lower-case
(#54) Whitespace found at end of line
(#59) Whitespace found at end of line
(#60) Line exceeds 132 characters; contains 134 characters
(#60) Inline comments must start with a capital letter, digit or 3-dots sequence
(#63) Expected 1 space before comment text but found 5; use block comment if you need indentation
(#64) Inline comments must end in full-stops, exclamation marks, or question marks
(#70) Inline comments must start with a capital letter, digit or 3-dots sequence
(#70) Inline comments must end in full-stops, exclamation marks, or question marks
(#71) Variable "startOfWeek" must be all lower-case
(#71) This comment is 53% valid code; is this commented out code?
(#110) Inline comments must end in full-stops, exclamation marks, or question marks
local/learning_analytics/settings.php
(#44) Inline comments must end in full-stops, exclamation marks, or question marks
(#52) Inline comments must start with a capital letter, digit or 3-dots sequence
(#52) 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
(#81) Inline comments must start with a capital letter, digit or 3-dots sequence
(#81) Inline comments must end in full-stops, exclamation marks, or question marks
(#97) Inline comments must start with a capital letter, digit or 3-dots sequence
(#97) Inline comments must end in full-stops, exclamation marks, or question marks
(#104) Whitespace found at end of line
(#109) Inline comments must start with a capital letter, digit or 3-dots sequence
(#109) Inline comments must end in full-stops, exclamation marks, or question marks

Javascript coding style problems

(0 errors, 7 warnings)

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

local/learning_analytics/amd/src/outputs.js
(#1) Unexpected space before function parentheses. (space-before-function-paren)
(#12) Unexpected space before function parentheses. (space-before-function-paren)
(#14) Identifier 'plot_data' is not in camel case. (camelcase)
(#16) Unexpected space before function parentheses. (space-before-function-paren)
(#17) Identifier 'plot_data' is not in camel case. (camelcase)
(#17) Identifier 'plot_data' is not in camel case. (camelcase)
(#17) Identifier 'plot_data' is not in camel case. (camelcase)

CSS problems

(61 errors, 0 warnings)

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

local/learning_analytics/static/styles.css
(#93) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
local/learning_analytics/static/loading-indicator/style.css
(#15) Expected indentation of 12 spaces (indentation)
(#16) Expected indentation of 12 spaces (indentation)
(#17) Expected indentation of 12 spaces (indentation)
(#18) Expected indentation of 12 spaces (indentation)
(#19) Expected indentation of 12 spaces (indentation)
(#20) Expected indentation of 12 spaces (indentation)
(#21) Expected indentation of 12 spaces (indentation)
(#26) Expected indentation of 12 spaces (indentation)
(#27) Expected indentation of 12 spaces (indentation)
(#28) Expected indentation of 12 spaces (indentation)
(#29) Expected indentation of 12 spaces (indentation)
(#30) Expected indentation of 12 spaces (indentation)
(#31) Expected indentation of 12 spaces (indentation)
(#32) Expected indentation of 12 spaces (indentation)
(#37) Expected indentation of 12 spaces (indentation)
(#38) Expected indentation of 12 spaces (indentation)
(#39) Expected indentation of 12 spaces (indentation)
(#40) Expected indentation of 12 spaces (indentation)
(#41) Expected indentation of 12 spaces (indentation)
(#42) Expected indentation of 12 spaces (indentation)
(#43) Expected indentation of 12 spaces (indentation)
(#48) Expected indentation of 12 spaces (indentation)
(#49) Expected indentation of 12 spaces (indentation)
(#50) Expected indentation of 12 spaces (indentation)
(#51) Expected indentation of 12 spaces (indentation)
(#52) Expected indentation of 12 spaces (indentation)
(#53) Expected indentation of 12 spaces (indentation)
(#54) Expected indentation of 12 spaces (indentation)
(#59) Expected indentation of 12 spaces (indentation)
(#60) Expected indentation of 12 spaces (indentation)
(#61) Expected indentation of 12 spaces (indentation)
(#62) Expected indentation of 12 spaces (indentation)
(#63) Expected indentation of 12 spaces (indentation)
(#64) Expected indentation of 12 spaces (indentation)
(#65) Expected indentation of 12 spaces (indentation)
(#70) Expected indentation of 12 spaces (indentation)
(#71) Expected indentation of 12 spaces (indentation)
(#72) Expected indentation of 12 spaces (indentation)
(#73) Expected indentation of 12 spaces (indentation)
(#74) Expected indentation of 12 spaces (indentation)
(#75) Expected indentation of 12 spaces (indentation)
(#76) Expected indentation of 12 spaces (indentation)
(#81) Expected indentation of 12 spaces (indentation)
(#82) Expected indentation of 12 spaces (indentation)
(#83) Expected indentation of 12 spaces (indentation)
(#84) Expected indentation of 12 spaces (indentation)
(#85) Expected indentation of 12 spaces (indentation)
(#86) Expected indentation of 12 spaces (indentation)
(#87) Expected indentation of 12 spaces (indentation)
(#92) Expected indentation of 12 spaces (indentation)
(#93) Expected indentation of 12 spaces (indentation)
(#94) Expected indentation of 12 spaces (indentation)
(#95) Expected indentation of 12 spaces (indentation)
(#96) Expected indentation of 12 spaces (indentation)
(#97) Expected indentation of 12 spaces (indentation)
(#98) Expected indentation of 12 spaces (indentation)
local/learning_analytics/reports/coursedashboard/static/styles.css
(#22) Expected empty line before at-rule (at-rule-empty-line-before)
(#7) Expected single space after "," in a single-line function (function-comma-space-after)
(#7) Expected single space after "," in a single-line function (function-comma-space-after)
(#7) Expected single space after "," in a single-line function (function-comma-space-after)

PHPDocs style problems

(215 errors, 0 warnings)

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

local/learning_analytics/classes/demo.php
(#31) Class demo is not documented
(#35) Function demo::data is not documented
(#42) Function demo::setup is not documented
(#33) Variable demo::$demodata is not documented
local/learning_analytics/classes/event/report_viewed.php
(#20) Package learning_analytics is not valid
(#26) Class report_viewed is not documented
(#28) Function report_viewed::init is not documented
local/learning_analytics/classes/local/outputs/plot.php
(#36) Package local_learning_analytics\local\outputs is not valid
(#50) Function plot::__construct is not documented
(#86) Function plot::set_layout is not documented
(#90) Function plot::set_title is not documented
(#94) Function plot::show_toolbar is not documented
(#98) Function plot::set_static_plot is not documented
(#102) Function plot::set_height is not documented
(#117) Function plot::add_series_from_sql_records is not documented
(#121) Function plot::add_series is not documented
(#40) Variable plot::$series is not documented
(#42) Variable plot::$id is not documented
(#44) Variable plot::$layout is not documented
(#46) Variable plot::$params is not documented
(#48) Variable plot::$height is not documented
(#17) No one-line description found in phpdocs for file
(#60) There is no description in phpdocs for function sql_to_series
(#106) There is no description in phpdocs for function add_series_from_sql
(#125) There is no description in phpdocs for function print
(#61) Phpdocs for function plot::sql_to_series has incomplete parameters list
local/learning_analytics/classes/local/outputs/splitter.php
(#36) Class splitter is not documented
(#41) Function splitter::__construct is not documented
(#46) Function splitter::print is not documented
(#38) Variable splitter::$left is not documented
(#39) Variable splitter::$right is not documented
local/learning_analytics/classes/local/outputs/table.php
(#36) Class table is not documented
(#42) Function table::__construct is not documented
(#51) Function table::set_header is not documented
(#68) Function table::fancynumbercell is not documented
(#76) Function table::fancynumbercellcolored is not documented
(#97) Function table::add_row is not documented
(#101) Function table::add_show_more_row is not documented
(#38) Variable table::$table is not documented
(#40) Variable table::$ajaxrows is not documented
(#55) There is no description in phpdocs for function set_header_local
(#84) There is no description in phpdocs for function print
local/learning_analytics/classes/output/renderer.php
(#17) No one-line description found in phpdocs for file
(#34) There is no description in phpdocs for function render_output_list
local/learning_analytics/classes/output_base.php
(#29) Class output_base is not documented
(#30) Function output_base::print is not documented
local/learning_analytics/classes/plugininfo/lalog.php
(#31) Class lalog is not documented
(#32) Function lalog::is_uninstall_allowed is not documented
local/learning_analytics/classes/plugininfo/lareport.php
(#31) Class lareport is not documented
(#32) Function lareport::is_uninstall_allowed is not documented
(#36) Phpdocs for function lareport::load_settings has incomplete parameters list
local/learning_analytics/classes/privacy/provider.php
(#29) Class provider is not documented
(#30) Function provider::get_reason is not documented
(#17) No one-line description found in phpdocs for file
local/learning_analytics/classes/report_base.php
(#37) Function report_base::heading is not documented
(#43) Function report_base::run is not documented
(#44) Function report_base::params is not documented
local/learning_analytics/classes/report_page_base.php
(#37) Function report_page_base::heading is not documented
(#43) Function report_page_base::run is not documented
(#44) Function report_page_base::params is not documented
(#17) No one-line description found in phpdocs for file
local/learning_analytics/classes/report_preview.php
(#36) Function report_preview::content is not documented
(#38) Function report_preview::box is not documented
(#54) Function report_preview::boxcomplex is not documented
local/learning_analytics/classes/router.php
(#35) Package is not specified for class router. It is also not specified in file-level phpdocs
(#35) Class router is not documented
(#37) Function router::run_report_or_page is not documented
(#112) Function router::get_url is not documented
(#127) Function router::report_page is not documented
(#72) There is no description in phpdocs for function run
(#117) There is no description in phpdocs for function report
local/learning_analytics/classes/settings.php
(#29) Class settings is not documented
(#48) Function settings::get_config is not documented
(#56) Function settings::statusupdated is not documented
(#33) Constant settings::CUSTOMFIELD_CATEGORY_NAME is not documented
(#34) Constant settings::CUSTOMFIELD_CATEGORY_DESCRIPTION is not documented
(#38) Constant settings::CUSTOMFIELD_FIELD_NAME is not documented
(#39) Constant settings::CUSTOMFIELD_FIELD_DESCRIPTION is not documented
(#42) Constant settings::DEFAULTS is not documented
local/learning_analytics/db/access.php
(#17) No one-line description found in phpdocs for file
local/learning_analytics/db/install.php
(#27) Function xmldb_local_learning_analytics_install is not documented
local/learning_analytics/db/uninstall.php
(#27) Function xmldb_local_learning_analytics_uninstall is not documented
local/learning_analytics/db/upgrade.php
(#27) Function xmldb_local_learning_analytics_upgrade is not documented
local/learning_analytics/lib.php
(#28) There is no description in phpdocs for function local_learning_analytics_extend_navigation
(#29) Phpdocs for function local_learning_analytics_extend_navigation has incomplete parameters list
local/learning_analytics/reports/activities/classes/all.php
(#20) Package local_learning_analytics is not valid
(#34) Class all is not documented
(#36) Function all::run is not documented
(#89) Function all::params is not documented
(#17) No one-line description found in phpdocs for file
local/learning_analytics/reports/activities/classes/preview.php
(#20) Package local_learning_analytics is not valid
(#32) Class preview is not documented
(#33) Function preview::content is not documented
(#67) Function preview::icon is not documented
(#17) No one-line description found in phpdocs for file
local/learning_analytics/reports/activities/classes/privacy/provider.php
(#20) Package local_learning_analytics is not valid
(#29) Class provider is not documented
(#30) Function provider::get_reason is not documented
(#17) No one-line description found in phpdocs for file
local/learning_analytics/reports/activities/classes/query_helper.php
(#20) Package local_learning_analytics is not valid
(#34) Class query_helper is not documented
(#36) Function query_helper::query_activities is not documented
(#70) Function query_helper::preview_query_most_clicked_activity is not documented
local/learning_analytics/reports/activities/lang/de/lareport_activities.php
(#20) Package local_learning_analytics is not valid
local/learning_analytics/reports/activities/lang/en/lareport_activities.php
(#20) Package local_learning_analytics is not valid
local/learning_analytics/reports/activities/lareport_activities.php
(#20) Package local_learning_analytics is not valid
(#36) Class lareport_activities is not documented
(#61) Function lareport_activities::run is not documented
(#319) Function lareport_activities::params is not documented
(#38) Variable lareport_activities::$markercolors is not documented
(#48) Variable lareport_activities::$markercolordefault is not documented
(#49) Variable lareport_activities::$markercolorstext is not documented
(#59) Variable lareport_activities::$markercolortextdefault is not documented
(#34) Constant MAX_LENGTH_SECTION_NAMES is not documented
local/learning_analytics/reports/activities/version.php
(#20) Package local_learning_analytics is not valid
local/learning_analytics/reports/coursedashboard/classes/privacy/provider.php
(#20) Package local_learning_analytics is not valid
(#29) Class provider is not documented
(#30) Function provider::get_reason is not documented
(#17) No one-line description found in phpdocs for file
local/learning_analytics/reports/coursedashboard/classes/query_helper.php
(#20) Package local_learning_analytics is not valid
(#29) Class query_helper is not documented
(#31) Function query_helper::query_weekly_activity is not documented
local/learning_analytics/reports/coursedashboard/lang/de/lareport_coursedashboard.php
(#20) Package local_learning_analytics is not valid
local/learning_analytics/reports/coursedashboard/lang/en/lareport_coursedashboard.php
(#20) Package local_learning_analytics is not valid
local/learning_analytics/reports/coursedashboard/lareport_coursedashboard.php
(#20) Package local_learning_analytics is not valid
(#32) Class lareport_coursedashboard is not documented
(#37) Function lareport_coursedashboard::activiyoverweeks is not documented
(#241) Function lareport_coursedashboard::run is not documented
(#279) Function lareport_coursedashboard::params is not documented
(#34) Constant lareport_coursedashboard::X_MIN is not documented
(#35) Constant lareport_coursedashboard::X_MAX is not documented
local/learning_analytics/reports/coursedashboard/version.php
(#20) Package local_learning_analytics is not valid
local/learning_analytics/reports/learners/classes/courseparticipation.php
(#20) Package local_learning_analytics is not valid
(#32) Class courseparticipation is not documented
(#34) Function courseparticipation::run is not documented
(#43) Function courseparticipation::params is not documented
(#17) No one-line description found in phpdocs for file
local/learning_analytics/reports/learners/classes/helper.php
(#20) Package local_learning_analytics is not valid
(#37) Class helper is not documented
(#46) Function helper::generatecourseparticipationlist is not documented
(#39) Variable helper::$userperfullpage is not documented
(#40) Variable helper::$userpreview is not documented
(#44) Variable helper::$parallelcoursebuffer is not documented
(#17) No one-line description found in phpdocs for file
local/learning_analytics/reports/learners/classes/preview.php
(#20) Package local_learning_analytics is not valid
(#31) Class preview is not documented
(#33) Function preview::content is not documented
(#47) Function preview::icon is not documented
(#17) No one-line description found in phpdocs for file
local/learning_analytics/reports/learners/classes/privacy/provider.php
(#20) Package local_learning_analytics is not valid
(#29) Class provider is not documented
(#30) Function provider::get_reason is not documented
(#17) No one-line description found in phpdocs for file
local/learning_analytics/reports/learners/classes/query_helper.php
(#20) Package local_learning_analytics is not valid
(#31) Class query_helper is not documented
(#33) Function query_helper::query_learners_count is not documented
(#65) Function query_helper::query_courseparticipation is not documented
(#129) Function query_helper::query_localization is not documented
(#162) Function query_helper::preview_query_users is not documented
local/learning_analytics/reports/learners/lang/de/lareport_learners.php
(#20) Package local_learning_analytics is not valid
local/learning_analytics/reports/learners/lang/en/lareport_learners.php
(#20) Package local_learning_analytics is not valid
local/learning_analytics/reports/learners/lareport_learners.php
(#20) Package local_learning_analytics is not valid
(#35) Class lareport_learners is not documented
(#45) Function lareport_learners::createseries is not documented
(#60) Function lareport_learners::langandcountryplot is not documented
(#128) Function lareport_learners::languagesandcountries is not documented
(#140) Function lareport_learners::run is not documented
(#153) Function lareport_learners::params is not documented
(#37) Variable lareport_learners::$barcolors is not documented
local/learning_analytics/reports/learners/version.php
(#20) Package local_learning_analytics is not valid
local/learning_analytics/reports/quiz_assign/classes/preview.php
(#20) Package local_learning_analytics is not valid
(#32) Class preview is not documented
(#34) Function preview::content is not documented
(#54) Function preview::icon is not documented
(#17) No one-line description found in phpdocs for file
local/learning_analytics/reports/quiz_assign/classes/privacy/provider.php
(#20) Package local_learning_analytics is not valid
(#29) Class provider is not documented
(#30) Function provider::get_reason is not documented
(#17) No one-line description found in phpdocs for file
local/learning_analytics/reports/quiz_assign/classes/query_helper.php
(#20) Package local_learning_analytics is not valid
(#34) Class query_helper is not documented
(#36) Function query_helper::query_quiz is not documented
(#64) Function query_helper::query_assignment is not documented
(#94) Function query_helper::helper_quiz_and_assigments is not documented
(#128) Function query_helper::preview_quiz_and_assigments is not documented
local/learning_analytics/reports/quiz_assign/lang/de/lareport_quiz_assign.php
(#20) Package local_learning_analytics is not valid
local/learning_analytics/reports/quiz_assign/lang/en/lareport_quiz_assign.php
(#20) Package local_learning_analytics is not valid
local/learning_analytics/reports/quiz_assign/lareport_quiz_assign.php
(#20) Package local_learning_analytics is not valid
(#34) Class lareport_quiz_assign is not documented
(#36) Function lareport_quiz_assign::quizzes is not documented
(#95) Function lareport_quiz_assign::assignments is not documented
(#149) Function lareport_quiz_assign::run is not documented
(#176) Function lareport_quiz_assign::params is not documented
local/learning_analytics/reports/quiz_assign/version.php
(#20) Package local_learning_analytics is not valid
local/learning_analytics/reports/weekheatmap/classes/preview.php
(#20) Package local_learning_analytics is not valid
(#32) Class preview is not documented
(#34) Function preview::content is not documented
(#55) Function preview::icon is not documented
(#17) No one-line description found in phpdocs for file
local/learning_analytics/reports/weekheatmap/classes/privacy/provider.php
(#20) Package local_learning_analytics is not valid
(#29) Class provider is not documented
(#30) Function provider::get_reason is not documented
(#17) No one-line description found in phpdocs for file
local/learning_analytics/reports/weekheatmap/classes/query_helper.php
(#20) Package local_learning_analytics is not valid
(#35) Class query_helper is not documented
(#37) Function query_helper::query_heatmap is not documented
(#81) Function query_helper::click_count_helper is not documented
(#98) Function query_helper::preview_query_click_count is not documented
local/learning_analytics/reports/weekheatmap/lang/de/lareport_weekheatmap.php
(#20) Package local_learning_analytics is not valid
local/learning_analytics/reports/weekheatmap/lang/en/lareport_weekheatmap.php
(#20) Package local_learning_analytics is not valid
local/learning_analytics/reports/weekheatmap/lareport_weekheatmap.php
(#20) Package local_learning_analytics is not valid
(#34) Class lareport_weekheatmap is not documented
(#36) Function lareport_weekheatmap::run is not documented
(#128) Function lareport_weekheatmap::params is not documented
local/learning_analytics/reports/weekheatmap/version.php
(#20) Package local_learning_analytics 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

(1 errors, 0 warnings)

This section shows files built by grunt and not commited [More info]

local/learning_analytics/amd/build/outputs.min.js.map
Uncommitted change detected.

shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(0 errors, 2 warnings)

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

local/learning_analytics/templates/course.mustache
(#1) Example context missing (@template section not found.)
local/learning_analytics/templates/help.mustache
(#1) Example context missing (@template section not found.)

Gherkin .feature problems

(0 errors, 0 warnings)

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