Prechecker results: error


PHP lint problems

(0 errors, 0 warnings)

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


PHP coding style problems

(0 errors, 1 warnings)

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

local/yumymedia/lib.php
(#25) Expected login check (require_login, require_course_login, require_admin, admin_externalpage_setup) following config inclusion. None found.

Javascript coding style problems

(1 errors, 39 warnings)

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

local/yumymedia/amd/src/modulerecorder.js
(#54) Do not nest ternary expressions. (no-nested-ternary)
(#64) Do not nest ternary expressions. (no-nested-ternary)
(#359) Unexpected alert. (no-alert)
(#392) Function 'removeVideo' has a complexity of 30. Maximum allowed is 20. (complexity)
(#622) Function 'checkFileType' has a complexity of 25. Maximum allowed is 20. (complexity)
(#654) Function 'getFileExtension' has a complexity of 29. Maximum allowed is 20. (complexity)
(#949) Unexpected alert. (no-alert)
(#959) Unexpected alert. (no-alert)
(#969) Unexpected alert. (no-alert)
(#992) Unexpected alert. (no-alert)
(#1217) Function has a complexity of 24. Maximum allowed is 20. (complexity)
local/yumymedia/amd/src/moduleuploader.js
(#157) Function 'checkFileType' has a complexity of 25. Maximum allowed is 20. (complexity)
(#218) Unexpected alert. (no-alert)
(#316) Unexpected alert. (no-alert)
(#326) Unexpected alert. (no-alert)
(#336) Unexpected alert. (no-alert)
(#359) Unexpected alert. (no-alert)
(#795) Function has a complexity of 24. Maximum allowed is 20. (complexity)
local/yumymedia/amd/src/simpleuploader.js
(#114) Function 'checkFileType' has a complexity of 25. Maximum allowed is 20. (complexity)
(#346) Unexpected alert. (no-alert)
(#356) Unexpected alert. (no-alert)
(#366) Unexpected alert. (no-alert)
(#389) Unexpected alert. (no-alert)
(#631) Function has a complexity of 24. Maximum allowed is 20. (complexity)
(#990) Unexpected alert. (no-alert)
local/yumymedia/amd/src/webcamuploader.js
(#53) Do not nest ternary expressions. (no-nested-ternary)
(#63) Do not nest ternary expressions. (no-nested-ternary)
(#359) Unexpected alert. (no-alert)
(#392) Function 'removeVideo' has a complexity of 30. Maximum allowed is 20. (complexity)
(#616) Function 'checkFileType' has a complexity of 25. Maximum allowed is 20. (complexity)
(#648) Function 'getFileExtension' has a complexity of 29. Maximum allowed is 20. (complexity)
(#914) Unexpected alert. (no-alert)
(#924) Unexpected alert. (no-alert)
(#934) Unexpected alert. (no-alert)
(#958) Unexpected alert. (no-alert)
(#1183) Function has a complexity of 24. Maximum allowed is 20. (complexity)
local/yumymedia/js/yumymedia.js
(#23) Identifier 'local_yumymedia' is not in camel case. (camelcase)
(#117) Identifier 'check_conversion_status' is not in camel case. (camelcase)
(#144) Unnecessary '.call()'. (no-useless-call)
(#144) The Function constructor is eval. (no-new-func)

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(0 errors, 0 warnings)

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


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

(7 errors, 0 warnings)

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

local/yumymedia/amd/build/accessrestriction.min.js.map
Uncommitted change detected.
local/yumymedia/amd/build/loadrecorder.min.js.map
Uncommitted change detected.
local/yumymedia/amd/build/loaduploader.min.js.map
Uncommitted change detected.
local/yumymedia/amd/build/modulerecorder.min.js.map
Uncommitted change detected.
local/yumymedia/amd/build/moduleuploader.min.js.map
Uncommitted change detected.
local/yumymedia/amd/build/simpleuploader.min.js.map
Uncommitted change detected.
local/yumymedia/amd/build/webcamuploader.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, 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]