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

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

question/type/algebra/ajax.php
(#36) This comment is 67% valid code; is this commented out code?
question/type/algebra/combinable/combinable.php
(#63) Line exceeds 132 characters; contains 156 characters
(#64) Line exceeds 132 characters; contains 148 characters
(#65) Line exceeds 132 characters; contains 148 characters
(#94) Line exceeds 132 characters; contains 133 characters
(#109) Line exceeds 132 characters; contains 169 characters
(#241) Line exceeds 132 characters; contains 147 characters

Javascript coding style problems

(2 errors, 1 warnings)

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

question/type/algebra/amd/src/display.js
(#17) Infix operators must be spaced. (space-infix-ops)
question/type/algebra/javascript/mobile.js
(#33) Parsing error: The keyword 'const' is reserved
question/type/algebra/mobile/mobile.js
(#34) Parsing error: The keyword 'const' is reserved

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(238 errors, 0 warnings)

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

question/type/algebra/ajax.php
(#17) No one-line description found in phpdocs for file
question/type/algebra/backup/moodle1/lib.php
(#17) No one-line description found in phpdocs for file
(#30) There is no description in phpdocs for function get_question_subpaths
(#41) Phpdocs for function moodle1_qtype_algebra_handler::process_question has incomplete parameters list
(#25) Class moodle1_qtype_algebra_handler does not have @copyright tag
(#25) Class moodle1_qtype_algebra_handler does not have @license tag
question/type/algebra/backup/moodle2/backup_qtype_algebra_plugin.class.php
(#17) No one-line description found in phpdocs for file
(#25) Class backup_qtype_algebra_plugin does not have @copyright tag
(#25) Class backup_qtype_algebra_plugin does not have @license tag
question/type/algebra/backup/moodle2/restore_qtype_algebra_plugin.class.php
(#17) No one-line description found in phpdocs for file
(#25) No one-line description found in phpdocs for class restore_qtype_algebra_plugin
(#52) Phpdocs for function restore_qtype_algebra_plugin::process_algebra has incomplete parameters list
(#77) Phpdocs for function restore_qtype_algebra_plugin::process_algebravariable has incomplete parameters list
(#25) Class restore_qtype_algebra_plugin does not have @copyright tag
(#25) Class restore_qtype_algebra_plugin does not have @license tag
question/type/algebra/combinable/combinable.php
(#34) Class qtype_combined_combinable_type_algebra is not documented
(#55) Class qtype_combined_combinable_algebra is not documented
(#38) Function qtype_combined_combinable_type_algebra::extra_question_properties is not documented
(#42) Function qtype_combined_combinable_type_algebra::extra_answer_properties is not documented
(#46) Function qtype_combined_combinable_type_algebra::subq_form_fragment_question_option_fields is not documented
(#139) Function qtype_combined_combinable_algebra::data_to_form is not documented
(#157) Function qtype_combined_combinable_algebra::validate is not documented
(#283) Function qtype_combined_combinable_algebra::get_sup_sub_editor_option is not documented
(#287) Function qtype_combined_combinable_algebra::has_submitted_data is not documented
(#36) Variable qtype_combined_combinable_type_algebra::$identifier is not documented
(#70) There is no description in phpdocs for function add_form_fragment
(#71) Phpdocs for function qtype_combined_combinable_algebra::add_form_fragment has incomplete parameters list
question/type/algebra/combinable/renderer.php
(#29) Class qtype_algebra_embedded_renderer is not documented
question/type/algebra/db/upgrade.php
(#27) Function xmldb_qtype_algebra_upgrade is not documented
question/type/algebra/db/upgradelib.php
(#40) Function qtype_algebra_qe2_attempt_updater::right_answer is not documented
(#48) Function qtype_algebra_qe2_attempt_updater::was_answered is not documented
(#52) Function qtype_algebra_qe2_attempt_updater::response_summary is not documented
(#60) Function qtype_algebra_qe2_attempt_updater::set_first_step_data_elements is not documented
(#63) Function qtype_algebra_qe2_attempt_updater::supply_missing_first_step_data is not documented
(#66) Function qtype_algebra_qe2_attempt_updater::set_data_elements_for_step is not documented
(#30) No one-line description found in phpdocs for class qtype_algebra_qe2_attempt_updater
(#20) Package qtype is not valid
question/type/algebra/displayformula.php
(#17) No one-line description found in phpdocs for file
question/type/algebra/edit_algebra_form.php
(#172) Function qtype_algebra_edit_form::get_more_choices_string is not documented
(#176) Function qtype_algebra_edit_form::data_preprocessing is not documented
(#399) Function qtype_algebra_edit_form::qtype is not documented
(#40) Constant qtype_algebra_edit_form::VARIABLES_TO_ADD is not documented
(#17) No one-line description found in phpdocs for file
(#198) Phpdocs for function qtype_algebra_edit_form::set_data has incomplete parameters list
(#259) Phpdocs for function qtype_algebra_edit_form::validation has incomplete parameters list
(#34) Class qtype_algebra_edit_form does not have @copyright tag
(#34) Class qtype_algebra_edit_form does not have @license tag
question/type/algebra/lang/en/qtype_algebra.php
(#17) File-level phpdocs block does not have @copyright tag
question/type/algebra/lib.php
(#30) Phpdocs for function qtype_algebra_pluginfile has incomplete parameters list
question/type/algebra/parser.php
(#22) File-level phpdocs block is not found
(#53) Function parser_exception::__construct is not documented
(#1311) Function qtype_algebra_parser_bracket::__construct is not documented
(#1355) Function qtype_algebra_parser_bracket::set_negative is not documented
(#66) Variable qtype_algebra_parser_term::$_value is not documented
(#67) Variable qtype_algebra_parser_term::$_arguments is not documented
(#68) Variable qtype_algebra_parser_term::$_formats is not documented
(#69) Variable qtype_algebra_parser_term::$_nargs is not documented
(#471) Variable qtype_algebra_parser_nullterm::$formats is not documented
(#586) Variable qtype_algebra_parser_number::$formats is not documented
(#602) Variable qtype_algebra_parser_variable::$greek is not documented
(#747) Variable qtype_algebra_parser_variable::$formats is not documented
(#796) Variable qtype_algebra_parser_power::$formats is not documented
(#851) Variable qtype_algebra_parser_divide::$formats is not documented
(#989) Variable qtype_algebra_parser_add::$formats is not documented
(#1035) Variable qtype_algebra_parser_subtract::$formats is not documented
(#1134) Variable qtype_algebra_parser_special::$formats is not documented
(#1287) Variable qtype_algebra_parser_function::$fnmap is not documented
(#1290) Variable qtype_algebra_parser_function::$texmap is not documented
(#1296) Variable qtype_algebra_parser_function::$bracketmap is not documented
(#1374) Variable qtype_algebra_parser_bracket::$_open is not documented
(#1375) Variable qtype_algebra_parser_bracket::$_close is not documented
(#1379) Variable qtype_algebra_parser_bracket::$formats is not documented
(#1402) Variable qtype_algebra_parser::$specials is not documented
(#1408) Variable qtype_algebra_parser::$functions is not documented
(#1423) Variable qtype_algebra_parser::$priority is not documented
(#1431) Variable qtype_algebra_parser::$openb is not documented
(#1433) Variable qtype_algebra_parser::$closeb is not documented
(#1435) Variable qtype_algebra_parser::$plainnumber is not documented
(#1437) Variable qtype_algebra_parser::$expnumber is not documented
(#1439) Variable qtype_algebra_parser::$bramap is not documented
(#470) Constant qtype_algebra_parser_nullterm::NARGS is not documented
(#585) Constant qtype_algebra_parser_number::NARGS is not documented
(#746) Constant qtype_algebra_parser_variable::NARGS is not documented
(#795) Constant qtype_algebra_parser_power::NARGS is not documented
(#850) Constant qtype_algebra_parser_divide::NARGS is not documented
(#946) Constant qtype_algebra_parser_multiply::NARGS is not documented
(#988) Constant qtype_algebra_parser_add::NARGS is not documented
(#1034) Constant qtype_algebra_parser_subtract::NARGS is not documented
(#1133) Constant qtype_algebra_parser_special::NARGS is not documented
(#1286) Constant qtype_algebra_parser_function::NARGS is not documented
(#1378) Constant qtype_algebra_parser_bracket::NARGS is not documented
(#33) Phpdocs for function qtype_algebra_parser_strlen_sort has incomplete parameters list
(#79) Phpdocs for function qtype_algebra_parser_term::__construct has incomplete parameters list
(#99) Phpdocs for function qtype_algebra_parser_term::print_args has incomplete parameters list
(#209) Phpdocs for function qtype_algebra_parser_term::set_arguments has incomplete parameters list
(#226) Phpdocs for function qtype_algebra_parser_term::check_arguments has incomplete parameters list
(#277) Phpdocs for function qtype_algebra_parser_term::collect has incomplete parameters list
(#303) Phpdocs for function qtype_algebra_parser_term::equals has incomplete parameters list
(#320) Phpdocs for function qtype_algebra_parser_term::equivalent has incomplete parameters list
(#379) Phpdocs for function qtype_algebra_parser_term::evaluate has incomplete parameters list
(#393) Phpdocs for function qtype_algebra_parser_term::dump has incomplete parameters list
(#450) Phpdocs for function qtype_algebra_parser_nullterm::print_args has incomplete parameters list
(#462) Phpdocs for function qtype_algebra_parser_nullterm::evaluate has incomplete parameters list
(#491) Phpdocs for function qtype_algebra_parser_number::__construct has incomplete parameters list
(#533) Phpdocs for function qtype_algebra_parser_number::equals has incomplete parameters list
(#552) Phpdocs for function qtype_algebra_parser_number::print_args has incomplete parameters list
(#578) Phpdocs for function qtype_algebra_parser_number::evaluate has incomplete parameters list
(#639) Phpdocs for function qtype_algebra_parser_variable::__construct has incomplete parameters list
(#697) Phpdocs for function qtype_algebra_parser_variable::print_args has incomplete parameters list
(#710) Phpdocs for function qtype_algebra_parser_variable::evaluate has incomplete parameters list
(#733) Phpdocs for function qtype_algebra_parser_variable::equals has incomplete parameters list
(#772) Phpdocs for function qtype_algebra_parser_power::__construct has incomplete parameters list
(#785) Phpdocs for function qtype_algebra_parser_power::evaluate has incomplete parameters list
(#819) Phpdocs for function qtype_algebra_parser_divide::__construct has incomplete parameters list
(#832) Phpdocs for function qtype_algebra_parser_divide::evaluate has incomplete parameters list
(#874) Phpdocs for function qtype_algebra_parser_multiply::__construct has incomplete parameters list
(#891) Phpdocs for function qtype_algebra_parser_multiply::set_arguments has incomplete parameters list
(#937) Phpdocs for function qtype_algebra_parser_multiply::evaluate has incomplete parameters list
(#966) Phpdocs for function qtype_algebra_parser_add::__construct has incomplete parameters list
(#979) Phpdocs for function qtype_algebra_parser_add::evaluate has incomplete parameters list
(#1012) Phpdocs for function qtype_algebra_parser_subtract::__construct has incomplete parameters list
(#1025) Phpdocs for function qtype_algebra_parser_subtract::evaluate has incomplete parameters list
(#1056) Phpdocs for function qtype_algebra_parser_special::__construct has incomplete parameters list
(#1081) Phpdocs for function qtype_algebra_parser_special::evaluate has incomplete parameters list
(#1107) Phpdocs for function qtype_algebra_parser_special::print_args has incomplete parameters list
(#1120) Phpdocs for function qtype_algebra_parser_special::equals has incomplete parameters list
(#1158) Phpdocs for function qtype_algebra_parser_function::__construct has incomplete parameters list
(#1193) Phpdocs for function qtype_algebra_parser_function::set_arguments has incomplete parameters list
(#1227) Phpdocs for function qtype_algebra_parser_function::print_args has incomplete parameters list
(#1244) Phpdocs for function qtype_algebra_parser_function::evaluate has incomplete parameters list
(#1273) Phpdocs for function qtype_algebra_parser_function::equals has incomplete parameters list
(#1340) Phpdocs for function qtype_algebra_parser_bracket::evaluate has incomplete parameters list
(#1475) Phpdocs for function qtype_algebra_parser::parse has incomplete parameters list
(#1620) Phpdocs for function qtype_algebra_parser::interpret has incomplete parameters list
(#49) Class parser_exception does not have @copyright tag
(#57) Class qtype_algebra_parser_term does not have @copyright tag
(#423) Class qtype_algebra_parser_nullterm does not have @copyright tag
(#476) Class qtype_algebra_parser_number does not have @copyright tag
(#590) Class qtype_algebra_parser_variable does not have @copyright tag
(#756) Class qtype_algebra_parser_power does not have @copyright tag
(#803) Class qtype_algebra_parser_divide does not have @copyright tag
(#858) Class qtype_algebra_parser_multiply does not have @copyright tag
(#950) Class qtype_algebra_parser_add does not have @copyright tag
(#996) Class qtype_algebra_parser_subtract does not have @copyright tag
(#1042) Class qtype_algebra_parser_special does not have @copyright tag
(#1143) Class qtype_algebra_parser_function does not have @copyright tag
(#1301) Class qtype_algebra_parser_bracket does not have @copyright tag
(#1393) Class qtype_algebra_parser does not have @copyright tag
(#49) Class parser_exception does not have @license tag
(#57) Class qtype_algebra_parser_term does not have @license tag
(#423) Class qtype_algebra_parser_nullterm does not have @license tag
(#476) Class qtype_algebra_parser_number does not have @license tag
(#590) Class qtype_algebra_parser_variable does not have @license tag
(#756) Class qtype_algebra_parser_power does not have @license tag
(#803) Class qtype_algebra_parser_divide does not have @license tag
(#858) Class qtype_algebra_parser_multiply does not have @license tag
(#950) Class qtype_algebra_parser_add does not have @license tag
(#996) Class qtype_algebra_parser_subtract does not have @license tag
(#1042) Class qtype_algebra_parser_special does not have @license tag
(#1143) Class qtype_algebra_parser_function does not have @license tag
(#1301) Class qtype_algebra_parser_bracket does not have @license tag
(#1393) Class qtype_algebra_parser does not have @license tag
(#49) Package is not specified for class parser_exception. It is also not specified in file-level phpdocs
(#57) Package is not specified for class qtype_algebra_parser_term. It is also not specified in file-level phpdocs
(#423) Package is not specified for class qtype_algebra_parser_nullterm. It is also not specified in file-level phpdocs
(#476) Package is not specified for class qtype_algebra_parser_number. It is also not specified in file-level phpdocs
(#590) Package is not specified for class qtype_algebra_parser_variable. It is also not specified in file-level phpdocs
(#756) Package is not specified for class qtype_algebra_parser_power. It is also not specified in file-level phpdocs
(#803) Package is not specified for class qtype_algebra_parser_divide. It is also not specified in file-level phpdocs
(#858) Package is not specified for class qtype_algebra_parser_multiply. It is also not specified in file-level phpdocs
(#950) Package is not specified for class qtype_algebra_parser_add. It is also not specified in file-level phpdocs
(#996) Package is not specified for class qtype_algebra_parser_subtract. It is also not specified in file-level phpdocs
(#1042) Package is not specified for class qtype_algebra_parser_special. It is also not specified in file-level phpdocs
(#1143) Package is not specified for class qtype_algebra_parser_function. It is also not specified in file-level phpdocs
(#1301) Package is not specified for class qtype_algebra_parser_bracket. It is also not specified in file-level phpdocs
(#1393) Package is not specified for class qtype_algebra_parser. It is also not specified in file-level phpdocs
(#24) Package is not specified for function qtype_algebra_parser_strlen_sort. It is also not specified in file-level phpdocs
question/type/algebra/question.php
(#53) Function qtype_algebra_question::__construct is not documented
(#57) Function qtype_algebra_question::get_expected_data is not documented
(#61) Function qtype_algebra_question::summarise_response is not documented
(#69) Function qtype_algebra_question::is_complete_response is not documented
(#74) Function qtype_algebra_question::get_validation_error is not documented
(#166) Function qtype_algebra_question::is_same_response is not documented
(#191) Function qtype_algebra_question::get_answers is not documented
(#195) Function qtype_algebra_question::compare_response_with_answer is not documented
(#314) Function qtype_algebra_question::check_file_access is not documented
(#46) Variable qtype_algebra_question::$compareby is not documented
(#47) Variable qtype_algebra_question::$nchecks is not documented
(#48) Variable qtype_algebra_question::$tolerance is not documented
(#49) Variable qtype_algebra_question::$allowedfuncs is not documented
(#50) Variable qtype_algebra_question::$disallow is not documented
(#51) Variable qtype_algebra_question::$answerprefix is not documented
(#332) No one-line description found in phpdocs for class qtype_algebra_variable
(#87) Phpdocs for function qtype_algebra_question::parse_expression has incomplete parameters list
(#126) Phpdocs for function qtype_algebra_question::formated_expression has incomplete parameters list
(#220) Phpdocs for function qtype_algebra_question::test_response_by_sage has incomplete parameters list
(#248) Phpdocs for function qtype_algebra_question::test_response_by_evaluation has incomplete parameters list
(#299) Phpdocs for function qtype_algebra_question::test_response_by_equivalence has incomplete parameters list
(#354) Phpdocs for function qtype_algebra_variable::__construct has incomplete parameters list
(#17) File-level phpdocs block does not have @copyright tag
question/type/algebra/questiontype.php
(#38) Class qtype_algebra is not documented
(#57) Function qtype_algebra::move_files is not documented
(#63) Function qtype_algebra::delete_files is not documented
(#69) Function qtype_algebra::delete_question is not documented
(#344) Function qtype_algebra::get_all_responses is not documented
(#402) Function qtype_algebra::initialise_question_instance is not documented
(#419) Function qtype_algebra::get_random_guess_score is not documented
(#423) Function qtype_algebra::get_possible_responses is not documented
(#240) Phpdocs for function qtype_algebra::import_from_xml has incomplete parameters list
(#314) Phpdocs for function qtype_algebra::export_to_xml has incomplete parameters list
(#367) Phpdocs for function qtype_algebra::parse_expression has incomplete parameters list
(#17) File-level phpdocs block does not have @copyright tag
(#34) Package questionbank is not valid
question/type/algebra/renderer.php
(#35) Function qtype_algebra_renderer::formulation_and_controls is not documented
(#155) Function qtype_algebra_renderer::specific_feedback is not documented
(#167) Function qtype_algebra_renderer::correct_response is not documented
(#17) File-level phpdocs block does not have @copyright tag
(#20) Package qtype is not valid
question/type/algebra/settings.php
(#17) No one-line description found in phpdocs for file
question/type/algebra/tests/helper.php
(#34) Function qtype_algebra_test_helper::get_test_questions is not documented
question/type/algebra/tests/parser_exception_test.php
(#41) Class qtype_algebra_parser_exception_test is not documented
question/type/algebra/tests/parser_test.php
(#41) Class qtype_algebra_parser_test is not documented
question/type/algebra/tests/question_test.php
(#40) Class qtype_algebra_question_test is not documented
(#41) There is no description in phpdocs for function get_test_algebra_question
(#41) Phpdocs for function qtype_algebra_question_test::get_test_algebra_question has incomplete parameters list
question/type/algebra/tests/questiontype_test.php
(#57) Function qtype_algebra_test::get_test_question_data is not documented
(#42) Variable qtype_algebra_test::$includecoverage is not documented
(#47) Variable qtype_algebra_test::$qtype is not documented
question/type/algebra/version.php
(#17) No one-line description found in phpdocs for file
question/type/algebra/xmlrpc-utils.php
(#58) Function xu_query_http_post is not documented
(#111) Function xu_fault_code is not documented
(#117) Function find_and_decode_xml is not documented
(#205) Function xu_rpc_http is not documented
(#224) Function xu_is_fault is not documented
(#230) Function xu_server_send_http_response is not documented
(#17) No one-line description found in phpdocs for file
(#133) Phpdocs for function xu_rpc_http_concise has incomplete parameters list
(#17) File-level phpdocs block does not have @copyright tag

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]