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

(16 errors, 112 warnings)

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

question/format/proforma/format.php
(#27) Inline comments must start with a capital letter, digit or 3-dots sequence
(#29) Inline comments must end in full-stops, exclamation marks, or question marks
(#82) Inline comments must end in full-stops, exclamation marks, or question marks
(#82) This comment is 59% valid code; is this commented out code?
(#148) Inline comments must end in full-stops, exclamation marks, or question marks
(#178) Inline comments must end in full-stops, exclamation marks, or question marks
(#279) This comment is 60% valid code; is this commented out code?
(#279) Inline comments must start with a capital letter, digit or 3-dots sequence
(#280) This comment is 72% valid code; is this commented out code?
(#281) Inline comments must end in full-stops, exclamation marks, or question marks
(#281) This comment is 72% valid code; is this commented out code?
(#337) Inline comments must end in full-stops, exclamation marks, or question marks
(#337) This comment is 67% valid code; is this commented out code?
(#346) Inline comments must start with a capital letter, digit or 3-dots sequence
(#346) Inline comments must end in full-stops, exclamation marks, or question marks
(#349) Inline comments must start with a capital letter, digit or 3-dots sequence
(#349) Inline comments must end in full-stops, exclamation marks, or question marks
(#361) Inline comments must start with a capital letter, digit or 3-dots sequence
(#362) Inline comments must end in full-stops, exclamation marks, or question marks
(#381) Inline comments must start with a capital letter, digit or 3-dots sequence
(#381) Inline comments must end in full-stops, exclamation marks, or question marks
(#381) This comment is 58% valid code; is this commented out code?
(#417) Inline comments must start with a capital letter, digit or 3-dots sequence
(#417) Inline comments must end in full-stops, exclamation marks, or question marks
(#420) Inline comments must start with a capital letter, digit or 3-dots sequence
(#420) Inline comments must end in full-stops, exclamation marks, or question marks
(#471) Inline comments must start with a capital letter, digit or 3-dots sequence
(#484) Inline comments must start with a capital letter, digit or 3-dots sequence
(#484) Inline comments must end in full-stops, exclamation marks, or question marks
(#484) This comment is 48% valid code; is this commented out code?
(#491) Inline comments must start with a capital letter, digit or 3-dots sequence
(#492) This comment is 43% valid code; is this commented out code?
(#493) This comment is 43% valid code; is this commented out code?
(#494) Inline comments must end in full-stops, exclamation marks, or question marks
(#494) This comment is 67% valid code; is this commented out code?
(#495) Variable "path_parts" must not contain underscores.
(#496) Variable "path_parts" must not contain underscores.
(#497) Variable "path_parts" must not contain underscores.
(#498) Expected "if (...) {\n"; found "if (...) {\n"
(#503) Inline comments must end in full-stops, exclamation marks, or question marks
(#510) Inline comments must end in full-stops, exclamation marks, or question marks
(#537) Inline comments must start with a capital letter, digit or 3-dots sequence
(#537) Inline comments must end in full-stops, exclamation marks, or question marks
(#547) Inline comments must start with a capital letter, digit or 3-dots sequence
(#547) Inline comments must end in full-stops, exclamation marks, or question marks
(#547) This comment is 73% valid code; is this commented out code?
(#554) Inline comments must start with a capital letter, digit or 3-dots sequence
(#554) Inline comments must end in full-stops, exclamation marks, or question marks
(#554) This comment is 75% valid code; is this commented out code?
(#558) Inline comments must start with a capital letter, digit or 3-dots sequence
(#558) Inline comments must end in full-stops, exclamation marks, or question marks
(#561) Inline comments must start with a capital letter, digit or 3-dots sequence
(#562) Inline comments must end in full-stops, exclamation marks, or question marks
(#575) Inline comments must start with a capital letter, digit or 3-dots sequence
(#575) Inline comments must end in full-stops, exclamation marks, or question marks
(#577) Inline comments must start with a capital letter, digit or 3-dots sequence
(#578) Inline comments must end in full-stops, exclamation marks, or question marks
(#580) Inline comments must start with a capital letter, digit or 3-dots sequence
(#580) Inline comments must end in full-stops, exclamation marks, or question marks
(#587) Inline comments must start with a capital letter, digit or 3-dots sequence
(#587) Inline comments must end in full-stops, exclamation marks, or question marks
(#592) Inline comments must start with a capital letter, digit or 3-dots sequence
(#592) Inline comments must end in full-stops, exclamation marks, or question marks
(#612) Inline comments must start with a capital letter, digit or 3-dots sequence
(#612) Inline comments must end in full-stops, exclamation marks, or question marks
(#642) Inline comments must start with a capital letter, digit or 3-dots sequence
(#642) Inline comments must end in full-stops, exclamation marks, or question marks
(#642) This comment is 64% valid code; is this commented out code?
(#672) Inline comments must start with a capital letter, digit or 3-dots sequence
(#672) Inline comments must end in full-stops, exclamation marks, or question marks
(#687) Inline comments must start with a capital letter, digit or 3-dots sequence
(#687) Inline comments must end in full-stops, exclamation marks, or question marks
(#729) Inline comments must start with a capital letter, digit or 3-dots sequence
(#730) This comment is 45% valid code; is this commented out code?
(#731) Inline comments must end in full-stops, exclamation marks, or question marks
(#731) This comment is 60% valid code; is this commented out code?
(#736) Inline comments must start with a capital letter, digit or 3-dots sequence
(#736) Inline comments must end in full-stops, exclamation marks, or question marks
(#760) Inline comments must start with a capital letter, digit or 3-dots sequence
(#762) Inline comments must end in full-stops, exclamation marks, or question marks
(#772) Inline comments must start with a capital letter, digit or 3-dots sequence
(#772) Inline comments must end in full-stops, exclamation marks, or question marks
(#778) Inline comments must start with a capital letter, digit or 3-dots sequence
(#778) Inline comments must end in full-stops, exclamation marks, or question marks
(#780) Inline comments must start with a capital letter, digit or 3-dots sequence
(#781) Inline comments must end in full-stops, exclamation marks, or question marks
(#828) Inline comments must start with a capital letter, digit or 3-dots sequence
(#828) Inline comments must end in full-stops, exclamation marks, or question marks
(#828) This comment is 43% valid code; is this commented out code?
question/format/proforma/tests/proformaformat_test.php
(#44) Inline comments must start with a capital letter, digit or 3-dots sequence
(#45) Inline comments must end in full-stops, exclamation marks, or question marks
(#47) Inline comments must start with a capital letter, digit or 3-dots sequence
(#54) Inline comments must start with a capital letter, digit or 3-dots sequence
(#54) Inline comments must end in full-stops, exclamation marks, or question marks
(#68) Inline comments must start with a capital letter, digit or 3-dots sequence
(#68) Inline comments must end in full-stops, exclamation marks, or question marks
(#82) Inline comments must start with a capital letter, digit or 3-dots sequence
(#82) Inline comments must end in full-stops, exclamation marks, or question marks
(#96) Inline comments must start with a capital letter, digit or 3-dots sequence
(#96) Inline comments must end in full-stops, exclamation marks, or question marks
(#117) Inline comments must start with a capital letter, digit or 3-dots sequence
(#117) Inline comments must end in full-stops, exclamation marks, or question marks
(#130) Line exceeds 132 characters; contains 164 characters
(#138) Inline comments must start with a capital letter, digit or 3-dots sequence
(#138) Inline comments must end in full-stops, exclamation marks, or question marks
(#159) Inline comments must start with a capital letter, digit or 3-dots sequence
(#159) Inline comments must end in full-stops, exclamation marks, or question marks
(#176) Inline comments must start with a capital letter, digit or 3-dots sequence
(#176) Inline comments must end in full-stops, exclamation marks, or question marks
(#192) Inline comments must start with a capital letter, digit or 3-dots sequence
(#192) Inline comments must end in full-stops, exclamation marks, or question marks
(#237) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#259) Whitespace found at end of line within string
(#262) Whitespace found at end of line within string
(#264) Whitespace found at end of line within string
(#275) Whitespace found at end of line within string
(#277) Whitespace found at end of line within string
(#284) Line exceeds maximum limit of 180 characters; contains 405 characters
(#294) Inline comments must start with a capital letter, digit or 3-dots sequence
(#294) Inline comments must end in full-stops, exclamation marks, or question marks
(#322) Whitespace found at end of line within string
(#323) Whitespace found at end of line within string
(#336) Whitespace found at end of line within string
(#337) Whitespace found at end of line within string
(#345) Line exceeds 132 characters; contains 134 characters
(#348) Line exceeds maximum limit of 180 characters; contains 337 characters
(#358) Inline comments must start with a capital letter, digit or 3-dots sequence
(#358) Inline comments must end in full-stops, exclamation marks, or question marks

Javascript coding style problems

(0 errors, 0 warnings)

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


CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(25 errors, 0 warnings)

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

question/format/proforma/format.php
(#35) Class qformat_proforma is not documented
(#94) Function qformat_proforma::mime_type is not documented
(#100) Function qformat_proforma::importpostprocess is not documented
(#107) Function qformat_proforma::export_file_extension is not documented
(#111) There is no description in phpdocs for function readdata
(#112) Phpdocs for function qformat_proforma::readdata has incomplete parameters list
(#223) Phpdocs for function qformat_proforma::readquestions has incomplete parameters list
(#248) Phpdocs for function qformat_proforma::read_task_xml has incomplete parameters list
(#295) Phpdocs for function qformat_proforma::check_proforma_version has incomplete parameters list
(#323) Phpdocs for function qformat_proforma::import_question has incomplete parameters list
(#393) Phpdocs for function qformat_proforma::import_files_v1 has incomplete parameters list
(#462) Phpdocs for function qformat_proforma::store_download_file has incomplete parameters list
(#533) Phpdocs for function qformat_proforma::create_grading_hints_v1 has incomplete parameters list
(#571) Phpdocs for function qformat_proforma::import_submission_restrictions_v1 has incomplete parameters list
(#603) Phpdocs for function qformat_proforma::set_max_bytes_choices has incomplete parameters list
(#627) Phpdocs for function qformat_proforma::import_files_v2 has incomplete parameters list
(#713) Phpdocs for function qformat_proforma::import_grading_hints_v2 has incomplete parameters list
(#754) Phpdocs for function qformat_proforma::import_submission_restrictions_v2 has incomplete parameters list
(#811) Phpdocs for function qformat_proforma::store_task_file has incomplete parameters list
(#835) Phpdocs for function qformat_proforma::warning has incomplete parameters list
question/format/proforma/tests/proformaformat_test.php
(#43) Function qformat_proforma_test::prepare_test is not documented
(#233) There is no description in phpdocs for function assert_java_task_1
(#297) There is no description in phpdocs for function assert_java_task_2
(#234) Phpdocs for function qformat_proforma_test::assert_java_task_1 has incomplete parameters list
(#298) Phpdocs for function qformat_proforma_test::assert_java_task_2 has incomplete parameters list

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

(0 errors, 0 warnings)

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


Gherkin .feature problems

(1 errors, 0 warnings)

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

question/format/proforma/tests/behat/import_proforma.feature
(#95) Multiple empty lines are not allowed