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

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

question/type/multichoiceset/backup/moodle1/lib.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#97) Logical operator "and" is prohibited; use "&&" instead
question/type/multichoiceset/backup/moodle2/backup_qtype_multichoiceset_plugin.class.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
question/type/multichoiceset/backup/moodle2/restore_qtype_multichoiceset_plugin.class.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
question/type/multichoiceset/classes/output/mobile.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
question/type/multichoiceset/classes/privacy/provider.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
question/type/multichoiceset/combinable/renderer.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
question/type/multichoiceset/db/upgrade.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
question/type/multichoiceset/db/upgradelib.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
question/type/multichoiceset/edit_multichoiceset_form.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
question/type/multichoiceset/lib.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
question/type/multichoiceset/questiontype.php
(#338) Possible useless method overriding detected
question/type/multichoiceset/tests/helper.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
question/type/multichoiceset/tests/question_test.php
(#39) PHPUnit testcase name "qtype_multichoiceset_question_test" does not match file name "question_test"
(#39) PHPUnit class "qtype_multichoiceset_question_test" does not have any namespace. It is recommended to add it to the "qtype_multichoiceset" namespace, using more levels if needed, in order to match the code being tested
(#50) Test method test_get_expected_data() is missing any coverage information, own or at class level
(#58) Test method test_is_complete_response() is missing any coverage information, own or at class level
(#70) Test method test_is_gradable_response() is missing any coverage information, own or at class level
(#82) Test method test_grading() is missing any coverage information, own or at class level
(#98) Test method test_get_correct_response() is missing any coverage information, own or at class level
(#107) Test method test_get_question_summary() is missing any coverage information, own or at class level
(#119) Test method test_summarise_response() is missing any coverage information, own or at class level
(#130) Test method test_classify_response() is missing any coverage information, own or at class level
question/type/multichoiceset/tests/questiontype_test.php
(#38) PHPUnit testcase name "qtype_multichoiceset_test" does not match file name "questiontype_test"
(#38) PHPUnit class "qtype_multichoiceset_test" does not have any namespace. It is recommended to add it to the "qtype_multichoiceset" namespace, using more levels if needed, in order to match the code being tested
(#50) Test method test_name() is missing any coverage information, own or at class level
(#71) Test method test_can_analyse_responses() is missing any coverage information, own or at class level
(#75) Test method test_get_random_guess_score() is missing any coverage information, own or at class level
(#80) Test method test_get_possible_responses() is missing any coverage information, own or at class level
question/type/multichoiceset/tests/walkthrough_test.php
(#43) PHPUnit testcase name "qtype_multichoiceset_walkthrough_test" does not match file name "walkthrough_test"
(#43) PHPUnit class "qtype_multichoiceset_walkthrough_test" does not have any namespace. It is recommended to add it to the "qtype_multichoiceset" namespace, using more levels if needed, in order to match the code being tested
(#45) Test method test_deferredfeedback_feedback_multichoiceset() is missing any coverage information, own or at class level
(#67) Test method test_deferredfeedback_resume_multichoiceset_right_right() is missing any coverage information, own or at class level

Javascript coding style problems

(2 errors, 1 warnings)

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

question/type/multichoiceset/mobile/multichoiceset.js
(#43) 'i' is defined but never used. (no-unused-vars)
(#60) Do not nest ternary expressions. (no-nested-ternary)
(#72) Expected an assignment or function call and instead saw an expression. (no-unused-expressions)

CSS problems

(1 errors, 2 warnings)

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

question/type/multichoiceset/styles.css
(#9) Unexpected !important (declaration-no-important)
(#9) Unexpected unit (length-zero-no-unit)
(#81) Unexpected unit (length-zero-no-unit)

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

(1 errors, 1 warnings)

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

Problems running grunt
Task "stylelint:css" 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]