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

(4 errors, 63 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
(#51) Inline comments must start with a capital letter, digit or 3-dots sequence
(#51) Inline comments must end in full-stops, exclamation marks, or question marks
(#60) Inline comments must start with a capital letter, digit or 3-dots sequence
(#60) Inline comments must end in full-stops, exclamation marks, or question marks
(#88) AS keyword must be lowercase; expected "as" but found "AS"
(#90) Line exceeds 132 characters; contains 138 characters
(#93) Line exceeds 132 characters; contains 161 characters
(#96) Line exceeds 132 characters; contains 141 characters
(#147) Commas (,) must be followed by white space.
(#147) Line exceeds 132 characters; contains 162 characters
(#166) Inline comments must end in full-stops, exclamation marks, or question marks
(#196) Line exceeds 132 characters; contains 134 characters
(#218) Inline comments must end in full-stops, exclamation marks, or question marks
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
(#44) Line exceeds 132 characters; contains 179 characters
blocks/grade_me/db/upgrade.php
(#46) Expected MOODLE_INTERNAL check or config.php inclusion
(#64) Inline comments must start with a capital letter, digit or 3-dots sequence
(#64) Inline comments must end in full-stops, exclamation marks, or question marks
blocks/grade_me/lib.php
(#27) Expected MOODLE_INTERNAL check or config.php inclusion
(#42) Line exceeds 132 characters; contains 138 characters
(#107) Inline comments must start with a capital letter, digit or 3-dots sequence
(#107) Inline comments must end in full-stops, exclamation marks, or question marks
(#109) Inline comments must end in full-stops, exclamation marks, or question marks
(#111) Inline comments must end in full-stops, exclamation marks, or question marks
(#155) Inline comments must start with a capital letter, digit or 3-dots sequence
(#155) Inline comments must end in full-stops, exclamation marks, or question marks
(#166) Inline comments must end in full-stops, exclamation marks, or question marks
(#178) Line exceeds 132 characters; contains 157 characters
(#205) Inline comments must start with a capital letter, digit or 3-dots sequence
(#205) Inline comments must end in full-stops, exclamation marks, or question marks
(#207) Inline comments must start with a capital letter, digit or 3-dots sequence
(#207) Inline comments must end in full-stops, exclamation marks, or question marks
(#210) Inline comments must start with a capital letter, digit or 3-dots sequence
(#212) Inline comments must end in full-stops, exclamation marks, or question marks
(#221) Inline comments must start with a capital letter, digit or 3-dots sequence
(#221) Inline comments must end in full-stops, exclamation marks, or question marks
blocks/grade_me/plugins/assign/assign_plugin.php
(#28) Expected MOODLE_INTERNAL check or config.php inclusion
(#55) Line exceeds 132 characters; contains 148 characters
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/settings.php
(#21) Line exceeds 132 characters; contains 143 characters
blocks/grade_me/tests/grade_me_test.php
(#26) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#53) Inline comments must end in full-stops, exclamation marks, or question marks
(#79) Inline comments must end in full-stops, exclamation marks, or question marks
(#149) Inline comments must end in full-stops, exclamation marks, or question marks
(#159) Inline comments must end in full-stops, exclamation marks, or question marks
(#175) Inline comments must end in full-stops, exclamation marks, or question marks
(#180) Inline comments must end in full-stops, exclamation marks, or question marks
(#200) Inline comments must end in full-stops, exclamation marks, or question marks
(#212) Inline comments must end in full-stops, exclamation marks, or question marks
(#224) Inline comments must end in full-stops, exclamation marks, or question marks
(#250) Inline comments must end in full-stops, exclamation marks, or question marks
(#261) Inline comments must end in full-stops, exclamation marks, or question marks
(#482) Inline comments must end in full-stops, exclamation marks, or question marks
(#500) Line exceeds 132 characters; contains 145 characters
(#626) Inline comments must end in full-stops, exclamation marks, or question marks
(#680) Inline comments must end in full-stops, exclamation marks, or question marks
(#757) Inline comments must end in full-stops, exclamation marks, or question marks
(#770) Inline comments must end in full-stops, exclamation marks, or question marks
(#823) Inline comments must end in full-stops, exclamation marks, or question marks
(#833) Inline comments must end in full-stops, exclamation marks, or question marks
(#838) Inline comments must end in full-stops, exclamation marks, or question marks

Javascript coding style problems

(0 errors, 0 warnings)

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


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

(45 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/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
(#17) No one-line description found in phpdocs for file
(#81) 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
(#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
(#660) Phpdocs for function block_grade_me_testcase::standard_query_tests has incomplete parameters list
(#187) Invalid phpdocs tag @TODO used
(#278) Invalid phpdocs tag @TODO used
(#455) Invalid phpdocs tag @depends used
(#585) Invalid phpdocs tag @depends used
(#749) Invalid phpdocs tag @depends used
(#803) Invalid phpdocs tag @TODO used
(#808) Invalid phpdocs tag @depends used
(#878) 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 (3) than 'savepoint' calls (2)
version 2014111008 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]


Mustache template problems

(0 errors, 0 warnings)

This section shows problems detected in mustache templates [More info]