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

(20 errors, 42 warnings)

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

plagiarism/compilatio/ajax/get_notifications.php
(#72) Line exceeds 132 characters; contains 135 characters
plagiarism/compilatio/classes/compilatio/csv.php
(#189) Line exceeds 132 characters; contains 146 characters
plagiarism/compilatio/classes/compilatio/documentFrame.php
(#267) Line exceeds 132 characters; contains 134 characters
(#399) Line exceeds 132 characters; contains 158 characters
(#445) Line exceeds 132 characters; contains 165 characters
plagiarism/compilatio/classes/compilatio/frame.php
(#197) Line exceeds 132 characters; contains 137 characters
(#281) Line exceeds 132 characters; contains 139 characters
(#324) Inline comments must end in full-stops, exclamation marks, or question marks
(#358) Line exceeds 132 characters; contains 151 characters
plagiarism/compilatio/classes/compilatio/icons.php
(#33) Line exceeds 132 characters; contains 179 characters
(#39) Line exceeds maximum limit of 180 characters; contains 269 characters
(#45) Line exceeds maximum limit of 180 characters; contains 440 characters
(#51) Line exceeds maximum limit of 180 characters; contains 184 characters
(#52) Line exceeds maximum limit of 180 characters; contains 594 characters
(#58) Line exceeds maximum limit of 180 characters; contains 184 characters
(#59) Line exceeds maximum limit of 180 characters; contains 1534 characters
(#66) Line exceeds 132 characters; contains 176 characters
(#68) Line exceeds maximum limit of 180 characters; contains 1063 characters
(#77) Line exceeds maximum limit of 180 characters; contains 184 characters
(#80) Line exceeds maximum limit of 180 characters; contains 1023 characters
(#88) Line exceeds 132 characters; contains 180 characters
(#91) Line exceeds maximum limit of 180 characters; contains 557 characters
(#98) Line exceeds maximum limit of 180 characters; contains 182 characters
(#101) Line exceeds maximum limit of 180 characters; contains 1266 characters
(#108) Line exceeds maximum limit of 180 characters; contains 182 characters
(#111) Line exceeds maximum limit of 180 characters; contains 669 characters
(#118) Line exceeds maximum limit of 180 characters; contains 182 characters
(#121) Line exceeds maximum limit of 180 characters; contains 767 characters
plagiarism/compilatio/classes/compilatio/statistics.php
(#391) Line exceeds 132 characters; contains 133 characters
(#392) Line exceeds 132 characters; contains 138 characters
(#393) Line exceeds 132 characters; contains 164 characters
(#418) Short array syntax must be used to define arrays
(#421) Line exceeds 132 characters; contains 148 characters
(#430) Line exceeds 132 characters; contains 157 characters
(#447) Line exceeds 132 characters; contains 145 characters
(#466) Line exceeds 132 characters; contains 180 characters
(#490) Line exceeds 132 characters; contains 167 characters
(#520) Line exceeds 132 characters; contains 140 characters
(#526) Line exceeds 132 characters; contains 152 characters
(#537) Line exceeds 132 characters; contains 180 characters
(#538) Line exceeds 132 characters; contains 152 characters
(#556) Line exceeds 132 characters; contains 159 characters
(#559) Line exceeds 132 characters; contains 172 characters
(#561) Line exceeds 132 characters; contains 161 characters
(#592) Line exceeds maximum limit of 180 characters; contains 192 characters
(#606) Line exceeds 132 characters; contains 163 characters
(#614) Line exceeds 132 characters; contains 149 characters
(#624) Line exceeds 132 characters; contains 133 characters
plagiarism/compilatio/classes/privacy/provider.php
(#28) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#37) Duplicate interface name "plagiarism_compilatio\privacy\user_provider" found; first defined in /var/lib/jenkins/git_repositories/prechecker/plagiarism/compilatio/classes/privacy/provider.php on line 33
(#73) There must not be a space before the colon in a return type declaration
(#118) There must not be a space before the colon in a return type declaration
plagiarism/compilatio/classes/task/get_scores.php
(#67) Line exceeds 132 characters; contains 152 characters
plagiarism/compilatio/tests/privacy/provider_test.php
(#38) PHPUnit testcase name "plagiarism_compilatio_privacy_provider_testcase" does not match file name "provider_test"
(#38) PHPUnit class "plagiarism_compilatio_privacy_provider_testcase" does not have any namespace. It is recommended to add it to the "plagiarism_compilatio" namespace, using more levels if needed, in order to match the code being tested
(#43) Test method test_get_metadata() is missing any coverage information, own or at class level
(#86) Test method test_get_contexts_for_userid() is missing any coverage information, own or at class level
(#108) Test method test_export_plagiarism_user_data() is missing any coverage information, own or at class level
(#135) Test method test_delete_plagiarism_for_context() is missing any coverage information, own or at class level
(#167) Test method test_delete_plagiarism_for_user_owner_school() is missing any coverage information, own or at class level
(#204) Test method test_delete_plagiarism_for_user_owner_student() is missing any coverage information, own or at class level
(#241) Test method test_delete_plagiarism_for_users() is missing any coverage information, own or at class level

Javascript coding style problems

(70 errors, 309 warnings)

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

plagiarism/compilatio/amd/src/compilatio_ajax_api.js
(#20) Missing JSDoc comment. (jsdoc/require-jsdoc)
(#22) This line has a length of 151. Maximum allowed is 132. (max-len)
(#22) Trailing spaces not allowed. (no-trailing-spaces)
(#23) Trailing spaces not allowed. (no-trailing-spaces)
(#25) Use '===' to compare with null. (no-eq-null)
(#31) Missing space before opening brace. (space-before-blocks)
(#34) Trailing spaces not allowed. (no-trailing-spaces)
(#39) Trailing spaces not allowed. (no-trailing-spaces)
(#40) There should be no space after '{'. (@babel/object-curly-spacing)
(#40) There should be no space before '}'. (@babel/object-curly-spacing)
(#45) Unexpected console statement. (no-console)
(#51) Missing semicolon. (@babel/semi)
(#55) Missing semicolon. (@babel/semi)
(#58) Missing JSDoc comment. (jsdoc/require-jsdoc)
(#58) Unexpected space before function parentheses. (space-before-function-paren)
(#71) Missing semicolon. (@babel/semi)
(#86) Missing JSDoc comment. (jsdoc/require-jsdoc)
(#91) Missing JSDoc comment. (jsdoc/require-jsdoc)
(#93) Expected an assignment or function call and instead saw an expression. (@babel/no-unused-expressions)
(#101) Trailing spaces not allowed. (no-trailing-spaces)
(#107) This line has a length of 151. Maximum allowed is 132. (max-len)
(#121) This line has a length of 151. Maximum allowed is 132. (max-len)
(#136) Missing JSDoc comment. (jsdoc/require-jsdoc)
(#137) This line has a length of 184. Maximum allowed is 132. (max-len)
(#141) 'e' is defined but never used. (no-unused-vars)
(#144) 'e' is defined but never used. (no-unused-vars)
(#148) 'e' is defined but never used. (no-unused-vars)
(#165) 'indexingState' declared on line 168 column 29 is used outside of binding context. (block-scoped-var)
(#168) 'indexingState' is already defined. (no-redeclare)
(#168) 'indexingState' declared on line 165 column 29 is used outside of binding context. (block-scoped-var)
(#171) This line has a length of 161. Maximum allowed is 132. (max-len)
(#171) 'indexingState' declared on line 165 column 29 is used outside of binding context. (block-scoped-var)
(#171) 'indexingState' declared on line 168 column 29 is used outside of binding context. (block-scoped-var)
(#173) 'indexingState' declared on line 165 column 29 is used outside of binding context. (block-scoped-var)
(#173) 'indexingState' declared on line 168 column 29 is used outside of binding context. (block-scoped-var)
(#203) This line has a length of 142. Maximum allowed is 132. (max-len)
(#208) This line has a length of 134. Maximum allowed is 132. (max-len)
(#232) Missing semicolon. (@babel/semi)
(#242) Missing semicolon. (@babel/semi)
(#244) Missing semicolon. (@babel/semi)
(#246) Missing semicolon. (@babel/semi)
(#247) Missing semicolon. (@babel/semi)
(#250) Trailing spaces not allowed. (no-trailing-spaces)
(#257) Missing semicolon. (@babel/semi)
(#261) Missing semicolon. (@babel/semi)
(#264) Missing JSDoc comment. (jsdoc/require-jsdoc)
(#266) Missing semicolon. (@babel/semi)
(#280) 'markdown' is not defined. (no-undef)
(#280) Missing semicolon. (@babel/semi)
(#286) Missing semicolon. (@babel/semi)
plagiarism/compilatio/js/drawdown.min.js
(#22) This line has a length of 1941. Maximum allowed is 132. (max-len)
(#22) 'markdown' is defined but never used. (no-unused-vars)
(#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) Operator '=' must be spaced. (space-infix-ops)
(#22) Unnecessary escape character: \|. (no-useless-escape)
(#22) Unnecessary escape character: \[. (no-useless-escape)
(#22) A space is required after ','. (comma-spacing)
(#22) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#22) Operator '=' must be spaced. (space-infix-ops)
(#22) A space is required after ','. (comma-spacing)
(#22) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#22) Operator '=' must be spaced. (space-infix-ops)
(#22) A space is required after ','. (comma-spacing)
(#22) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#22) Operator '=' must be spaced. (space-infix-ops)
(#22) A space is required after ','. (comma-spacing)
(#22) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#22) Operator '=' must be spaced. (space-infix-ops)
(#22) Unnecessary escape character: \:. (no-useless-escape)
(#22) Unnecessary escape character: \:. (no-useless-escape)
(#22) Unnecessary escape character: \:. (no-useless-escape)
(#22) A space is required after ','. (comma-spacing)
(#22) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#22) Operator '=' must be spaced. (space-infix-ops)
(#22) A space is required after ','. (comma-spacing)
(#22) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#22) Operator '=' must be spaced. (space-infix-ops)
(#22) Missing whitespace after semicolon. (semi-spacing)
(#22) This line has 27 statements. Maximum allowed is 2. (max-statements-per-line)
(#22) A space is required after ','. (comma-spacing)
(#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) Operator '=' must be spaced. (space-infix-ops)
(#22) A space is required after ','. (comma-spacing)
(#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) Expected space(s) before "function". (keyword-spacing)
(#22) A space is required after ','. (comma-spacing)
(#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) Expected space(s) after "return". (keyword-spacing)
(#22) Operator '+' must be spaced. (space-infix-ops)
(#22) Operator '+' must be spaced. (space-infix-ops)
(#22) Operator '+' must be spaced. (space-infix-ops)
(#22) Operator '+' must be spaced. (space-infix-ops)
(#22) Operator '+' must be spaced. (space-infix-ops)
(#22) Operator '+' must be spaced. (space-infix-ops)
(#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) Expected space(s) before "function". (keyword-spacing)
(#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) A space is required after ','. (comma-spacing)
(#22) A space is required after ','. (comma-spacing)
(#22) A space is required after ','. (comma-spacing)
(#22) A space is required after ','. (comma-spacing)
(#22) A space is required after ','. (comma-spacing)
(#22) A space is required after ','. (comma-spacing)
(#22) A space is required after ','. (comma-spacing)
(#22) A space is required after ','. (comma-spacing)
(#22) A space is required after ','. (comma-spacing)
(#22) A space is required after ','. (comma-spacing)
(#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) Operator '+' must be spaced. (space-infix-ops)
(#22) Do not nest ternary expressions. (no-nested-ternary)
(#22) Operator '?' must be spaced. (space-infix-ops)
(#22) Operator '?' must be spaced. (space-infix-ops)
(#22) Operator ':' must be spaced. (space-infix-ops)
(#22) Operator ':' must be spaced. (space-infix-ops)
(#22) Do not nest ternary expressions. (no-nested-ternary)
(#22) Operator '?' must be spaced. (space-infix-ops)
(#22) Operator '?' must be spaced. (space-infix-ops)
(#22) Operator ':' must be spaced. (space-infix-ops)
(#22) Operator ':' must be spaced. (space-infix-ops)
(#22) Do not nest ternary expressions. (no-nested-ternary)
(#22) Operator '?' must be spaced. (space-infix-ops)
(#22) Operator ':' must be spaced. (space-infix-ops)
(#22) Do not nest ternary expressions. (no-nested-ternary)
(#22) Operator '?' must be spaced. (space-infix-ops)
(#22) Operator ':' must be spaced. (space-infix-ops)
(#22) Operator '?' must be spaced. (space-infix-ops)
(#22) Operator ':' must be spaced. (space-infix-ops)
(#22) A space is required after ','. (comma-spacing)
(#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) 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) Expected space(s) before "function". (keyword-spacing)
(#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) A space is required after ','. (comma-spacing)
(#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) Expected space(s) before "var". (keyword-spacing)
(#22) Operator '=' must be spaced. (space-infix-ops)
(#22) A space is required after ','. (comma-spacing)
(#22) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#22) Operator '=' must be spaced. (space-infix-ops)
(#22) Missing whitespace after semicolon. (semi-spacing)
(#22) Return statement should not contain assignment. (no-return-assign)
(#22) Return statement should not contain assignment. (no-return-assign)
(#22) Return statement should not contain assignment. (no-return-assign)
(#22) Operator '=' must be spaced. (space-infix-ops)
(#22) Operator '+' must be spaced. (space-infix-ops)
(#22) Operator '+' must be spaced. (space-infix-ops)
(#22) Unexpected use of comma operator. (no-sequences)
(#22) A space is required after ','. (comma-spacing)
(#22) A space is required after ','. (comma-spacing)
(#22) A space is required after ','. (comma-spacing)
(#22) A space is required after ','. (comma-spacing)
(#22) A space is required after ','. (comma-spacing)
(#22) A space is required after ','. (comma-spacing)
(#22) A space is required after ','. (comma-spacing)
(#22) Operator '=' must be spaced. (space-infix-ops)
(#22) Wrap an immediate function invocation in parentheses. (wrap-iife)
(#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) A space is required after ','. (comma-spacing)
(#22) A space is required after ','. (comma-spacing)
(#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) A space is required after ','. (comma-spacing)
(#22) A space is required after ','. (comma-spacing)
(#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) 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) A space is required after ','. (comma-spacing)
(#22) A space is required after ','. (comma-spacing)
(#22) A space is required after ','. (comma-spacing)
(#22) Operator '=' must be spaced. (space-infix-ops)
(#22) Wrap an immediate function invocation in parentheses. (wrap-iife)
(#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) A space is required after ','. (comma-spacing)
(#22) A space is required after ','. (comma-spacing)
(#22) A space is required after ','. (comma-spacing)
(#22) A space is required after ','. (comma-spacing)
(#22) A space is required after ','. (comma-spacing)
(#22) A space is required after ','. (comma-spacing)
(#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) Operator '=' must be spaced. (space-infix-ops)
(#22) A space is required after ','. (comma-spacing)
(#22) Operator '+' must be spaced. (space-infix-ops)
(#22) Operator '+' must be spaced. (space-infix-ops)
(#22) A space is required after ','. (comma-spacing)
(#22) Missing whitespace after semicolon. (semi-spacing)
(#22) Expected space(s) after "return". (keyword-spacing)
(#22) Operator '+' must be spaced. (space-infix-ops)
(#22) Operator '?' must be spaced. (space-infix-ops)
(#22) Operator '+' must be spaced. (space-infix-ops)
(#22) Operator '?' must be spaced. (space-infix-ops)
(#22) Operator '+' must be spaced. (space-infix-ops)
(#22) Operator ':' must be spaced. (space-infix-ops)
(#22) A space is required after ','. (comma-spacing)
(#22) Operator '-' must be spaced. (space-infix-ops)
(#22) Operator '+' must be spaced. (space-infix-ops)
(#22) Operator '+' must be spaced. (space-infix-ops)
(#22) Operator '?' must be spaced. (space-infix-ops)
(#22) Operator ':' must be spaced. (space-infix-ops)
(#22) Operator '+' must be spaced. (space-infix-ops)
(#22) Operator '+' must be spaced. (space-infix-ops)
(#22) Operator '+' must be spaced. (space-infix-ops)
(#22) Operator ':' must be spaced. (space-infix-ops)
(#22) A space is required after ','. (comma-spacing)
(#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) 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) A space is required after ','. (comma-spacing)
(#22) A space is required after ','. (comma-spacing)
(#22) A space is required after ','. (comma-spacing)
(#22) Spaces are hard to count. Use {4}. (no-regex-spaces)
(#22) A space is required after ','. (comma-spacing)
(#22) A space is required after ','. (comma-spacing)
(#22) A space is required after ','. (comma-spacing)
(#22) A space is required after ','. (comma-spacing)
(#22) A space is required after ','. (comma-spacing)
(#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) Return statement should not contain assignment. (no-return-assign)
(#22) Operator '=' must be spaced. (space-infix-ops)
(#22) A space is required after ','. (comma-spacing)
(#22) A space is required after ','. (comma-spacing)
(#22) Operator '||' must be spaced. (space-infix-ops)
(#22) Spaces are hard to count. Use {4}. (no-regex-spaces)
(#22) A space is required after ','. (comma-spacing)
(#22) Unexpected use of comma operator. (no-sequences)
(#22) A space is required after ','. (comma-spacing)
(#22) Operator '+' must be spaced. (space-infix-ops)
(#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) A space is required after ','. (comma-spacing)
(#22) Unnecessary escape character: \[. (no-useless-escape)
(#22) A space is required after ','. (comma-spacing)
(#22) A space is required after ','. (comma-spacing)
(#22) A space is required after ','. (comma-spacing)
(#22) A space is required after ','. (comma-spacing)
(#22) A space is required after ','. (comma-spacing)
(#22) A space is required after ','. (comma-spacing)
(#22) A space is required after ','. (comma-spacing)
(#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) Return statement should not contain assignment. (no-return-assign)
(#22) Operator '=' must be spaced. (space-infix-ops)
(#22) Do not nest ternary expressions. (no-nested-ternary)
(#22) Operator '?' must be spaced. (space-infix-ops)
(#22) Operator '?' must be spaced. (space-infix-ops)
(#22) Operator '+' must be spaced. (space-infix-ops)
(#22) Operator '+' must be spaced. (space-infix-ops)
(#22) Operator '+' must be spaced. (space-infix-ops)
(#22) Operator '+' must be spaced. (space-infix-ops)
(#22) Operator ':' must be spaced. (space-infix-ops)
(#22) Operator '+' must be spaced. (space-infix-ops)
(#22) Operator '+' must be spaced. (space-infix-ops)
(#22) Operator '+' must be spaced. (space-infix-ops)
(#22) Operator '+' must be spaced. (space-infix-ops)
(#22) Operator ':' must be spaced. (space-infix-ops)
(#22) Unexpected use of comma operator. (no-sequences)
(#22) A space is required after ','. (comma-spacing)
(#22) Operator '+' must be spaced. (space-infix-ops)
(#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) A space is required after ','. (comma-spacing)
(#22) A space is required after ','. (comma-spacing)
(#22) A space is required after ','. (comma-spacing)
(#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) Operator '=' must be spaced. (space-infix-ops)
(#22) Missing whitespace after semicolon. (semi-spacing)
(#22) Expected space(s) after "return". (keyword-spacing)
(#22) Operator '+' must be spaced. (space-infix-ops)
(#22) A space is required after ','. (comma-spacing)
(#22) A space is required after ','. (comma-spacing)
(#22) A space is required after ','. (comma-spacing)
(#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) Operator '==' must be spaced. (space-infix-ops)
(#22) Operator '?' must be spaced. (space-infix-ops)
(#22) Operator ':' must be spaced. (space-infix-ops)
(#22) A space is required after ','. (comma-spacing)
(#22) A space is required after ','. (comma-spacing)
(#22) A space is required after ','. (comma-spacing)
(#22) A space is required after ','. (comma-spacing)
(#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) Operator '?' must be spaced. (space-infix-ops)
(#22) Operator '&&' must be spaced. (space-infix-ops)
(#22) Operator '?' must be spaced. (space-infix-ops)
(#22) Operator ':' must be spaced. (space-infix-ops)
(#22) A space is required after ','. (comma-spacing)
(#22) Operator '||' must be spaced. (space-infix-ops)
(#22) Operator ':' must be spaced. (space-infix-ops)
(#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) 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) 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) A space is required after ','. (comma-spacing)
(#22) A space is required after ','. (comma-spacing)
(#22) A space is required after ','. (comma-spacing)
(#22) A space is required after ','. (comma-spacing)
(#22) A space is required after ','. (comma-spacing)
(#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) Operator '+' must be spaced. (space-infix-ops)
(#22) Operator '+' must be spaced. (space-infix-ops)
(#22) A space is required after ','. (comma-spacing)
(#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) A space is required after ','. (comma-spacing)
(#22) A space is required after ','. (comma-spacing)
(#22) A space is required after ','. (comma-spacing)
(#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) A space is required after ','. (comma-spacing)
(#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) A space is required after ','. (comma-spacing)
(#22) A space is required after ','. (comma-spacing)
(#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) A space is required after ','. (comma-spacing)
(#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)
plagiarism/compilatio/js/statistics_functions.js
(#7) 'compilatioPercentage' is defined but never used. (no-unused-vars)
(#18) 'compilatioUrlSorter' is defined but never used. (no-unused-vars)

CSS problems

(33 errors, 7 warnings)

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

plagiarism/compilatio/styles.css
(#61) Expected single space before "{" (block-opening-brace-space-before)
(#58) Expected "#6D6D6D" to be "#6d6d6d" (color-hex-case)
(#97) Expected "#F5F6F8" to be "#f5f6f8" (color-hex-case)
(#98) Expected "#EBEBF0" to be "#ebebf0" (color-hex-case)
(#117) Expected "#F5F6F8" to be "#f5f6f8" (color-hex-case)
(#135) Expected "#FEAF20" to be "#feaf20" (color-hex-case)
(#136) Expected "#FEAF20" to be "#feaf20" (color-hex-case)
(#348) Expected "#5A51E7" to be "#5a51e7" (color-hex-case)
(#342) Expected newline after ";" in a multi-line declaration block (declaration-block-semicolon-newline-after)
(#40) Unexpected !important (declaration-no-important)
(#59) Unexpected !important (declaration-no-important)
(#201) Unexpected !important (declaration-no-important)
(#206) Unexpected !important (declaration-no-important)
(#290) Unexpected !important (declaration-no-important)
(#348) Unexpected !important (declaration-no-important)
(#380) Unexpected !important (declaration-no-important)
(#202) Unexpected whitespace at end of line (no-eol-whitespace)
(#342) Unexpected whitespace at end of line (no-eol-whitespace)
(#8) Expected newline after "," (selector-list-comma-newline-after)
(#61) Expected newline after "," (selector-list-comma-newline-after)
(#61) Expected newline after "," (selector-list-comma-newline-after)
(#375) Expected newline after "," (selector-list-comma-newline-after)
(#2) Expected indentation of 4 spaces (indentation)
(#3) Expected indentation of 4 spaces (indentation)
(#4) Expected indentation of 4 spaces (indentation)
(#5) Expected indentation of 4 spaces (indentation)
(#40) Expected indentation of 4 spaces (indentation)
(#41) Expected indentation of 4 spaces (indentation)
(#80) Expected indentation of 4 spaces (indentation)
(#81) Expected indentation of 4 spaces (indentation)
(#114) Expected indentation of 4 spaces (indentation)
(#115) Expected indentation of 4 spaces (indentation)
(#116) Expected indentation of 4 spaces (indentation)
(#117) Expected indentation of 4 spaces (indentation)
(#118) Expected indentation of 4 spaces (indentation)
(#119) Expected indentation of 4 spaces (indentation)
(#120) Expected indentation of 4 spaces (indentation)
(#243) Expected indentation of 4 spaces (indentation)
(#244) Expected indentation of 4 spaces (indentation)
(#336) Expected indentation of 4 spaces (indentation)

PHPDocs style problems

(55 errors, 0 warnings)

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

plagiarism/compilatio/classes/compilatio/analyses.php
(#78) Phpdocs for function CompilatioAnalyses::check_analysis has incomplete parameters list
plagiarism/compilatio/classes/compilatio/api.php
(#35) Function CompilatioAPI::set_user_id is not documented
(#39) Function CompilatioAPI::__construct is not documented
(#54) Function CompilatioAPI::get_config is not documented
(#93) Function CompilatioAPI::get_apikey_user_id is not documented
(#112) Function CompilatioAPI::update_apikey is not documented
(#148) Function CompilatioAPI::get_or_create_user is not documented
(#310) Function CompilatioAPI::sanitize is not documented
(#324) Function CompilatioAPI::validate_email is not documented
(#736) Function CompilatioAPI::get_error_response is not documented
(#757) Function CompilatioAPI::build_curl_on_behalf_of_user is not documented
(#769) Function CompilatioAPI::build_curl is not documented
(#845) Function CompilatioAPI::build_post_fields is not documented
(#30) Variable CompilatioAPI::$apikey is not documented
(#31) Variable CompilatioAPI::$urlrest is not documented
(#32) Variable CompilatioAPI::$userid is not documented
(#33) Variable CompilatioAPI::$recipe is not documented
(#179) Phpdocs for function CompilatioAPI::set_user has incomplete parameters list
(#244) Phpdocs for function CompilatioAPI::update_user has incomplete parameters list
(#268) Phpdocs for function CompilatioAPI::set_document has incomplete parameters list
(#364) Phpdocs for function CompilatioAPI::set_folder has incomplete parameters list
(#406) Phpdocs for function CompilatioAPI::update_folder has incomplete parameters list
(#665) Phpdocs for function CompilatioAPI::get_marketing_notifications has incomplete parameters list
plagiarism/compilatio/classes/compilatio/csv.php
(#141) Function CompilatioCsv::generate_cm_csv_per_student is not documented
plagiarism/compilatio/classes/compilatio/documentFrame.php
(#174) Phpdocs for function CompilatioDocumentFrame::display_document_frame has incomplete parameters list
(#348) Phpdocs for function CompilatioDocumentFrame::get_score has incomplete parameters list
plagiarism/compilatio/classes/compilatio/event_handler.php
(#37) Function CompilatioEventHandler::deletion is not documented
(#97) Function CompilatioEventHandler::course_reset is not documented
(#129) Function CompilatioEventHandler::create_folder_if_not_set is not documented
(#167) Function CompilatioEventHandler::recycle_bin is not documented
(#223) Function CompilatioEventHandler::student_analyses is not documented
(#266) Function CompilatioEventHandler::submit_text is not documented
(#314) Function CompilatioEventHandler::submit_file is not documented
(#388) Function CompilatioEventHandler::submit_quiz is not documented
plagiarism/compilatio/classes/compilatio/icons.php
(#31) Function CompilatioIcons::ellipsis is not documented
(#37) Function CompilatioIcons::arrow_left is not documented
(#43) Function CompilatioIcons::statistics_per_student is not documented
(#49) Function CompilatioIcons::report is not documented
(#56) Function CompilatioIcons::library is not documented
(#63) Function CompilatioIcons::aiscore is not documented
(#74) Function CompilatioIcons::utlscore is not documented
(#85) Function CompilatioIcons::simscore is not documented
(#96) Function CompilatioIcons::ignoredaiscore is not documented
(#106) Function CompilatioIcons::ignoredutlscore is not documented
(#116) Function CompilatioIcons::ignoredsimscore is not documented
(#126) Function CompilatioIcons::get_hexadecimal_color is not documented
plagiarism/compilatio/classes/compilatio/send_file.php
(#36) Class CompilatioSendFile is not documented
(#170) Function CompilatioSendFile::retrieve_and_send_file is not documented
(#259) Function CompilatioSendFile::set_depositor_and_authors is not documented
(#38) Variable CompilatioSendFile::$depositor is not documented
(#39) Variable CompilatioSendFile::$authors is not documented
(#44) Phpdocs for function CompilatioSendFile::send_file has incomplete parameters list
plagiarism/compilatio/classes/compilatio/statistics.php
(#30) Class CompilatioStatistics is not documented
(#503) Function CompilatioStatistics::get_question_data is not documented
(#520) Function CompilatioStatistics::get_table_row is not documented

Update savepoints problems

(0 errors, 1 warnings)

This section shows problems detected with the handling of upgrade savepoints [More info]

plagiarism/compilatio/db/upgrade.php
Detected fewer 'if' blocks (6) than 'savepoint' calls (7). Repeated savepoints?

Third party library modification problems

(0 errors, 0 warnings)

This section shows problems detected with the modification of third party libraries [More info]


grunt changes

(1 errors, 1 warnings)

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

Problems running grunt
Task "eslint:amd" failed. Use --force to continue.

shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(0 errors, 0 warnings)

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


Gherkin .feature problems

(0 errors, 0 warnings)

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