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

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

plagiarism/urkund/lib.php
(#1578) Line exceeds 132 characters; contains 135 characters

Javascript coding style problems

(2 errors, 8 warnings)

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

plagiarism/urkund/checkreceiver.js
(#24) Identifier 'plagiarism_urkund' is not in camel case. (camelcase)
(#28) Identifier 'check_urkund_receiver' is not in camel case. (camelcase)
(#38) Extra space after key 'data'. (key-spacing)
(#39) Extra space after key 'sesskey'. (key-spacing)
(#40) Extra space after key 'ur'. (key-spacing)
(#41) Extra space after key 'c'. (key-spacing)
(#70) Expected space or tab after '/*' in comment. (spaced-comment)
(#71) 'response' is defined but never used. (no-unused-vars)
(#83) Expected space or tab after '/*' in comment. (spaced-comment)
(#84) 'e' is defined but never used. (no-unused-vars)

CSS problems

(16 errors, 4 warnings)

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

plagiarism/urkund/styles.css
(#11) Expected "#FFFFFF" to be "#ffffff" (color-hex-case)
(#11) Expected "#FFFFFF" to be "#FFF" (color-hex-length)
(#17) Expected "#000000" to be "#000" (color-hex-length)
(#21) Expected "#000000" to be "#000" (color-hex-length)
(#11) Expected indentation of 4 spaces (indentation)
(#12) Expected indentation of 4 spaces (indentation)
(#13) Expected indentation of 4 spaces (indentation)
(#17) Expected indentation of 4 spaces (indentation)
(#21) Expected indentation of 4 spaces (indentation)
(#25) Expected indentation of 4 spaces (indentation)
(#29) Expected indentation of 4 spaces (indentation)
(#33) Expected indentation of 4 spaces (indentation)
(#37) Expected indentation of 4 spaces (indentation)
(#41) Expected indentation of 4 spaces (indentation)
(#45) Expected indentation of 4 spaces (indentation)
(#46) Expected indentation of 4 spaces (indentation)
(#50) Expected indentation of 4 spaces (indentation)
(#51) Expected indentation of 4 spaces (indentation)
(#55) Expected indentation of 4 spaces (indentation)
(#59) Expected indentation of 4 spaces (indentation)

PHPDocs style problems

(71 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
(#53) 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
(#69) 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/classes/observer.php
(#25) Class plagiarism_urkund_observer is not documented
(#25) Package is not specified for class plagiarism_urkund_observer. It is also not specified in file-level phpdocs
plagiarism/urkund/classes/task/get_scores.php
(#37) Function get_scores::get_name is not documented
(#42) Function get_scores::execute is not documented
(#17) File-level phpdocs block does not have @copyright tag
(#29) Class get_scores does not have @copyright tag
plagiarism/urkund/classes/task/send_files.php
(#37) Function send_files::get_name is not documented
(#42) Function send_files::execute is not documented
(#17) File-level phpdocs block does not have @copyright tag
(#29) Class send_files does not have @copyright tag
plagiarism/urkund/classes/task/update_allowed_filetypes.php
(#38) Function update_allowed_filetypes::get_name is not documented
(#43) Function update_allowed_filetypes::execute is not documented
(#29) No one-line description found in phpdocs for class update_allowed_filetypes
(#17) File-level phpdocs block does not have @copyright tag
(#29) Class update_allowed_filetypes does not have @copyright tag
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/tasks.php
(#17) File-level phpdocs block is not found
plagiarism/urkund/db/upgrade.php
(#17) File-level phpdocs block is not found
(#19) There is no description in phpdocs for function xmldb_plagiarism_urkund_upgrade
(#20) Not recommended phpdocs tag @global used
(#19) 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
(#73) Class plagiarism_plugin_urkund is not documented
(#245) Function plagiarism_plugin_urkund::get_file_results is not documented
(#372) Function plagiarism_plugin_urkund::save_form_elements is not documented
(#662) Function plagiarism_plugin_urkund::urkund_send_student_email is not documented
(#692) Function plagiarism_plugin_urkund::validate_receiver is not documented
(#728) Function urkund_create_temp_file is not documented
(#747) Function plagiarism_urkund_format_temp_content is not documented
(#925) Function urkund_check_attempt_timeout is not documented
(#978) Function urkund_send_file_to_urkund is not documented
(#1053) Function urkund_check_file_type is not documented
(#1080) Function urkund_default_allowed_file_types is not documented
(#1131) Function urkund_get_score is not documented
(#1204) Function urkund_get_url is not documented
(#1232) Function urkund_cm_use is not documented
(#1334) Function plagiarism_urkund_delete_old_records is not documented
(#1350) Function old_urkund_get_url is not documented
(#1363) Function urkund_reset_file is not documented
(#1411) Function plagiarism_urkund_get_file_object is not documented
(#1543) Function plagiarism_urkund_send_files is not documented
(#1594) Function plagiarism_urkund_check_group is not documented
(#1649) Function plagiarism_urkund_fix_temp_hash is not documented
(#1667) Function plagiarism_urkund_pretty_print is not documented
(#110) Phpdocs for function plagiarism_plugin_urkund::get_links has incomplete parameters list
(#421) Phpdocs for function plagiarism_plugin_urkund::get_form_elements_module has incomplete parameters list
(#541) Phpdocs for function plagiarism_plugin_urkund::event_handler has incomplete parameters list
(#817) 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
(#83) Class urkund_defaults_form is not documented
(#24) Function urkund_setup_form::definition is not documented
(#86) 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
(#83) 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]


grunt changes

(1 errors, 1 warnings)

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

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

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]