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

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

mod/quiz/report/gradingstudents/classes/ou_confirmation_code.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/quiz/report/gradingstudents/classes/privacy/provider.php
(#24) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/quiz/report/gradingstudents/db/install.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/quiz/report/gradingstudents/db/upgrade.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/quiz/report/gradingstudents/report.php
(#17) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/quiz/report/gradingstudents/tests/gradingstudentsreport_test.php
(#38) Possible useless method overriding detected
(#50) PHPUnit testcase name "quiz_gradingstudents_report_testcase" does not match file name "gradingstudentsreport_test"
(#50) PHPUnit class "quiz_gradingstudents_report_testcase" does not have any namespace. It is recommended to add it to the "quiz_gradingstudents" namespace, using more levels if needed, in order to match the code being tested
(#51) Test method test_normalise_state() is missing any coverage information, own or at class level
mod/quiz/report/gradingstudents/tests/ou_confirmation_code_test.php
(#24) PHPUnit testcase name "quiz_gradingstudents_ou_confirmation_code_test" does not match file name "ou_confirmation_code_test"
(#24) PHPUnit class "quiz_gradingstudents_ou_confirmation_code_test" does not have any namespace. It is recommended to add it to the "quiz_gradingstudents" namespace, using more levels if needed, in order to match the code being tested
(#46) Test method test_quiz_can_have_confirmation_code() is missing any coverage information, own or at class level
(#51) Test method test_calculate_hash() is missing any coverage information, own or at class level
(#60) Test method test_calculate_confirmation_code() is missing any coverage information, own or at class level
(#96) Test method test_get_confirmation_code() is missing any coverage information, own or at class level
(#108) Test method test_with_variant_groups() is missing any coverage information, own or at class level

Javascript coding style problems

(0 errors, 0 warnings)

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


CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(15 errors, 0 warnings)

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

mod/quiz/report/gradingstudents/report.php
(#41) Function quiz_gradingstudents_report::display is not documented
(#32) Variable quiz_gradingstudents_report::$viewoptions is not documented
(#33) Variable quiz_gradingstudents_report::$questions is not documented
(#34) Variable quiz_gradingstudents_report::$course is not documented
(#35) Variable quiz_gradingstudents_report::$cm is not documented
(#36) Variable quiz_gradingstudents_report::$quiz is not documented
(#37) Variable quiz_gradingstudents_report::$context is not documented
(#38) Variable quiz_gradingstudents_report::$shownames is not documented
(#39) Variable quiz_gradingstudents_report::$showidentityfields is not documented
(#408) Phpdocs for function quiz_gradingstudents_report::get_quiz_attempts has incomplete parameters list
mod/quiz/report/gradingstudents/tests/gradingstudentsreport_test.php
(#38) Function quiz_gradingstudents_testable_report::normalise_state is not documented
(#18) Inline phpdocs tag {@link quiz_gradingstudents_report} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#45) Inline phpdocs tag {@link quiz_gradingstudents_report} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
mod/quiz/report/gradingstudents/tests/ou_confirmation_code_test.php
(#40) There is no description in phpdocs for function test_quiz_can_have_confirmation_code
(#18) Inline phpdocs tag {@link quiz_grading_students_exam_confirmation_code} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}

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


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]