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

(10 errors, 3 warnings)

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

plagiarism/urkund/db/access.php
(#17) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
plagiarism/urkund/db/events.php
(#17) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
plagiarism/urkund/db/upgrade.php
(#22) Expected MOODLE_INTERNAL check or config.php inclusion
plagiarism/urkund/form_customrule.php
(#41) Visibility must be declared on method "validate"
plagiarism/urkund/lib.php
(#878) Commas (,) must be followed by white space.
plagiarism/urkund/settings.php
(#104) Line exceeds 132 characters; contains 179 characters
plagiarism/urkund/urkund_debug.php
(#92) The use of function print_object() is forbidden
(#120) The use of function print_object() is forbidden
(#161) Commas (,) must be followed by white space.
(#192) Line exceeds 132 characters; contains 142 characters
plagiarism/urkund/urkund_form.php
(#24) Visibility must be declared on method "definition"
(#74) Visibility must be declared on method "definition"
plagiarism/urkund/version.php
(#26) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.

Javascript coding style problems

(0 errors, 7 warnings)

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

plagiarism/urkund/checkreceiver.js
(#72) Missing semicolon.
(#73) Missing semicolon.
(#81) Missing semicolon.
(#82) Missing semicolon.
(#67) 'response' is defined but never used.
(#67) 'tid' is defined but never used.
(#79) 'e' is defined but never used.

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(58 errors, 1 warnings)

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

plagiarism/urkund/backup/moodle2/backup_plagiarism_urkund_plugin.class.php
(#17) File-level phpdocs block is not found
(#20) Class backup_plagiarism_urkund_plugin is not documented
(#21) Function backup_plagiarism_urkund_plugin::define_module_plugin_structure is not documented
(#54) Function backup_plagiarism_urkund_plugin::define_course_plugin_structure is not documented
(#20) Package is not specified for class backup_plagiarism_urkund_plugin. It is also not specified in file-level phpdocs
plagiarism/urkund/backup/moodle2/restore_plagiarism_urkund_plugin.class.php
(#17) File-level phpdocs block is not found
(#20) Class restore_plagiarism_urkund_plugin is not documented
(#35) Function restore_plagiarism_urkund_plugin::process_urkundconfig is not documented
(#60) Function restore_plagiarism_urkund_plugin::process_urkundconfigmod is not documented
(#70) Function restore_plagiarism_urkund_plugin::process_urkundfiles is not documented
(#20) Package is not specified for class restore_plagiarism_urkund_plugin. It is also not specified in file-level phpdocs
plagiarism/urkund/db/access.php
(#17) File-level phpdocs block is not found
plagiarism/urkund/db/events.php
(#17) File-level phpdocs block is not found
plagiarism/urkund/db/upgrade.php
(#17) File-level phpdocs block is not found
(#17) There is no description in phpdocs for function xmldb_plagiarism_urkund_upgrade
(#18) Not recommended phpdocs tag @global used
(#17) Package is not specified for function xmldb_plagiarism_urkund_upgrade. It is also not specified in file-level phpdocs
plagiarism/urkund/form_customrule.php
(#38) Class urkundvalidatereceiver is not documented
(#41) Function urkundvalidatereceiver::validate is not documented
(#17) No one-line description found in phpdocs for file
plagiarism/urkund/lang/en/plagiarism_urkund.php
(#17) No one-line description found in phpdocs for file
plagiarism/urkund/lang/sv/plagiarism_urkund.php
(#17) File-level phpdocs block does not have @copyright tag
(#20) Package plagiarism is not valid
plagiarism/urkund/lib.php
(#70) Class plagiarism_plugin_urkund is not documented
(#213) Function plagiarism_plugin_urkund::get_file_results is not documented
(#330) Function plagiarism_plugin_urkund::save_form_elements is not documented
(#607) Function plagiarism_plugin_urkund::urkund_send_student_email is not documented
(#626) Function plagiarism_plugin_urkund::validate_receiver is not documented
(#661) Function urkund_create_temp_file is not documented
(#690) Function urkund_event_file_uploaded is not documented
(#695) Function urkund_event_files_done is not documented
(#701) Function urkund_event_content_uploaded is not documented
(#707) Function urkund_event_content_done is not documented
(#713) Function urkund_event_assessable_submitted is not documented
(#719) Function urkund_event_mod_created is not documented
(#727) Function urkund_event_mod_updated is not documented
(#735) Function urkund_event_mod_deleted is not documented
(#743) Function urkund_supported_events is not documented
(#818) Function urkund_send_file is not documented
(#847) Function urkund_check_attempt_timeout is not documented
(#896) Function urkund_send_file_to_urkund is not documented
(#960) Function urkund_check_file_type is not documented
(#1013) Function urkund_get_score is not documented
(#1083) Function urkund_get_url is not documented
(#1105) Function urkund_cm_use is not documented
(#1203) Function urkund_check_event_handlers is not documented
(#1226) Function old_urkund_get_url is not documented
(#1238) Function urkund_reset_file is not documented
(#105) Phpdocs for function plagiarism_plugin_urkund::get_links has incomplete parameters list
(#362) Phpdocs for function plagiarism_plugin_urkund::get_form_elements_module has incomplete parameters list
(#487) Phpdocs for function plagiarism_plugin_urkund::event_handler has incomplete parameters list
(#785) Phpdocs for function urkund_get_plagiarism_file has incomplete parameters list
plagiarism/urkund/urkund_form.php
(#16) File-level phpdocs block is not found
(#21) Class urkund_setup_form is not documented
(#71) Class urkund_defaults_form is not documented
(#24) Function urkund_setup_form::definition is not documented
(#74) Function urkund_defaults_form::definition is not documented
(#21) Package is not specified for class urkund_setup_form. It is also not specified in file-level phpdocs
(#71) Package is not specified for class urkund_defaults_form. It is also not specified in file-level phpdocs

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]