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

(13 errors, 0 warnings)

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

question/type/opaque/connection.php
(#168) method name "qtype_opaque_soap_client_with_timeout::__doRequest" is invalid; only PHP magic methods should be prefixed with a double underscore
(#168) Variable "one_way" must not contain underscores.
(#188) Variable "one_way" must not contain underscores.
(#220) method name "qtype_opaque_soap_client_with_logging::__write_to_log" is invalid; only PHP magic methods should be prefixed with a double underscore
(#226) method name "qtype_opaque_soap_client_with_logging::__write_to_short_log" is invalid; only PHP magic methods should be prefixed with a double underscore
(#232) method name "qtype_opaque_soap_client_with_logging::__log_arguments" is invalid; only PHP magic methods should be prefixed with a double underscore
(#241) method name "qtype_opaque_soap_client_with_logging::__log_result" is invalid; only PHP magic methods should be prefixed with a double underscore
(#251) method name "qtype_opaque_soap_client_with_logging::__log_exception" is invalid; only PHP magic methods should be prefixed with a double underscore
(#261) method name "qtype_opaque_soap_client_with_logging::__log_object" is invalid; only PHP magic methods should be prefixed with a double underscore
(#262) The use of function print_r() is forbidden
(#265) method name "qtype_opaque_soap_client_with_logging::__log_rule" is invalid; only PHP magic methods should be prefixed with a double underscore
(#270) method name "qtype_opaque_soap_client_with_logging::__log_thin_rule" is invalid; only PHP magic methods should be prefixed with a double underscore
(#275) method name "qtype_opaque_soap_client_with_logging::__format_time" is invalid; only PHP magic methods should be prefixed with a double underscore

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

(72 errors, 0 warnings)

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

question/type/opaque/backup/moodle2/backup_qtype_opaque_plugin.class.php
(#17) No one-line description found in phpdocs for file
question/type/opaque/backup/moodle2/restore_qtype_opaque_plugin.class.php
(#40) Function restore_qtype_opaque_plugin::define_question_plugin_structure is not documented
(#37) Variable restore_qtype_opaque_plugin::$enginemanager is not documented
(#17) No one-line description found in phpdocs for file
(#29) No one-line description found in phpdocs for class restore_qtype_opaque_plugin
(#48) Phpdocs for function restore_qtype_opaque_plugin::process_opaque has incomplete parameters list
(#87) Phpdocs for function restore_qtype_opaque_plugin::process_engine has incomplete parameters list
(#94) Phpdocs for function restore_qtype_opaque_plugin::process_server has incomplete parameters list
question/type/opaque/connection.php
(#155) Function qtype_opaque_soap_client_with_timeout::__construct is not documented
(#168) Function qtype_opaque_soap_client_with_timeout::__doRequest is not documented
(#206) Function qtype_opaque_soap_client_with_logging::__call is not documented
(#220) Function qtype_opaque_soap_client_with_logging::__write_to_log is not documented
(#226) Function qtype_opaque_soap_client_with_logging::__write_to_short_log is not documented
(#232) Function qtype_opaque_soap_client_with_logging::__log_arguments is not documented
(#241) Function qtype_opaque_soap_client_with_logging::__log_result is not documented
(#251) Function qtype_opaque_soap_client_with_logging::__log_exception is not documented
(#261) Function qtype_opaque_soap_client_with_logging::__log_object is not documented
(#265) Function qtype_opaque_soap_client_with_logging::__log_rule is not documented
(#270) Function qtype_opaque_soap_client_with_logging::__log_thin_rule is not documented
(#275) Function qtype_opaque_soap_client_with_logging::__format_time is not documented
(#44) Variable qtype_opaque_connection::$questionbanks is not documented
(#45) Variable qtype_opaque_connection::$passkeysalt is not documented
(#46) Variable qtype_opaque_connection::$soapclient is not documented
(#35) No one-line description found in phpdocs for class qtype_opaque_connection
(#81) There is no description in phpdocs for function question_base_url
(#93) There is no description in phpdocs for function generate_passkey
(#103) There is no description in phpdocs for function get_engine_info
(#111) There is no description in phpdocs for function get_question_metadata
(#94) Phpdocs for function qtype_opaque_connection::generate_passkey has incomplete parameters list
question/type/opaque/edit_engine_form.php
(#43) Function qtype_opaque_engine_edit_form::definition is not documented
(#115) Function qtype_opaque_engine_edit_form::validation is not documented
(#81) Phpdocs for function qtype_opaque_engine_edit_form::validateurllist has incomplete parameters list
(#99) Phpdocs for function qtype_opaque_engine_edit_form::extracturllist has incomplete parameters list
(#101) Invalid inline phpdocs tag @return found
question/type/opaque/edit_opaque_form.php
(#41) Function qtype_opaque_edit_form::definition is not documented
(#52) Function qtype_opaque_edit_form::definition_inner is not documented
(#71) Function qtype_opaque_edit_form::validation is not documented
(#113) Function qtype_opaque_edit_form::set_data is not documented
(#125) Function qtype_opaque_edit_form::get_data is not documented
(#135) Function qtype_opaque_edit_form::qtype is not documented
(#31) No one-line description found in phpdocs for class qtype_opaque_edit_form
question/type/opaque/enginemanager.php
(#147) Function qtype_opaque_engine_manager::get_possibly_matching_engines is not documented
(#39) Variable qtype_opaque_engine_manager::$instance is not documented
(#41) There is no description in phpdocs for function get
(#49) There is no description in phpdocs for function choices
question/type/opaque/lib.php
(#28) Phpdocs for function qtype_opaque_pluginfile has incomplete parameters list
question/type/opaque/question.php
(#43) Function qtype_opaque_question::make_behaviour is not documented
(#47) Function qtype_opaque_question::get_expected_data is not documented
(#51) Function qtype_opaque_question::get_correct_response is not documented
question/type/opaque/questiontype.php
(#41) Function qtype_opaque::__construct is not documented
(#55) Function qtype_opaque::can_analyse_responses is not documented
(#59) Function qtype_opaque::extra_question_fields is not documented
(#63) Function qtype_opaque::save_question is not documented
(#71) Function qtype_opaque::initialise_question_instance is not documented
(#78) Function qtype_opaque::get_random_guess_score is not documented
(#82) Function qtype_opaque::export_to_xml is not documented
(#102) Function qtype_opaque::import_from_xml is not documented
question/type/opaque/testengine.php
(#81) There is no description in phpdocs for function xml_to_dl
(#82) Phpdocs for function xml_to_dl has incomplete parameters list
question/type/opaque/tests/enginemanager_test.php
(#37) Invalid phpdocs tag @group used
question/type/opaque/tests/helper.php
(#36) Function qtype_opaque_test_helper::get_test_questions is not documented
(#68) Function qtype_opaque_test_helper::get_engine_id is not documented
question/type/opaque/tests/questiontype_test.php
(#46) Function qtype_opaque_engine_manager_mock::add_test_engine is not documented
(#50) Function qtype_opaque_engine_manager_mock::load is not documented
(#59) Function qtype_opaque_engine_manager_mock::save is not documented
(#65) Function qtype_opaque_engine_manager_mock::store_opaque_servers is not documented
(#69) Function qtype_opaque_engine_manager_mock::delete is not documented
(#74) Function qtype_opaque_engine_manager_mock::get_possibly_matching_engines is not documented
(#97) Function qtype_opaque_test::assert_same_xml is not documented
(#44) Variable qtype_opaque_engine_manager_mock::$knownengines is not documented
(#87) Variable qtype_opaque_test::$qtype is not documented
(#41) 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]