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

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

mod/quiz/accessrule/proctoring/tests/practice_test.php
(#38) Test method test_empty() is missing any coverage information, own or at class level
(#48) Test method test_push() is missing any coverage information, own or at class level
(#59) Test method test_pop() is missing any coverage information, own or at class level
mod/quiz/accessrule/proctoring/tests/rule_test.php
(#54) Test method test_proctoring_access_rule() is missing any coverage information, own or at class level
(#75) Test method test_validate_preflight_check() is missing any coverage information, own or at class level
(#94) Test method test_log_aws_api_call() is missing any coverage information, own or at class level
(#110) Test method test_proctoring_settings() is missing any coverage information, own or at class level
(#135) This comment is 61% valid code; is this commented out code?
(#152) Test method test_make_modal_content() is missing any coverage information, own or at class level
(#156) This comment is 63% valid code; is this commented out code?
(#172) Test method test_get_courseid_cmid_from_preflight_form() is missing any coverage information, own or at class level
(#173) This comment is 58% valid code; is this commented out code?
(#191) Test method test_offlineattempts_access_rule() is missing any coverage information, own or at class level
(#206) This comment is 59% valid code; is this commented out code?

Javascript coding style problems

(17 errors, 26 warnings)

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

mod/quiz/accessrule/proctoring/amd/src/additionalSettings.js
(#4) Unexpected space before function parentheses. (space-before-function-paren)
(#5) Unexpected space before function parentheses. (space-before-function-paren)
(#19) Unexpected space before function parentheses. (space-before-function-paren)
(#20) Unexpected console statement. (no-console)
(#25) Trailing spaces not allowed. (no-trailing-spaces)
(#26) Operator '=' must be spaced. (space-infix-ops)
(#27) Expected space(s) after "if". (keyword-spacing)
(#27) Missing space before opening brace. (space-before-blocks)
(#31) Trailing spaces not allowed. (no-trailing-spaces)
(#41) Missing JSDoc comment. (jsdoc/require-jsdoc)
(#41) Missing JSDoc comment. (require-jsdoc)
(#45) Operator '=' must be spaced. (space-infix-ops)
(#46) Expected space(s) after "if". (keyword-spacing)
(#46) Missing space before opening brace. (space-before-blocks)
(#50) Trailing spaces not allowed. (no-trailing-spaces)
mod/quiz/accessrule/proctoring/amd/src/deletebtnjs.js
(#23) Unexpected space before function parentheses. (space-before-function-paren)
(#24) Unexpected confirm. (no-alert)
mod/quiz/accessrule/proctoring/amd/src/proctoring.js
(#57) Unexpected space before function parentheses. (space-before-function-paren)
(#65) Unexpected space before function parentheses. (space-before-function-paren)
(#89) Unexpected space before function parentheses. (space-before-function-paren)
(#107) Each then() should return a value or throw (promise/always-return)
(#107) Unexpected space before function parentheses. (space-before-function-paren)
(#112) Unexpected space before function parentheses. (space-before-function-paren)
(#117) Unexpected space before function parentheses. (space-before-function-paren)
(#134) Unexpected space before function parentheses. (space-before-function-paren)
(#143) Trailing spaces not allowed. (no-trailing-spaces)
(#164) Each then() should return a value or throw (promise/always-return)
(#164) Unexpected space before function parentheses. (space-before-function-paren)
(#169) Unexpected space before function parentheses. (space-before-function-paren)
(#177) Unexpected space before function parentheses. (space-before-function-paren)
(#179) 'width' is not defined. (no-undef)
(#183) 'width' is not defined. (no-undef)
(#185) 'width' is not defined. (no-undef)
(#187) 'width' is not defined. (no-undef)
(#194) Unexpected space before function parentheses. (space-before-function-paren)
(#225) 'width' is not defined. (no-undef)
(#226) 'width' is not defined. (no-undef)
(#228) 'width' is not defined. (no-undef)
(#246) Unexpected space before function parentheses. (space-before-function-paren)
(#261) Trailing spaces not allowed. (no-trailing-spaces)
mod/quiz/accessrule/proctoring/amd/src/startAttempt.js
(#5) Unexpected console statement. (no-console)
(#6) 'quizwindow' is defined but never used. (no-unused-vars)
(#7) Trailing spaces not allowed. (no-trailing-spaces)

CSS problems

(2 errors, 1 warnings)

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

mod/quiz/accessrule/proctoring/styles.css
(#238) Expected "#3E67EC" to be "#3e67ec" (color-hex-case)
(#246) Expected a trailing semicolon (declaration-block-trailing-semicolon)
(#223) Unexpected whitespace at end of line (no-eol-whitespace)

PHPDocs style problems

(94 errors, 0 warnings)

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

mod/quiz/accessrule/proctoring/additional_settings.php
(#43) Constant ADDITIONAL_SETTINGS is not documented
mod/quiz/accessrule/proctoring/analyzeimage.php
(#17) File-level phpdocs block is not found
mod/quiz/accessrule/proctoring/analyzesingleimage.php
(#17) File-level phpdocs block is not found
mod/quiz/accessrule/proctoring/classes/AdditionalSettingsHelper.php
(#25) Class AdditionalSettingsHelper is not documented
(#26) Constant AdditionalSettingsHelper::Q_NAME is not documented
(#27) Constant AdditionalSettingsHelper::AND1 is not documented
(#115) Phpdocs for function AdditionalSettingsHelper::usernamequerypart has incomplete parameters list
(#150) Phpdocs for function AdditionalSettingsHelper::emailquerypart has incomplete parameters list
(#184) Phpdocs for function AdditionalSettingsHelper::coursenamequerypart has incomplete parameters list
(#218) Phpdocs for function AdditionalSettingsHelper::quiznamequerypart has incomplete parameters list
mod/quiz/accessrule/proctoring/classes/external.php
(#399) There is no description in phpdocs for function geturl
(#162) Phpdocs for function quizaccess_proctoring_external::send_camshot has incomplete parameters list
(#249) Phpdocs for function quizaccess_proctoring_external::request_user_require_capability has incomplete parameters list
(#269) Phpdocs for function quizaccess_proctoring_external::add_timecode_to_image has incomplete parameters list
(#306) Phpdocs for function quizaccess_proctoring_external::validate_face has incomplete parameters list
(#400) Phpdocs for function quizaccess_proctoring_external::geturl has incomplete parameters list
mod/quiz/accessrule/proctoring/classes/helper.php
(#31) Package is not specified for class helper. It is also not specified in file-level phpdocs
(#62) Phpdocs for function helper::is_valid_proctoring_config has incomplete parameters list
mod/quiz/accessrule/proctoring/classes/proctoring_observer.php
(#27) Package is not specified for class proctoring_observer. It is also not specified in file-level phpdocs
(#63) Function proctoring_observer::update_event_data is not documented
(#34) Phpdocs for function proctoring_observer::handle_quiz_attempt_started has incomplete parameters list
(#43) Phpdocs for function proctoring_observer::handle_quiz_attempt_submitted has incomplete parameters list
mod/quiz/accessrule/proctoring/classes/task/ExecuteFacematchTask.php
(#34) Package is not specified for class ExecuteFacematchTask. It is also not specified in file-level phpdocs
(#27) Package local is not valid
(#34) Class ExecuteFacematchTask is not documented
mod/quiz/accessrule/proctoring/classes/task/InitiateFacematchTask.php
(#34) Package is not specified for class InitiateFacematchTask. It is also not specified in file-level phpdocs
(#27) Package local is not valid
(#34) Class InitiateFacematchTask is not documented
mod/quiz/accessrule/proctoring/db/tasks.php
(#19) Package local is not valid
mod/quiz/accessrule/proctoring/db/upgrade.php
(#37) Category upgrade Upgrade page for Quiz Access proctoring is not valid
(#88) Function xmldb_quizaccess_proctoring_upgrade is not documented
(#70) Inline phpdocs tag {@link xmldb_page_upgrade($oldversion)} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#71) Inline phpdocs tag {@link xmldb_auth_manual_upgrade($oldversion)} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#72) Inline phpdocs tag {@link xmldb_workshopform_accumulative_upgrade($oldversion)} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#76) Inline phpdocs tag {@link upgradelib.php} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
mod/quiz/accessrule/proctoring/lib.php
(#42) Package is not specified for function quizaccess_proctoring_pluginfile. It is also not specified in file-level phpdocs
(#74) Package is not specified for function update_match_result. It is also not specified in file-level phpdocs
(#89) Package is not specified for function check_similarity_aws. It is also not specified in file-level phpdocs
(#127) Package is not specified for function execute_fm_task. It is also not specified in file-level phpdocs
(#158) Package is not specified for function get_match_result. It is also not specified in file-level phpdocs
(#187) Package is not specified for function log_facematch_task. It is also not specified in file-level phpdocs
(#206) Package is not specified for function log_specific_quiz. It is also not specified in file-level phpdocs
(#272) Package is not specified for function aws_analyze_specific_quiz. It is also not specified in file-level phpdocs
(#333) Package is not specified for function bs_analyze_specific_quiz. It is also not specified in file-level phpdocs
(#384) Package is not specified for function get_proctoring_settings. It is also not specified in file-level phpdocs
(#406) Package is not specified for function aws_analyze_specific_image. It is also not specified in file-level phpdocs
(#442) Package is not specified for function bs_analyze_specific_image. It is also not specified in file-level phpdocs
(#478) Package is not specified for function extracted. It is also not specified in file-level phpdocs
(#502) Package is not specified for function log_aws_api_call. It is also not specified in file-level phpdocs
(#519) Package is not specified for function check_similarity_bs. It is also not specified in file-level phpdocs
(#563) Package is not specified for function log_fm_warning. It is also not specified in file-level phpdocs
(#24) File-level phpdocs block is not found
(#25) Constant F_1_JPG is not documented
(#26) Constant GENERIC_SELECT_STATMENT is not documented
(#29) Constant COMMON_SELECT is not documented
(#32) Constant TEMP is not documented
(#34) Constant TIMEMODIFIED_AS_TIMEMODIFIED is not documented
(#36) Constant FROM_QUIZACCESS_PROCTORING_LOGS_INNER_JOIN_USERS is not documented
(#38) Constant USER_PIX_PHP is not documented
(#158) There is no description in phpdocs for function get_match_result
(#478) There is no description in phpdocs for function extracted
(#159) Phpdocs for function get_match_result has incomplete parameters list
(#479) Phpdocs for function extracted has incomplete parameters list
(#505) Phpdocs for function log_aws_api_call has incomplete parameters list
mod/quiz/accessrule/proctoring/proctoringsummary.php
(#29) Constant TD_CLASS_NO_BORDER is not documented
(#30) Constant TD is not documented
mod/quiz/accessrule/proctoring/report.php
(#27) Constant MOD_QUIZ_ACCESSRULE_PROCTORING_REPORT_PHP is not documented
(#29) Constant DATA_LIGHTBOX is not documented
(#30) Constant ANCHORENDTAG is not documented
(#31) Constant ALT is not documented
(#32) Constant IMG_ID is not documented
(#33) Constant DATA_TITLE is not documented
(#34) Constant DATA_LIGHTBOX_PROC_IMAGES is not documented
(#35) Constant A_HREF is not documented
(#36) Constant PROCTORING_INNER_JOIN_USER_USERID is not documented
(#37) Constant MAX_E_TIMEMODIFIED_AS_TIMEMODIFIED is not documented
(#38) Constant MAX_REPORTID_STATUS_AS_STATUS is not documented
(#39) Constant SELECT_DISTINCT_LASTNAME is not documented
(#40) Constant HTML_STRING_URL_FROM is not documented
(#42) Constant FORM_ACTION is not documented
(#43) Constant HIDDEN_CMID is not documented
(#45) Constant DIV is not documented
mod/quiz/accessrule/proctoring/rule.php
(#29) Package is not specified for class quizaccess_proctoring. It is also not specified in file-level phpdocs
(#80) Function quizaccess_proctoring::make_modal_content is not documented
(#64) Phpdocs for function quizaccess_proctoring::get_courseid_cmid_from_preflight_form has incomplete parameters list
(#119) Phpdocs for function quizaccess_proctoring::add_preflight_check_form_fields has incomplete parameters list
(#218) Phpdocs for function quizaccess_proctoring::make has incomplete parameters list
mod/quiz/accessrule/proctoring/settings.php
(#25) File-level phpdocs block is not found
mod/quiz/accessrule/proctoring/tests/practice_test.php
(#29) Package is not specified for class practice_test. It is also not specified in file-level phpdocs
(#45) There is no description in phpdocs for function test_push
(#56) There is no description in phpdocs for function test_pop
(#45) Phpdocs for function practice_test::test_push has incomplete parameters list
(#56) Phpdocs for function practice_test::test_pop has incomplete parameters list
mod/quiz/accessrule/proctoring/tests/rule_test.php
(#35) Package is not specified for class rule_test. It is also not specified in file-level phpdocs

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]


Missing changes in external functions or backup support for new detected tables or columns

(0 errors, 3 warnings)

This section shows potential problems detected when there are new database structures added in a patch and it is detected that nothing has been changed related with external functions (to be used by WS) or backup and restore. It must be checked that everything is correct and nothing is being missed in those areas. [More info]

mod/quiz/accessrule/proctoring/db/upgrade.php
Database modifications (new tables or columns) detected in the patch without any change to some important areas.
No changes detected to external functions, that may affect apps and other web service integrations, please verify!
No changes detected to backup and restore, that may affect storage and transportability, please verify!

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]