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

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

report/embedquestion/tests/backup_test.php
(#162) Inline comments must end in full-stops, exclamation marks, or question marks

Javascript coding style problems

(0 errors, 1 warnings)

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

report/embedquestion/amd/src/download_responses.js
(#65) Missing JSDoc @returns for function. (valid-jsdoc)

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(76 errors, 0 warnings)

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

report/embedquestion/backup/moodle2/restore_report_embedquestion_plugin.class.php
(#89) Function restore_report_embedquestion_plugin::process_report_embedquestion_attempt is not documented
(#100) Function restore_report_embedquestion_plugin::process_question_attempt is not documented
(#122) Function restore_report_embedquestion_plugin::inform_new_usage_id is not documented
report/embedquestion/classes/attempt_storage.php
(#40) Function attempt_storage::find_existing_attempt is not documented
(#57) Function attempt_storage::update_timemodified is not documented
(#64) Function attempt_storage::make_new_usage is not documented
(#71) Function attempt_storage::new_usage_saved is not documented
(#91) Function attempt_storage::verify_usage is not documented
(#109) Function attempt_storage::delete_attempt is not documented
(#17) No one-line description found in phpdocs for file
report/embedquestion/classes/attempt_summary_table.php
(#148) Function attempt_summary_table::col_fraction is not documented
(#157) Function attempt_summary_table::col_questionattemptsteptime is not documented
(#164) Function attempt_summary_table::set_sql_data_fields is not documented
(#188) Function attempt_summary_table::set_sql_data_from is not documented
(#69) Variable attempt_summary_table::$courseid is not documented
(#70) Variable attempt_summary_table::$cm is not documented
(#71) Variable attempt_summary_table::$groupid is not documented
(#72) Variable attempt_summary_table::$userid is not documented
(#73) Variable attempt_summary_table::$context is not documented
(#74) Variable attempt_summary_table::$usageid is not documented
(#78) Phpdocs for function attempt_summary_table::__construct has incomplete parameters list
(#202) Phpdocs for function attempt_summary_table::generate_query has incomplete parameters list
report/embedquestion/classes/attempt_tracker.php
(#38) Constant attempt_tracker::CACHE_COMPONENT is not documented
(#39) Constant attempt_tracker::CACHE_AREA is not documented
report/embedquestion/classes/event/activity_report_viewed.php
(#41) Function activity_report_viewed::init is not documented
(#46) Function activity_report_viewed::get_name is not documented
(#50) Function activity_report_viewed::get_description is not documented
(#68) Function activity_report_viewed::get_url is not documented
(#78) Function activity_report_viewed::validate_data is not documented
(#94) Function activity_report_viewed::get_other_mapping is not documented
report/embedquestion/classes/event/course_report_viewed.php
(#41) Function course_report_viewed::init is not documented
(#46) Function course_report_viewed::get_name is not documented
(#50) Function course_report_viewed::get_description is not documented
(#68) Function course_report_viewed::get_url is not documented
(#78) Function course_report_viewed::validate_data is not documented
(#94) Function course_report_viewed::get_other_mapping is not documented
report/embedquestion/classes/form/filter.php
(#113) Function filter::validation is not documented
report/embedquestion/classes/latest_attempt_table.php
(#252) Function latest_attempt_table::col_questiontype is not documented
(#262) Function latest_attempt_table::col_questionname is not documented
(#281) Function latest_attempt_table::col_embedid is not documented
(#288) Function latest_attempt_table::col_pagename is not documented
(#295) Function latest_attempt_table::col_questionattemptstepid is not documented
(#302) Function latest_attempt_table::set_sql_data_fields is not documented
(#332) Function latest_attempt_table::set_sql_data_from is not documented
(#75) Variable latest_attempt_table::$courseid is not documented
(#76) Variable latest_attempt_table::$cm is not documented
(#77) Variable latest_attempt_table::$groupid is not documented
(#78) Variable latest_attempt_table::$userid is not documented
(#79) Variable latest_attempt_table::$context is not documented
(#80) Variable latest_attempt_table::$allowedjoins is not documented
report/embedquestion/classes/local/export/response_export.php
(#76) Phpdocs for function response_export::get_response_zip_file_info has incomplete parameters list
report/embedquestion/classes/local/report/activity_progress_report.php
(#55) Function activity_progress_report::get_title is not documented
(#59) Function activity_progress_report::get_url_report is not documented
report/embedquestion/classes/local/report/course_progress_report.php
(#52) Function course_progress_report::get_title is not documented
(#56) Function course_progress_report::get_url_report is not documented
report/embedquestion/classes/output/renderer.php
(#116) Phpdocs for function renderer::render_grade_link has incomplete parameters list
report/embedquestion/classes/privacy/provider.php
(#50) Function provider::get_metadata is not documented
(#73) Function provider::get_contexts_for_userid is not documented
(#85) Function provider::get_users_in_context is not documented
(#93) Function provider::export_user_data is not documented
(#132) Function provider::delete_data_for_all_users_in_context is not documented
(#143) Function provider::delete_data_for_user is not documented
(#167) Function provider::delete_data_for_users is not documented
report/embedquestion/classes/report_display_options.php
(#232) Function report_display_options::redirect_to_clean_url is not documented
report/embedquestion/classes/utils.php
(#144) There is no description in phpdocs for function get_user_link
(#156) There is no description in phpdocs for function get_question_link
(#47) Phpdocs for function utils::get_embed_location_summary has incomplete parameters list
(#126) Phpdocs for function utils::get_user_fields has incomplete parameters list
(#145) Phpdocs for function utils::get_user_link has incomplete parameters list
(#157) Phpdocs for function utils::get_question_link has incomplete parameters list
(#214) Phpdocs for function utils::get_activity_link has incomplete parameters list
(#226) Phpdocs for function utils::get_attempt_summary_link has incomplete parameters list
(#276) Phpdocs for function utils::allow_downloadability_for_attempt_table has incomplete parameters list
(#337) Phpdocs for function utils::get_title has incomplete parameters list
report/embedquestion/db/upgrade.php
(#32) Phpdocs for function xmldb_report_embedquestion_upgrade has incomplete parameters list
report/embedquestion/tests/response_download_test.php
(#101) Phpdocs for function report_embedquestion_response_download_testcase::test_get_zip_url_with_supported_qtype has incomplete parameters list

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]


Gherkin .feature problems

(0 errors, 0 warnings)

This section shows problems detected in behat .feature files [More info]