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

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

blocks/use_stats/block_use_stats.php
(#271) This comment is 42% valid code; is this commented out code?
(#605) Line exceeds 132 characters; contains 134 characters
blocks/use_stats/lang/en/block_use_stats.php
(#72) Inline comments must start with a capital letter, digit or 3-dots sequence
blocks/use_stats/lang/fr/block_use_stats.php
(#35) Inline comments must start with a capital letter, digit or 3-dots sequence
(#100) Inline comments must start with a capital letter, digit or 3-dots sequence

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

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


PHPDocs style problems

(73 errors, 3 warnings)

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

blocks/use_stats/adminlib.php
(#17) No one-line description found in phpdocs for file
(#29) Class admin_setting_configdatetime does not have @copyright tag
(#19) Category blocks is not valid
blocks/use_stats/block_use_stats.php
(#38) Class block_use_stats is not documented
(#40) Function block_use_stats::init is not documented
(#236) Function block_use_stats::get_range is not documented
(#513) Function block_use_stats::prepare_coursetable is not documented
(#584) Function block_use_stats::_seeother is not documented
(#592) Function block_use_stats::get_required_javascript is not documented
(#21) Category blocks is not valid
blocks/use_stats/classes/event/block_use_stats_keepalive.php
(#43) Phpdocs for function block_use_stats_keepalive::create_from_cm has incomplete parameters list
(#118) Phpdocs for function block_use_stats_keepalive::set_legacy_logdata has incomplete parameters list
(#29) Class block_use_stats_keepalive does not have @copyright tag
(#29) Class block_use_stats_keepalive does not have @license tag
(#21) Category blocks is not valid
blocks/use_stats/classes/task/cache_ttl_task.php
(#17) No one-line description found in phpdocs for file
(#28) Class cache_ttl_task does not have @copyright tag
(#28) Class cache_ttl_task does not have @license tag
blocks/use_stats/classes/task/cleanup_task.php
(#17) No one-line description found in phpdocs for file
(#28) Class cleanup_task does not have @copyright tag
(#28) Class cleanup_task does not have @license tag
blocks/use_stats/classes/task/compile_task.php
(#17) No one-line description found in phpdocs for file
(#29) Class compile_task does not have @copyright tag
(#29) Class compile_task does not have @license tag
(#19) Category blocks is not valid
blocks/use_stats/db/access.php
(#17) No one-line description found in phpdocs for file
(#19) Category blocks is not valid
blocks/use_stats/db/caches.php
(#17) No one-line description found in phpdocs for file
(#19) Category blocks is not valid
blocks/use_stats/db/mnet.php
(#17) No one-line description found in phpdocs for file
(#19) Category blocks is not valid
blocks/use_stats/db/upgrade.php
(#17) No one-line description found in phpdocs for file
(#26) Phpdocs for function xmldb_block_use_stats_upgrade has incomplete parameters list
(#19) Category blocks is not valid
blocks/use_stats/detail.php
(#25) File-level phpdocs block is not found
(#19) Category blocks is not valid
blocks/use_stats/edit_form.php
(#36) Function block_use_stats_edit_form::specific_definition is not documented
(#20) Package blocks_use_stats is not valid
(#21) Category blocks is not valid
blocks/use_stats/lang/de/block_use_stats.php
(#18) File-level phpdocs block is not found
blocks/use_stats/lang/en/block_use_stats.php
(#18) File-level phpdocs block is not found
blocks/use_stats/lang/fr/block_use_stats.php
(#18) File-level phpdocs block is not found
blocks/use_stats/lib.php
(#87) Function block_use_stats_setup_theme_notification is not documented
(#17) No one-line description found in phpdocs for file
(#19) Category blocks is not valid
blocks/use_stats/locallib.php
(#30) Function debug_trace is not documented
(#37) Function use_stats_get_reader is not documented
(#1146) Function block_use_stats_is_login_event is not documented
(#1150) Function block_use_stats_is_logout_event is not documented
(#220) Phpdocs for function use_stats_aggregate_logs has incomplete parameters list
(#805) Phpdocs for function use_stats_site_aggregate_time has incomplete parameters list
(#1034) Phpdocs for function block_use_stats_format_time has incomplete parameters list
(#1056) Phpdocs for function block_use_stats_render_aggregate has incomplete parameters list
(#20) Package blocks_use_stats is not valid
(#21) Category blocks is not valid
blocks/use_stats/renderer.php
(#28) Class block_use_stats_renderer is not documented
(#30) Function block_use_stats_renderer::per_course is not documented
(#189) Function block_use_stats_renderer::calendar is not documented
(#91) There is no description in phpdocs for function change_params_form
(#208) There is no description in phpdocs for function button_pdf
(#95) Phpdocs for function block_use_stats_renderer::change_params_form has incomplete parameters list
(#209) Phpdocs for function block_use_stats_renderer::button_pdf has incomplete parameters list
(#92) Not recommended phpdocs tag @global used
(#92) Not recommended phpdocs tag @global used
(#92) Not recommended phpdocs tag @global used
(#21) Category blocks is not valid
blocks/use_stats/rpclib.php
(#311) Function use_stats_rpc_get_stats_wrapped is not documented
(#456) Function use_stats_rpc_get_scores_wrapped is not documented
(#115) Phpdocs for function use_stats_rpc_get_stats has incomplete parameters list
(#21) Category blocks is not valid
blocks/use_stats/settings.php
(#17) No one-line description found in phpdocs for file
(#19) Category blocks is not valid
blocks/use_stats/version.php
(#21) Category blocks is not valid
blocks/use_stats/xlib.php
(#29) Function block_use_stats_get_coursetable is not documented
(#17) No one-line description found in phpdocs for file
(#19) Category blocks is not valid

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]


Mustache template problems

(0 errors, 0 warnings)

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