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

(7 errors, 4 warnings)

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

question/type/shortanswerwiris/backup/moodle2/restore_qtype_shortanswerwiris_plugin.class.php
(#87) Whitespace found at end of line
question/type/shortanswerwiris/classes/privacy/provider.php
(#41) Method name "_get_reason" should not be prefixed with an underscore to indicate visibility
question/type/shortanswerwiris/question.php
(#136) Line exceeds 132 characters; contains 145 characters
question/type/shortanswerwiris/questiontype.php
(#29) Whitespace found at end of line
(#33) Whitespace found at end of line
question/type/shortanswerwiris/renderer.php
(#73) Inline comments must end in full-stops, exclamation marks, or question marks
(#74) Variable "show_auxiliar_text_input" must not contain underscores.
(#74) Variable "PROPERTY_SHOW_AUXILIAR_TEXT_INPUT" must be all lower-case
(#74) Variable "PROPERTY_SHOW_AUXILIAR_TEXT_INPUT" must not contain underscores.
(#74) Line exceeds 132 characters; contains 170 characters
(#75) Variable "show_auxiliar_text_input" must not contain underscores.

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

(3 errors, 0 warnings)

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

question/type/shortanswerwiris/styles.css
(#3) Unexpected !important (declaration-no-important)
(#8) Unexpected !important (declaration-no-important)
(#13) Unexpected !important (declaration-no-important)

PHPDocs style problems

(71 errors, 0 warnings)

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

question/type/shortanswerwiris/backup/moodle1/lib.php
(#23) Package is not specified for class moodle1_qtype_shortanswerwiris_handler. It is also not specified in file-level phpdocs
(#23) Class moodle1_qtype_shortanswerwiris_handler is not documented
(#88) Function moodle1_qtype_shortanswerwiris_handler::wrsqz_get_cas_for_computations is not documented
(#116) Function moodle1_qtype_shortanswerwiris_handler::wrsqz_hidden_initial_cas_value is not documented
(#131) Function moodle1_qtype_shortanswerwiris_handler::wrsqz_get_extra_parameters is not documented
(#235) Function moodle1_qtype_shortanswerwiris_handler::wrsqz_get_distribution is not documented
(#24) There is no description in phpdocs for function get_question_subpaths
(#36) Phpdocs for function moodle1_qtype_shortanswerwiris_handler::process_question has incomplete parameters list
question/type/shortanswerwiris/backup/moodle2/backup_qtype_shortanswerwiris_plugin.class.php
(#20) Package is not specified for class backup_qtype_shortanswerwiris_plugin. It is also not specified in file-level phpdocs
(#20) Class backup_qtype_shortanswerwiris_plugin is not documented
(#22) Function backup_qtype_shortanswerwiris_plugin::define_question_plugin_structure is not documented
question/type/shortanswerwiris/backup/moodle2/restore_qtype_shortanswerwiris_plugin.class.php
(#18) Package is not specified for class restore_qtype_shortanswerwiris_plugin. It is also not specified in file-level phpdocs
(#18) Class restore_qtype_shortanswerwiris_plugin is not documented
(#44) Function restore_qtype_shortanswerwiris_plugin::process_qtype_wq_shortanswerwiris is not documented
(#79) Function restore_qtype_shortanswerwiris_plugin::decode_html_entities is not documented
(#88) Function restore_qtype_shortanswerwiris_plugin::process_shortanswerwiris is not documented
(#69) Phpdocs for function restore_qtype_shortanswerwiris_plugin::recode_response has incomplete parameters list
question/type/shortanswerwiris/classes/privacy/provider.php
(#29) Class provider is not documented
question/type/shortanswerwiris/edit_shortanswerwiris_form.php
(#22) Package is not specified for class qtype_shortanswerwiris_edit_form. It is also not specified in file-level phpdocs
(#72) Package is not specified for class qtype_shortanswerwiris_helper_edit_form. It is also not specified in file-level phpdocs
(#17) File-level phpdocs block is not found
(#22) Class qtype_shortanswerwiris_edit_form is not documented
(#72) Class qtype_shortanswerwiris_helper_edit_form is not documented
(#24) Function qtype_shortanswerwiris_edit_form::definition_inner is not documented
(#66) Function qtype_shortanswerwiris_edit_form::qtype is not documented
(#73) Function qtype_shortanswerwiris_helper_edit_form::get_more_choices_string is not documented
(#76) Function qtype_shortanswerwiris_helper_edit_form::add_per_answer_fields is not documented
question/type/shortanswerwiris/lang/ca/qtype_shortanswerwiris.php
(#17) File-level phpdocs block is not found
question/type/shortanswerwiris/lang/de/qtype_shortanswerwiris.php
(#17) File-level phpdocs block is not found
question/type/shortanswerwiris/lang/el/qtype_shortanswerwiris.php
(#17) File-level phpdocs block is not found
question/type/shortanswerwiris/lang/en/qtype_shortanswerwiris.php
(#17) File-level phpdocs block is not found
question/type/shortanswerwiris/lang/es/qtype_shortanswerwiris.php
(#17) File-level phpdocs block is not found
question/type/shortanswerwiris/lang/fr/qtype_shortanswerwiris.php
(#17) File-level phpdocs block is not found
question/type/shortanswerwiris/lang/it/qtype_shortanswerwiris.php
(#17) File-level phpdocs block is not found
question/type/shortanswerwiris/lib.php
(#21) Package is not specified for function wrsqz_convert_for_compound. It is also not specified in file-level phpdocs
(#17) File-level phpdocs block is not found
(#21) Function wrsqz_convert_for_compound is not documented
question/type/shortanswerwiris/question.php
(#21) Package is not specified for class qtype_shortanswerwiris_question. It is also not specified in file-level phpdocs
(#21) Class qtype_shortanswerwiris_question is not documented
(#34) Function qtype_shortanswerwiris_question::__construct is not documented
(#38) Function qtype_shortanswerwiris_question::start_attempt is not documented
(#42) Function qtype_shortanswerwiris_question::apply_attempt_state is not documented
(#80) Function qtype_shortanswerwiris_question::grade_response is not documented
(#141) Function qtype_shortanswerwiris_question::get_matching_answer is not documented
(#224) Function qtype_shortanswerwiris_question::summarise_response is not documented
(#236) Function qtype_shortanswerwiris_question::get_right_answer_summary is not documented
(#240) Function qtype_shortanswerwiris_question::format_answer is not documented
(#250) Function qtype_shortanswerwiris_question::is_text_answer is not documented
(#258) Function qtype_shortanswerwiris_question::is_compound_answer is not documented
(#264) Function qtype_shortanswerwiris_question::get_correct_response is not documented
(#52) There is no description in phpdocs for function join_all_text
(#65) There is no description in phpdocs for function join_feedback_text
(#99) Phpdocs for function qtype_shortanswerwiris_question::get_matching_answer_fail_test has incomplete parameters list
(#23) Phpdocs for variable qtype_shortanswerwiris_question::$step does not contain @var or incorrect
(#29) Phpdocs for variable qtype_shortanswerwiris_question::$answers does not contain @var or incorrect
question/type/shortanswerwiris/questiontype.php
(#24) Package is not specified for class qtype_shortanswerwiris. It is also not specified in file-level phpdocs
(#24) Class qtype_shortanswerwiris is not documented
(#26) Function qtype_shortanswerwiris::__construct is not documented
(#30) Function qtype_shortanswerwiris::extra_question_fields is not documented
(#34) Function qtype_shortanswerwiris::create_editing_form is not documented
(#40) Function qtype_shortanswerwiris::initialise_question_instance is not documented
(#45) Function qtype_shortanswerwiris::export_to_xml is not documented
(#52) Function qtype_shortanswerwiris::import_from_xml is not documented
(#241) Function qtype_shortanswerwiris::wrsqz_get_distribution is not documented
question/type/shortanswerwiris/renderer.php
(#21) Package is not specified for class qtype_shortanswerwiris_renderer. It is also not specified in file-level phpdocs
(#21) Class qtype_shortanswerwiris_renderer is not documented
(#22) Function qtype_shortanswerwiris_renderer::__construct is not documented
(#26) Function qtype_shortanswerwiris_renderer::formulation_and_controls is not documented
(#87) Function qtype_shortanswerwiris_renderer::correct_response is not documented
(#97) Function qtype_shortanswerwiris_renderer::feedback_class is not documented
question/type/shortanswerwiris/version.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

(1 errors, 1 warnings)

This section shows files built by grunt and not commited [More info]

Problems running grunt
Task "stylelint:css" failed. Use --force to continue.

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]