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

(37 errors, 1 warnings)

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

question/type/gapselect/combinable/combinable.php
(#76) Expected 1 space before "=>"; 0 found
(#76) Expected 1 space after "=>"; 0 found
(#76) Expected 1 space before "=>"; 0 found
(#76) Expected 1 space after "=>"; 0 found
(#139) Expected 1 space before "-"; 0 found
(#139) Expected 1 space after "-"; 0 found
(#143) Expected 1 space after "="; newline found
question/type/gapselect/edit_form_base.php
(#158) Expected 1 space before "=>"; 0 found
(#158) Expected 1 space after "=>"; 0 found
(#158) Expected 1 space before "=>"; 0 found
(#158) Expected 1 space after "=>"; 0 found
(#239) Expected 1 space before "-"; 0 found
(#239) Expected 1 space after "-"; 0 found
question/type/gapselect/questionbase.php
(#298) Expected 1 space before "/"; newline found
question/type/gapselect/questiontypebase.php
(#135) Expected 1 space before "="; 0 found
(#207) Expected 1 space before "+"; 0 found
(#207) Expected 1 space after "+"; 0 found
(#223) Expected 1 space before "="; 0 found
(#223) Expected 1 space after "="; 0 found
(#226) Expected 1 space before "="; 0 found
(#246) Expected 1 space before "="; 0 found
(#302) Expected 1 space before "/"; newline found
question/type/gapselect/renderer.php
(#66) Expected 1 space after "=="; newline found
question/type/gapselect/tests/edit_form_test.php
(#60) Possible useless method overriding detected
question/type/gapselect/tests/question_test.php
(#215) Expected 1 space before "/"; 0 found
(#215) Expected 1 space after "/"; 0 found
(#240) Expected 1 space before "/"; 0 found
(#240) Expected 1 space after "/"; 0 found
(#242) Expected 1 space before "/"; 0 found
(#242) Expected 1 space after "/"; 0 found
(#246) Expected 1 space before "/"; 0 found
(#246) Expected 1 space after "/"; 0 found
question/type/gapselect/tests/questiontype_test.php
(#134) Expected 1 space before "/"; 0 found
(#134) Expected 1 space after "/"; 0 found
(#138) Expected 1 space before "/"; 0 found
(#138) Expected 1 space after "/"; 0 found
(#142) Expected 1 space before "/"; 0 found
(#142) 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

(112 errors, 0 warnings)

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

question/type/gapselect/backup/moodle2/backup_qtype_gapselect_plugin.class.php
(#17) No one-line description found in phpdocs for file
question/type/gapselect/backup/moodle2/restore_qtype_gapselect_plugin.class.php
(#17) No one-line description found in phpdocs for file
(#27) No one-line description found in phpdocs for class restore_qtype_gapselect_plugin
(#55) Phpdocs for function restore_qtype_gapselect_plugin::process_gapselect has incomplete parameters list
question/type/gapselect/combinable/combinable.php
(#28) Class qtype_combined_combinable_type_gapselect is not documented
(#58) Class qtype_combined_combinable_gapselect is not documented
(#32) Function qtype_combined_combinable_type_gapselect::extra_question_properties is not documented
(#36) Function qtype_combined_combinable_type_gapselect::extra_answer_properties is not documented
(#40) Function qtype_combined_combinable_type_gapselect::subq_form_fragment_question_option_fields is not documented
(#44) Function qtype_combined_combinable_type_gapselect::transform_subq_form_data_to_full is not documented
(#53) Function qtype_combined_combinable_type_gapselect::third_param_for_default_question_text is not documented
(#103) Function qtype_combined_combinable_gapselect::data_to_form is not documented
(#114) Function qtype_combined_combinable_gapselect::can_be_more_than_one_of_same_instance is not documented
(#118) Function qtype_combined_combinable_gapselect::validate_third_param is not documented
(#129) Function qtype_combined_combinable_gapselect::validate is not documented
(#155) Function qtype_combined_combinable_gapselect::code_construction_instructions is not documented
(#159) Function qtype_combined_combinable_gapselect::save is not documented
(#168) Function qtype_combined_combinable_gapselect::store_third_param is not documented
(#172) Function qtype_combined_combinable_gapselect::get_third_params is not documented
(#176) Function qtype_combined_combinable_gapselect::has_submitted_data is not documented
(#30) Variable qtype_combined_combinable_type_gapselect::$identifier is not documented
(#65) There is no description in phpdocs for function add_form_fragment
(#66) Phpdocs for function qtype_combined_combinable_gapselect::add_form_fragment has incomplete parameters list
question/type/gapselect/combinable/renderer.php
(#30) Class qtype_gapselect_embedded_renderer is not documented
(#33) Function qtype_gapselect_embedded_renderer::box_id is not documented
(#37) Function qtype_gapselect_embedded_renderer::subquestion is not documented
question/type/gapselect/edit_form_base.php
(#86) Function qtype_gapselect_edit_form_base::allowed_tags_message is not documented
(#97) Function qtype_gapselect_edit_form_base::get_list_of_printable_allowed_tags is not documented
(#119) Function qtype_gapselect_edit_form_base::definition_answer_choice is not documented
(#151) Function qtype_gapselect_edit_form_base::choice_group is not documented
(#164) Function qtype_gapselect_edit_form_base::repeated_options is not documented
(#171) Function qtype_gapselect_edit_form_base::data_preprocessing is not documented
(#192) Function qtype_gapselect_edit_form_base::data_preprocessing_choice is not documented
(#200) Function qtype_gapselect_edit_form_base::validation is not documented
(#222) Function qtype_gapselect_edit_form_base::validate_slots is not documented
(#264) Function qtype_gapselect_edit_form_base::qtype is not documented
(#37) Constant qtype_gapselect_edit_form_base::MAX_GROUPS is not documented
(#20) Package qtype is not valid
question/type/gapselect/edit_gapselect_form.php
(#41) Function qtype_gapselect_edit_form::qtype is not documented
(#39) Variable qtype_gapselect_edit_form::$allowedhtmltags is not documented
question/type/gapselect/lib.php
(#29) Phpdocs for function qtype_gapselect_pluginfile has incomplete parameters list
question/type/gapselect/question.php
(#52) Function qtype_gapselect_choice::__construct is not documented
(#57) Function qtype_gapselect_choice::choice_group is not documented
(#49) Variable qtype_gapselect_choice::$text is not documented
(#50) Variable qtype_gapselect_choice::$selectgroup is not documented
question/type/gapselect/questionbase.php
(#67) Function qtype_gapselect_question_base::start_attempt is not documented
(#78) Function qtype_gapselect_question_base::apply_attempt_state is not documented
(#97) Function qtype_gapselect_question_base::get_question_summary is not documented
(#110) Function qtype_gapselect_question_base::get_selected_choice is not documented
(#115) Function qtype_gapselect_question_base::summarise_response is not documented
(#143) Function qtype_gapselect_question_base::get_random_guess_score is not documented
(#153) Function qtype_gapselect_question_base::clear_wrong_from_response is not documented
(#163) Function qtype_gapselect_question_base::get_num_parts_right is not documented
(#184) Function qtype_gapselect_question_base::get_expected_data is not documented
(#192) Function qtype_gapselect_question_base::get_correct_response is not documented
(#200) Function qtype_gapselect_question_base::get_right_choice_for is not documented
(#209) Function qtype_gapselect_question_base::get_ordered_choices is not documented
(#217) Function qtype_gapselect_question_base::is_complete_response is not documented
(#225) Function qtype_gapselect_question_base::is_gradable_response is not documented
(#234) Function qtype_gapselect_question_base::is_same_response is not documented
(#245) Function qtype_gapselect_question_base::get_validation_error is not documented
(#252) Function qtype_gapselect_question_base::grade_response is not documented
(#258) Function qtype_gapselect_question_base::compute_final_grade is not documented
(#283) Function qtype_gapselect_question_base::classify_response is not documented
(#303) Function qtype_gapselect_question_base::check_file_access is not documented
(#41) Variable qtype_gapselect_question_base::$correctfeedback is not documented
(#42) Variable qtype_gapselect_question_base::$partiallycorrectfeedback is not documented
(#43) Variable qtype_gapselect_question_base::$incorrectfeedback is not documented
(#17) No one-line description found in phpdocs for file
(#30) No one-line description found in phpdocs for class qtype_gapselect_question_base
(#176) There is no description in phpdocs for function field
(#177) Phpdocs for function qtype_gapselect_question_base::field has incomplete parameters list
question/type/gapselect/questiontype.php
(#41) Function qtype_gapselect::choice_options_to_feedback is not documented
(#45) Function qtype_gapselect::make_choice is not documented
(#49) Function qtype_gapselect::feedback_to_choice_options is not documented
(#54) Function qtype_gapselect::choice_group_key is not documented
(#58) Function qtype_gapselect::import_from_xml is not documented
(#102) Function qtype_gapselect::export_to_xml is not documented
question/type/gapselect/questiontypebase.php
(#50) Function qtype_gapselect_base::save_question_options is not documented
(#107) Function qtype_gapselect_base::get_question_options is not documented
(#114) Function qtype_gapselect_base::delete_question is not documented
(#127) Function qtype_gapselect_base::initialise_question_instance is not documented
(#176) Function qtype_gapselect_base::make_hint is not documented
(#180) Function qtype_gapselect_base::get_random_guess_score is not documented
(#253) Function qtype_gapselect_base::get_array_of_placeholders is not documented
(#276) Function qtype_gapselect_base::get_group_of_players is not documented
(#291) Function qtype_gapselect_base::get_possible_responses is not documented
(#312) Function qtype_gapselect_base::move_files is not documented
(#318) Function qtype_gapselect_base::delete_files is not documented
(#217) Phpdocs for function qtype_gapselect_base::get_array_of_groups has incomplete parameters list
question/type/gapselect/renderer.php
(#38) Function qtype_gapselect_renderer::embedded_element is not documented
question/type/gapselect/rendererbase.php
(#38) Function qtype_elements_embedded_in_question_text_renderer::formulation_and_controls is not documented
(#67) Function qtype_elements_embedded_in_question_text_renderer::qtext_classname is not documented
(#71) Function qtype_elements_embedded_in_question_text_renderer::qtext_id is not documented
(#75) Function qtype_elements_embedded_in_question_text_renderer::embedded_element is not documented
(#78) Function qtype_elements_embedded_in_question_text_renderer::post_qtext_elements is not documented
(#83) Function qtype_elements_embedded_in_question_text_renderer::box_id is not documented
(#87) Function qtype_elements_embedded_in_question_text_renderer::specific_feedback is not documented
(#91) Function qtype_elements_embedded_in_question_text_renderer::correct_response is not documented
(#29) No one-line description found in phpdocs for class qtype_elements_embedded_in_question_text_renderer
question/type/gapselect/tests/edit_form_test.php
(#42) Function qtype_gapselect_edit_form_base_testable::__construct is not documented
(#60) Function qtype_gapselect_edit_form_base_testable::get_illegal_tag_error is not documented
(#82) Function qtype_gapselect_edit_form_test::get_form is not documented
(#39) Invalid phpdocs tag @group used
question/type/gapselect/tests/helper.php
(#36) There is no description in phpdocs for function make_a_gapselect_question
(#73) There is no description in phpdocs for function make_a_maths_gapselect_question
question/type/gapselect/tests/question_test.php
(#38) Invalid phpdocs tag @group used
question/type/gapselect/tests/questiontype_test.php
(#52) Function qtype_gapselect_test::assert_same_xml is not documented
(#57) There is no description in phpdocs for function get_test_question_data
(#38) Invalid phpdocs tag @group used
question/type/gapselect/tests/walkthrough_test.php
(#17) No one-line description found in phpdocs for file
(#39) Invalid phpdocs tag @group used

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]