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

(72 errors, 0 warnings)

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

question/type/oumultiresponse/combinable/combinable.php
(#69) Expected 1 space before "=>"; 0 found
(#69) Expected 1 space after "=>"; 0 found
(#110) Expected 1 space before "="; 0 found
question/type/oumultiresponse/edit_oumultiresponse_form.php
(#74) Expected 1 space after "="; newline found
(#104) Expected 1 space after "="; 2 found
(#105) Expected 1 space after "="; 2 found
question/type/oumultiresponse/lang/en/qtype_oumultiresponse.php
(#38) Expected 1 space after "="; 0 found
question/type/oumultiresponse/questiontype.php
(#249) Expected 1 space after "/"; newline found
(#258) Expected 1 space after "=>"; newline found
question/type/oumultiresponse/tests/helper.php
(#108) Expected 1 space after "="; newline found
(#111) Expected 1 space after "="; newline found
(#115) Expected 1 space after "="; newline found
question/type/oumultiresponse/tests/question_test.php
(#129) Variable "response_history" must not contain underscores.
(#131) Variable "response_history" must not contain underscores.
(#133) Variable "response_history" must not contain underscores.
(#135) Variable "response_history" must not contain underscores.
(#137) Variable "response_history" must not contain underscores.
(#139) Variable "response_history" must not contain underscores.
(#141) Variable "response_history" must not contain underscores.
(#143) Variable "response_history" must not contain underscores.
(#145) Variable "response_history" must not contain underscores.
(#147) Variable "response_history" must not contain underscores.
(#149) Variable "response_history" must not contain underscores.
(#151) Variable "response_history" must not contain underscores.
(#153) Variable "response_history" must not contain underscores.
(#155) Variable "response_history" must not contain underscores.
(#157) Variable "response_history" must not contain underscores.
(#159) Variable "response_history" must not contain underscores.
(#161) Variable "response_history" must not contain underscores.
(#163) Variable "response_history" must not contain underscores.
(#165) Variable "response_history" must not contain underscores.
(#167) Variable "response_history" must not contain underscores.
(#169) Variable "response_history" must not contain underscores.
(#171) Variable "response_history" must not contain underscores.
(#173) Variable "response_history" must not contain underscores.
(#175) Variable "response_history" must not contain underscores.
(#177) Variable "response_history" must not contain underscores.
(#179) Variable "response_history" must not contain underscores.
(#181) Variable "response_history" must not contain underscores.
(#183) Variable "response_history" must not contain underscores.
(#185) Variable "response_history" must not contain underscores.
(#187) Variable "response_history" must not contain underscores.
(#189) Variable "response_history" must not contain underscores.
(#191) Variable "response_history" must not contain underscores.
(#193) Variable "response_history" must not contain underscores.
(#195) Variable "response_history" must not contain underscores.
(#197) Variable "response_history" must not contain underscores.
(#199) Variable "response_history" must not contain underscores.
(#201) Variable "response_history" must not contain underscores.
(#203) Variable "response_history" must not contain underscores.
(#205) Variable "response_history" must not contain underscores.
(#207) Variable "response_history" must not contain underscores.
(#209) Variable "response_history" must not contain underscores.
(#211) Variable "response_history" must not contain underscores.
(#213) Variable "response_history" must not contain underscores.
(#215) Variable "response_history" must not contain underscores.
(#217) Variable "response_history" must not contain underscores.
(#219) Variable "response_history" must not contain underscores.
(#223) Variable "response_history" must not contain underscores.
(#226) Variable "response_history" must not contain underscores.
(#230) Variable "response_history" must not contain underscores.
(#232) Variable "response_history" must not contain underscores.
(#234) Variable "response_history" must not contain underscores.
(#236) Variable "response_history" must not contain underscores.
(#238) Variable "response_history" must not contain underscores.
(#240) Variable "response_history" must not contain underscores.
question/type/oumultiresponse/tests/questiontype_test.php
(#102) Expected 1 space before "/"; 0 found
(#102) Expected 1 space after "/"; 0 found
(#106) Expected 1 space before "/"; 0 found
(#106) Expected 1 space after "/"; 0 found
(#110) Expected 1 space before "/"; 0 found
(#110) Expected 1 space after "/"; 0 found

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

(60 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
question/type/oumultiresponse/backup/moodle2/restore_qtype_oumultiresponse_plugin.class.php
(#81) Function restore_qtype_oumultiresponse_plugin::recode_response is not documented
(#17) No one-line description found in phpdocs for file
(#27) No one-line description found in phpdocs for class restore_qtype_oumultiresponse_plugin
(#55) Phpdocs for function restore_qtype_oumultiresponse_plugin::process_oumultiresponse has incomplete parameters list
question/type/oumultiresponse/combinable/combinable.php
(#28) Class qtype_combined_combinable_type_oumultiresponse is not documented
(#57) 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
(#44) Function qtype_combined_combinable_type_oumultiresponse::transform_subq_form_data_to_full is not documented
(#52) 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
(#117) Function qtype_combined_combinable_oumultiresponse::validate is not documented
(#137) Function qtype_combined_combinable_oumultiresponse::has_submitted_data is not documented
(#30) Variable qtype_combined_combinable_type_oumultiresponse::$identifier is not documented
(#59) There is no description in phpdocs for function add_form_fragment
(#60) Phpdocs for function qtype_combined_combinable_oumultiresponse::add_form_fragment has incomplete parameters list
question/type/oumultiresponse/combinable/renderer.php
(#30) Class qtype_oumultiresponse_embedded_renderer is not documented
(#33) Function qtype_oumultiresponse_embedded_renderer::subquestion is not documented
question/type/oumultiresponse/edit_oumultiresponse_form.php
(#37) Function qtype_oumultiresponse_edit_form::definition_inner is not documented
(#56) Function qtype_oumultiresponse_edit_form::get_per_answer_fields is not documented
(#73) Function qtype_oumultiresponse_edit_form::get_hint_fields is not documented
(#81) Function qtype_oumultiresponse_edit_form::data_preprocessing is not documented
(#111) Function qtype_oumultiresponse_edit_form::validation is not documented
(#145) Function qtype_oumultiresponse_edit_form::qtype is not documented
question/type/oumultiresponse/lib.php
(#28) Phpdocs for function qtype_oumultiresponse_pluginfile has incomplete parameters list
question/type/oumultiresponse/question.php
(#40) Function qtype_oumultiresponse_question::make_behaviour is not documented
(#48) Function qtype_oumultiresponse_question::classify_response is not documented
(#57) Function qtype_oumultiresponse_question::grade_response is not documented
(#72) Function qtype_oumultiresponse_question::disable_hint_settings_when_too_many_selected is not documented
(#78) Function qtype_oumultiresponse_question::compute_final_grade is not documented
(#171) Function qtype_oumultiresponse_question::replace_char_at is not documented
(#99) 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_question_options is not documented
(#136) Function qtype_oumultiresponse::save_hints is not documented
(#215) Function qtype_oumultiresponse::make_hint is not documented
(#219) Function qtype_oumultiresponse::initialise_question_instance is not documented
(#227) Function qtype_oumultiresponse::delete_question is not documented
(#233) Function qtype_oumultiresponse::get_num_correct_choices is not documented
(#243) Function qtype_oumultiresponse::get_random_guess_score is not documented
(#253) Function qtype_oumultiresponse::get_possible_responses is not documented
(#265) Function qtype_oumultiresponse::import_from_xml is not documented
(#310) Function qtype_oumultiresponse::export_to_xml is not documented
(#325) Function qtype_oumultiresponse::move_files is not documented
(#340) Function qtype_oumultiresponse::delete_files is not documented
(#387) Function qtype_oumultiresponse_hint::adjust_display_options is not documented
(#33) No one-line description found in phpdocs for class qtype_oumultiresponse
(#353) No one-line description found in phpdocs for class qtype_oumultiresponse_hint
(#366) Phpdocs for function qtype_oumultiresponse_hint::__construct has incomplete parameters list
question/type/oumultiresponse/tests/helper.php
(#36) Function qtype_oumultiresponse_test_helper::get_test_questions is not documented
(#40) There is no description in phpdocs for function make_oumultiresponse_question_two_of_four
(#176) There is no description in phpdocs for function make_oumultiresponse_question_two_of_five
question/type/oumultiresponse/tests/question_test.php
(#40) Class qtype_oumultiresponse_question_test is not documented
(#41) Variable qtype_oumultiresponse_question_test::$tolerance is not documented
question/type/oumultiresponse/tests/questiontype_test.php
(#53) Function qtype_oumultiresponse_test::assert_same_xml is not documented
question/type/oumultiresponse/tests/walkthrough_test.php
(#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]


Mustache template problems

(0 errors, 0 warnings)

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