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

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

question/type/oumultiresponse/tests/privacy_provider_test.php
(#47) Test method test_get_metadata() is missing any coverage information, own or at class level
(#53) Test method test_export_user_preferences_no_pref() is missing any coverage information, own or at class level
(#70) Test method test_export_user_preferences() is missing any coverage information, own or at class level
question/type/oumultiresponse/tests/question_test.php
(#49) Test method test_replace_char_at() is missing any coverage information, own or at class level
(#53) Test method test_grade_responses_right_right() is missing any coverage information, own or at class level
(#63) Test method test_grade_responses_right() is missing any coverage information, own or at class level
(#73) Test method test_grade_responses_wrong_wrong() is missing any coverage information, own or at class level
(#83) Test method test_grade_responses_right_wrong_wrong() is missing any coverage information, own or at class level
(#94) Test method test_grade_responses_right_wrong() is missing any coverage information, own or at class level
(#104) Test method test_grade_responses_right_right_wrong() is missing any coverage information, own or at class level
(#115) Test method test_grade_responses_right_right_wrong_wrong() is missing any coverage information, own or at class level
(#126) Test method test_grade_computation() is missing any coverage information, own or at class level
question/type/oumultiresponse/tests/questiontype_test.php
(#61) Test method test_name() is missing any coverage information, own or at class level
(#65) Test method test_initialise_question_instance() is missing any coverage information, own or at class level
(#78) Test method test_can_analyse_responses() is missing any coverage information, own or at class level
(#82) Test method test_get_possible_responses() is missing any coverage information, own or at class level
(#100) Test method test_get_random_guess_score() is missing any coverage information, own or at class level
(#120) Test method test_xml_import() is missing any coverage information, own or at class level
(#236) Test method test_xml_import_legacy() is missing any coverage information, own or at class level
(#368) Test method test_xml_export() is missing any coverage information, own or at class level
question/type/oumultiresponse/tests/walkthrough_test.php
(#50) Test method test_shows_standrd_instruction_yes() is missing any coverage information, own or at class level
(#64) Test method test_shows_standrd_instruction_no() is missing any coverage information, own or at class level
(#78) Test method test_interactive_behaviour() is missing any coverage information, own or at class level
(#221) Test method test_interactive_behaviour2() is missing any coverage information, own or at class level
(#282) Test method test_interactive_clear_wrong() is missing any coverage information, own or at class level
(#393) Test method test_interactive_bug_11263() is missing any coverage information, own or at class level
(#481) Test method test_interactive_regrade_changing_num_tries_leaving_open() is missing any coverage information, own or at class level
(#516) Test method test_interactive_regrade_changing_num_tries_finished() is missing any coverage information, own or at class level

Javascript coding style problems

(2 errors, 0 warnings)

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

question/type/oumultiresponse/mobile/oumr.js
(#44) 'i' is defined but never used. (no-unused-vars)
(#61) Expected an assignment or function call and instead saw an expression. (no-unused-expressions)

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(69 errors, 0 warnings)

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

question/type/oumultiresponse/backup/moodle2/backup_qtype_oumultiresponse_plugin.class.php
(#17) No one-line description found in phpdocs for file
(#71) Inline phpdocs tag {@link get_components_and_fileareas} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
question/type/oumultiresponse/backup/moodle2/restore_qtype_oumultiresponse_plugin.class.php
(#77) Function restore_qtype_oumultiresponse_plugin::recode_response is not documented
(#17) No one-line description found in phpdocs for file
(#23) No one-line description found in phpdocs for class restore_qtype_oumultiresponse_plugin
(#51) Phpdocs for function restore_qtype_oumultiresponse_plugin::process_oumultiresponse has incomplete parameters list
question/type/oumultiresponse/classes/output/mobile.php
(#28) Function mobile::oumr_view is not documented
question/type/oumultiresponse/combinable/combinable.php
(#28) Class qtype_combined_combinable_type_oumultiresponse is not documented
(#60) Class qtype_combined_combinable_oumultiresponse is not documented
(#32) Function qtype_combined_combinable_type_oumultiresponse::extra_question_properties is not documented
(#36) Function qtype_combined_combinable_type_oumultiresponse::extra_answer_properties is not documented
(#40) Function qtype_combined_combinable_type_oumultiresponse::subq_form_fragment_question_option_fields is not documented
(#47) Function qtype_combined_combinable_type_oumultiresponse::transform_subq_form_data_to_full is not documented
(#55) Function qtype_combined_combinable_type_oumultiresponse::third_param_for_default_question_text is not documented
(#106) Function qtype_combined_combinable_oumultiresponse::data_to_form is not documented
(#120) Function qtype_combined_combinable_oumultiresponse::validate is not documented
(#141) Function qtype_combined_combinable_oumultiresponse::has_submitted_data is not documented
(#30) Variable qtype_combined_combinable_type_oumultiresponse::$identifier is not documented
(#62) There is no description in phpdocs for function add_form_fragment
(#63) Phpdocs for function qtype_combined_combinable_oumultiresponse::add_form_fragment has incomplete parameters list
question/type/oumultiresponse/combinable/renderer.php
(#26) Class qtype_oumultiresponse_embedded_renderer is not documented
(#29) Function qtype_oumultiresponse_embedded_renderer::subquestion is not documented
question/type/oumultiresponse/edit_oumultiresponse_form.php
(#33) Function qtype_oumultiresponse_edit_form::definition_inner is not documented
(#57) Function qtype_oumultiresponse_edit_form::get_per_answer_fields is not documented
(#74) Function qtype_oumultiresponse_edit_form::get_hint_fields is not documented
(#98) Function qtype_oumultiresponse_edit_form::data_preprocessing is not documented
(#129) Function qtype_oumultiresponse_edit_form::validation is not documented
(#163) Function qtype_oumultiresponse_edit_form::qtype is not documented
question/type/oumultiresponse/lib.php
(#25) Phpdocs for function qtype_oumultiresponse_pluginfile has incomplete parameters list
question/type/oumultiresponse/question.php
(#55) Function qtype_oumultiresponse_question::make_behaviour is not documented
(#63) Function qtype_oumultiresponse_question::classify_response is not documented
(#72) Function qtype_oumultiresponse_question::grade_response is not documented
(#87) Function qtype_oumultiresponse_question::disable_hint_settings_when_too_many_selected is not documented
(#93) Function qtype_oumultiresponse_question::compute_final_grade is not documented
(#186) Function qtype_oumultiresponse_question::replace_char_at is not documented
(#114) Phpdocs for function qtype_oumultiresponse_question::grade_computation has incomplete parameters list
question/type/oumultiresponse/questiontype.php
(#46) Function qtype_oumultiresponse::has_html_answers is not documented
(#50) Function qtype_oumultiresponse::requires_qtypes is not documented
(#54) Function qtype_oumultiresponse::get_question_options is not documented
(#61) Function qtype_oumultiresponse::save_defaults_for_new_questions is not documented
(#68) Function qtype_oumultiresponse::save_question_options is not documented
(#145) Function qtype_oumultiresponse::save_hints is not documented
(#224) Function qtype_oumultiresponse::make_hint is not documented
(#229) Function qtype_oumultiresponse::make_answer is not documented
(#234) Function qtype_oumultiresponse::initialise_question_instance is not documented
(#243) Function qtype_oumultiresponse::delete_question is not documented
(#249) Function qtype_oumultiresponse::get_num_correct_choices is not documented
(#259) Function qtype_oumultiresponse::get_random_guess_score is not documented
(#269) Function qtype_oumultiresponse::get_possible_responses is not documented
(#281) Function qtype_oumultiresponse::import_from_xml is not documented
(#328) Function qtype_oumultiresponse::export_to_xml is not documented
(#344) Function qtype_oumultiresponse::move_files is not documented
(#359) Function qtype_oumultiresponse::delete_files is not documented
(#406) Function qtype_oumultiresponse_hint::adjust_display_options is not documented
(#33) No one-line description found in phpdocs for class qtype_oumultiresponse
(#372) No one-line description found in phpdocs for class qtype_oumultiresponse_hint
(#385) Phpdocs for function qtype_oumultiresponse_hint::__construct has incomplete parameters list
(#373) Inline phpdocs tag {@link question_hint_with_parts} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
question/type/oumultiresponse/renderer.php
(#31) Class qtype_oumultiresponse_renderer is not documented
question/type/oumultiresponse/tests/helper.php
(#32) Function qtype_oumultiresponse_test_helper::get_test_questions is not documented
(#36) There is no description in phpdocs for function make_oumultiresponse_question_two_of_four
(#175) There is no description in phpdocs for function make_oumultiresponse_question_two_of_five
(#211) There is no description in phpdocs for function get_oumultiresponse_question_form_data_two_of_four
(#74) Inline phpdocs tag {@link make_an_oumultiresponse_two_of_four()} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
question/type/oumultiresponse/tests/question_test.php
(#46) Class question_test is not documented
(#47) Variable question_test::$tolerance is not documented
question/type/oumultiresponse/tests/questiontype_test.php
(#56) Function questiontype_test::assert_same_xml is not documented
question/type/oumultiresponse/tests/walkthrough_test.php
(#551) Function walkthrough_test::get_contains_num_parts_correct is not documented
(#17) No one-line description found in phpdocs for file

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]


Missing changes in external functions or backup support for new detected tables or columns

(0 errors, 2 warnings)

This section shows potential problems detected when there are new database structures added in a patch and it is detected that nothing has been changed related with external functions (to be used by WS) or backup and restore. It must be checked that everything is correct and nothing is being missed in those areas. [More info]

question/type/oumultiresponse/db/upgrade.php
Database modifications (new tables or columns) detected in the patch without any change to some important areas.
No changes detected to external functions, that may affect apps and other web service integrations, please verify!

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]