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

(27 errors, 0 warnings)

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

mod/smartchoice/backup/moodle2/backup_smartchoice_settingslib.php
(#20) Whitespace found at end of line
mod/smartchoice/classes/external.php
(#37) Variable "responseData" must be all lower-case
(#38) Variable "responseData" must be all lower-case
(#100) Variable "responseData" must be all lower-case
(#120) Variable "responseData" must be all lower-case
mod/smartchoice/index.php
(#45) Variable "ttHref" must be all lower-case
(#46) Variable "ttHref" must be all lower-case
mod/smartchoice/lib.php
(#353) Variable "responseData" must be all lower-case
(#356) Variable "responseData" must be all lower-case
mod/smartchoice/mod_form.php
(#82) Variable "defaultValues" must be all lower-case
(#91) Variable "defaultValues" must be all lower-case
(#92) Variable "defaultValues" must be all lower-case
(#96) Variable "defaultValues" must be all lower-case
(#97) Variable "defaultValues" must be all lower-case
(#99) Variable "defaultValues" must be all lower-case
mod/smartchoice/report.php
(#65) Variable "responseData" must be all lower-case
(#79) Variable "responseData" must be all lower-case
(#80) Variable "responseData" must be all lower-case
(#130) Variable "responseData" must be all lower-case
(#131) Variable "responseData" must be all lower-case
(#181) Variable "responseData" must be all lower-case
(#182) Variable "responseData" must be all lower-case
(#202) Variable "responseData" must be all lower-case
(#207) Variable "responseData" must be all lower-case
mod/smartchoice/view.php
(#105) Variable "responseData" must be all lower-case
(#109) Variable "responseData" must be all lower-case
(#145) Variable "responseData" must be all lower-case

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 csslint [More info]


PHPDocs style problems

(99 errors, 0 warnings)

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

mod/smartchoice/backup/moodle2/backup_smartchoice_activity_task.class.php
(#18) File-level phpdocs block is not found
(#24) Class backup_smartchoice_activity_task is not documented
(#26) Function backup_smartchoice_activity_task::define_my_settings is not documented
(#30) Function backup_smartchoice_activity_task::define_my_steps is not documented
(#35) Function backup_smartchoice_activity_task::encode_content_links is not documented
(#24) Package is not specified for class backup_smartchoice_activity_task. It is also not specified in file-level phpdocs
mod/smartchoice/backup/moodle2/backup_smartchoice_settingslib.php
(#21) File-level phpdocs block is not found
mod/smartchoice/backup/moodle2/backup_smartchoice_stepslib.php
(#17) File-level phpdocs block is not found
(#20) Class backup_smartchoice_activity_structure_step is not documented
(#21) Function backup_smartchoice_activity_structure_step::define_structure is not documented
(#20) Package is not specified for class backup_smartchoice_activity_structure_step. It is also not specified in file-level phpdocs
mod/smartchoice/backup/moodle2/restore_smartchoice_activity_task.class.php
(#17) File-level phpdocs block is not found
(#22) Class restore_smartchoice_activity_task is not documented
(#24) Function restore_smartchoice_activity_task::define_my_settings is not documented
(#28) Function restore_smartchoice_activity_task::define_my_steps is not documented
(#34) Function restore_smartchoice_activity_task::define_decode_contents is not documented
(#41) Function restore_smartchoice_activity_task::define_decode_rules is not documented
(#22) Package is not specified for class restore_smartchoice_activity_task. It is also not specified in file-level phpdocs
mod/smartchoice/backup/moodle2/restore_smartchoice_stepslib.php
(#17) File-level phpdocs block is not found
(#24) Class restore_smartchoice_activity_structure_step is not documented
(#25) Function restore_smartchoice_activity_structure_step::define_structure is not documented
(#39) Function restore_smartchoice_activity_structure_step::process_smartchoice is not documented
(#54) Function restore_smartchoice_activity_structure_step::process_smartchoice_option is not documented
(#63) Function restore_smartchoice_activity_structure_step::process_smartchoice_answer is not documented
(#71) Function restore_smartchoice_activity_structure_step::after_execute is not documented
(#24) Package is not specified for class restore_smartchoice_activity_structure_step. It is also not specified in file-level phpdocs
mod/smartchoice/classes/external.php
(#17) File-level phpdocs block is not found
(#23) Class mod_smartchoice_external is not documented
(#25) Function mod_smartchoice_external::get_choice_results is not documented
(#65) Function mod_smartchoice_external::get_choice_results_parameters is not documented
(#69) Function mod_smartchoice_external::get_choice_results_returns is not documented
(#88) Function mod_smartchoice_external::get_choice_options is not documented
(#146) Function mod_smartchoice_external::get_choice_options_parameters is not documented
(#150) Function mod_smartchoice_external::get_choice_options_returns is not documented
(#168) Function mod_smartchoice_external::submit_choice_response is not documented
(#208) Function mod_smartchoice_external::submit_choice_response_parameters is not documented
(#220) Function mod_smartchoice_external::submit_choice_response_returns is not documented
(#231) Function mod_smartchoice_external::get_choices_by_courses is not documented
(#269) Function mod_smartchoice_external::get_choices_by_courses_parameters is not documented
(#279) Function mod_smartchoice_external::get_choices_by_courses_returns is not documented
(#23) Package is not specified for class mod_smartchoice_external. It is also not specified in file-level phpdocs
mod/smartchoice/db/access.php
(#19) File-level phpdocs block is not found
mod/smartchoice/db/services.php
(#19) File-level phpdocs block is not found
mod/smartchoice/db/upgrade.php
(#) File-level phpdocs block is not found
(#39) Function xmldb_smartchoice_upgrade is not documented
(#39) Package is not specified for function xmldb_smartchoice_upgrade. It is also not specified in file-level phpdocs
mod/smartchoice/index.php
(#17) File-level phpdocs block is not found
mod/smartchoice/lang/en/smartchoice.php
(#18) File-level phpdocs block is not found
mod/smartchoice/lib.php
(#17) File-level phpdocs block is not found
(#20) Function smartchoice_add_instance is not documented
(#46) Function smartchoice_update_instance is not documented
(#81) Function smartchoice_prepare_options is not documented
(#105) Function smartchoice_user_submit_response is not documented
(#140) Function prepare_smartchoice_show_results is not documented
(#171) Function get_smartchoiche_results_summary is not documented
(#199) Function smartchoice_delete_responses is not documented
(#207) Function smartchoice_delete_instance is not documented
(#232) Function smartchoice_get_option_text is not documented
(#243) Function smartchoice_get_choice is not documented
(#261) Function smartchoice_reset_course_form_definition is not documented
(#267) Function smartchoice_reset_course_form_defaults is not documented
(#272) Function smartchoice_reset_userdata is not documented
(#293) Function smartchoice_get_response_data is not documented
(#308) Function smartchoice_supports is not documented
(#348) Function smartchoice_extend_settings_navigation is not documented
(#378) Function smartchoice_get_all_responses is not documented
(#384) Function smartchoice_get_availability_status is not documented
(#20) Package is not specified for function smartchoice_add_instance. It is also not specified in file-level phpdocs
(#46) Package is not specified for function smartchoice_update_instance. It is also not specified in file-level phpdocs
(#81) Package is not specified for function smartchoice_prepare_options. It is also not specified in file-level phpdocs
(#105) Package is not specified for function smartchoice_user_submit_response. It is also not specified in file-level phpdocs
(#140) Package is not specified for function prepare_smartchoice_show_results. It is also not specified in file-level phpdocs
(#171) Package is not specified for function get_smartchoiche_results_summary. It is also not specified in file-level phpdocs
(#199) Package is not specified for function smartchoice_delete_responses. It is also not specified in file-level phpdocs
(#207) Package is not specified for function smartchoice_delete_instance. It is also not specified in file-level phpdocs
(#232) Package is not specified for function smartchoice_get_option_text. It is also not specified in file-level phpdocs
(#243) Package is not specified for function smartchoice_get_choice. It is also not specified in file-level phpdocs
(#261) Package is not specified for function smartchoice_reset_course_form_definition. It is also not specified in file-level phpdocs
(#267) Package is not specified for function smartchoice_reset_course_form_defaults. It is also not specified in file-level phpdocs
(#272) Package is not specified for function smartchoice_reset_userdata. It is also not specified in file-level phpdocs
(#293) Package is not specified for function smartchoice_get_response_data. It is also not specified in file-level phpdocs
(#308) Package is not specified for function smartchoice_supports. It is also not specified in file-level phpdocs
(#348) Package is not specified for function smartchoice_extend_settings_navigation. It is also not specified in file-level phpdocs
(#378) Package is not specified for function smartchoice_get_all_responses. It is also not specified in file-level phpdocs
(#384) Package is not specified for function smartchoice_get_availability_status. It is also not specified in file-level phpdocs
mod/smartchoice/mod_form.php
(#17) File-level phpdocs block is not found
(#23) Class mod_smartchoice_mod_form is not documented
(#24) Function mod_smartchoice_mod_form::definition is not documented
(#82) Function mod_smartchoice_mod_form::data_preprocessing is not documented
(#104) Function mod_smartchoice_mod_form::get_data is not documented
(#23) Package is not specified for class mod_smartchoice_mod_form. It is also not specified in file-level phpdocs
mod/smartchoice/renderer.php
(#17) File-level phpdocs block is not found
(#19) Class mod_smartchoice_renderer is not documented
(#21) Function mod_smartchoice_renderer::display_options is not documented
(#68) Function mod_smartchoice_renderer::display_publish_anonymous_vertical is not documented
(#19) Package is not specified for class mod_smartchoice_renderer. It is also not specified in file-level phpdocs
mod/smartchoice/report.php
(#17) File-level phpdocs block is not found
mod/smartchoice/version.php
(#17) File-level phpdocs block is not found
mod/smartchoice/view.php
(#17) File-level phpdocs block is not found

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

(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]