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

(3 errors, 11 warnings)

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

blocks/grade_me/block_grade_me.php
(#25) Expected MOODLE_INTERNAL check or config.php inclusion
blocks/grade_me/classes/quiz_observers.php
(#28) Expected MOODLE_INTERNAL check or config.php inclusion
blocks/grade_me/classes/quiz_util.php
(#28) Expected MOODLE_INTERNAL check or config.php inclusion
blocks/grade_me/db/upgrade.php
(#46) Expected MOODLE_INTERNAL check or config.php inclusion
blocks/grade_me/lib.php
(#27) Expected MOODLE_INTERNAL check or config.php inclusion
(#279) Expected 1 space after "="; 0 found
blocks/grade_me/plugins/assign/assign_plugin.php
(#28) Expected MOODLE_INTERNAL check or config.php inclusion
blocks/grade_me/plugins/assignment/assignment_plugin.php
(#28) Expected MOODLE_INTERNAL check or config.php inclusion
blocks/grade_me/plugins/data/data_plugin.php
(#17) Expected MOODLE_INTERNAL check or config.php inclusion
blocks/grade_me/plugins/forum/forum_plugin.php
(#17) Expected MOODLE_INTERNAL check or config.php inclusion
blocks/grade_me/plugins/glossary/glossary_plugin.php
(#17) Expected MOODLE_INTERNAL check or config.php inclusion
blocks/grade_me/plugins/quiz/quiz_plugin.php
(#17) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
blocks/grade_me/tests/behat/behat_block_grade_me.php
(#49) Line exceeds 132 characters; contains 133 characters
blocks/grade_me/tests/grade_me_test.php
(#26) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.

Javascript coding style problems

(0 errors, 4 warnings)

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

blocks/grade_me/javascript/grademe.js
(#1) Expected space or tab after '/*' in comment. (spaced-comment)
(#2) Expected space or tab after '/*' in comment. (spaced-comment)
(#8) Missing JSDoc comment. (require-jsdoc)
(#9) Expected space(s) after "if". (keyword-spacing)

CSS problems

(0 errors, 2 warnings)

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

blocks/grade_me/styles.css
(#2) Use of !important
(#46) Use of !important

PHPDocs style problems

(56 errors, 0 warnings)

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

blocks/grade_me/block_grade_me.php
(#25) Class block_grade_me is not documented
(#27) Function block_grade_me::init is not documented
blocks/grade_me/classes/quiz_observers.php
(#28) Class quiz_observers is not documented
blocks/grade_me/classes/quiz_util.php
(#28) Class quiz_util is not documented
blocks/grade_me/classes/task/cache_grade_data.php
(#27) Class cache_grade_data is not documented
(#29) Function cache_grade_data::get_name is not documented
(#33) Function cache_grade_data::execute is not documented
(#17) No one-line description found in phpdocs for file
blocks/grade_me/classes/task/reset_block.php
(#27) Class reset_block is not documented
(#29) Function reset_block::get_name is not documented
(#33) Function reset_block::execute is not documented
(#17) No one-line description found in phpdocs for file
blocks/grade_me/db/tasks.php
(#17) No one-line description found in phpdocs for file
blocks/grade_me/db/upgrade.php
(#35) Package blocks is not valid
blocks/grade_me/lang/en/block_grade_me.php
(#17) File-level phpdocs block is not found
blocks/grade_me/lang/es/block_grade_me.php
(#17) File-level phpdocs block is not found
blocks/grade_me/lib.php
(#228) Function block_grade_me_cache_reset is not documented
(#237) Function block_grade_me_cache_grade_data is not documented
(#17) No one-line description found in phpdocs for file
(#82) Phpdocs for function block_grade_me_array has incomplete parameters list
(#17) File-level phpdocs block does not have @license tag
blocks/grade_me/plugins/assign/assign_plugin.php
(#25) There is no description in phpdocs for function block_grade_me_required_capability_assign
blocks/grade_me/plugins/assignment/assignment_plugin.php
(#25) There is no description in phpdocs for function block_grade_me_required_capability_assignment
blocks/grade_me/plugins/data/data_plugin.php
(#17) File-level phpdocs block is not found
(#17) Function block_grade_me_required_capability_data is not documented
(#17) Package is not specified for function block_grade_me_required_capability_data. It is also not specified in file-level phpdocs
(#26) Package is not specified for function block_grade_me_query_data. It is also not specified in file-level phpdocs
blocks/grade_me/plugins/forum/forum_plugin.php
(#17) File-level phpdocs block is not found
(#17) Function block_grade_me_required_capability_forum is not documented
(#17) Package is not specified for function block_grade_me_required_capability_forum. It is also not specified in file-level phpdocs
(#26) Package is not specified for function block_grade_me_query_forum. It is also not specified in file-level phpdocs
blocks/grade_me/plugins/glossary/glossary_plugin.php
(#17) File-level phpdocs block is not found
(#17) Function block_grade_me_required_capability_glossary is not documented
(#17) Package is not specified for function block_grade_me_required_capability_glossary. It is also not specified in file-level phpdocs
(#26) Package is not specified for function block_grade_me_query_glossary. It is also not specified in file-level phpdocs
blocks/grade_me/plugins/quiz/quiz_plugin.php
(#17) File-level phpdocs block is not found
(#22) Function block_grade_me_required_capability_quiz is not documented
(#22) Package is not specified for function block_grade_me_required_capability_quiz. It is also not specified in file-level phpdocs
(#31) Package is not specified for function block_grade_me_query_quiz. It is also not specified in file-level phpdocs
blocks/grade_me/settings.php
(#17) File-level phpdocs block is not found
blocks/grade_me/tests/behat/behat_block_grade_me.php
(#17) No one-line description found in phpdocs for file
(#30) There is no description in phpdocs for function the_grade_me_block_is_present_on_all_pages
(#51) Phpdocs for function behat_block_grade_me::i_set_the_hidden_field_with_xpath_to has incomplete parameters list
(#25) Class behat_block_grade_me does not have @copyright tag
(#25) Class behat_block_grade_me does not have @license tag
blocks/grade_me/tests/grade_me_test.php
(#39) Class block_grade_me_testcase is not documented
(#44) Phpdocs for function block_grade_me_testcase::create_grade_me_data has incomplete parameters list
(#587) Phpdocs for function block_grade_me_testcase::standard_query_tests has incomplete parameters list
(#186) Invalid phpdocs tag @TODO used
(#277) Invalid phpdocs tag @TODO used
(#454) Invalid phpdocs tag @depends used
(#676) Invalid phpdocs tag @depends used
(#730) Invalid phpdocs tag @TODO used
(#735) Invalid phpdocs tag @depends used
(#805) Invalid phpdocs tag @depends used
(#21) Category phpunit is not valid

Update savepoints problems

(2 errors, 0 warnings)

This section shows problems detected with the handling of upgrade savepoints [More info]

blocks/grade_me/db/upgrade.php
Detected more 'if' blocks (4) than 'savepoint' calls (3)
version 2015102402 is missing corresponding savepoint call

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]