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

(1 errors, 0 warnings)

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

plagiarism/safeassign/lib.php
(#69) The static declaration must come after the visibility declaration

Javascript coding style problems

(0 errors, 7 warnings)

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

plagiarism/safeassign/amd/src/formelements.js
(#124) Expected catch,fail() or return (promise/catch-or-return)
plagiarism/safeassign/amd/src/score.js
(#146) Expected catch,fail() or return (promise/catch-or-return)
(#146) Each then() should return a value or throw (promise/always-return)
(#151) Expected catch,fail() or return (promise/catch-or-return)
(#151) Each then() should return a value or throw (promise/always-return)
plagiarism/safeassign/amd/src/settings.js
(#181) There should be no space after this paren. (space-in-parens)
(#181) There should be no space before this paren. (space-in-parens)

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(19 errors, 0 warnings)

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

plagiarism/safeassign/classes/local.php
(#70) Phpdocs for function local::duringspecifictest has incomplete parameters list
plagiarism/safeassign/classes/observer.php
(#98) Phpdocs for function plagiarism_safeassign_observer::role_assigned has incomplete parameters list
(#108) Phpdocs for function plagiarism_safeassign_observer::role_unassigned has incomplete parameters list
plagiarism/safeassign/classes/privacy/provider.php
(#41) Class provider is not documented
plagiarism/safeassign/classes/task/send_notifications.php
(#38) Class send_notifications is not documented
(#40) Function send_notifications::get_name is not documented
(#44) Function send_notifications::execute is not documented
plagiarism/safeassign/lib.php
(#536) Phpdocs for function plagiarism_plugin_safeassign::get_total_file_size has incomplete parameters list
(#1054) Phpdocs for function plagiarism_plugin_safeassign::get_unsynced_files has incomplete parameters list
(#2030) Phpdocs for function plagiarism_plugin_safeassign::remove_submission has incomplete parameters list
(#2159) Phpdocs for function plagiarism_safeassign_coursemodule_standard_elements has incomplete parameters list
plagiarism/safeassign/tests/behat/behat_plagiarism_safeassign.php
(#326) There is no description in phpdocs for function i_click_on_file_or_for_student
plagiarism/safeassign/tests/db_sanity_checks_test.php
(#110) Function plagiarism_safeassign_sanity_checks_testcase::create_submission is not documented
plagiarism/safeassign/tests/privacy_provider_test.php
(#53) Function plagiarism_safeassign_privacy_provider_testcase::make_teacher_enrolment is not documented
(#62) Function plagiarism_safeassign_privacy_provider_testcase::create_assignment is not documented
(#82) Function plagiarism_safeassign_privacy_provider_testcase::make_onlinetext_submission is not documented
(#120) Function plagiarism_safeassign_privacy_provider_testcase::make_file_submission is not documented
(#162) Function plagiarism_safeassign_privacy_provider_testcase::validate_file is not documented
plagiarism/safeassign/tests/restore_course_and_assignments_test.php
(#187) Function plagiarism_safeassign_restore_course_testcase::create_test_data is not documented

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 "gherkinlint" failed. Use --force to continue.

shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(1 errors, 1 warnings)

This section shows problems detected in mustache templates [More info]

plagiarism/safeassign/templates/modal.mustache
(#1) Mustache syntax exception: Example context JSON is unparsable, fails with: Syntax error
plagiarism/safeassign/templates/originalityreport.mustache
(#1) HTML Validation info, line 5: The “type” attribute is unnecessary for JavaScript resources. (html ...<script type="text/javascript"> /)

Gherkin .feature problems

(236 errors, 0 warnings)

This section shows problems detected in behat .feature files [More info]

plagiarism/safeassign/tests/behat/create_assignment.feature
(#43) Wrong indentation for "and", expected indentation level of 4, but got 6
(#44) Wrong indentation for "Step", expected indentation level of 4, but got 5
(#45) Wrong indentation for "and", expected indentation level of 4, but got 6
(#46) Wrong indentation for "and", expected indentation level of 4, but got 6
(#47) Wrong indentation for "and", expected indentation level of 4, but got 6
(#48) Wrong indentation for "and", expected indentation level of 4, but got 6
(#49) Wrong indentation for "Step", expected indentation level of 4, but got 5
(#51) Wrong indentation for "and", expected indentation level of 4, but got 6
(#52) Wrong indentation for "Step", expected indentation level of 4, but got 5
(#53) Wrong indentation for "and", expected indentation level of 4, but got 6
(#54) Wrong indentation for "and", expected indentation level of 4, but got 6
(#55) Wrong indentation for "Step", expected indentation level of 4, but got 5
(#56) Wrong indentation for "and", expected indentation level of 4, but got 6
(#57) Wrong indentation for "and", expected indentation level of 4, but got 6
(#58) Wrong indentation for "Step", expected indentation level of 4, but got 5
(#59) Wrong indentation for "and", expected indentation level of 4, but got 6
(#60) Wrong indentation for "and", expected indentation level of 4, but got 6
(#61) Wrong indentation for "and", expected indentation level of 4, but got 6
(#62) Wrong indentation for "and", expected indentation level of 4, but got 6
(#63) Wrong indentation for "Step", expected indentation level of 4, but got 5
(#64) Wrong indentation for "and", expected indentation level of 4, but got 6
(#65) Wrong indentation for "Step", expected indentation level of 4, but got 5
(#66) Wrong indentation for "and", expected indentation level of 4, but got 6
(#67) Wrong indentation for "and", expected indentation level of 4, but got 6
(#68) Wrong indentation for "and", expected indentation level of 4, but got 6
(#73) Wrong indentation for "Step", expected indentation level of 4, but got 5
(#76) Wrong indentation for "and", expected indentation level of 4, but got 6
(#77) Wrong indentation for "Step", expected indentation level of 4, but got 5
(#78) Wrong indentation for "and", expected indentation level of 4, but got 6
(#79) Wrong indentation for "and", expected indentation level of 4, but got 6
(#80) Wrong indentation for "Step", expected indentation level of 4, but got 5
(#81) Wrong indentation for "and", expected indentation level of 4, but got 6
(#82) Wrong indentation for "and", expected indentation level of 4, but got 6
(#83) Wrong indentation for "and", expected indentation level of 4, but got 6
(#84) Wrong indentation for "and", expected indentation level of 4, but got 6
(#85) Wrong indentation for "and", expected indentation level of 4, but got 6
(#86) Wrong indentation for "and", expected indentation level of 4, but got 6
(#87) Wrong indentation for "Step", expected indentation level of 4, but got 5
(#88) Wrong indentation for "and", expected indentation level of 4, but got 6
(#89) Wrong indentation for "and", expected indentation level of 4, but got 6
(#90) Wrong indentation for "and", expected indentation level of 4, but got 6
(#91) Wrong indentation for "Step", expected indentation level of 4, but got 5
(#92) Wrong indentation for "and", expected indentation level of 4, but got 6
(#93) Wrong indentation for "and", expected indentation level of 4, but got 6
(#94) Wrong indentation for "and", expected indentation level of 4, but got 6
(#95) Wrong indentation for "and", expected indentation level of 4, but got 6
(#96) Wrong indentation for "and", expected indentation level of 4, but got 6
(#97) Wrong indentation for "and", expected indentation level of 4, but got 6
(#98) Wrong indentation for "Step", expected indentation level of 4, but got 5
(#99) Wrong indentation for "and", expected indentation level of 4, but got 6
(#100) Wrong indentation for "and", expected indentation level of 4, but got 6
(#101) Wrong indentation for "and", expected indentation level of 4, but got 6
(#102) Wrong indentation for "and", expected indentation level of 4, but got 6
(#103) Wrong indentation for "Step", expected indentation level of 4, but got 5
(#104) Wrong indentation for "and", expected indentation level of 4, but got 6
(#105) Wrong indentation for "and", expected indentation level of 4, but got 6
(#110) Wrong indentation for "Step", expected indentation level of 4, but got 5
(#113) Wrong indentation for "and", expected indentation level of 4, but got 6
(#114) Wrong indentation for "Step", expected indentation level of 4, but got 5
(#115) Wrong indentation for "and", expected indentation level of 4, but got 6
(#116) Wrong indentation for "and", expected indentation level of 4, but got 6
(#117) Wrong indentation for "Step", expected indentation level of 4, but got 5
(#118) Wrong indentation for "and", expected indentation level of 4, but got 6
(#119) Wrong indentation for "and", expected indentation level of 4, but got 6
(#120) Wrong indentation for "and", expected indentation level of 4, but got 6
(#121) Wrong indentation for "and", expected indentation level of 4, but got 6
(#122) Wrong indentation for "and", expected indentation level of 4, but got 6
(#123) Wrong indentation for "and", expected indentation level of 4, but got 6
(#124) Wrong indentation for "Step", expected indentation level of 4, but got 5
(#125) Wrong indentation for "and", expected indentation level of 4, but got 6
(#126) Wrong indentation for "and", expected indentation level of 4, but got 6
(#127) Wrong indentation for "and", expected indentation level of 4, but got 6
(#128) Wrong indentation for "Step", expected indentation level of 4, but got 5
(#129) Wrong indentation for "and", expected indentation level of 4, but got 6
(#130) Wrong indentation for "and", expected indentation level of 4, but got 6
(#131) Wrong indentation for "and", expected indentation level of 4, but got 6
(#195) Multiple empty lines are not allowed
(#196) Multiple empty lines are not allowed
(#197) Multiple empty lines are not allowed
plagiarism/safeassign/tests/behat/group_submissions.feature
(#97) New line at EOF(end of file) is required
plagiarism/safeassign/tests/behat/overall_score.feature
(#61) Wrong indentation for "given", expected indentation level of 4, but got 2
(#64) Wrong indentation for "Step", expected indentation level of 4, but got 3
(#69) Wrong indentation for "Step", expected indentation level of 4, but got 3
(#70) Wrong indentation for "given", expected indentation level of 4, but got 2
(#75) Wrong indentation for "Step", expected indentation level of 4, but got 3
(#76) Wrong indentation for "given", expected indentation level of 4, but got 2
(#88) Wrong indentation for "Step", expected indentation level of 4, but got 3
(#89) Wrong indentation for "given", expected indentation level of 4, but got 2
(#92) Wrong indentation for "Step", expected indentation level of 4, but got 3
(#100) Wrong indentation for "Step", expected indentation level of 4, but got 3
(#101) Wrong indentation for "given", expected indentation level of 4, but got 2
(#107) Wrong indentation for "Step", expected indentation level of 4, but got 3
(#110) Wrong indentation for "Step", expected indentation level of 4, but got 3
(#114) Wrong indentation for "Step", expected indentation level of 4, but got 3
(#115) Wrong indentation for "given", expected indentation level of 4, but got 2
(#139) Wrong indentation for "and", expected indentation level of 4, but got 6
(#140) Wrong indentation for "and", expected indentation level of 4, but got 6
(#141) Wrong indentation for "Step", expected indentation level of 4, but got 5
(#142) Wrong indentation for "and", expected indentation level of 4, but got 6
(#143) Wrong indentation for "and", expected indentation level of 4, but got 6
(#144) Wrong indentation for "Step", expected indentation level of 4, but got 5
(#145) Wrong indentation for "and", expected indentation level of 4, but got 6
(#146) Wrong indentation for "and", expected indentation level of 4, but got 6
(#147) Wrong indentation for "and", expected indentation level of 4, but got 6
(#148) Wrong indentation for "Step", expected indentation level of 4, but got 5
(#149) Wrong indentation for "and", expected indentation level of 4, but got 6
(#150) Wrong indentation for "and", expected indentation level of 4, but got 6
(#151) Wrong indentation for "Step", expected indentation level of 4, but got 5
(#152) Wrong indentation for "and", expected indentation level of 4, but got 6
(#153) Wrong indentation for "and", expected indentation level of 4, but got 6
(#154) Wrong indentation for "Step", expected indentation level of 4, but got 5
(#155) Wrong indentation for "and", expected indentation level of 4, but got 6
(#156) Wrong indentation for "and", expected indentation level of 4, but got 6
(#161) Wrong indentation for "and", expected indentation level of 4, but got 6
(#162) Wrong indentation for "and", expected indentation level of 4, but got 6
(#163) Wrong indentation for "Step", expected indentation level of 4, but got 5
(#164) Wrong indentation for "and", expected indentation level of 4, but got 6
(#165) Wrong indentation for "and", expected indentation level of 4, but got 6
(#166) Wrong indentation for "and", expected indentation level of 4, but got 6
(#167) Wrong indentation for "and", expected indentation level of 4, but got 6
(#168) Wrong indentation for "and", expected indentation level of 4, but got 6
(#169) Wrong indentation for "and", expected indentation level of 4, but got 6
(#170) Wrong indentation for "Step", expected indentation level of 4, but got 5
(#171) Wrong indentation for "and", expected indentation level of 4, but got 6
(#172) Wrong indentation for "Step", expected indentation level of 4, but got 5
(#173) Wrong indentation for "and", expected indentation level of 4, but got 6
(#174) Wrong indentation for "and", expected indentation level of 4, but got 6
(#175) Wrong indentation for "and", expected indentation level of 4, but got 6
(#176) Wrong indentation for "and", expected indentation level of 4, but got 6
(#177) Wrong indentation for "and", expected indentation level of 4, but got 6
(#178) Wrong indentation for "Step", expected indentation level of 4, but got 5
(#179) Wrong indentation for "and", expected indentation level of 4, but got 6
(#180) Wrong indentation for "and", expected indentation level of 4, but got 6
(#181) Wrong indentation for "and", expected indentation level of 4, but got 6
(#182) Wrong indentation for "Step", expected indentation level of 4, but got 5
(#183) Wrong indentation for "and", expected indentation level of 4, but got 6
(#184) Wrong indentation for "and", expected indentation level of 4, but got 6
(#189) Wrong indentation for "and", expected indentation level of 4, but got 6
(#190) Wrong indentation for "and", expected indentation level of 4, but got 6
(#191) Wrong indentation for "and", expected indentation level of 4, but got 6
(#192) Wrong indentation for "Step", expected indentation level of 4, but got 5
(#193) Wrong indentation for "and", expected indentation level of 4, but got 6
(#194) Wrong indentation for "and", expected indentation level of 4, but got 6
(#195) Wrong indentation for "and", expected indentation level of 4, but got 6
(#196) Wrong indentation for "and", expected indentation level of 4, but got 6
(#197) Wrong indentation for "and", expected indentation level of 4, but got 6
(#198) Wrong indentation for "Step", expected indentation level of 4, but got 5
(#199) Wrong indentation for "and", expected indentation level of 4, but got 6
(#200) Wrong indentation for "and", expected indentation level of 4, but got 6
(#201) Wrong indentation for "and", expected indentation level of 4, but got 6
(#202) Wrong indentation for "and", expected indentation level of 4, but got 6
(#203) Wrong indentation for "Step", expected indentation level of 4, but got 5
(#204) Wrong indentation for "and", expected indentation level of 4, but got 6
(#205) Wrong indentation for "and", expected indentation level of 4, but got 6
(#206) Wrong indentation for "and", expected indentation level of 4, but got 6
(#207) Wrong indentation for "Step", expected indentation level of 4, but got 5
(#208) Wrong indentation for "and", expected indentation level of 4, but got 6
plagiarism/safeassign/tests/behat/student_submits_an_assignment.feature
(#128) Wrong indentation for "scenario tag", expected indentation level of 2, but got 4
(#129) Wrong indentation for "Scenario", expected indentation level of 2, but got 4
(#130) Wrong indentation for "given", expected indentation level of 4, but got 6
(#133) Wrong indentation for "and", expected indentation level of 4, but got 6
(#139) Wrong indentation for "and", expected indentation level of 4, but got 6
(#140) Wrong indentation for "and", expected indentation level of 4, but got 6
(#141) Wrong indentation for "and", expected indentation level of 4, but got 6
(#142) Wrong indentation for "Step", expected indentation level of 4, but got 6
(#143) Wrong indentation for "and", expected indentation level of 4, but got 6
(#144) Wrong indentation for "and", expected indentation level of 4, but got 6
(#145) Wrong indentation for "and", expected indentation level of 4, but got 6
(#146) Wrong indentation for "Step", expected indentation level of 4, but got 6
(#147) Wrong indentation for "and", expected indentation level of 4, but got 6
(#148) Wrong indentation for "and", expected indentation level of 4, but got 6
(#149) Wrong indentation for "and", expected indentation level of 4, but got 6
(#150) Wrong indentation for "Step", expected indentation level of 4, but got 6
(#151) Wrong indentation for "and", expected indentation level of 4, but got 6
(#152) Wrong indentation for "and", expected indentation level of 4, but got 6
(#153) Wrong indentation for "and", expected indentation level of 4, but got 6
(#154) Wrong indentation for "Step", expected indentation level of 4, but got 6
(#155) Wrong indentation for "Step", expected indentation level of 4, but got 6
(#156) Wrong indentation for "and", expected indentation level of 4, but got 6
(#157) Wrong indentation for "and", expected indentation level of 4, but got 6
(#158) Wrong indentation for "and", expected indentation level of 4, but got 6
(#159) Wrong indentation for "and", expected indentation level of 4, but got 6
(#160) Wrong indentation for "and", expected indentation level of 4, but got 6
(#161) Wrong indentation for "Step", expected indentation level of 4, but got 6
plagiarism/safeassign/tests/behat/student_submits_teacher_receives_notification.feature
(#83) Wrong indentation for "scenario tag", expected indentation level of 2, but got 4
(#84) Wrong indentation for "Scenario", expected indentation level of 2, but got 4
(#85) Wrong indentation for "given", expected indentation level of 4, but got 6
(#86) Wrong indentation for "and", expected indentation level of 4, but got 6
(#87) Wrong indentation for "Step", expected indentation level of 4, but got 6
(#88) Wrong indentation for "Step", expected indentation level of 4, but got 6
(#89) Wrong indentation for "and", expected indentation level of 4, but got 6
(#90) Wrong indentation for "and", expected indentation level of 4, but got 6
(#91) Wrong indentation for "and", expected indentation level of 4, but got 6
(#92) Wrong indentation for "Step", expected indentation level of 4, but got 6
(#93) Wrong indentation for "Step", expected indentation level of 4, but got 6
(#94) Wrong indentation for "given", expected indentation level of 4, but got 6
(#95) Wrong indentation for "and", expected indentation level of 4, but got 6
(#96) Wrong indentation for "and", expected indentation level of 4, but got 6
(#97) Wrong indentation for "and", expected indentation level of 4, but got 6
(#98) Wrong indentation for "and", expected indentation level of 4, but got 6
(#99) Wrong indentation for "Step", expected indentation level of 4, but got 6
(#101) Wrong indentation for "scenario tag", expected indentation level of 2, but got 4
(#102) Wrong indentation for "Scenario", expected indentation level of 2, but got 4
(#103) Wrong indentation for "given", expected indentation level of 4, but got 6
(#104) Wrong indentation for "and", expected indentation level of 4, but got 6
(#105) Wrong indentation for "and", expected indentation level of 4, but got 6
(#106) Wrong indentation for "and", expected indentation level of 4, but got 6
(#107) Wrong indentation for "Step", expected indentation level of 4, but got 6
(#108) Wrong indentation for "Step", expected indentation level of 4, but got 6
(#109) Wrong indentation for "and", expected indentation level of 4, but got 6
(#110) Wrong indentation for "and", expected indentation level of 4, but got 6
(#111) Wrong indentation for "and", expected indentation level of 4, but got 6
(#112) Wrong indentation for "and", expected indentation level of 4, but got 6
(#113) Wrong indentation for "Step", expected indentation level of 4, but got 6
(#114) Wrong indentation for "Step", expected indentation level of 4, but got 6
(#115) Wrong indentation for "given", expected indentation level of 4, but got 6
(#116) Wrong indentation for "and", expected indentation level of 4, but got 6
(#117) Wrong indentation for "and", expected indentation level of 4, but got 6
(#118) Wrong indentation for "and", expected indentation level of 4, but got 6
(#119) Wrong indentation for "and", expected indentation level of 4, but got 6
(#120) Wrong indentation for "Step", expected indentation level of 4, but got 6
(#121) Wrong indentation for "Step", expected indentation level of 4, but got 6
(#123) Wrong indentation for "scenario tag", expected indentation level of 2, but got 4
(#124) Wrong indentation for "Scenario", expected indentation level of 2, but got 4
(#125) Wrong indentation for "given", expected indentation level of 4, but got 6
(#126) Wrong indentation for "and", expected indentation level of 4, but got 6
(#127) Wrong indentation for "given", expected indentation level of 4, but got 6
(#128) Wrong indentation for "Step", expected indentation level of 4, but got 6
(#129) Wrong indentation for "and", expected indentation level of 4, but got 6
(#130) Wrong indentation for "and", expected indentation level of 4, but got 6
(#131) Wrong indentation for "Step", expected indentation level of 4, but got 6
(#132) Wrong indentation for "Step", expected indentation level of 4, but got 6
(#133) Wrong indentation for "given", expected indentation level of 4, but got 6
(#134) Wrong indentation for "and", expected indentation level of 4, but got 6
(#135) Wrong indentation for "and", expected indentation level of 4, but got 6
(#136) Wrong indentation for "Step", expected indentation level of 4, but got 6