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

(548 errors, 218 warnings)

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

question/type/cloudpoodll/backup/moodle2/backup_qtype_cloudpoodll_plugin.class.php
(#24) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#41) Inline comments must end in full-stops, exclamation marks, or question marks
(#44) 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
(#47) Inline comments must end in full-stops, exclamation marks, or question marks
(#50) Inline comments must end in full-stops, exclamation marks, or question marks
(#52) Commas (,) must be followed by white space.
(#52) Commas (,) must be followed by white space.
(#52) Commas (,) must be followed by white space.
(#52) Commas (,) must be followed by white space.
(#52) Commas (,) must be followed by white space.
(#52) Commas (,) must be followed by white space.
(#52) Commas (,) must be followed by white space.
(#53) Commas (,) must be followed by white space.
(#55) Inline comments must end in full-stops, exclamation marks, or question marks
(#58) Inline comments must start with a capital letter, digit or 3-dots sequence
(#58) Inline comments must end in full-stops, exclamation marks, or question marks
(#62) Inline comments must start with a capital letter, digit or 3-dots sequence
(#62) Inline comments must end in full-stops, exclamation marks, or question marks
question/type/cloudpoodll/backup/moodle2/restore_qtype_cloudpoodll_plugin.class.php
(#24) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#55) Inline comments must end in full-stops, exclamation marks, or question marks
(#60) Inline comments must end in full-stops, exclamation marks, or question marks
(#105) Expected 1 space after "="; 2 found
question/type/cloudpoodll/classes/constants.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#43) Expected 1 space after "="; 0 found
(#44) Expected 1 space after "="; 0 found
(#79) Expected 1 space after "="; 0 found
(#80) Expected 1 space after "="; 0 found
(#81) Expected 1 space after "="; 0 found
(#82) Expected 1 space after "="; 0 found
(#83) Expected 1 space after "="; 0 found
(#84) Expected 1 space after "="; 0 found
(#85) Expected 1 space after "="; 0 found
(#86) Expected 1 space after "="; 0 found
(#87) Expected 1 space after "="; 0 found
(#88) Expected 1 space after "="; 0 found
(#89) Expected 1 space after "="; 0 found
(#90) Expected 1 space after "="; 0 found
(#91) Expected 1 space after "="; 0 found
(#92) Expected 1 space after "="; 0 found
(#93) Expected 1 space after "="; 0 found
(#94) Expected 1 space after "="; 0 found
(#95) Expected 1 space after "="; 0 found
(#96) Expected 1 space after "="; 0 found
(#108) Class constants must be uppercase; expected EXTRA_FIELDS but found extra_fields
(#109) Commas (,) must be followed by white space.
(#110) File must end with a newline character
question/type/cloudpoodll/classes/privacy/provider.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#46) Method name "_get_reason" should not be prefixed with an underscore to indicate visibility
question/type/cloudpoodll/classes/setting/apicredshelper.php
(#30) Spaces must be used to indent lines; tabs are not allowed
(#30) Tab found within whitespace
(#30) Line indented incorrectly; expected at least 4 spaces, found 3
(#41) Line exceeds 132 characters; contains 145 characters
(#45) Commas (,) must be followed by white space.
(#47) Expected 1 space before "="; 0 found
(#47) Expected 1 space after "="; 0 found
(#48) Expected 1 space before "="; 0 found
(#48) Expected 1 space after "="; 0 found
(#73) Inline comments must start with a capital letter, digit or 3-dots sequence
(#73) Inline comments must end in full-stops, exclamation marks, or question marks
(#73) Line indented incorrectly; expected at least 8 spaces, found 4
(#84) Line indented incorrectly; expected at least 8 spaces, found 7
(#84) Expected 1 space after "="; 2 found
(#84) Line exceeds 132 characters; contains 140 characters
(#85) Line indented incorrectly; expected at least 8 spaces, found 7
(#86) This comment is 62% valid code; is this commented out code?
(#86) Line indented incorrectly; expected at least 8 spaces, found 0
(#87) Line exceeds 132 characters; contains 168 characters
(#87) Line indented incorrectly; expected at least 8 spaces, found 2
(#87) Spaces must be used to indent lines; tabs are not allowed
(#90) Line indented incorrectly; expected at least 8 spaces, found 2
(#90) Spaces must be used to indent lines; tabs are not allowed
(#91) Line indented incorrectly; expected at least 8 spaces, found 2
(#91) Spaces must be used to indent lines; tabs are not allowed
(#92) Line indented incorrectly; expected at least 8 spaces, found 5
(#92) Spaces must be used to indent lines; tabs are not allowed
(#94) Line indented incorrectly; expected at least 8 spaces, found 2
(#94) Spaces must be used to indent lines; tabs are not allowed
(#95) Spaces must be used to indent lines; tabs are not allowed
(#95) Whitespace found at end of line
(#96) Line exceeds 132 characters; contains 155 characters
(#96) Line indented incorrectly; expected at least 8 spaces, found 2
(#96) Spaces must be used to indent lines; tabs are not allowed
(#97) Line indented incorrectly; expected at least 8 spaces, found 3
(#97) Spaces must be used to indent lines; tabs are not allowed
(#98) Spaces must be used to indent lines; tabs are not allowed
(#98) Whitespace found at end of line
(#99) Line indented incorrectly; expected at least 8 spaces, found 2
(#99) Spaces must be used to indent lines; tabs are not allowed
(#100) Line indented incorrectly; expected at least 8 spaces, found 3
(#100) Spaces must be used to indent lines; tabs are not allowed
(#101) Line indented incorrectly; expected at least 8 spaces, found 3
(#101) Spaces must be used to indent lines; tabs are not allowed
(#102) Line indented incorrectly; expected at least 8 spaces, found 0
(#103) Spaces must be used to indent lines; tabs are not allowed
(#103) Tab found within whitespace
(#103) Line indented incorrectly; expected 4 spaces, found 1
(#103) Closing brace indented incorrectly; expected 4 spaces, found 1
(#105) Spaces must be used to indent lines; tabs are not allowed
(#105) Tab found within whitespace
(#105) Line indented incorrectly; expected 4 spaces, found 2
(#105) Expected 1 space before opening brace; found 0
(#107) This comment is 80% valid code; is this commented out code?
(#107) Line indented incorrectly; expected at least 8 spaces, found 0
(#108) Line indented incorrectly; expected at least 8 spaces, found 3
(#108) Spaces must be used to indent lines; tabs are not allowed
(#109) Line indented incorrectly; expected at least 8 spaces, found 3
(#109) Spaces must be used to indent lines; tabs are not allowed
(#110) Line indented incorrectly; expected at least 8 spaces, found 3
(#110) Spaces must be used to indent lines; tabs are not allowed
(#111) Line indented incorrectly; expected at least 8 spaces, found 3
(#111) Spaces must be used to indent lines; tabs are not allowed
(#112) Line indented incorrectly; expected at least 8 spaces, found 3
(#112) Spaces must be used to indent lines; tabs are not allowed
(#113) Line indented incorrectly; expected at least 8 spaces, found 3
(#113) Spaces must be used to indent lines; tabs are not allowed
(#114) Line indented incorrectly; expected at least 8 spaces, found 3
(#114) Spaces must be used to indent lines; tabs are not allowed
(#115) Line indented incorrectly; expected at least 8 spaces, found 3
(#115) Spaces must be used to indent lines; tabs are not allowed
(#116) Line indented incorrectly; expected at least 8 spaces, found 3
(#116) Spaces must be used to indent lines; tabs are not allowed
(#117) Line indented incorrectly; expected at least 8 spaces, found 3
(#117) Spaces must be used to indent lines; tabs are not allowed
(#118) Line indented incorrectly; expected at least 8 spaces, found 3
(#118) Spaces must be used to indent lines; tabs are not allowed
(#119) Line indented incorrectly; expected at least 8 spaces, found 3
(#119) Spaces must be used to indent lines; tabs are not allowed
(#120) Line indented incorrectly; expected at least 8 spaces, found 3
(#120) Spaces must be used to indent lines; tabs are not allowed
(#121) Line indented incorrectly; expected at least 8 spaces, found 3
(#121) Spaces must be used to indent lines; tabs are not allowed
(#122) Line indented incorrectly; expected at least 8 spaces, found 3
(#122) Spaces must be used to indent lines; tabs are not allowed
(#123) Line indented incorrectly; expected at least 8 spaces, found 3
(#123) Spaces must be used to indent lines; tabs are not allowed
(#124) Line indented incorrectly; expected at least 8 spaces, found 3
(#124) Spaces must be used to indent lines; tabs are not allowed
(#125) Line indented incorrectly; expected at least 8 spaces, found 3
(#125) Spaces must be used to indent lines; tabs are not allowed
(#129) Line indented incorrectly; expected at least 8 spaces, found 3
(#129) Spaces must be used to indent lines; tabs are not allowed
(#130) Line indented incorrectly; expected at least 8 spaces, found 4
(#130) Spaces must be used to indent lines; tabs are not allowed
(#131) Line indented incorrectly; expected at least 8 spaces, found 5
(#131) Spaces must be used to indent lines; tabs are not allowed
(#132) Line indented incorrectly; expected at least 8 spaces, found 4
(#132) Spaces must be used to indent lines; tabs are not allowed
(#133) Line indented incorrectly; expected at least 8 spaces, found 5
(#133) Spaces must be used to indent lines; tabs are not allowed
(#134) Line indented incorrectly; expected at least 8 spaces, found 4
(#134) Spaces must be used to indent lines; tabs are not allowed
(#135) Line indented incorrectly; expected at least 8 spaces, found 4
(#135) Spaces must be used to indent lines; tabs are not allowed
(#137) Line indented incorrectly; expected at least 8 spaces, found 3
(#137) Spaces must be used to indent lines; tabs are not allowed
(#138) Line indented incorrectly; expected at least 8 spaces, found 0
(#139) Spaces must be used to indent lines; tabs are not allowed
(#139) Tab found within whitespace
(#139) Line indented incorrectly; expected 4 spaces, found 2
(#142) File must end with a newline character
question/type/cloudpoodll/classes/utils.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#32) Variable "rec_options" must not contain underscores.
(#34) Variable "rec_options" must not contain underscores.
(#47) Inline comments must start with a capital letter, digit or 3-dots sequence
(#47) This comment is 48% valid code; is this commented out code?
(#48) Inline comments must end in full-stops, exclamation marks, or question marks
(#61) Expected "for (...) {\n"; found "for(...){\n"
(#61) Expected 1 space before "="; 0 found
(#61) Expected 1 space after "="; 0 found
(#61) Expected 1 space after first semicolon of FOR loop; 0 found
(#61) Expected 1 space before "<="; 0 found
(#61) Expected 1 space after "<="; 0 found
(#61) Expected 1 space after second semicolon of FOR loop; 0 found
(#62) Expected 1 space before "*"; 0 found
(#62) Expected 1 space after "*"; 0 found
(#62) Expected 1 space before "="; 0 found
(#62) Expected 1 space after "="; 0 found
(#63) Expected 1 space before "*"; 0 found
(#63) Expected 1 space after "*"; 0 found
(#63) Expected 1 space before "+"; 0 found
(#63) Expected 1 space after "+"; 0 found
(#63) Expected 1 space before "="; 0 found
(#63) Expected 1 space after "="; 0 found
(#69) Variable "rec_options" must not contain underscores.
(#72) Variable "rec_options" must not contain underscores.
(#73) Variable "rec_options" must not contain underscores.
(#74) Variable "rec_options" must not contain underscores.
(#75) Variable "rec_options" must not contain underscores.
(#76) Variable "rec_options" must not contain underscores.
(#77) Variable "rec_options" must not contain underscores.
(#78) Variable "rec_options" must not contain underscores.
(#82) Variable "rec_options" must not contain underscores.
(#83) Variable "rec_options" must not contain underscores.
(#84) Variable "rec_options" must not contain underscores.
(#85) Variable "rec_options" must not contain underscores.
(#86) Variable "rec_options" must not contain underscores.
(#89) Variable "rec_options" must not contain underscores.
(#102) Commas (,) must be followed by white space.
(#103) Commas (,) must be followed by white space.
(#104) Commas (,) must be followed by white space.
(#105) Commas (,) must be followed by white space.
(#125) Opening brace should be on the same line as the declaration
(#161) Inline comments must start with a capital letter, digit or 3-dots sequence
(#161) No space found before comment text; expected "// are we willing and able to transcribe submissions?" but found "//are we willing and able to transcribe submissions?"
(#164) Inline comments must start with a capital letter, digit or 3-dots sequence
(#164) No space found before comment text; expected "// we default to true" but found "//we default to true"
(#165) No space found before comment text; expected "// but it only takes one no ...." but found "//but it only takes one no ...."
(#168) Inline comments must end in full-stops, exclamation marks, or question marks
(#168) No space found before comment text; expected "// The regions that can transcribe" but found "//The regions that can transcribe"
(#177) Inline comments must start with a capital letter, digit or 3-dots sequence
(#177) No space found before comment text; expected "// we use curl to fetch transcripts from AWS and Tokens from cloudpoodll" but found "//we use curl to fetch transcripts from AWS and Tokens from cloudpoodll"
(#178) Inline comments must end in full-stops, exclamation marks, or question marks
(#178) No space found before comment text; expected "// this is our helper" but found "//this is our helper"
(#189) No space found before comment text; expected "// This is called from the settings page and we do not want to make calls out to cloud.poodll.com on settings" but found "//This is called from the settings page and we do not want to make calls out to cloud.poodll.com on settings"
(#190) No space found before comment text; expected "// page load, for performance and stability issues. So if the cache is empty and/or no token, we just show a" but found "//page load, for performance and stability issues. So if the cache is empty and/or no token, we just show a"
(#191) Inline comments must end in full-stops, exclamation marks, or question marks
(#191) No space found before comment text; expected "// "refresh token" links" but found "//"refresh token" links"
(#195) No space found before comment text; expected "// First check that we have an API id and secret" but found "//First check that we have an API id and secret"
(#196) Inline comments must end in full-stops, exclamation marks, or question marks
(#196) No space found before comment text; expected "// refresh token" but found "//refresh token"
(#214) Inline comments must end in full-stops, exclamation marks, or question marks
(#214) No space found before comment text; expected "// Fetch from cache and process the results and display" but found "//Fetch from cache and process the results and display"
(#218) Inline comments must start with a capital letter, digit or 3-dots sequence
(#218) Inline comments must end in full-stops, exclamation marks, or question marks
(#218) No space found before comment text; expected "// if we have no token object the creds were wrong ... or something" but found "//if we have no token object the creds were wrong ... or something"
(#221) Inline comments must start with a capital letter, digit or 3-dots sequence
(#221) Inline comments must end in full-stops, exclamation marks, or question marks
(#221) No space found before comment text; expected "// if we have an object but its no good, creds werer wrong ..or something" but found "//if we have an object but its no good, creds werer wrong ..or something"
(#224) Inline comments must start with a capital letter, digit or 3-dots sequence
(#224) No space found before comment text; expected "// if we do not have subs, then we are on a very old token or something is wrong, just get out of here." but found "//if we do not have subs, then we are on a very old token or something is wrong, just get out of here."
(#232) Inline comments must start with a capital letter, digit or 3-dots sequence
(#232) No space found before comment text; expected "// we have enough info to display a report. Lets go." but found "//we have enough info to display a report. Lets go."
(#237) Inline comments must end in full-stops, exclamation marks, or question marks
(#237) No space found before comment text; expected "// Is app authorised" but found "//Is app authorised"
(#248) Inline comments must end in full-stops, exclamation marks, or question marks
(#248) No space found before comment text; expected "// We need a Poodll token to make this happen" but found "//We need a Poodll token to make this happen"
(#257) Inline comments must start with a capital letter, digit or 3-dots sequence
(#257) No space found before comment text; expected "// if we got a token and its less than expiry time" but found "//if we got a token and its less than expiry time"
(#258) Inline comments must end in full-stops, exclamation marks, or question marks
(#265) Inline comments must end in full-stops, exclamation marks, or question marks
(#266) Variable "token_url" must not contain underscores.
(#272) Variable "token_response" must not contain underscores.
(#272) Variable "token_url" must not contain underscores.
(#273) Variable "token_response" must not contain underscores.
(#274) Variable "resp_object" must not contain underscores.
(#274) Variable "token_response" must not contain underscores.
(#275) Variable "resp_object" must not contain underscores.
(#275) Variable "resp_object" must not contain underscores.
(#276) Variable "resp_object" must not contain underscores.
(#277) Inline comments must start with a capital letter, digit or 3-dots sequence
(#277) Inline comments must end in full-stops, exclamation marks, or question marks
(#277) No space found before comment text; expected "// store the expiry timestamp and adjust it for diffs between our server times" but found "//store the expiry timestamp and adjust it for diffs between our server times"
(#278) Variable "resp_object" must not contain underscores.
(#279) Variable "resp_object" must not contain underscores.
(#279) Variable "resp_object" must not contain underscores.
(#280) Inline comments must start with a capital letter, digit or 3-dots sequence
(#280) Inline comments must end in full-stops, exclamation marks, or question marks
(#280) No space found before comment text; expected "// we refresh one hour out, to prevent any overlap" but found "//we refresh one hour out, to prevent any overlap"
(#286) Inline comments must start with a capital letter, digit or 3-dots sequence
(#286) Inline comments must end in full-stops, exclamation marks, or question marks
(#286) No space found before comment text; expected "// cache the token" but found "//cache the token"
(#293) Variable "resp_object" must not contain underscores.
(#294) Variable "resp_object" must not contain underscores.
(#296) Variable "resp_object" must not contain underscores.
(#297) Variable "resp_object" must not contain underscores.
(#299) Variable "resp_object" must not contain underscores.
(#300) Variable "resp_object" must not contain underscores.
(#307) Empty IF statement detected
(#307) Variable "resp_object" must not contain underscores.
(#307) Variable "resp_object" must not contain underscores.
(#308) Inline comments must end in full-stops, exclamation marks, or question marks
(#308) This comment is 43% valid code; is this commented out code?
(#308) No space found before comment text; expected "// ERROR = $resp_object->error" but found "//ERROR = $resp_object->error"
(#317) Inline comments must start with a capital letter, digit or 3-dots sequence
(#317) No space found before comment text; expected "// check token and tokenobject(from cache)" but found "//check token and tokenobject(from cache)"
(#318) Inline comments must end in full-stops, exclamation marks, or question marks
(#318) No space found before comment text; expected "// return error message or blank if its all ok" but found "//return error message or blank if its all ok"
(#319) Expected 1 space before opening brace; found 0
(#322) Inline comments must start with a capital letter, digit or 3-dots sequence
(#322) Inline comments must end in full-stops, exclamation marks, or question marks
(#322) No space found before comment text; expected "// check token authenticated" but found "//check token authenticated"
(#323) Expected "if (...) {\n"; found "if(...) {\n"
(#333) Inline comments must start with a capital letter, digit or 3-dots sequence
(#333) Inline comments must end in full-stops, exclamation marks, or question marks
(#333) No space found before comment text; expected "// we should not get here if there is no token, but lets gracefully die, [v unlikely]" but found "//we should not get here if there is no token, but lets gracefully die, [v unlikely]"
(#339) Inline comments must end in full-stops, exclamation marks, or question marks
(#339) No space found before comment text; expected "// We have an object but its no good, creds were wrong ..or something. [v unlikely]" but found "//We have an object but its no good, creds were wrong ..or something. [v unlikely]"
(#344) Inline comments must start with a capital letter, digit or 3-dots sequence
(#355) Inline comments must start with a capital letter, digit or 3-dots sequence
(#355) No space found before comment text; expected "// just return empty if there is no error." but found "//just return empty if there is no error."
(#359) Inline comments must start with a capital letter, digit or 3-dots sequence
(#359) Inline comments must end in full-stops, exclamation marks, or question marks
(#359) No space found before comment text; expected "// transcripts become ready in their own time, fetch them here" but found "//transcripts become ready in their own time, fetch them here"
(#369) Inline comments must start with a capital letter, digit or 3-dots sequence
(#369) Inline comments must end in full-stops, exclamation marks, or question marks
(#369) No space found before comment text; expected "// vtt data becomes ready in its own time, fetch them here" but found "//vtt data becomes ready in its own time, fetch them here"
(#379) File must end with a newline character
question/type/cloudpoodll/cloudpoodll/refreshtoken.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#43) File must end with a newline character
question/type/cloudpoodll/db/simpletest/testupgradelibnewqe.php
(#64) Line exceeds 132 characters; contains 161 characters
(#86) Line exceeds 132 characters; contains 158 characters
(#97) Line exceeds maximum limit of 180 characters; contains 513 characters
(#219) Line exceeds 132 characters; contains 163 characters
(#278) Line exceeds maximum limit of 180 characters; contains 478 characters
(#279) Line exceeds maximum limit of 180 characters; contains 555 characters
(#326) Line exceeds 132 characters; contains 137 characters
(#386) Line exceeds maximum limit of 180 characters; contains 361 characters
(#399) Line exceeds maximum limit of 180 characters; contains 361 characters
(#420) Line exceeds maximum limit of 180 characters; contains 362 characters
(#437) Line exceeds maximum limit of 180 characters; contains 386 characters
(#446) Line exceeds maximum limit of 180 characters; contains 378 characters
(#459) Line exceeds maximum limit of 180 characters; contains 478 characters
(#460) Line exceeds maximum limit of 180 characters; contains 555 characters
(#507) Line exceeds 132 characters; contains 137 characters
question/type/cloudpoodll/db/upgrade.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#50) Inline comments must start with a capital letter, digit or 3-dots sequence
(#50) Inline comments must end in full-stops, exclamation marks, or question marks
(#56) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#64) Inline comments must start with a capital letter, digit or 3-dots sequence
(#64) Inline comments must end in full-stops, exclamation marks, or question marks
question/type/cloudpoodll/edit_cloudpoodll_form.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#50) Inline comments must start with a capital letter, digit or 3-dots sequence
(#50) Inline comments must end in full-stops, exclamation marks, or question marks
(#57) Inline comments must start with a capital letter, digit or 3-dots sequence
(#57) Inline comments must end in full-stops, exclamation marks, or question marks
(#64) Inline comments must start with a capital letter, digit or 3-dots sequence
(#64) Inline comments must end in full-stops, exclamation marks, or question marks
(#72) Inline comments must start with a capital letter, digit or 3-dots sequence
(#72) Inline comments must end in full-stops, exclamation marks, or question marks
(#80) Inline comments must start with a capital letter, digit or 3-dots sequence
(#80) Inline comments must end in full-stops, exclamation marks, or question marks
(#87) Inline comments must start with a capital letter, digit or 3-dots sequence
(#87) Inline comments must end in full-stops, exclamation marks, or question marks
(#94) Inline comments must start with a capital letter, digit or 3-dots sequence
(#94) Inline comments must end in full-stops, exclamation marks, or question marks
(#101) Inline comments must start with a capital letter, digit or 3-dots sequence
(#101) Inline comments must end in full-stops, exclamation marks, or question marks
(#108) Inline comments must start with a capital letter, digit or 3-dots sequence
(#108) Inline comments must end in full-stops, exclamation marks, or question marks
(#132) No space found before comment text; expected "// Set qresource details, and configure a draft area to accept any uploaded pictures" but found "//Set qresource details, and configure a draft area to accept any uploaded pictures"
(#133) No space found before comment text; expected "// all this and this whole method does, is to load existing files into a filearea" but found "//all this and this whole method does, is to load existing files into a filearea"
(#134) Inline comments must end in full-stops, exclamation marks, or question marks
(#134) No space found before comment text; expected "// so it is not called when creating a new question, only when editing an existing one" but found "//so it is not called when creating a new question, only when editing an existing one"
(#136) Inline comments must start with a capital letter, digit or 3-dots sequence
(#136) No space found before comment text; expected "// best to use file_get_submitted_draft_itemid - because copying questions gets weird otherwise" but found "//best to use file_get_submitted_draft_itemid - because copying questions gets weird otherwise"
(#137) Inline comments must end in full-stops, exclamation marks, or question marks
(#137) No space found before comment text; expected "// $draftitemid =$question->options->qresource;" but found "//$draftitemid =$question->options->qresource;"
(#149) Inline comments must start with a capital letter, digit or 3-dots sequence
(#149) Inline comments must end in full-stops, exclamation marks, or question marks
(#150) Inline comments must start with a capital letter, digit or 3-dots sequence
(#150) Inline comments must end in full-stops, exclamation marks, or question marks
(#151) Inline comments must start with a capital letter, digit or 3-dots sequence
(#151) Inline comments must end in full-stops, exclamation marks, or question marks
(#152) Inline comments must start with a capital letter, digit or 3-dots sequence
(#152) Inline comments must end in full-stops, exclamation marks, or question marks
(#153) Inline comments must start with a capital letter, digit or 3-dots sequence
(#153) Inline comments must end in full-stops, exclamation marks, or question marks
(#154) Inline comments must start with a capital letter, digit or 3-dots sequence
(#154) Inline comments must end in full-stops, exclamation marks, or question marks
(#155) Inline comments must start with a capital letter, digit or 3-dots sequence
(#155) Inline comments must end in full-stops, exclamation marks, or question marks
question/type/cloudpoodll/fetchcbpage.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#37) Expected "if (...) {\n"; found "if(...){\n"
(#37) Commas (,) must be followed by white space.
(#39) Expected 1 space before "="; 0 found
(#39) Expected 1 space after "="; 0 found
(#39) Expected 1 space before "=>"; 0 found
(#39) Expected 1 space after "=>"; 0 found
(#39) Commas (,) must be followed by white space.
(#39) Expected 1 space before "=>"; 0 found
(#39) Expected 1 space after "=>"; 0 found
(#40) Expected 1 space before "=>"; 0 found
(#40) Expected 1 space after "=>"; 0 found
(#40) Commas (,) must be followed by white space.
(#40) Expected 1 space before "=>"; 0 found
(#40) Expected 1 space after "=>"; 0 found
(#40) Commas (,) must be followed by white space.
(#40) Expected 1 space before "=>"; 0 found
(#40) Expected 1 space after "=>"; 0 found
(#40) Commas (,) must be followed by white space.
(#40) Expected 1 space before "=>"; 0 found
(#40) Expected 1 space after "=>"; 0 found
(#42) Commas (,) must be followed by white space.
(#44) Expected "} else {\n"; found "}else{\n"
question/type/cloudpoodll/lang/en/qtype_cloudpoodll.php
(#26) Inline comments must start with a capital letter, digit or 3-dots sequence
(#26) This comment is 78% valid code; is this commented out code?
(#26) No space found before comment text; expected "// $string['formateditor'] = 'HTML editor';" but found "//$string['formateditor'] = 'HTML editor';"
(#30) Inline comments must start with a capital letter, digit or 3-dots sequence
(#30) This comment is 78% valid code; is this commented out code?
(#30) No space found before comment text; expected "// $string['nlines'] = '{$a} lines';" but found "//$string['nlines'] = '{$a} lines';"
(#41) Inline comments must start with a capital letter, digit or 3-dots sequence
(#41) This comment is 74% valid code; is this commented out code?
(#41) No space found before comment text; expected "// $string['norecording'] = 'no recording found';" but found "//$string['norecording'] = 'no recording found';"
(#42) No space found before comment text; expected "// $string['currentresponse'] = 'Current Response:<br />';" but found "//$string['currentresponse'] = 'Current Response:<br />';"
(#55) Inline comments must end in full-stops, exclamation marks, or question marks
(#58) Inline comments must start with a capital letter, digit or 3-dots sequence
(#58) This comment is 78% valid code; is this commented out code?
(#58) No space found before comment text; expected "// $string['formatupload'] = "Upload media file";" but found "//$string['formatupload'] = "Upload media file";"
(#122) Inline comments must start with a capital letter, digit or 3-dots sequence
(#122) This comment is 78% valid code; is this commented out code?
(#122) No space found before comment text; expected "// $string['region'] = 'AWS Region';" but found "//$string['region'] = 'AWS Region';"
(#126) Inline comments must start with a capital letter, digit or 3-dots sequence
(#126) This comment is 78% valid code; is this commented out code?
(#126) No space found before comment text; expected "// $string['currentsubmission'] = 'Current Submission:';" but found "//$string['currentsubmission'] = 'Current Submission:';"
(#156) Inline comments must start with a capital letter, digit or 3-dots sequence
(#156) Inline comments must end in full-stops, exclamation marks, or question marks
(#156) No space found before comment text; expected "// these errors are displayed on quiz page" but found "//these errors are displayed on quiz page"
(#179) Expected 1 space before "="; 0 found
(#179) Expected 1 space after "="; 0 found
(#180) Expected 1 space before "="; 0 found
(#180) Expected 1 space after "="; 0 found
(#187) Inline comments must start with a capital letter, digit or 3-dots sequence
(#187) This comment is 74% valid code; is this commented out code?
(#187) No space found before comment text; expected "// $string['memberdashboard'] = "Member Dashboard";" but found "//$string['memberdashboard'] = "Member Dashboard";"
(#188) No space found before comment text; expected "// $string['memberdashboard_desc'] = "";" but found "//$string['memberdashboard_desc'] = "";"
(#189) Expected 1 space before "="; 0 found
(#189) Expected 1 space after "="; 0 found
(#189) File must end with a newline character
question/type/cloudpoodll/lib.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
question/type/cloudpoodll/question.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#92) Inline comments must start with a capital letter, digit or 3-dots sequence
(#92) Inline comments must end in full-stops, exclamation marks, or question marks
(#92) This comment is 80% valid code; is this commented out code?
(#92) No space found before comment text; expected "// print_object($qa);" but found "//print_object($qa);"
(#94) Inline comments must start with a capital letter, digit or 3-dots sequence
(#94) No space found before comment text; expected "// since we will put files in respnse_answer, this is likely to be always true." but found "//since we will put files in respnse_answer, this is likely to be always true."
(#97) Inline comments must start with a capital letter, digit or 3-dots sequence
(#97) Inline comments must end in full-stops, exclamation marks, or question marks
(#97) No space found before comment text; expected "// if we are using a qresource, there is no need to restrict here" but found "//if we are using a qresource, there is no need to restrict here"
question/type/cloudpoodll/questiontype.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#64) Inline comments must start with a capital letter, digit or 3-dots sequence
(#64) No space found before comment text; expected "// "import_or_save_files" won't work, because it expects output from an editor which is an array with member itemid" but found "//"import_or_save_files" won't work, because it expects output from an editor which is an array with member itemid"
(#65) No space found before comment text; expected "// the filemanager doesn't produce this, so need to use file save draft area directly" but found "//the filemanager doesn't produce this, so need to use file save draft area directly"
(#71) Inline comments must start with a capital letter, digit or 3-dots sequence
(#71) Inline comments must end in full-stops, exclamation marks, or question marks
(#71) No space found before comment text; expected "// save the itemid of the qresource filearea" but found "//save the itemid of the qresource filearea"
(#77) Inline comments must start with a capital letter, digit or 3-dots sequence
(#77) Inline comments must end in full-stops, exclamation marks, or question marks
(#77) No space found before comment text; expected "// if we have a recording time limit" but found "//if we have a recording time limit"
(#84) Inline comments must start with a capital letter, digit or 3-dots sequence
(#84) Inline comments must end in full-stops, exclamation marks, or question marks
(#84) No space found before comment text; expected "// other options" but found "//other options"
(#163) Inline comments must start with a capital letter, digit or 3-dots sequence
(#163) Inline comments must end in full-stops, exclamation marks, or question marks
(#163) No space found before comment text; expected "// get file storage" but found "//get file storage"
(#197) Line indented incorrectly; expected at least 4 spaces, found 1
(#198) Line indented incorrectly; expected at least 4 spaces, found 1
(#199) Line indented incorrectly; expected at least 4 spaces, found 1
(#200) Line indented incorrectly; expected at least 4 spaces, found 1
(#201) Line indented incorrectly; expected at least 4 spaces, found 1
(#205) Variable "question_type" must not contain underscores.
(#207) Inline comments must start with a capital letter, digit or 3-dots sequence
(#207) Inline comments must end in full-stops, exclamation marks, or question marks
(#207) No space found before comment text; expected "// omit table name" but found "//omit table name"
(#209) Variable "question_type" must not contain underscores.
question/type/cloudpoodll/renderer.php
(#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
(#72) Inline comments must start with a capital letter, digit or 3-dots sequence
(#72) Inline comments must end in full-stops, exclamation marks, or question marks
(#73) Variable "have_subtitles" must not contain underscores.
(#75) Inline comments must start with a capital letter, digit or 3-dots sequence
(#75) Inline comments must end in full-stops, exclamation marks, or question marks
(#80) Variable "have_subtitles" must not contain underscores.
(#86) Variable "have_subtitles" must not contain underscores.
(#89) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#91) Inline comments must start with a capital letter, digit or 3-dots sequence
(#92) Inline comments must end in full-stops, exclamation marks, or question marks
(#94) Expected "if (...) {\n"; found "if(...) {\n"
(#99) Variable "have_subtitles" must not contain underscores.
(#102) Variable "player_div" must not contain underscores.
(#102) Variable "have_subtitles" must not contain underscores.
(#104) Variable "have_subtitles" must not contain underscores.
(#105) Variable "player_div" must not contain underscores.
(#106) Expected "} else if (...) {\n"; found "} else if(...) {\n"
(#106) Expected "if (...) {\n"; found "if(...) {\n"
(#107) Variable "player_div" must not contain underscores.
(#108) Expected "} else {\n"; found "}else{\n"
(#109) Variable "player_div" must not contain underscores.
(#112) No space found before comment text; expected "// Do this for testing fetch and process of transcript via ad hoc task." but found "//Do this for testing fetch and process of transcript via ad hoc task."
(#113) No space found before comment text; expected "// but we do not do that." but found "//but we do not do that."
(#114) Inline comments must end in full-stops, exclamation marks, or question marks
(#114) No space found before comment text; expected "// utils::register_fetch_transcript_task($url,$qa,$step);" but found "//utils::register_fetch_transcript_task($url,$qa,$step);"
(#119) Inline comments must start with a capital letter, digit or 3-dots sequence
(#119) This comment is 60% valid code; is this commented out code?
(#119) No space found before comment text; expected "// $name = "answer"" but found "//$name = "answer""
(#121) Inline comments must start with a capital letter, digit or 3-dots sequence
(#121) Inline comments must end in full-stops, exclamation marks, or question marks
(#125) Inline comments must end in full-stops, exclamation marks, or question marks
(#125) No space found before comment text; expected "// Answer field" but found "//Answer field"
(#126) Variable "use_answer" must not contain underscores.
(#127) Variable "use_answer" must not contain underscores.
(#131) Variable "use_answer" must not contain underscores.
(#133) Inline comments must end in full-stops, exclamation marks, or question marks
(#134) Variable "use_mediaurl" must not contain underscores.
(#135) Variable "use_mediaurl" must not contain underscores.
(#139) Variable "use_mediaurl" must not contain underscores.
(#141) Inline comments must end in full-stops, exclamation marks, or question marks
(#142) Variable "use_transcript" must not contain underscores.
(#143) Variable "use_transcript" must not contain underscores.
(#147) Variable "use_transcript" must not contain underscores.
(#149) Inline comments must start with a capital letter, digit or 3-dots sequence
(#149) Inline comments must end in full-stops, exclamation marks, or question marks
(#157) global $PAGE cannot be used in renderers. Use $this->page.
(#160) Functions must not contain multiple empty lines in a row; found 3 empty lines
(#163) Variable "p_options" must not contain underscores.
(#164) Variable "p_options" must not contain underscores.
(#164) Expected 1 space before "="; 0 found
(#164) Expected 1 space after "="; 0 found
(#165) Variable "p_options" must not contain underscores.
(#165) Expected 1 space before "="; 0 found
(#165) Expected 1 space after "="; 0 found
(#166) Variable "p_options" must not contain underscores.
(#166) Expected 1 space before "="; 0 found
(#166) Expected 1 space after "="; 0 found
(#167) Variable "p_options" must not contain underscores.
(#167) Expected 1 space before "="; 0 found
(#167) Expected 1 space after "="; 0 found
(#168) Variable "p_options" must not contain underscores.
(#168) Expected 1 space before "="; 0 found
(#168) Expected 1 space after "="; 0 found
(#169) Variable "p_options" must not contain underscores.
(#169) Expected 1 space before "="; 0 found
(#169) Expected 1 space after "="; 0 found
(#170) Inline comments must start with a capital letter, digit or 3-dots sequence
(#170) Inline comments must end in full-stops, exclamation marks, or question marks
(#170) No space found before comment text; expected "// transcript bits" but found "//transcript bits"
(#172) Variable "p_options" must not contain underscores.
(#173) Variable "p_options" must not contain underscores.
(#174) Variable "p_options" must not contain underscores.
(#175) Variable "p_options" must not contain underscores.
(#176) global $PAGE cannot be used in renderers. Use $this->page.
(#176) Variable "p_options" must not contain underscores.
(#177) global $PAGE cannot be used in renderers. Use $this->page.
(#178) Expected "} else {\n"; found "}else{\n"
(#179) Variable "p_options" must not contain underscores.
(#179) Expected 1 space before "="; 0 found
(#182) Expected "if (...) {\n"; found "if(...) {\n"
(#183) Variable "p_options" must not contain underscores.
(#184) Expected "} else {\n"; found "}else{\n"
(#185) Variable "p_options" must not contain underscores.
(#195) Variable "r_options" must not contain underscores.
(#216) Inline comments must start with a capital letter, digit or 3-dots sequence
(#216) Inline comments must end in full-stops, exclamation marks, or question marks
(#246) Inline comments must start with a capital letter, digit or 3-dots sequence
(#246) Inline comments must end in full-stops, exclamation marks, or question marks
(#246) No space found before comment text; expected "// transcription defaults" but found "//transcription defaults"
(#249) Expected 1 space before "="; 0 found
(#249) Expected 1 space after "="; 0 found
(#252) Inline comments must start with a capital letter, digit or 3-dots sequence
(#252) Inline comments must end in full-stops, exclamation marks, or question marks
(#252) No space found before comment text; expected "// branch based on which transcriber we are using" but found "//branch based on which transcriber we are using"
(#254) Inline comments must start with a capital letter, digit or 3-dots sequence
(#254) Inline comments must end in full-stops, exclamation marks, or question marks
(#256) Variable "can_transcribe" must not contain underscores.
(#256) Variable "r_options" must not contain underscores.
(#257) Variable "can_transcribe" must not contain underscores.
(#260) Expected "} else {\n"; found "} else{\n"
(#265) Inline comments must start with a capital letter, digit or 3-dots sequence
(#265) Inline comments must end in full-stops, exclamation marks, or question marks
(#270) Inline comments must start with a capital letter, digit or 3-dots sequence
(#270) Inline comments must end in full-stops, exclamation marks, or question marks
(#270) No space found before comment text; expected "// google cloud speech" but found "//google cloud speech"
(#272) Inline comments must start with a capital letter, digit or 3-dots sequence
(#272) Inline comments must end in full-stops, exclamation marks, or question marks
(#272) No space found before comment text; expected "// we can not use google cloud speech for video, so do not even try" but found "//we can not use google cloud speech for video, so do not even try"
(#273) Expected "if (...) {\n"; found "if(...){\n"
(#276) Expected "} else {\n"; found "}else {\n"
(#288) Inline comments must start with a capital letter, digit or 3-dots sequence
(#288) Inline comments must end in full-stops, exclamation marks, or question marks
(#291) Inline comments must start with a capital letter, digit or 3-dots sequence
(#291) Inline comments must end in full-stops, exclamation marks, or question marks
(#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
(#295) Variable "api_user" must not contain underscores.
(#296) Variable "api_secret" must not contain underscores.
(#297) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#299) Inline comments must start with a capital letter, digit or 3-dots sequence
(#299) Inline comments must end in full-stops, exclamation marks, or question marks
(#299) No space found before comment text; expected "// id user has errors with tokens or cloudpoodll API send those back" but found "//id user has errors with tokens or cloudpoodll API send those back"
(#300) Expected "if (...) {\n"; found "if(...){\n"
(#300) Variable "api_user" must not contain underscores.
(#300) Variable "api_secret" must not contain underscores.
(#301) Commas (,) must be followed by white space.
(#306) Expected "} else {\n"; found "}else{\n"
(#307) Inline comments must start with a capital letter, digit or 3-dots sequence
(#307) Inline comments must end in full-stops, exclamation marks, or question marks
(#307) No space found before comment text; expected "// fetch token" but found "//fetch token"
(#308) Variable "api_user" must not contain underscores.
(#308) Variable "api_secret" must not contain underscores.
(#310) Inline comments must start with a capital letter, digit or 3-dots sequence
(#310) Inline comments must end in full-stops, exclamation marks, or question marks
(#310) No space found before comment text; expected "// check token authenticated and no errors in it" but found "//check token authenticated and no errors in it"
(#312) Expected "if (...) {\n"; found "if(...){\n"
(#317) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#319) Inline comments must start with a capital letter, digit or 3-dots sequence
(#319) Inline comments must end in full-stops, exclamation marks, or question marks
(#320) Variable "string_hints" must not contain underscores.
(#322) Inline comments must start with a capital letter, digit or 3-dots sequence
(#322) Inline comments must end in full-stops, exclamation marks, or question marks
(#323) Variable "dom_id" must not contain underscores.
(#324) Whitespace found at end of line
(#325) Variable "t_options" must not contain underscores.
(#325) Expected 1 space before "="; 0 found
(#326) Variable "t_options" must not contain underscores.
(#326) Expected 1 space after "="; 0 found
(#326) Variable "dom_id" must not contain underscores.
(#327) Variable "t_options" must not contain underscores.
(#327) Variable "dom_id" must not contain underscores.
(#328) Variable "t_options" must not contain underscores.
(#328) Expected 1 space before "="; 0 found
(#328) Expected 1 space after "="; 0 found
(#329) Variable "t_options" must not contain underscores.
(#329) Expected 1 space before "="; 0 found
(#329) Commas (,) must be followed by white space.
(#330) Variable "t_options" must not contain underscores.
(#330) Expected 1 space before "="; 0 found
(#331) Variable "t_options" must not contain underscores.
(#331) Expected 1 space before "="; 0 found
(#332) Variable "t_options" must not contain underscores.
(#332) Expected 1 space before "="; 0 found
(#333) Variable "t_options" must not contain underscores.
(#333) Expected 1 space before "="; 0 found
(#334) Variable "t_options" must not contain underscores.
(#334) Expected 1 space before "="; 0 found
(#335) Variable "t_options" must not contain underscores.
(#335) Expected 1 space before "="; 0 found
(#336) Variable "t_options" must not contain underscores.
(#336) Expected 1 space before "="; 0 found
(#337) Variable "t_options" must not contain underscores.
(#337) Expected 1 space before "="; 0 found
(#338) Variable "t_options" must not contain underscores.
(#338) Expected 1 space before "="; 0 found
(#339) Variable "t_options" must not contain underscores.
(#339) Expected 1 space before "="; 0 found
(#340) Variable "t_options" must not contain underscores.
(#340) Expected 1 space before "="; 0 found
(#341) Variable "t_options" must not contain underscores.
(#341) Expected 1 space before "="; 0 found
(#342) Variable "t_options" must not contain underscores.
(#342) Expected 1 space before "="; 0 found
(#343) Variable "t_options" must not contain underscores.
(#343) Expected 1 space before "="; 0 found
(#344) Variable "t_options" must not contain underscores.
(#344) Expected 1 space before "="; 0 found
(#344) Variable "r_options" must not contain underscores.
(#345) Variable "t_options" must not contain underscores.
(#345) Expected 1 space before "="; 0 found
(#345) Variable "r_options" must not contain underscores.
(#346) Variable "t_options" must not contain underscores.
(#346) Expected 1 space before "="; 0 found
(#346) Variable "string_hints" must not contain underscores.
(#347) Variable "t_options" must not contain underscores.
(#347) Expected 1 space before "="; 0 found
(#349) Expected "if (...) {\n"; found "if(...) {\n"
(#349) Expected 1 space after "=="; 0 found
(#350) Variable "t_options" must not contain underscores.
(#350) Expected 1 space before "="; 0 found
(#350) Expected 1 space after "="; 0 found
(#351) Variable "t_options" must not contain underscores.
(#352) Expected "} else {\n"; found "}else{\n"
(#353) Variable "t_options" must not contain underscores.
(#353) Expected 1 space before "="; 0 found
(#353) Expected 1 space after "="; 0 found
(#354) Variable "t_options" must not contain underscores.
(#356) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#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
(#361) Variable "dom_id" must not contain underscores.
question/type/cloudpoodll/settings.php
(#38) Variable "cloudpoodll_apiuser" must not contain underscores.
(#38) Expected 1 space before "="; 0 found
(#38) Expected 1 space after "="; 0 found
(#38) Commas (,) must be followed by white space.
(#39) Variable "cloudpoodll_apisecret" must not contain underscores.
(#39) Expected 1 space before "="; 0 found
(#39) Expected 1 space after "="; 0 found
(#39) Commas (,) must be followed by white space.
(#40) Variable "show_below_apisecret" must not contain underscores.
(#40) Expected 1 space before "="; 0 found
(#40) Expected 1 space after "="; 0 found
(#41) Inline comments must start with a capital letter, digit or 3-dots sequence
(#41) Inline comments must end in full-stops, exclamation marks, or question marks
(#41) Line indented incorrectly; expected at least 4 spaces, found 0
(#41) No space found before comment text; expected "// if we have an API user and secret we fetch token" but found "//if we have an API user and secret we fetch token"
(#42) Expected "if (...) {\n"; found "if(...) {\n"
(#42) Variable "cloudpoodll_apiuser" must not contain underscores.
(#42) Variable "cloudpoodll_apisecret" must not contain underscores.
(#43) Variable "cloudpoodll_apiuser" must not contain underscores.
(#43) Variable "cloudpoodll_apisecret" must not contain underscores.
(#44) Variable "show_below_apisecret" must not contain underscores.
(#44) Expected 1 space before "="; 0 found
(#44) Expected 1 space after "="; 0 found
(#45) 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
(#45) Line indented incorrectly; expected at least 8 spaces, found 0
(#45) No space found before comment text; expected "// if we have no API user and secret we show a "fetch from elsewhere on site" or "take a free trial" link" but found "//if we have no API user and secret we show a "fetch from elsewhere on site" or "take a free trial" link"
(#46) Expected "} else {\n"; found "}else{\n"
(#47) Expected 1 space before "="; 0 found
(#47) Expected 1 space after "="; 0 found
(#47) Expected 1 space before "=>"; 0 found
(#47) Expected 1 space after "=>"; 0 found
(#48) Variable "cp_components" must not contain underscores.
(#48) Expected 1 space before "="; 0 found
(#48) Expected 1 space after "="; 0 found
(#48) Commas (,) must be followed by white space.
(#48) Commas (,) must be followed by white space.
(#48) Commas (,) must be followed by white space.
(#48) Commas (,) must be followed by white space.
(#48) Commas (,) must be followed by white space.
(#48) Commas (,) must be followed by white space.
(#48) Line exceeds 132 characters; contains 133 characters
(#49) Commas (,) must be followed by white space.
(#50) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#50) Variable "cp_components" must not contain underscores.
(#50) Variable "cp_component" must not contain underscores.
(#51) Variable "cp_component" must not contain underscores.
(#53) Expected 1 space before "="; 0 found
(#53) Expected 1 space after "="; 0 found
(#54) Expected 1 space before "="; 0 found
(#54) Expected 1 space after "="; 0 found
(#57) Expected 1 space before "="; 0 found
(#57) Expected 1 space after "="; 0 found
(#58) Expected 1 space before "="; 0 found
(#58) Expected 1 space after "="; 0 found
(#61) Expected 1 space before "="; 0 found
(#61) Expected 1 space after "="; 0 found
(#62) Expected 1 space before "="; 0 found
(#62) Expected 1 space after "="; 0 found
(#64) Variable "cloudpoodll_apiuser" must not contain underscores.
(#64) Expected 1 space before "="; 0 found
(#64) Expected 1 space after "="; 0 found
(#64) Variable "cp_component" must not contain underscores.
(#64) Commas (,) must be followed by white space.
(#65) Expected "if (...) {\n"; found "if(...){\n"
(#65) Variable "cloudpoodll_apiuser" must not contain underscores.
(#66) Variable "cloudpoodll_apisecret" must not contain underscores.
(#66) Expected 1 space before "="; 0 found
(#66) Expected 1 space after "="; 0 found
(#66) Variable "cp_component" must not contain underscores.
(#66) Commas (,) must be followed by white space.
(#67) Expected "if (...) {\n"; found "if(...){\n"
(#67) Variable "cloudpoodll_apisecret" must not contain underscores.
(#68) Expected 1 space before "="; 0 found
(#68) Expected 1 space after "="; 0 found
(#68) Variable "cloudpoodll_apiuser" must not contain underscores.
(#69) Expected 1 space before "="; 0 found
(#69) Expected 1 space after "="; 0 found
(#69) Variable "cloudpoodll_apisecret" must not contain underscores.
(#74) Variable "show_below_apisecret" must not contain underscores.
(#74) Expected 1 space before "="; 0 found
(#74) Expected 1 space after "="; 0 found
(#74) Commas (,) must be followed by white space.
(#79) Variable "show_below_apisecret" must not contain underscores.
(#81) Inline comments must start with a capital letter, digit or 3-dots sequence
(#81) Inline comments must end in full-stops, exclamation marks, or question marks
(#81) No space found before comment text; expected "// apicredshelper" but found "//apicredshelper"
(#82) This comment is 65% valid code; is this commented out code?
(#108) Inline comments must end in full-stops, exclamation marks, or question marks
(#116) Inline comments must end in full-stops, exclamation marks, or question marks
(#124) Inline comments must end in full-stops, exclamation marks, or question marks
(#132) Inline comments must end in full-stops, exclamation marks, or question marks
(#139) Inline comments must end in full-stops, exclamation marks, or question marks
(#146) File must end with a newline character
question/type/cloudpoodll/version.php
(#29) 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
(#29) No space found before comment text; expected "// moodle 3.1.0" but found "//moodle 3.1.0"

Javascript coding style problems

(41 errors, 188 warnings)

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

question/type/cloudpoodll/amd/src/cloudpoodllhelper.js
(#1) Unexpected space before function parentheses. (space-before-function-paren)
(#10) Unexpected space before function parentheses. (space-before-function-paren)
(#11) Operator '=' must be spaced. (space-infix-ops)
(#12) ["component"] is better written in dot notation. (dot-notation)
(#13) Identifier 'data_id' is not in camel case. (camelcase)
(#13) ["data_id"] is better written in dot notation. (dot-notation)
(#14) ["inputname"] is better written in dot notation. (dot-notation)
(#15) ["transcriber"] is better written in dot notation. (dot-notation)
(#16) Operator '=' must be spaced. (space-infix-ops)
(#17) ["safesave"] is better written in dot notation. (dot-notation)
(#19) Comments should not begin with a lowercase character. (capitalized-comments)
(#19) Expected space or tab after '//' in comment. (spaced-comment)
(#28) Operator '=' must be spaced. (space-infix-ops)
(#30) Comments should not begin with a lowercase character. (capitalized-comments)
(#30) Expected space or tab after '//' in comment. (spaced-comment)
(#33) Unexpected space before function parentheses. (space-before-function-paren)
(#34) Operator '=' must be spaced. (space-infix-ops)
(#35) Comments should not begin with a lowercase character. (capitalized-comments)
(#35) Expected space or tab after '//' in comment. (spaced-comment)
(#36) Requires a space after '{'. (block-spacing)
(#36) Statement inside of curly braces should be on next line. (brace-style)
(#36) Missing space before opening brace. (space-before-blocks)
(#36) Requires a space before '}'. (block-spacing)
(#36) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#42) Comments should not begin with a lowercase character. (capitalized-comments)
(#46) Comments should not begin with a lowercase character. (capitalized-comments)
(#46) Expected space or tab after '//' in comment. (spaced-comment)
(#47) Expected space(s) after "if". (keyword-spacing)
(#47) Operator '==' must be spaced. (space-infix-ops)
(#49) Expected space or tab after '//' in comment. (spaced-comment)
(#64) Comments should not begin with a lowercase character. (capitalized-comments)
(#68) Comments should not begin with a lowercase character. (capitalized-comments)
(#68) Expected space or tab after '//' in comment. (spaced-comment)
(#69) Expected space(s) after "if". (keyword-spacing)
(#69) Operator '==' must be spaced. (space-infix-ops)
(#71) Comments should not begin with a lowercase character. (capitalized-comments)
(#71) Expected space or tab after '//' in comment. (spaced-comment)
(#78) Unexpected alert. (no-alert)
(#81) Comments should not begin with a lowercase character. (capitalized-comments)
(#81) Expected space or tab after '//' in comment. (spaced-comment)
(#83) Comments should not begin with a lowercase character. (capitalized-comments)
(#83) Expected space or tab after '//' in comment. (spaced-comment)
(#86) Missing space before opening brace. (space-before-blocks)
(#89) Return statement should not contain assignment. (no-return-assign)
(#92) Identifier 'register_events' is not in camel case. (camelcase)
(#92) Unexpected space before function parentheses. (space-before-function-paren)
(#92) 'config' is defined but never used. (no-unused-vars)
(#93) Comments should not begin with a lowercase character. (capitalized-comments)
(#93) Expected space or tab after '//' in comment. (spaced-comment)
(#95) Comments should not begin with a lowercase character. (capitalized-comments)
(#95) Expected space or tab after '//' in comment. (spaced-comment)
question/type/cloudpoodll/amd/src/cloudpoodllloader.js
(#4) Unexpected space before function parentheses. (space-before-function-paren)
(#6) Comments should not begin with a lowercase character. (capitalized-comments)
(#6) Expected space or tab after '//' in comment. (spaced-comment)
(#7) Missing space before opening brace. (space-before-blocks)
(#8) A space is required after ','. (comma-spacing)
(#8) A space is required after ','. (comma-spacing)
(#11) Unexpected space before function parentheses. (space-before-function-paren)
(#15) Unexpected space before function parentheses. (space-before-function-paren)
question/type/cloudpoodll/amd/src/interactivetranscript.js
(#1) Unexpected space before function parentheses. (space-before-function-paren)
(#8) Unexpected space before function parentheses. (space-before-function-paren)
(#10) ["component"] is better written in dot notation. (dot-notation)
(#11) ["playerid"] is better written in dot notation. (dot-notation)
(#12) ["containerid"] is better written in dot notation. (dot-notation)
(#13) ["cssprefix"] is better written in dot notation. (dot-notation)
(#27) Unexpected space before function parentheses. (space-before-function-paren)
(#28) Comments should not begin with a lowercase character. (capitalized-comments)
(#39) Expected { after 'if' condition. (curly)
(#39) Unexpected space before function parentheses. (space-before-function-paren)
(#39) 'element' is defined but never used. (no-unused-vars)
(#42) Unexpected space before function parentheses. (space-before-function-paren)
(#50) Expected { after 'if' condition. (curly)
(#50) Unexpected space before function parentheses. (space-before-function-paren)
(#57) Unexpected space before function parentheses. (space-before-function-paren)
(#58) Unexpected space before function parentheses. (space-before-function-paren)
(#58) Unexpected empty function. (no-empty-function)
(#60) Unexpected space before function parentheses. (space-before-function-paren)
(#65) A function with a name starting with an uppercase letter should only be used as a constructor. (babel/new-cap)
(#75) Comments should not begin with a lowercase character. (capitalized-comments)
(#78) Array prototype is read only, properties should not be added. (no-extend-native)
(#78) Unexpected space before function parentheses. (space-before-function-paren)
(#80) Use '===' to compare with null. (no-eq-null)
(#84) Unexpected use of '>>>'. (no-bitwise)
(#103) Comments should not begin with a lowercase character. (capitalized-comments)
(#104) Expected space or tab after '/*' in comment. (spaced-comment)
(#106) Unexpected space before function parentheses. (space-before-function-paren)
(#109) Missing semicolon. (babel/semi)
(#111) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#111) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#111) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#111) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#111) Unexpected space before function parentheses. (space-before-function-paren)
(#112) Missing semicolon. (babel/semi)
(#113) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#113) Unexpected space before function parentheses. (space-before-function-paren)
(#114) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#117) Missing semicolon. (babel/semi)
(#120) Missing semicolon. (babel/semi)
(#121) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#121) Unexpected space before function parentheses. (space-before-function-paren)
(#124) Missing semicolon. (babel/semi)
(#125) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#125) Unexpected space before function parentheses. (space-before-function-paren)
(#127) A constructor name should not start with a lowercase letter. (babel/new-cap)
(#127) Missing semicolon. (babel/semi)
(#130) A constructor name should not start with a lowercase letter. (babel/new-cap)
(#130) Missing semicolon. (babel/semi)
(#132) Missing semicolon. (babel/semi)
(#133) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#133) Unexpected space before function parentheses. (space-before-function-paren)
(#134) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#134) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#134) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#136) Missing semicolon. (babel/semi)
(#138) Unexpected space before function parentheses. (space-before-function-paren)
(#139) Missing semicolon. (babel/semi)
(#140) Missing semicolon. (babel/semi)
(#141) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#141) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#141) Unexpected space before function parentheses. (space-before-function-paren)
(#142) A constructor name should not start with a lowercase letter. (babel/new-cap)
(#142) Missing semicolon. (babel/semi)
(#145) Unexpected space before function parentheses. (space-before-function-paren)
(#146) Missing semicolon. (babel/semi)
(#148) Unexpected space before function parentheses. (space-before-function-paren)
(#150) Missing semicolon. (babel/semi)
(#152) Unexpected space before function parentheses. (space-before-function-paren)
(#153) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#153) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#153) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#153) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#158) Missing semicolon. (babel/semi)
(#162) Missing semicolon. (babel/semi)
(#165) Unexpected space before function parentheses. (space-before-function-paren)
(#166) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#166) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#166) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#166) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#172) Missing semicolon. (babel/semi)
(#176) Missing semicolon. (babel/semi)
(#179) Unexpected space before function parentheses. (space-before-function-paren)
(#181) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#183) Missing semicolon. (babel/semi)
(#185) Missing semicolon. (babel/semi)
(#187) Unexpected space before function parentheses. (space-before-function-paren)
(#188) Missing semicolon. (babel/semi)
(#193) Missing semicolon. (babel/semi)
(#197) Missing semicolon. (babel/semi)
(#202) Missing semicolon. (babel/semi)
(#205) Missing semicolon. (babel/semi)
(#207) A space is required after ','. (comma-spacing)
(#207) Comments should not begin with a lowercase character. (capitalized-comments)
(#207) Expected space or tab after '//' in comment. (spaced-comment)
(#213) Comments should not begin with a lowercase character. (capitalized-comments)
(#213) Expected space or tab after '//' in comment. (spaced-comment)
(#214) Comments should not begin with a lowercase character. (capitalized-comments)
(#214) Expected space or tab after '//' in comment. (spaced-comment)
(#215) Comments should not begin with a lowercase character. (capitalized-comments)
(#215) Expected space or tab after '//' in comment. (spaced-comment)
(#217) Comments should not begin with a lowercase character. (capitalized-comments)
(#217) Expected space or tab after '//' in comment. (spaced-comment)
(#218) Comments should not begin with a lowercase character. (capitalized-comments)
(#218) Expected space or tab after '//' in comment. (spaced-comment)
(#221) Expected space or tab after '/*' in comment. (spaced-comment)
(#224) Unexpected space before function parentheses. (space-before-function-paren)
(#235) Unexpected space before function parentheses. (space-before-function-paren)
(#238) Unexpected space before function parentheses. (space-before-function-paren)
(#244) Unexpected space before function parentheses. (space-before-function-paren)
(#270) Unexpected space before function parentheses. (space-before-function-paren)
(#279) Unexpected space before function parentheses. (space-before-function-paren)
(#280) Unexpected space before function parentheses. (space-before-function-paren)
(#283) Unexpected space before function parentheses. (space-before-function-paren)
(#288) Comments should not begin with a lowercase character. (capitalized-comments)
(#298) Unexpected space before function parentheses. (space-before-function-paren)
(#301) Unexpected space before function parentheses. (space-before-function-paren)
(#305) Unexpected space before function parentheses. (space-before-function-paren)
(#317) Unexpected space before function parentheses. (space-before-function-paren)
(#321) Comments should not begin with a lowercase character. (capitalized-comments)
(#321) Expected space or tab after '//' in comment. (spaced-comment)
(#329) Unexpected space before function parentheses. (space-before-function-paren)
(#334) Unexpected space before function parentheses. (space-before-function-paren)
(#345) Unexpected space before function parentheses. (space-before-function-paren)
(#358) Unexpected space before function parentheses. (space-before-function-paren)
(#361) 'parentOffsetBottom' is assigned a value but never used. (no-unused-vars)
(#367) Comments should not begin with a lowercase character. (capitalized-comments)
(#376) Expected space or tab after '//' in comment. (spaced-comment)
(#403) Unexpected space before function parentheses. (space-before-function-paren)
(#405) Comments should not begin with a lowercase character. (capitalized-comments)
(#405) Expected space or tab after '//' in comment. (spaced-comment)
(#410) Unexpected space before function parentheses. (space-before-function-paren)
(#419) Missing semicolon. (babel/semi)
(#422) Unexpected space before function parentheses. (space-before-function-paren)
(#426) Expected space or tab after '/*' in comment. (spaced-comment)
(#426) 'config' is defined but never used. (no-unused-vars)
(#427) Unexpected space before function parentheses. (space-before-function-paren)
(#430) Unexpected space before function parentheses. (space-before-function-paren)
(#442) Unexpected space before function parentheses. (space-before-function-paren)
(#451) Comments should not begin with a lowercase character. (capitalized-comments)
(#457) Expected space or tab after '/*' in comment. (spaced-comment)
(#457) 'utils' is defined but never used. (no-unused-vars)
(#457) 'scrollable' is defined but never used. (no-unused-vars)
(#458) Unexpected space before function parentheses. (space-before-function-paren)
(#463) Unexpected space before function parentheses. (space-before-function-paren)
(#466) Unexpected space before function parentheses. (space-before-function-paren)
(#469) Unexpected space before function parentheses. (space-before-function-paren)
(#474) Unexpected space before function parentheses. (space-before-function-paren)
(#476) Unexpected space before function parentheses. (space-before-function-paren)
(#482) Unexpected space before function parentheses. (space-before-function-paren)
(#482) 'e' is defined but never used. (no-unused-vars)
(#488) Unexpected space before function parentheses. (space-before-function-paren)
(#491) Comments should not begin with a lowercase character. (capitalized-comments)
(#492) Comments should not begin with a lowercase character. (capitalized-comments)
(#499) Unexpected space before function parentheses. (space-before-function-paren)
(#511) Unexpected space before function parentheses. (space-before-function-paren)
(#518) Comments should not begin with a lowercase character. (capitalized-comments)
(#525) Unexpected space before function parentheses. (space-before-function-paren)
(#544) Unexpected space before function parentheses. (space-before-function-paren)
(#562) Unexpected space before function parentheses. (space-before-function-paren)
(#565) Unexpected space before function parentheses. (space-before-function-paren)
(#566) 'active' is defined but never used. (no-unused-vars)
(#577) Comments should not begin with a lowercase character. (capitalized-comments)
(#579) This line has a length of 136. Maximum allowed is 132. (max-len)
(#588) Unexpected space before function parentheses. (space-before-function-paren)
(#601) Unexpected space before function parentheses. (space-before-function-paren)
(#611) Unexpected space before function parentheses. (space-before-function-paren)
(#614) Unexpected space before function parentheses. (space-before-function-paren)
(#629) Unexpected space before function parentheses. (space-before-function-paren)
(#636) Comments should not begin with a lowercase character. (capitalized-comments)
(#636) Expected space or tab after '//' in comment. (spaced-comment)

CSS problems

(15 errors, 0 warnings)

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

question/type/cloudpoodll/styles.css
(#154) Invalid value for `padding-bottom` (csstree/validator)
(#157) Invalid value for `padding-top` (csstree/validator)
(#160) Invalid value for `padding-top` (csstree/validator)
(#163) Expected empty line before at-rule (at-rule-empty-line-before)
(#113) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#114) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#115) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#116) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#121) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#122) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#123) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#124) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#154) Expected single space after "," in a single-line function (function-comma-space-after)
(#157) Expected single space after "," in a single-line function (function-comma-space-after)
(#160) Expected single space after "," in a single-line function (function-comma-space-after)

PHPDocs style problems

(141 errors, 41 warnings)

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

question/type/cloudpoodll/backup/moodle2/backup_qtype_cloudpoodll_plugin.class.php
(#18) Package moodlecore is not valid
(#17) No one-line description found in phpdocs for file
(#70) Inline phpdocs tag {@link get_components_and_fileareas} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
question/type/cloudpoodll/backup/moodle2/restore_qtype_cloudpoodll_plugin.class.php
(#18) Package moodlecore is not valid
(#17) No one-line description found in phpdocs for file
(#28) No one-line description found in phpdocs for class restore_qtype_cloudpoodll_plugin
(#46) Phpdocs for function restore_qtype_cloudpoodll_plugin::process_cloudpoodll has incomplete parameters list
question/type/cloudpoodll/classes/constants.php
(#5) Package is not specified for class constants. It is also not specified in file-level phpdocs
(#2) Empty line found after PHP open tag
(#12) Constant constants::RESPONSEFORMAT_AUDIO is not documented
(#13) Constant constants::RESPONSEFORMAT_VIDEO is not documented
(#14) Constant constants::FILEAREA_QRESOURCE is not documented
(#15) Constant constants::FILEAREA_GRADERINFO is not documented
(#16) Constant constants::M_COMP is not documented
(#17) Constant constants::M_URL is not documented
(#18) Constant constants::M_TABLE is not documented
(#19) Constant constants::M_PLUGINSETTINGS is not documented
(#21) Constant constants::APPID is not documented
(#23) Constant constants::REC_AUDIO is not documented
(#24) Constant constants::REC_VIDEO is not documented
(#26) Constant constants::SKIN_PLAIN is not documented
(#27) Constant constants::SKIN_BMR is not documented
(#28) Constant constants::SKIN_123 is not documented
(#29) Constant constants::SKIN_FRESH is not documented
(#30) Constant constants::SKIN_ONCE is not documented
(#31) Constant constants::SKIN_UPLOAD is not documented
(#32) Constant constants::SKIN_PUSH is not documented
(#33) Constant constants::SKIN_SCREEN is not documented
(#35) Constant constants::FALLBACK_UPLOAD is not documented
(#36) Constant constants::FALLBACK_IOSUPLOAD is not documented
(#37) Constant constants::FALLBACK_WARNING is not documented
(#38) Constant constants::PROCESSING is not documented
(#39) Constant constants::BLANK is not documented
(#41) Constant constants::CLASS_REC_CONTAINER is not documented
(#42) Constant constants::CLASS_REC_OUTER is not documented
(#43) Constant constants::CLASS_AUDIOREC_IFRAME is not documented
(#44) Constant constants::CLASS_VIDEOREC_IFRAME is not documented
(#45) Constant constants::ID_REC is not documented
(#46) Constant constants::ID_UPDATE_CONTROL is not documented
(#47) Constant constants::NAME_UPDATE_CONTROL is not documented
(#50) Constant constants::REGION_USEAST1 is not documented
(#51) Constant constants::REGION_TOKYO is not documented
(#52) Constant constants::REGION_DUBLIN is not documented
(#53) Constant constants::REGION_SYDNEY is not documented
(#54) Constant constants::REGION_OTTAWA is not documented
(#55) Constant constants::REGION_SAOPAULO is not documented
(#56) Constant constants::REGION_FRANKFURT is not documented
(#57) Constant constants::REGION_LONDON is not documented
(#58) Constant constants::REGION_SINGAPORE is not documented
(#59) Constant constants::REGION_MUMBAI is not documented
(#60) Constant constants::REGION_CAPETOWN is not documented
(#61) Constant constants::REGION_BAHRAIN is not documented
(#63) Constant constants::LANG_ENUS is not documented
(#64) Constant constants::LANG_ENGB is not documented
(#65) Constant constants::LANG_ENAU is not documented
(#66) Constant constants::LANG_ENIN is not documented
(#67) Constant constants::LANG_ESUS is not documented
(#68) Constant constants::LANG_ESES is not documented
(#69) Constant constants::LANG_FRCA is not documented
(#70) Constant constants::LANG_FRFR is not documented
(#71) Constant constants::LANG_DEDE is not documented
(#72) Constant constants::LANG_ITIT is not documented
(#73) Constant constants::LANG_PTBR is not documented
(#75) Constant constants::LANG_DADK is not documented
(#77) Constant constants::LANG_KOKR is not documented
(#78) Constant constants::LANG_HIIN is not documented
(#79) Constant constants::LANG_ARAE is not documented
(#80) Constant constants::LANG_ARSA is not documented
(#81) Constant constants::LANG_ZHCN is not documented
(#82) Constant constants::LANG_NLNL is not documented
(#83) Constant constants::LANG_ENIE is not documented
(#84) Constant constants::LANG_ENWL is not documented
(#85) Constant constants::LANG_ENAB is not documented
(#86) Constant constants::LANG_FAIR is not documented
(#87) Constant constants::LANG_DECH is not documented
(#88) Constant constants::LANG_HEIL is not documented
(#89) Constant constants::LANG_IDID is not documented
(#90) Constant constants::LANG_JAJP is not documented
(#91) Constant constants::LANG_MSMY is not documented
(#92) Constant constants::LANG_PTPT is not documented
(#93) Constant constants::LANG_RURU is not documented
(#94) Constant constants::LANG_TAIN is not documented
(#95) Constant constants::LANG_TEIN is not documented
(#96) Constant constants::LANG_TRTR is not documented
(#99) Constant constants::TRANSCRIBER_NONE is not documented
(#100) Constant constants::TRANSCRIBER_AMAZONTRANSCRIBE is not documented
(#101) Constant constants::TRANSCRIBER_GOOGLECLOUDSPEECH is not documented
(#102) Constant constants::TRANSCRIBER_GOOGLECHROME is not documented
(#105) Constant constants::LOADER_URL is not documented
(#106) Constant constants::REFRESH_URL is not documented
(#108) Constant constants::extra_fields is not documented
(#5) No one-line description found in phpdocs for class constants
question/type/cloudpoodll/classes/setting/apicredshelper.php
(#23) Package is not specified for class apicredshelper. It is also not specified in file-level phpdocs
(#105) Function apicredshelper::set_preset_to_config is not documented
(#34) Variable apicredshelper::$visiblename is not documented
(#35) Variable apicredshelper::$information is not documented
(#37) Constant apicredshelper::CLEARTEMPLATEKEY is not documented
(#41) Phpdocs for function apicredshelper::__construct has incomplete parameters list
(#68) Phpdocs for function apicredshelper::write_setting has incomplete parameters list
(#77) Phpdocs for function apicredshelper::output_html has incomplete parameters list
question/type/cloudpoodll/classes/utils.php
(#29) Class utils is not documented
(#31) Function utils::fetch_options_recorders is not documented
(#37) Function utils::fetch_options_fallback is not documented
(#44) Function utils::fetch_options_transcribers is not documented
(#53) Function utils::get_timelimit_options is not documented
(#68) Function utils::fetch_options_skins is not documented
(#92) Function utils::get_region_options is not documented
(#109) Function utils::get_expiredays_options is not documented
(#124) Function utils::get_lang_options is not documented
(#162) Function utils::can_transcribe is not documented
(#179) Function utils::curl_fetch is not documented
(#192) Function utils::fetch_token_for_display is not documented
(#249) Function utils::fetch_token is not documented
(#319) Function utils::fetch_token_error is not documented
(#360) Function utils::fetch_transcript is not documented
(#370) Function utils::fetch_vtt is not documented
(#17) No one-line description found in phpdocs for file
question/type/cloudpoodll/cloudpoodll/refreshtoken.php
(#2) Empty line found after PHP open tag
question/type/cloudpoodll/db/simpletest/testupgradelibnewqe.php
(#21) Package qtype is not valid
(#39) Function qtype_cloudpoodll_attempt_upgrader_test::test_cloudpoodll_deferredfeedback_history98220 is not documented
(#273) Function qtype_cloudpoodll_attempt_upgrader_test::test_cloudpoodll_deferredfeedback_history820 is not documented
(#454) Function qtype_cloudpoodll_attempt_upgrader_test::test_cloudpoodll_deferredfeedback_missing is not documented
(#17) No one-line description found in phpdocs for file
question/type/cloudpoodll/db/upgrade.php
(#20) Package qtype is not valid
question/type/cloudpoodll/edit_cloudpoodll_form.php
(#20) Package qtype is not valid
(#39) Function qtype_cloudpoodll_edit_form::definition_inner is not documented
(#114) Function qtype_cloudpoodll_edit_form::data_preprocessing is not documented
(#163) Function qtype_cloudpoodll_edit_form::qtype is not documented
question/type/cloudpoodll/fetchcbpage.php
(#2) Empty line found after PHP open tag
question/type/cloudpoodll/lang/en/qtype_cloudpoodll.php
(#20) Package qtype is not valid
question/type/cloudpoodll/lib.php
(#21) Package qtype is not valid
(#31) Phpdocs for function qtype_cloudpoodll_pluginfile has incomplete parameters list
question/type/cloudpoodll/question.php
(#20) Package qtype is not valid
(#41) Function qtype_cloudpoodll_question::make_behaviour is not documented
(#65) Function qtype_cloudpoodll_question::summarise_response is not documented
(#78) Function qtype_cloudpoodll_question::get_correct_response is not documented
(#82) Function qtype_cloudpoodll_question::is_complete_response is not documented
(#86) Function qtype_cloudpoodll_question::is_same_response is not documented
(#91) Function qtype_cloudpoodll_question::check_file_access is not documented
(#37) Variable qtype_cloudpoodll_question::$responseformat is not documented
(#38) Variable qtype_cloudpoodll_question::$graderinfo is not documented
(#39) Variable qtype_cloudpoodll_question::$graderinfoformat is not documented
(#46) There is no description in phpdocs for function get_format_renderer
(#47) Phpdocs for function qtype_cloudpoodll_question::get_format_renderer has incomplete parameters list
question/type/cloudpoodll/questiontype.php
(#20) Package qtype is not valid
(#38) Function qtype_cloudpoodll::is_manual_graded is not documented
(#42) Function qtype_cloudpoodll::response_file_areas is not documented
(#46) Function qtype_cloudpoodll::get_question_options is not documented
(#53) Function qtype_cloudpoodll::save_question_options is not documented
(#100) Function qtype_cloudpoodll::initialise_question_instance is not documented
(#119) Function qtype_cloudpoodll::move_files is not documented
(#130) Function qtype_cloudpoodll::delete_files is not documented
(#161) Function qtype_cloudpoodll::export_to_xml is not documented
(#202) Function qtype_cloudpoodll::import_from_xml is not documented
(#108) There is no description in phpdocs for function response_formats
question/type/cloudpoodll/renderer.php
(#20) Package qtype is not valid
(#31) Class qtype_cloudpoodll_renderer is not documented
(#33) Function qtype_cloudpoodll_renderer::formulation_and_controls is not documented
(#61) Function qtype_cloudpoodll_renderer::class_name is not documented
(#65) Function qtype_cloudpoodll_renderer::response_area_read_only is not documented
(#117) Function qtype_cloudpoodll_renderer::response_area_input is not documented
(#382) Function qtype_cloudpoodll_renderer::manual_comment is not documented
(#402) Function qtype_cloudpoodll_audio_renderer::class_name is not documented
(#414) Function qtype_cloudpoodll_video_renderer::class_name is not documented
(#153) There is no description in phpdocs for function fetch_player
(#192) There is no description in phpdocs for function fetch_recorder
(#153) Phpdocs for function qtype_cloudpoodll_renderer::fetch_player has incomplete parameters list
(#192) Phpdocs for function qtype_cloudpoodll_renderer::fetch_recorder has incomplete parameters list
(#371) Phpdocs for function qtype_cloudpoodll_renderer::show_problembox has incomplete parameters list
question/type/cloudpoodll/simpletest/testquestion.php
(#20) Package qtype is not valid
(#37) Function qtype_essay_question_test::test_get_question_summary is not documented
(#43) Function qtype_essay_question_test::test_summarise_response is not documented
question/type/cloudpoodll/simpletest/testquestiontype.php
(#20) Package qtype is not valid
(#39) Function qtype_essay_test::setUp is not documented
(#43) Function qtype_essay_test::tearDown is not documented
(#47) Function qtype_essay_test::get_test_question_data is not documented
(#54) Function qtype_essay_test::test_name is not documented
(#58) Function qtype_essay_test::test_can_analyse_responses is not documented
(#62) Function qtype_essay_test::test_get_random_guess_score is not documented
(#67) Function qtype_essay_test::test_get_possible_responses is not documented
(#37) Variable qtype_essay_test::$qtype is not documented
question/type/cloudpoodll/version.php
(#20) Package qtype is not valid

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 "eslint:amd" 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, 47 warnings)

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

question/type/cloudpoodll/templates/audioplayerstandard.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 4: Bad value “” for attribute “id” on element “audio”: An ID must not be the empty string. (io_cont"><audio id='' class='nomediaplugin qtype_cloudpoodll_audio' crossorigin='anonymous' controls='true' preload='auto' playsInline="playsInline"><sour)
(#1) HTML Validation error, line 4: Bad value “true” for attribute “controls” on element “audio”. (io_cont"><audio id='' class='nomediaplugin qtype_cloudpoodll_audio' crossorigin='anonymous' controls='true' preload='auto' playsInline="playsInline"><sour)
(#1) HTML Validation error, line 4: Attribute “playsinline” not allowed on element “audio” at this point. (io_cont"><audio id='' class='nomediaplugin qtype_cloudpoodll_audio' crossorigin='anonymous' controls='true' preload='auto' playsInline="playsInline"><sour)
(#1) HTML Validation error, line 5: Bad value “” for attribute “src” on element “source”: Must be non-empty. (sInline"><source src=''><trac)
(#1) HTML Validation error, line 6: Bad value “” for attribute “src” on element “track”: Must be non-empty. (e src=''><track src='' kind='captions' srclang='' label='' default='true'></aud)
(#1) HTML Validation error, line 6: Bad value “true” for attribute “default” on element “track”. (e src=''><track src='' kind='captions' srclang='' label='' default='true'></aud)
(#1) HTML Validation error, line 6: Attribute “label” for element “track” must have non-empty value. (e src=''><track src='' kind='captions' srclang='' label='' default='true'></aud)
(#1) HTML Validation error, line 8: Duplicate ID “”. (</audio><div class='qtype_cloudpoodll_transcriptcontainer' id=''></div>)
(#1) HTML Validation info, line 4: The first occurrence of ID “” was here. (io_cont"><audio id='' class='nomediaplugin qtype_cloudpoodll_audio' crossorigin='anonymous' controls='true' preload='auto' playsInline="playsInline"><sour)
(#1) HTML Validation error, line 8: Bad value “” for attribute “id” on element “div”: An ID must not be the empty string. (</audio><div class='qtype_cloudpoodll_transcriptcontainer' id=''></div>)
question/type/cloudpoodll/templates/audiorecordercontainer.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 26: Bad value “” for attribute “id” on element “div”: An ID must not be the empty string. (ter"> <div class="qtype_cloudpoodll_audiorec_cont" id="" data-id="" data-parent="" data-localloader="" data-media="" data-appid="" data-owner="" data-type="" data-width="" data-height="" data-iframeclass="" data-updatecontrol="" data-timelimit="" data-transcode="" data-transcribe="" data-subtitle="" data-language="" data-expiredays="" data-region="" data-fallback="" data-hints="" data-token=""> <)
question/type/cloudpoodll/templates/fetchcbpage.mustache
(#1) Example context missing (@template section not found.)
(#1) ESLint warning [comma-spacing]: A space is required after ','. ( require(['jquery'],function($) {
(#1) ESLint warning [capitalized-comments]: Comments should not begin with a lowercase character. ( //set up checkout links
(#1) ESLint warning [spaced-comment]: Expected space or tab after '//' in comment. ( //set up checkout links
(#1) ESLint warning [space-before-blocks]: Missing space before opening brace. ( $.getScript('https://js.chargebee.com/v2/chargebee.js', function(){
(#1) ESLint error [no-undef]: 'Chargebee' is not defined. ( var chargebee = Chargebee.init({'site': '', isItemsModel: true});
(#1) ESLint error [semi]: Missing semicolon. ( var cart = chargebee.getCart()
(#1) ESLint error [semi]: Missing semicolon. ( var planPriceQuantity = 1
(#1) ESLint error [semi]: Missing semicolon. ( var product = chargebee.initializeProduct(planPriceId, planPriceQuantity)
(#1) ESLint warning [camelcase]: Identifier 'billing_address' is not in camel case. ( var customer = {email: "", billing_address: {first_name: "",last_name: "", country: ""}};
(#1) ESLint warning [camelcase]: Identifier 'first_name' is not in camel case. ( var customer = {email: "", billing_address: {first_name: "",last_name: "", country: ""}};
(#1) ESLint warning [comma-spacing]: A space is required after ','. ( var customer = {email: "", billing_address: {first_name: "",last_name: "", country: ""}};
(#1) ESLint warning [camelcase]: Identifier 'last_name' is not in camel case. ( var customer = {email: "", billing_address: {first_name: "",last_name: "", country: ""}};
(#1) ESLint warning [camelcase]: Identifier 'cf_startsiteurl' is not in camel case. ( product.setCustomData({cf_startsiteurl: ""});
(#1) ESLint error [no-trailing-spaces]: Trailing spaces not allowed. ( ), Line: 21 Column: 1
question/type/cloudpoodll/templates/managecreds.mustache
(#1) Example context missing (@template section not found.)
(#1) ESLint warning [comma-spacing]: A space is required after ','. ( require(['jquery'],function($) {
(#1) ESLint warning [capitalized-comments]: Comments should not begin with a lowercase character. ( //set up fetch from elsewhere
(#1) ESLint warning [spaced-comment]: Expected space or tab after '//' in comment. ( //set up fetch from elsewhere
(#1) ESLint warning [space-infix-ops]: Operator '=' must be spaced. ( apiuser.value='';
(#1) ESLint warning [space-infix-ops]: Operator '=' must be spaced. ( apisecret.value='';
(#1) ESLint error [no-trailing-spaces]: Trailing spaces not allowed. ( ), Line: 12 Column: 1
question/type/cloudpoodll/templates/videoplayerstandard.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 4: Bad value “” for attribute “id” on element “video”: An ID must not be the empty string. (eo_cont"><video id='' class='nomediaplugin qtype_cloudpoodll_video' crossorigin='anonymous' controls='true' preload='auto' playsInline="playsInline"><sour)
(#1) HTML Validation error, line 4: Bad value “true” for attribute “controls” on element “video”. (eo_cont"><video id='' class='nomediaplugin qtype_cloudpoodll_video' crossorigin='anonymous' controls='true' preload='auto' playsInline="playsInline"><sour)
(#1) HTML Validation error, line 5: Bad value “” for attribute “src” on element “source”: Must be non-empty. (sInline"><source src=''><trac)
(#1) HTML Validation error, line 6: Bad value “” for attribute “src” on element “track”: Must be non-empty. (e src=''><track src='' kind='captions' srclang='' label='' default='true'></vid)
(#1) HTML Validation error, line 6: Bad value “true” for attribute “default” on element “track”. (e src=''><track src='' kind='captions' srclang='' label='' default='true'></vid)
(#1) HTML Validation error, line 6: Attribute “label” for element “track” must have non-empty value. (e src=''><track src='' kind='captions' srclang='' label='' default='true'></vid)
(#1) HTML Validation error, line 9: Duplicate ID “”. (/div> <div class='qtype_cloudpoodll_transcriptcontainer' id=''></div>)
(#1) HTML Validation info, line 4: The first occurrence of ID “” was here. (eo_cont"><video id='' class='nomediaplugin qtype_cloudpoodll_video' crossorigin='anonymous' controls='true' preload='auto' playsInline="playsInline"><sour)
(#1) HTML Validation error, line 9: Bad value “” for attribute “id” on element “div”: An ID must not be the empty string. (/div> <div class='qtype_cloudpoodll_transcriptcontainer' id=''></div>)
question/type/cloudpoodll/templates/videorecordercontainer.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 26: Bad value “” for attribute “id” on element “div”: An ID must not be the empty string. (ter"> <div class="qtype_cloudpoodll_videorec_cont" id="" data-id="" data-parent="" data-localloader="" data-media="" data-appid="" data-owner="" data-type="" data-width="" data-height="" data-iframeclass="" data-updatecontrol="" data-timelimit="" data-transcode="" data-transcribe="" data-subtitle="" data-language="" data-expiredays="" data-region="" data-fallback="" data-hints="" data-token=""> <)

Gherkin .feature problems

(0 errors, 0 warnings)

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