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

(14 errors, 22 warnings)

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

mod/checkmark/classes/MTablePDF.php
(#29) Expected login check (require_login, require_course_login, admin_externalpage_setup) following config inclusion. None found.
(#133) This comment is 100% valid code; is this commented out code?
(#133) This comment is 67% valid code; is this commented out code?
(#135) This comment is 67% valid code; is this commented out code?
(#136) This comment is 100% valid code; is this commented out code?
(#136) This comment is 67% valid code; is this commented out code?
(#139) This comment is 67% valid code; is this commented out code?
(#143) This comment is 67% valid code; is this commented out code?
(#144) This comment is 100% valid code; is this commented out code?
(#144) This comment is 67% valid code; is this commented out code?
(#147) This comment is 67% valid code; is this commented out code?
(#149) This comment is 67% valid code; is this commented out code?
(#157) This comment is 100% valid code; is this commented out code?
(#160) This comment is 67% valid code; is this commented out code?
(#161) This comment is 100% valid code; is this commented out code?
(#161) This comment is 67% valid code; is this commented out code?
(#164) This comment is 67% valid code; is this commented out code?
(#168) This comment is 67% valid code; is this commented out code?
(#170) This comment is 100% valid code; is this commented out code?
(#170) This comment is 67% valid code; is this commented out code?
(#173) This comment is 67% valid code; is this commented out code?
(#175) This comment is 67% valid code; is this commented out code?
mod/checkmark/db/access.php
(#91) Line indented incorrectly; expected at least 4 spaces, found 0
(#103) Line indented incorrectly; expected at least 4 spaces, found 0
(#112) Line indented incorrectly; expected at least 4 spaces, found 0
(#124) Line indented incorrectly; expected at least 4 spaces, found 0
mod/checkmark/db/events.php
(#28) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
mod/checkmark/db/manual_upgrade.php
(#28) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
mod/checkmark/db/tasks.php
(#28) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
mod/checkmark/locallib.php
(#3892) Expected 1 space after "?"; newline found
(#3893) Expected 1 space after ":"; newline found
(#3951) Expected 1 space after "?"; newline found
(#3952) Expected 1 space after ":"; newline found
(#3957) Expected 1 space after "?"; newline found
(#3958) Expected 1 space after ":"; newline found
mod/checkmark/mod_form.php
(#31) Expected 1 space before comment text but found 2; use block comment if you need indentation

Javascript coding style problems

(0 errors, 17 warnings)

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

mod/checkmark/yui/checkmark/checkmark.js
(#52) Expected '===' and instead saw '=='.
(#83) Expected '===' and instead saw '=='.
(#87) 'is_checked' is already defined.
(#89) 'is_checked' used out of scope.
(#143) Expected '===' and instead saw '=='.
(#169) Expected '!==' and instead saw '!='.
(#177) Expected '!==' and instead saw '!='.
(#185) Expected '!==' and instead saw '!='.
(#195) Expected '===' and instead saw '=='.
(#211) Read only.
(#212) Expected '!==' and instead saw '!='.
(#216) Expected '===' and instead saw '=='.
(#16) 'Y' is defined but never used.
(#19) 'event' is defined but never used.
(#19) 'node' is defined but never used.
(#87) 'is_checked' is defined but never used.
(#127) 'point_selector' is defined but never used.

CSS problems

(0 errors, 7 warnings)

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

mod/checkmark/styles.css
(#156) display:inline has no effect on floated elements (but may be used to fix the IE6 double-margin bug).
(#161) display:inline has no effect on floated elements (but may be used to fix the IE6 double-margin bug).
(#168) Rule is empty.
(#258) Unknown property 'border-left-color-ltr-source'.
(#259) Unknown property 'border-left-color-rtl-source'.
(#260) Unknown property 'border-right-color-ltr-source'.
(#261) Unknown property 'border-right-color-rtl-source'.

PHPDocs style problems

(192 errors, 32 warnings)

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

mod/checkmark/backup/moodle2/backup_checkmark_activity_task.class.php
(#34) No one-line description found in phpdocs for class backup_checkmark_activity_task
(#56) Phpdocs for function backup_checkmark_activity_task::encode_content_links has incomplete parameters list
(#34) Class backup_checkmark_activity_task does not have @copyright tag
(#34) Class backup_checkmark_activity_task does not have @license tag
mod/checkmark/backup/moodle2/backup_checkmark_stepslib.php
(#39) Function backup_checkmark_activity_structure_step::define_structure is not documented
(#34) Class backup_checkmark_activity_structure_step does not have @copyright tag
(#34) Class backup_checkmark_activity_structure_step does not have @license tag
mod/checkmark/backup/moodle2/restore_checkmark_activity_task.class.php
(#128) Function restore_checkmark_activity_task::after_restore is not documented
(#33) No one-line description found in phpdocs for class restore_checkmark_activity_task
(#33) Class restore_checkmark_activity_task does not have @copyright tag
(#33) Class restore_checkmark_activity_task does not have @license tag
mod/checkmark/backup/moodle2/restore_checkmark_stepslib.php
(#39) Function restore_checkmark_activity_structure_step::define_structure is not documented
(#63) Function restore_checkmark_activity_structure_step::process_checkmark is not documented
(#134) Function restore_checkmark_activity_structure_step::process_checkmark_submission is not documented
(#191) Function restore_checkmark_activity_structure_step::process_checkmark_example is not documented
(#203) Function restore_checkmark_activity_structure_step::process_checkmark_check is not documented
(#216) Function restore_checkmark_activity_structure_step::after_execute is not documented
(#34) Class restore_checkmark_activity_structure_step does not have @copyright tag
(#34) Class restore_checkmark_activity_structure_step does not have @license tag
mod/checkmark/classes/MTablePDF.php
(#67) Function MTablePDF::__construct is not documented
(#86) Function MTablePDF::setcolumnformat is not documented
(#116) Function MTablePDF::header is not documented
(#226) Function MTablePDF::setoutputformat is not documented
(#326) Function MTablePDF::generate is not documented
(#753) Function MTablePDF::set_headerformat is not documented
(#758) Function MTablePDF::get_xls is not documented
(#771) Function MTablePDF::get_xlsx is not documented
(#784) Function MTablePDF::get_ods is not documented
(#797) Function MTablePDF::get_csv is not documented
(#53) Variable MTablePDF::$outputformat is not documented
(#55) Variable MTablePDF::$orientation is not documented
(#56) Variable MTablePDF::$rowsperpage is not documented
(#57) Variable MTablePDF::$fontsize is not documented
(#58) Variable MTablePDF::$showheaderfooter is not documented
(#60) Variable MTablePDF::$columnwidths is not documented
(#61) Variable MTablePDF::$titles is not documented
(#62) Variable MTablePDF::$columnformat is not documented
(#63) Variable MTablePDF::$headerformat is not documented
(#65) Variable MTablePDF::$data is not documented
(#39) Constant MTablePDF::PORTRAIT is not documented
(#40) Constant MTablePDF::LANDSCAPE is not documented
(#42) Constant MTablePDF::FONTSIZE_SMALL is not documented
(#43) Constant MTablePDF::FONTSIZE_MEDIUM is not documented
(#44) Constant MTablePDF::FONTSIZE_LARGE is not documented
(#46) Constant MTablePDF::OUTPUT_FORMAT_PDF is not documented
(#47) Constant MTablePDF::OUTPUT_FORMAT_XLSX is not documented
(#48) Constant MTablePDF::OUTPUT_FORMAT_XLS is not documented
(#49) Constant MTablePDF::OUTPUT_FORMAT_ODS is not documented
(#50) Constant MTablePDF::OUTPUT_FORMAT_CSV_COMMA is not documented
(#51) Constant MTablePDF::OUTPUT_FORMAT_CSV_TAB is not documented
(#33) No one-line description found in phpdocs for class MTablePDF
(#232) Phpdocs for function MTablePDF::setrowsperpage has incomplete parameters list
(#355) Phpdocs for function MTablePDF::get_pdf has incomplete parameters list
(#33) Class MTablePDF does not have @copyright tag
(#33) Class MTablePDF does not have @license tag
(#35) Not recommended phpdocs tag @version used
(#20) Package \mod_checkmark\mtablepdf is not valid
mod/checkmark/classes/event/course_module_instance_list_viewed.php
(#30) Class course_module_instance_list_viewed is not documented
mod/checkmark/classes/event/course_module_viewed.php
(#31) Class course_module_viewed is not documented
(#32) Function course_module_viewed::init is not documented
mod/checkmark/classes/event/grade_updated.php
(#31) Class grade_updated is not documented
(#45) Function grade_updated::manual is not documented
(#57) Function grade_updated::automatic is not documented
mod/checkmark/classes/event/printpreview_viewed.php
(#31) Class printpreview_viewed is not documented
(#32) Function printpreview_viewed::printpreview is not documented
mod/checkmark/classes/event/submission_updated.php
(#31) Class submission_updated is not documented
(#45) Function submission_updated::create_from_object is not documented
mod/checkmark/classes/event/submissions_exported.php
(#31) Class submissions_exported is not documented
(#65) Phpdocs for function submissions_exported::exported has incomplete parameters list
mod/checkmark/classes/event/submissions_viewed.php
(#31) Class submissions_viewed is not documented
(#32) Function submissions_viewed::submissions is not documented
mod/checkmark/classes/event/submissions_viewed_base.php
(#31) Class submissions_viewed_base is not documented
mod/checkmark/classes/task/send_notifications.php
(#30) Class send_notifications is not documented
(#31) Function send_notifications::get_name is not documented
(#36) Function send_notifications::execute is not documented
mod/checkmark/db/install.php
(#33) Function xmldb_checkmark_install is not documented
mod/checkmark/db/upgrade.php
(#54) Function xmldb_checkmark_upgrade is not documented
(#259) Invalid inline phpdocs tag @todo found
mod/checkmark/db/upgradeoldcheckmarks.php
(#17) No one-line description found in phpdocs for file
mod/checkmark/delete.php
(#17) No one-line description found in phpdocs for file
mod/checkmark/grade.php
(#17) No one-line description found in phpdocs for file
mod/checkmark/grading_form.php
(#31) Class mod_checkmark_grading_form is not documented
(#33) Function mod_checkmark_grading_form::definition is not documented
(#86) Function mod_checkmark_grading_form::add_grades_section is not documented
(#166) Function mod_checkmark_grading_form::add_grading_buttons is not documented
(#190) Function mod_checkmark_grading_form::add_submission_content is not documented
(#196) Function mod_checkmark_grading_form::get_editor_options is not documented
(#206) Function mod_checkmark_grading_form::set_data is not documented
(#229) Function mod_checkmark_grading_form::get_data is not documented
(#17) No one-line description found in phpdocs for file
(#135) There is no description in phpdocs for function add_feedback_section
(#137) Not recommended phpdocs tag @global used
mod/checkmark/index.php
(#17) No one-line description found in phpdocs for file
mod/checkmark/lib.php
(#1064) Function checkmark_getsummarystring is not documented
(#1090) Function checkmark_getsubmissionstats is not documented
(#1484) Function checkmark_display_lateness is not documented
(#1505) Function checkmark_get_view_actions is not documented
(#1509) Function checkmark_get_post_actions is not documented
(#17) No one-line description found in phpdocs for file
(#1578) There is no description in phpdocs for function checkmark_supports
(#31) Phpdocs for function checkmark_delete_instance has incomplete parameters list
(#107) Phpdocs for function checkmark_update_instance has incomplete parameters list
(#199) Phpdocs for function checkmark_add_instance has incomplete parameters list
(#256) Phpdocs for function checkmark_update_examples has incomplete parameters list
(#340) Phpdocs for function checkmark_user_outline has incomplete parameters list
(#358) Phpdocs for function checkmark_user_complete has incomplete parameters list
(#414) Phpdocs for function checkmark_get_user_grades has incomplete parameters list
(#442) Phpdocs for function checkmark_update_grades has incomplete parameters list
(#493) Phpdocs for function checkmark_grade_item_update has incomplete parameters list
(#575) Phpdocs for function checkmark_scale_used has incomplete parameters list
(#597) Phpdocs for function checkmark_scale_used_anywhere has incomplete parameters list
(#619) Phpdocs for function checkmark_refresh_events has incomplete parameters list
(#667) Phpdocs for function checkmark_print_recent_activity has incomplete parameters list
(#773) Phpdocs for function checkmark_get_recent_mod_activity has incomplete parameters list
(#920) Phpdocs for function checkmark_print_recent_mod_activity has incomplete parameters list
(#962) Phpdocs for function checkmark_log_info has incomplete parameters list
(#974) Phpdocs for function checkmark_get_unmailed_submissions has incomplete parameters list
(#993) Phpdocs for function checkmark_count_real_submissions has incomplete parameters list
(#1024) Phpdocs for function checkmark_get_all_submissions has incomplete parameters list
(#1159) Phpdocs for function checkmark_print_overview has incomplete parameters list
(#1539) Phpdocs for function checkmark_reset_userdata has incomplete parameters list
(#1556) Phpdocs for function checkmark_reset_course_form_definition has incomplete parameters list
(#1564) Phpdocs for function checkmark_reset_course_form_defaults has incomplete parameters list
(#257) Not recommended phpdocs tag @global used
mod/checkmark/locallib.php
(#146) Function checkmark::get_examples is not documented
(#161) Function checkmark::print_example_preview is not documented
(#206) Function checkmark::print_summary is not documented
(#649) Function checkmark::calculate_grade is not documented
(#844) Function checkmark::get_flexiblenaming is not documented
(#2899) Function checkmark::get_print_data is not documented
(#3572) Function checkmark::print_preview_tab is not documented
(#3811) Function checkmark::submissions_print is not documented
(#4175) Function checkmark::process_outcomes is not documented
(#55) Constant checkmark::FILTER_ALL is not documented
(#56) Constant checkmark::FILTER_SUBMITTED is not documented
(#57) Constant checkmark::FILTER_REQUIRE_GRADING is not documented
(#58) Constant checkmark::FILTER_SELECTED is not documented
(#61) Constant checkmark::DELIMITER is not documented
(#64) Constant checkmark::EMPTYBOX is not documented
(#66) Constant checkmark::CHECKEDBOX is not documented
(#17) No one-line description found in phpdocs for file
(#4373) There is no description in phpdocs for function send_file
(#224) Phpdocs for function checkmark::print_student_answer has incomplete parameters list
(#605) Phpdocs for function checkmark::submittedlink has incomplete parameters list
(#675) Phpdocs for function checkmark::autograde_submissions has incomplete parameters list
(#867) Phpdocs for function checkmark::form_validation has incomplete parameters list
(#938) Phpdocs for function checkmark::update_grade has incomplete parameters list
(#1276) Phpdocs for function checkmark::update_main_listing has incomplete parameters list
(#1420) Phpdocs for function checkmark::get_submissions_column_header has incomplete parameters list
(#1548) Phpdocs for function checkmark::column_is_hidden has incomplete parameters list
(#1626) Phpdocs for function checkmark::moodleform_groups_print_activity_menu has incomplete parameters list
(#1786) Phpdocs for function checkmark::display_submission has incomplete parameters list
(#2003) Phpdocs for function checkmark::update_submission has incomplete parameters list
(#2166) Phpdocs for function checkmark::submissions_tab has incomplete parameters list
(#4103) Phpdocs for function checkmark::process_feedback has incomplete parameters list
(#4213) Phpdocs for function checkmark::get_submission has incomplete parameters list
(#4325) Phpdocs for function checkmark::email_teachers has incomplete parameters list
(#4434) Phpdocs for function checkmark::email_teachers_text has incomplete parameters list
(#4450) Phpdocs for function checkmark::email_teachers_html has incomplete parameters list
(#4471) Phpdocs for function checkmark::print_user_submission has incomplete parameters list
(#4527) Phpdocs for function checkmark::count_user_files has incomplete parameters list
(#4580) Phpdocs for function checkmark::user_outline has incomplete parameters list
(#4594) Phpdocs for function checkmark::user_complete has incomplete parameters list
(#4638) Phpdocs for function checkmark::display_lateness has incomplete parameters list
(#4653) Phpdocs for function checkmark::custom_feedbackform has incomplete parameters list
(#4666) Phpdocs for function checkmark::get_coursemodule_info has incomplete parameters list
(#4675) Phpdocs for function checkmark::reset_userdata has incomplete parameters list
(#76) Phpdocs for variable checkmark::$defaultformat does not contain @var or incorrect
(#80) Phpdocs for variable checkmark::$context does not contain @var or incorrect
(#93) Not recommended phpdocs tag @global used
(#93) Not recommended phpdocs tag @global used
(#427) Not recommended phpdocs tag @global used
(#515) Not recommended phpdocs tag @global used
(#515) Not recommended phpdocs tag @global used
(#515) Not recommended phpdocs tag @global used
(#603) Not recommended phpdocs tag @global used
(#603) Not recommended phpdocs tag @global used
(#950) Not recommended phpdocs tag @global used
(#1274) Not recommended phpdocs tag @global used
(#1274) Not recommended phpdocs tag @global used
(#1385) Not recommended phpdocs tag @global used
(#1784) Not recommended phpdocs tag @global used
(#1784) Not recommended phpdocs tag @global used
(#2004) Not recommended phpdocs tag @global used
(#2004) Not recommended phpdocs tag @global used
(#2004) Not recommended phpdocs tag @global used
(#2041) Not recommended phpdocs tag @global used
(#2041) Not recommended phpdocs tag @global used
(#2041) Not recommended phpdocs tag @global used
(#2041) Not recommended phpdocs tag @global used
(#4031) Not recommended phpdocs tag @global used
(#4109) Not recommended phpdocs tag @global used
(#4109) Not recommended phpdocs tag @global used
(#4109) Not recommended phpdocs tag @global used
(#4211) Not recommended phpdocs tag @global used
(#4211) Not recommended phpdocs tag @global used
(#4323) Not recommended phpdocs tag @global used
(#4323) Not recommended phpdocs tag @global used
(#4026) Invalid inline phpdocs tag @see found
mod/checkmark/mod_form.php
(#39) Class mod_checkmark_mod_form is not documented
(#42) Function mod_checkmark_mod_form::definition is not documented
(#192) Function mod_checkmark_mod_form::standard_grading_coursemodule_elements is not documented
(#205) Function mod_checkmark_mod_form::has_instance is not documented
(#210) Function mod_checkmark_mod_form::get_context is not documented
(#214) Function mod_checkmark_mod_form::get_checkmark_instance is not documented
(#225) Function mod_checkmark_mod_form::data_preprocessing is not documented
(#270) Function mod_checkmark_mod_form::validation is not documented
(#40) Variable mod_checkmark_mod_form::$_checkmarkinstance is not documented
(#17) No one-line description found in phpdocs for file
mod/checkmark/renderer.php
(#17) No one-line description found in phpdocs for file
mod/checkmark/settings.php
(#17) No one-line description found in phpdocs for file
mod/checkmark/simpletest/testcheckmarkform.php
(#39) Function checkmark_formvalidation_test::test_countmismatch is not documented
(#63) Function checkmark_formvalidation_test::test_summismatch is not documented
(#86) Function checkmark_formvalidation_test::test_both_errors is not documented
(#116) Function checkmark_formvalidation_test::test_noflexiblenaming is not documented
(#137) Function checkmark_formvalidation_test::test_noerror is not documented
(#37) Class checkmark_formvalidation_test does not have @copyright tag
(#37) Class checkmark_formvalidation_test does not have @license tag
mod/checkmark/submission_form.php
(#37) Class checkmark_submission_form is not documented
(#39) Function checkmark_submission_form::definition is not documented
(#17) No one-line description found in phpdocs for file
mod/checkmark/submissions.php
(#17) No one-line description found in phpdocs for file
mod/checkmark/version.php
(#17) No one-line description found in phpdocs for file
mod/checkmark/view.php
(#17) No one-line description found in phpdocs for file

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]


Mustache template problems

(0 errors, 0 warnings)

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