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

(4 errors, 6 warnings)

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

mod/helixmedia/classes/search/activity.php
(#33) Duplicate class name "mod_helixmedia\search\activity_wrapper" found; first defined in /var/lib/jenkins/git_repositories/prechecker/mod/helixmedia/classes/search/activity.php on line 30
mod/helixmedia/db/mobile.php
(#29) Inline comments must end in full-stops, exclamation marks, or question marks
mod/helixmedia/lib.php
(#158) Inline doc block comments are not allowed; use "// Comment." instead
mod/helixmedia/locallib.php
(#149) Inline doc block comments are not allowed; use "// Comment." instead
(#321) This comment is 47% valid code; is this commented out code?
(#324) Inline comments must end in full-stops, exclamation marks, or question marks
(#332) This comment is 51% valid code; is this commented out code?
(#339) Inline comments must end in full-stops, exclamation marks, or question marks
mod/helixmedia/view.php
(#79) Whitespace found at end of line
(#153) Line indented incorrectly; expected at least 8 spaces, found 0

Javascript coding style problems

(0 errors, 0 warnings)

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


CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(89 errors, 0 warnings)

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

mod/helixmedia/backup/moodle2/backup_helixmedia_activity_task.class.php
(#17) File-level phpdocs block does not have @copyright tag
mod/helixmedia/backup/moodle2/backup_helixmedia_stepslib.php
(#34) Function backup_helixmedia_activity_structure_step::define_structure is not documented
(#17) No one-line description found in phpdocs for file
(#17) File-level phpdocs block does not have @copyright tag
(#21) Package mod is not valid
mod/helixmedia/backup/moodle2/restore_helixmedia_activity_task.class.php
(#30) No one-line description found in phpdocs for class restore_helixmedia_activity_task
(#17) File-level phpdocs block does not have @copyright tag
(#79) Inline phpdocs tag {@link restore_logs_processor} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#81) Inline phpdocs tag {@link restore_log_rule} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#95) Inline phpdocs tag {@link restore_logs_processor} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#97) Inline phpdocs tag {@link restore_log_rule} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#20) Package mod is not valid
mod/helixmedia/backup/moodle2/restore_helixmedia_stepslib.php
(#36) Function restore_helixmedia_activity_structure_step::define_structure is not documented
(#45) Function restore_helixmedia_activity_structure_step::process_helixmedia is not documented
(#71) Function restore_helixmedia_activity_structure_step::after_execute is not documented
(#17) No one-line description found in phpdocs for file
(#17) File-level phpdocs block does not have @copyright tag
(#21) Package mod is not valid
mod/helixmedia/classes/event/lti_launch.php
(#42) Class lti_launch is not documented
mod/helixmedia/classes/event/lti_launch_edit.php
(#42) Class lti_launch_edit is not documented
mod/helixmedia/classes/event/lti_launch_edit_new.php
(#41) Class lti_launch_edit_new is not documented
mod/helixmedia/classes/external.php
(#42) Function mod_helixmedia_external::get_launch_data_parameters is not documented
(#52) Function mod_helixmedia_external::get_launch_data is not documented
(#74) Function mod_helixmedia_external::random_code is not documented
(#85) Function mod_helixmedia_external::get_launch_data_returns is not documented
mod/helixmedia/classes/output/mobile.php
(#36) Class mobile is not documented
(#106) Function mobile::random_code is not documented
(#17) File-level phpdocs block does not have @copyright tag
(#20) Package mod is not valid
mod/helixmedia/classes/search/activity.php
(#30) Class activity_wrapper is not documented
(#33) Class activity_wrapper is not documented
mod/helixmedia/classes/task/cleanup.php
(#20) Package mod is not valid
mod/helixmedia/classes/task/mobiletokens.php
(#35) Class mobiletokens is not documented
(#20) Package mod is not valid
mod/helixmedia/container.php
(#17) File-level phpdocs block is not found
(#30) Package mod is not valid
mod/helixmedia/db/access.php
(#17) File-level phpdocs block does not have @copyright tag
mod/helixmedia/db/mobile.php
(#17) File-level phpdocs block does not have @copyright tag
(#20) Package mod is not valid
mod/helixmedia/db/services.php
(#17) File-level phpdocs block does not have @copyright tag
(#20) Package mod is not valid
mod/helixmedia/db/tasks.php
(#17) File-level phpdocs block does not have @copyright tag
(#20) Package mod is not valid
mod/helixmedia/db/upgrade.php
(#17) File-level phpdocs block does not have @copyright tag
(#20) Package mod is not valid
mod/helixmedia/hml_form_js.php
(#17) File-level phpdocs block does not have @copyright tag
(#20) Package mod is not valid
mod/helixmedia/index.php
(#17) File-level phpdocs block does not have @copyright tag
(#20) Package mod is not valid
mod/helixmedia/lang/en/helixmedia.php
(#20) Package mod is not valid
mod/helixmedia/launch.php
(#17) File-level phpdocs block does not have @copyright tag
(#20) Package mod is not valid
mod/helixmedia/lib.php
(#281) Function helixmedia_view is not documented
(#121) Phpdocs for function helixmedia_get_preid has incomplete parameters list
(#137) Phpdocs for function helixmedia_add_instance has incomplete parameters list
(#173) Phpdocs for function helixmedia_update_instance has incomplete parameters list
(#213) Phpdocs for function helixmedia_user_outline has incomplete parameters list
(#227) Phpdocs for function helixmedia_user_complete has incomplete parameters list
(#238) Phpdocs for function helixmedia_print_recent_activity has incomplete parameters list
(#221) Invalid phpdocs tag @TODO: used
(#232) Invalid phpdocs tag @TODO: used
(#245) Invalid phpdocs tag @TODO: used
(#20) Package mod is not valid
mod/helixmedia/locallib.php
(#238) Function helixmedia_is_group_assign is not documented
(#250) Function helixmedia_get_assign_into_refs is not documented
(#290) Function helixmedia_curl_post_launch_html is not documented
(#674) Function curpageurl is not documented
(#689) Function helixmedia_get_instance_size is not documented
(#719) Function helixmedia_get_status_url is not documented
(#723) Function helixmedia_get_upload_url is not documented
(#727) Function helixmedia_get_alturl is not documented
(#733) Function helixmedia_is_preid_empty is not documented
(#753) Function str_contains is not documented
(#763) Function helixmedia_version_check is not documented
(#805) Function parse_medial_version is not documented
(#70) Phpdocs for function helixmedia_view_mod has incomplete parameters list
(#559) Phpdocs for function helixmedia_get_visiblecap has incomplete parameters list
(#583) Phpdocs for function helixmedia_get_modal_dialog has incomplete parameters list
(#17) File-level phpdocs block does not have @copyright tag
(#20) Package mod is not valid
mod/helixmedia/mod_form.php
(#33) Class mod_helixmedia_mod_form is not documented
(#35) Function mod_helixmedia_mod_form::definition is not documented
(#17) File-level phpdocs block does not have @copyright tag
(#20) Package mod is not valid
mod/helixmedia/session.php
(#17) File-level phpdocs block is not found
mod/helixmedia/settings.php
(#17) File-level phpdocs block does not have @copyright tag
(#20) Package mod is not valid
mod/helixmedia/version.php
(#20) Package mod is not valid
mod/helixmedia/view.php
(#20) Package mod is not valid

Update savepoints problems

(2 errors, 0 warnings)

This section shows problems detected with the handling of upgrade savepoints [More info]

mod/helixmedia/db/upgrade.php
Detected more 'if' blocks (2) than 'savepoint' calls (1)
version 2014081101 is missing corresponding savepoint call

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

(0 errors, 0 warnings)

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


shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(0 errors, 7 warnings)

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

mod/helixmedia/templates/mobile_view_page.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 3: Bad value “true” for attribute “allowfullscreen” on element “iframe”. (ner'> <iframe allowfullscreen="true" webkitallowfullscreen="true" mozallowfullscreen="true" id="contentframe" height="" width="100%" src="" style='margin-left:0px;margin-right:0px'></ifra)
(#1) HTML Validation error, line 3: Attribute “webkitallowfullscreen” not allowed on element “iframe” at this point. (ner'> <iframe allowfullscreen="true" webkitallowfullscreen="true" mozallowfullscreen="true" id="contentframe" height="" width="100%" src="" style='margin-left:0px;margin-right:0px'></ifra)
(#1) HTML Validation error, line 3: Attribute “mozallowfullscreen” not allowed on element “iframe” at this point. (ner'> <iframe allowfullscreen="true" webkitallowfullscreen="true" mozallowfullscreen="true" id="contentframe" height="" width="100%" src="" style='margin-left:0px;margin-right:0px'></ifra)
(#1) HTML Validation error, line 3: Bad value “” for attribute “height” on element “iframe”: The empty string is not a valid non-negative integer. (ner'> <iframe allowfullscreen="true" webkitallowfullscreen="true" mozallowfullscreen="true" id="contentframe" height="" width="100%" src="" style='margin-left:0px;margin-right:0px'></ifra)
(#1) HTML Validation error, line 3: Bad value “100%” for attribute “width” on element “iframe”: Expected a digit but saw “%” instead. (ner'> <iframe allowfullscreen="true" webkitallowfullscreen="true" mozallowfullscreen="true" id="contentframe" height="" width="100%" src="" style='margin-left:0px;margin-right:0px'></ifra)
(#1) HTML Validation error, line 3: Bad value “” for attribute “src” on element “iframe”: Must be non-empty. (ner'> <iframe allowfullscreen="true" webkitallowfullscreen="true" mozallowfullscreen="true" id="contentframe" height="" width="100%" src="" style='margin-left:0px;margin-right:0px'></ifra)

Gherkin .feature problems

(0 errors, 0 warnings)

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