Prechecker results: warning


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, 2 warnings)

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

local/yumymedia/classes/privacy/provider.php
(#47) Method name "_get_reason" should not be prefixed with an underscore to indicate visibility
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

(0 errors, 39 warnings)

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

local/yumymedia/amd/src/modulerecorder.js
(#55) Do not nest ternary expressions. (no-nested-ternary)
(#65) Do not nest ternary expressions. (no-nested-ternary)
(#360) Unexpected alert. (no-alert)
(#393) Function 'removeVideo' has a complexity of 30. Maximum allowed is 20. (complexity)
(#623) Function 'checkFileType' has a complexity of 25. Maximum allowed is 20. (complexity)
(#655) Function 'getFileExtension' has a complexity of 29. Maximum allowed is 20. (complexity)
(#950) Unexpected alert. (no-alert)
(#960) Unexpected alert. (no-alert)
(#970) Unexpected alert. (no-alert)
(#993) Unexpected alert. (no-alert)
(#1218) Function has a complexity of 24. Maximum allowed is 20. (complexity)
local/yumymedia/amd/src/moduleuploader.js
(#158) Function 'checkFileType' has a complexity of 25. Maximum allowed is 20. (complexity)
(#219) Unexpected alert. (no-alert)
(#317) Unexpected alert. (no-alert)
(#327) Unexpected alert. (no-alert)
(#337) Unexpected alert. (no-alert)
(#360) Unexpected alert. (no-alert)
(#796) Function has a complexity of 24. Maximum allowed is 20. (complexity)
local/yumymedia/amd/src/simpleuploader.js
(#115) Function 'checkFileType' has a complexity of 25. Maximum allowed is 20. (complexity)
(#347) Unexpected alert. (no-alert)
(#357) Unexpected alert. (no-alert)
(#367) Unexpected alert. (no-alert)
(#390) Unexpected alert. (no-alert)
(#632) Function has a complexity of 24. Maximum allowed is 20. (complexity)
(#991) Unexpected alert. (no-alert)
local/yumymedia/amd/src/webcamuploader.js
(#54) Do not nest ternary expressions. (no-nested-ternary)
(#64) Do not nest ternary expressions. (no-nested-ternary)
(#360) Unexpected alert. (no-alert)
(#393) Function 'removeVideo' has a complexity of 30. Maximum allowed is 20. (complexity)
(#617) Function 'checkFileType' has a complexity of 25. Maximum allowed is 20. (complexity)
(#649) Function 'getFileExtension' has a complexity of 29. Maximum allowed is 20. (complexity)
(#915) Unexpected alert. (no-alert)
(#925) Unexpected alert. (no-alert)
(#935) Unexpected alert. (no-alert)
(#959) Unexpected alert. (no-alert)
(#1184) Function has a complexity of 24. Maximum allowed is 20. (complexity)
local/yumymedia/js/yumymedia.js
(#24) Identifier 'local_yumymedia' is not in camel case. (camelcase)
(#118) Identifier 'check_conversion_status' is not in camel case. (camelcase)
(#145) unnecessary '.call()'. (no-useless-call)

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

(0 errors, 0 warnings)

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


shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(0 errors, 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]