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

(244 errors, 38 warnings)

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

mod/attendance/add_form.php
(#25) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#68) Expected 1 space before "="; 0 found
(#68) Expected 1 space after "="; 0 found
(#94) Expected 1 space before "=>"; 0 found
(#94) Expected 1 space after "=>"; 0 found
(#107) Commas (,) must be followed by white space.
(#112) Expected 1 space before "="; 0 found
(#112) Expected 1 space after "="; 0 found
(#112) Expected 1 space before "<="; 0 found
(#112) Expected 1 space after "<="; 0 found
(#115) Expected 1 space before "="; 0 found
(#115) Expected 1 space after "="; 0 found
(#115) Expected 1 space before "<"; 0 found
(#115) Expected 1 space after "<"; 0 found
(#115) Expected 1 space before "+="; 0 found
(#115) Expected 1 space after "+="; 0 found
(#142) Expected 1 space before "=>"; 0 found
(#142) Expected 1 space after "=>"; 0 found
(#142) Line exceeds 132 characters; contains 162 characters
(#150) Expected 1 space before "=>"; 0 found
(#150) Expected 1 space after "=>"; 0 found
(#150) Expected 1 space before "=>"; 0 found
(#150) Expected 1 space after "=>"; 0 found
(#150) Expected 1 space before "=>"; 0 found
(#150) Expected 1 space after "=>"; 0 found
(#153) Variable "submit_string" must not contain underscores.
(#154) Variable "submit_string" must not contain underscores.
(#165) Line exceeds 132 characters; contains 154 characters
(#173) Expected 1 space before "?"; 0 found
(#174) Commas (,) must be followed by white space.
(#175) Expected 1 space before "="; 0 found
mod/attendance/attendance.php
(#33) Variable "attendance_session_id" must not contain underscores.
mod/attendance/backup/moodle2/backup_attendance_activity_task.class.php
(#63) Expected 1 space before "="; 0 found
(#67) Expected 1 space before "="; 0 found
mod/attendance/backup/moodle2/restore_attendance_activity_task.class.php
(#75) Inline comments must end in full-stops, exclamation marks, or question marks
mod/attendance/classes/event/attendance_taken.php
(#34) Expected 1 space after asterisk; 6 found
mod/attendance/classes/event/attendance_taken_by_student.php
(#34) Expected 1 space after asterisk; 6 found
mod/attendance/classes/event/report_viewed.php
(#34) Expected 1 space after asterisk; 6 found
(#96) Possible useless method overriding detected
mod/attendance/classes/event/session_added.php
(#34) Expected 1 space after asterisk; 6 found
mod/attendance/classes/event/session_deleted.php
(#34) Expected 1 space after asterisk; 6 found
mod/attendance/classes/event/session_duration_updated.php
(#34) Expected 1 space after asterisk; 6 found
mod/attendance/classes/event/session_updated.php
(#34) Expected 1 space after asterisk; 6 found
mod/attendance/classes/event/status_added.php
(#34) Expected 1 space after asterisk; 6 found
(#96) Possible useless method overriding detected
mod/attendance/classes/event/status_updated.php
(#34) Expected 1 space after asterisk; 6 found
(#96) Possible useless method overriding detected
mod/attendance/db/access.php
(#26) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
mod/attendance/db/install.php
(#28) Expected MOODLE_INTERNAL check or config.php inclusion
mod/attendance/db/upgrade.php
(#30) Expected MOODLE_INTERNAL check or config.php inclusion
(#45) Whitespace found at end of line
mod/attendance/duration_form.php
(#25) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#53) Expected 1 space before "="; 0 found
(#53) Expected 1 space after "="; 0 found
(#53) Expected 1 space before "<="; 0 found
(#53) Expected 1 space after "<="; 0 found
(#56) Expected 1 space before "="; 0 found
(#56) Expected 1 space after "="; 0 found
(#56) Expected 1 space before "<"; 0 found
(#56) Expected 1 space after "<"; 0 found
(#56) Expected 1 space before "+="; 0 found
(#56) Expected 1 space after "+="; 0 found
(#67) Expected 1 space before "=>"; 0 found
(#67) Expected 1 space after "=>"; 0 found
(#67) Expected 1 space before "=>"; 0 found
(#67) Expected 1 space after "=>"; 0 found
(#69) Variable "submit_string" must not contain underscores.
(#70) Variable "submit_string" must not contain underscores.
mod/attendance/export.php
(#91) Whitespace found at end of line
(#98) Whitespace found at end of line
(#132) Whitespace found at end of line
(#133) Variable "optional_row" must not contain underscores.
(#134) Variable "optional_row" must not contain underscores.
(#139) Whitespace found at end of line
mod/attendance/export_form.php
(#25) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#51) Expected 1 space before "="; 0 found
(#51) Expected 1 space after "="; 0 found
(#66) Whitespace found at end of line
(#72) Whitespace found at end of line
(#94) Variable "submit_string" must not contain underscores.
(#95) Variable "submit_string" must not contain underscores.
mod/attendance/lib.php
(#32) Expected MOODLE_INTERNAL check or config.php inclusion
(#57) Expected 1 space before "=>"; 0 found
(#100) Expected 1 space before "=>"; 0 found
(#104) Expected 1 space before "=>"; 0 found
(#106) Expected 1 space before "=>"; 0 found
(#108) Expected 1 space before "=>"; 0 found
(#110) Expected 1 space before "=>"; 0 found
(#120) Expected 1 space before "=>"; 0 found
(#129) Expected 1 space before "=>"; 0 found
(#157) Expected 1 space before "=>"; 0 found
(#157) Expected 1 space after "=>"; 0 found
(#157) Expected 1 space before "=>"; 0 found
(#157) Expected 1 space after "=>"; 0 found
(#157) Expected 1 space before "=>"; 0 found
(#157) Expected 1 space after "=>"; 0 found
(#165) Expected 1 space before "=>"; 0 found
(#286) Expected 1 space before "=>"; 0 found
(#291) Expected 1 space before "=>"; 0 found
(#291) Expected 1 space after "=>"; 0 found
(#291) Expected 1 space before "=>"; 0 found
(#291) Expected 1 space after "=>"; 0 found
(#295) Expected 1 space before "=>"; 0 found
(#295) Expected 1 space after "=>"; 0 found
(#295) This comment is 72% valid code; is this commented out code?
(#310) Expected 1 space before "==="; 2 found
(#333) Expected 1 space before "=>"; 0 found
(#333) Expected 1 space after "=>"; 0 found
mod/attendance/locallib.php
(#333) Inline comments must end in full-stops, exclamation marks, or question marks
(#695) Expected 1 space before "=>"; 0 found
(#799) Variable "info_array" must not contain underscores.
(#805) Variable "info_array" must not contain underscores.
(#806) Variable "info_array" must not contain underscores.
(#809) Variable "info_array" must not contain underscores.
(#817) Variable "info_array" must not contain underscores.
(#833) Expected 1 space before "*"; 0 found
(#833) Expected 1 space after "*"; 0 found
(#833) Expected 1 space before "*"; 0 found
(#833) Expected 1 space after "*"; 0 found
(#880) Expected "} else {\n"; found "}\n else {\n"
(#897) Whitespace found at end of line
(#901) Whitespace found at end of line
(#931) Expected 1 space after "?"; newline found
(#961) Inline comments must start with a capital letter, digit or 3-dots sequence
(#961) Inline comments must end in full-stops, exclamation marks, or question marks
(#974) Must use "self::" for local static member reference
(#1026) Line exceeds 132 characters; contains 151 characters
(#1048) Inline comments must end in full-stops, exclamation marks, or question marks
(#1052) Inline comments must end in full-stops, exclamation marks, or question marks
(#1062) Expected 1 space before "=>"; 0 found
(#1062) Expected 1 space after "=>"; 0 found
(#1062) Expected 1 space before "=>"; 0 found
(#1062) Expected 1 space after "=>"; 0 found
(#1062) Expected 1 space before "=>"; 0 found
(#1062) Expected 1 space after "=>"; 0 found
(#1080) Inline comments must end in full-stops, exclamation marks, or question marks
(#1093) Expected 1 space before "=>"; 0 found
(#1093) Expected 1 space after "=>"; 0 found
(#1093) Expected 1 space before "=>"; 0 found
(#1093) Expected 1 space after "=>"; 0 found
(#1093) Expected 1 space before "=>"; 0 found
(#1093) Expected 1 space after "=>"; 0 found
(#1093) Expected 1 space before "=>"; 0 found
(#1093) Expected 1 space after "=>"; 0 found
(#1161) Line exceeds maximum limit of 180 characters; contains 202 characters
(#1163) Line exceeds 132 characters; contains 144 characters
(#1183) Variable "processed_filters" must not contain underscores.
(#1187) Variable "processed_filters" must not contain underscores.
(#1192) Variable "processed_filters" must not contain underscores.
(#1193) Variable "processed_filters" must not contain underscores.
(#1193) Variable "processed_filters" must not contain underscores.
(#1195) Variable "processed_filters" must not contain underscores.
(#1197) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#1214) Variable "processed_filters" must not contain underscores.
(#1223) Variable "processed_filters" must not contain underscores.
(#1331) Line exceeds 132 characters; contains 139 characters
(#1334) Line exceeds 132 characters; contains 142 characters
(#1342) Line exceeds 132 characters; contains 142 characters
(#1372) Line exceeds 132 characters; contains 138 characters
(#1487) Line exceeds 132 characters; contains 141 characters
(#1492) Whitespace found at end of line
(#1629) Variable "gradebook_maxgrade" must not contain underscores.
(#1637) Variable "gradebook_maxgrade" must not contain underscores.
(#1648) Expected 1 space before "=>"; 0 found
(#1666) Inline comments must end in full-stops, exclamation marks, or question marks
(#1697) Inline comments must end in full-stops, exclamation marks, or question marks
mod/attendance/mod_form.php
(#49) Expected 1 space before "=>"; 0 found
(#49) Expected 1 space after "=>"; 0 found
mod/attendance/renderables.php
(#142) Expected 1 space after "="; 2 found
(#396) Variable "user_taken_sessions_count" must not contain underscores.
(#397) Variable "user_statuses_stat" must not contain underscores.
(#401) Variable "user_taken_sessions_count" must not contain underscores.
(#402) Variable "user_statuses_stat" must not contain underscores.
(#407) Variable "user_statuses_stat" must not contain underscores.
(#413) Variable "user_taken_sessions_count" must not contain underscores.
(#548) Variable "significant_params" must not contain underscores.
(#549) Variable "significant_params" must not contain underscores.
mod/attendance/renderer.php
(#99) Variable "paging_controls" must not contain underscores.
(#107) Whitespace found at end of line
(#108) Line exceeds 132 characters; contains 141 characters
(#109) Variable "paging_controls" must not contain underscores.
(#115) Variable "paging_controls" must not contain underscores.
(#115) Line exceeds 132 characters; contains 151 characters
(#118) Variable "paging_controls" must not contain underscores.
(#118) Line exceeds 132 characters; contains 138 characters
(#120) Variable "paging_controls" must not contain underscores.
(#120) Line exceeds 132 characters; contains 151 characters
(#124) Variable "paging_controls" must not contain underscores.
(#124) Space found before semicolon; expected "$paging_controls;" but found "$paging_controls ;"
(#130) Variable "curdate_controls" must not contain underscores.
(#138) Variable "curdate_controls" must not contain underscores.
(#142) Variable "curdate_controls" must not contain underscores.
(#148) Variable "button_form" must not contain underscores.
(#155) Variable "button_form" must not contain underscores.
(#163) Variable "button_form" must not contain underscores.
(#163) Variable "button_form" must not contain underscores.
(#164) Variable "curdate_controls" must not contain underscores.
(#164) Variable "button_form" must not contain underscores.
(#166) Variable "curdate_controls" must not contain underscores.
(#170) Variable "curdate_controls" must not contain underscores.
(#234) Expected 1 space after ":"; newline found
(#319) Line exceeds 132 characters; contains 137 characters
(#326) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#329) Inline comments must end in full-stops, exclamation marks, or question marks
(#332) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#333) Inline control structures are not allowed
(#338) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#371) Whitespace found at end of line
(#403) Line exceeds 132 characters; contains 138 characters
(#405) Line exceeds 132 characters; contains 134 characters
(#524) Expected 1 space before "="; 0 found
(#524) Expected 1 space after "="; 0 found
(#731) Expected 1 space after ":"; newline found
(#830) Line indented incorrectly; expected 8 spaces, found 9
(#830) Closing brace indented incorrectly; expected 8 spaces, found 9
(#871) Whitespace found at end of line
(#875) Inline comments must end in full-stops, exclamation marks, or question marks
(#881) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#883) Inline control structures are not allowed
(#889) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#900) Line exceeds 132 characters; contains 138 characters
(#901) Variable "GLOBALS" must be all lower-case
(#901) Line exceeds 132 characters; contains 133 characters
(#912) Whitespace found at end of line
mod/attendance/renderhelpers.php
(#106) Whitespace found at end of line
(#163) Whitespace found at end of line
(#188) Member variable "enrolments_info_cell_text" must not contain underscores.
mod/attendance/sessions.php
(#160) Expected 1 space before "*"; 0 found
(#160) Expected 1 space after "*"; 0 found
(#160) Expected 1 space before "*"; 0 found
(#160) Expected 1 space after "*"; 0 found
(#185) Expected 1 space before "*"; 0 found
(#185) Expected 1 space after "*"; 0 found
(#185) Expected 1 space before "*"; 0 found
(#185) Expected 1 space after "*"; 0 found
(#207) Expected 1 space before "-"; 0 found
(#207) Expected 1 space after "-"; 0 found
(#210) Expected 1 space before "=>"; 0 found
(#210) Expected 1 space after "=>"; 0 found
(#217) Expected 1 space after "="; 2 found
(#244) Whitespace found at end of line
mod/attendance/student_attenance_form.php
(#17) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
mod/attendance/tests/behat/attendance_taken_by_student.php
(#34) Expected 1 space after asterisk; 6 found
(#41) Duplicate class name "mod_attendance\event\attendance_taken_by_student" found; first defined in /var/lib/jenkins/git_repositories/prechecker/mod/attendance/classes/event/attendance_taken_by_student.php on line 41
mod/attendance/tests/behat/behat_mod_attendance.php
(#37) Member variable "file_contents" must not contain underscores.
(#45) Whitespace found at end of line
(#58) TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE"
(#65) Whitespace found at end of line
(#71) Whitespace found at end of line
(#74) Whitespace found at end of line
(#77) Whitespace found at end of line
(#98) Whitespace found at end of line
(#99) Variable "array_field" must not contain underscores.
(#99) Variable "array_value" must not contain underscores.
(#101) Variable "array_field" must not contain underscores.
(#103) Variable "array_value" must not contain underscores.
(#108) Whitespace found at end of line
(#115) Whitespace found at end of line
mod/attendance/update_form.php
(#26) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#51) Expected 1 space before "=>"; 0 found
(#56) Expected 1 space before "=>"; 0 found
(#56) Expected 1 space after "=>"; 0 found
(#56) Expected 1 space before "=>"; 0 found
(#56) Expected 1 space after "=>"; 0 found
(#56) Expected 1 space before "=>"; 0 found
(#56) Expected 1 space after "=>"; 0 found
(#68) Expected 1 space before "="; 0 found
(#68) Expected 1 space after "="; 0 found
(#68) Expected 1 space before "<="; 0 found
(#68) Expected 1 space after "<="; 0 found
(#71) Expected 1 space before "="; 0 found
(#71) Expected 1 space after "="; 0 found
(#71) Expected 1 space before "<"; 0 found
(#71) Expected 1 space after "<"; 0 found
(#71) Expected 1 space before "+="; 0 found
(#71) Expected 1 space after "+="; 0 found
(#83) Variable "submit_string" must not contain underscores.
(#84) Variable "submit_string" must not contain underscores.
mod/attendance/version.php
(#25) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#39) Expected 1 space after "=>"; 0 found
(#40) Empty CATCH statement detected
(#41) Inline comments must end in full-stops, exclamation marks, or question marks

Javascript coding style problems

(0 errors, 5 warnings)

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

mod/attendance/calendar.js
(#23) Expected '!==' and instead saw '!='.
(#23) Expected '!==' and instead saw '!='.
(#28) Function declarations should not be placed in blocks. Use a function expression or move the statement to the top of the outer function.
(#33) Function declarations should not be placed in blocks. Use a function expression or move the statement to the top of the outer function.
mod/attendance/module.js
(#1) Missing semicolon.

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(344 errors, 3 warnings)

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

mod/attendance/attendance.php
(#17) File-level phpdocs block does not have @copyright tag
(#20) Package mod is not valid
mod/attendance/classes/event/attendance_taken.php
(#34) Invalid phpdocs tag @string used
mod/attendance/classes/event/attendance_taken_by_student.php
(#34) Invalid phpdocs tag @string used
mod/attendance/classes/event/report_viewed.php
(#34) Invalid phpdocs tag @string used
mod/attendance/classes/event/session_added.php
(#34) Invalid phpdocs tag @string used
mod/attendance/classes/event/session_deleted.php
(#34) Invalid phpdocs tag @string used
mod/attendance/classes/event/session_duration_updated.php
(#34) Invalid phpdocs tag @string used
mod/attendance/classes/event/session_updated.php
(#34) Invalid phpdocs tag @string used
mod/attendance/classes/event/status_added.php
(#34) Invalid phpdocs tag @string used
mod/attendance/classes/event/status_updated.php
(#34) Invalid phpdocs tag @string used
mod/attendance/export.php
(#181) Function exporttotableed is not documented
(#223) Function exporttocsv is not documented
mod/attendance/lib.php
(#54) Function att_add_default_statuses is not documented
(#66) Function attendance_add_instance is not documented
(#81) Function attendance_update_instance is not documented
(#97) Function attendance_delete_instance is not documented
(#117) Function attendance_delete_course is not documented
(#160) Function attendance_reset_userdata is not documented
(#215) Function attendance_user_outline is not documented
(#246) Function attendance_user_complete is not documented
(#256) Function attendance_print_recent_activity is not documented
(#260) Function attendance_cron is not documented
(#264) Function attendance_update_grades is not documented
(#336) Function attendance_get_participants is not documented
(#136) Phpdocs for function attendance_reset_course_form_definition has incomplete parameters list
(#153) Phpdocs for function attendance_reset_course_form_defaults has incomplete parameters list
(#270) Phpdocs for function attendance_grade_item_update has incomplete parameters list
mod/attendance/locallib.php
(#41) Class attendance_permissions is not documented
(#167) Class att_page_with_filter_controls is not documented
(#362) Class att_view_page_params is not documented
(#388) Class att_manage_page_params is not documented
(#398) Class att_sessions_page_params is not documented
(#409) Class att_take_page_params is not documented
(#472) Class att_report_page_params is not documented
(#502) Class att_preferences_page_params is not documented
(#530) Class attendance is not documented
(#55) Function attendance_permissions::__construct is not documented
(#60) Function attendance_permissions::can_view is not documented
(#68) Function attendance_permissions::require_view_capability is not documented
(#72) Function attendance_permissions::can_view_reports is not documented
(#80) Function attendance_permissions::require_view_reports_capability is not documented
(#84) Function attendance_permissions::can_take is not documented
(#92) Function attendance_permissions::can_take_session is not documented
(#106) Function attendance_permissions::can_change is not documented
(#114) Function attendance_permissions::can_manage is not documented
(#122) Function attendance_permissions::require_manage_capability is not documented
(#126) Function attendance_permissions::can_change_preferences is not documented
(#134) Function attendance_permissions::require_change_preferences_capability is not documented
(#138) Function attendance_permissions::can_export is not documented
(#146) Function attendance_permissions::require_export_capability is not documented
(#150) Function attendance_permissions::can_be_listed is not documented
(#158) Function attendance_permissions::can_access_all_groups is not documented
(#198) Function att_page_with_filter_controls::init is not documented
(#205) Function att_page_with_filter_controls::init_view is not documented
(#217) Function att_page_with_filter_controls::init_curdate is not documented
(#229) Function att_page_with_filter_controls::init_start_end_date is not documented
(#266) Function att_page_with_filter_controls::calc_sessgroupslist_sesstype is not documented
(#314) Function att_page_with_filter_controls::calc_sessgroupslist is not documented
(#341) Function att_page_with_filter_controls::get_sess_groups_list is not documented
(#349) Function att_page_with_filter_controls::get_current_sesstype is not documented
(#357) Function att_page_with_filter_controls::set_current_sesstype is not documented
(#370) Function att_view_page_params::__construct is not documented
(#374) Function att_view_page_params::get_significant_params is not documented
(#389) Function att_manage_page_params::__construct is not documented
(#393) Function att_manage_page_params::get_significant_params is not documented
(#426) Function att_take_page_params::init is not documented
(#437) Function att_take_page_params::init_view_mode is not documented
(#445) Function att_take_page_params::init_gridcols is not documented
(#453) Function att_take_page_params::get_significant_params is not documented
(#476) Function att_report_page_params::__construct is not documented
(#480) Function att_report_page_params::init is not documented
(#491) Function att_report_page_params::get_significant_params is not documented
(#514) Function att_preferences_page_params::get_significant_params is not documented
(#601) Function attendance::get_group_mode is not documented
(#700) Function attendance::get_filtered_sessions is not documented
(#780) Function attendance::url_view is not documented
(#785) Function attendance::add_sessions is not documented
(#825) Function attendance::update_session_from_form_data is not documented
(#914) Function attendance::take_from_form_data is not documented
(#1075) Function attendance::get_user is not documented
(#1103) Function attendance::get_statuses is not documented
(#1111) Function attendance::get_session_info is not documented
(#1126) Function attendance::get_sessions_info is not documented
(#1144) Function attendance::get_session_log is not documented
(#1150) Function attendance::get_user_stat is not documented
(#1158) Function attendance::get_user_taken_sessions_count is not documented
(#1256) Function attendance::get_user_max_grade is not documented
(#1260) Function attendance::update_users_grade is not documented
(#1274) Function attendance::get_user_filtered_sessions_log is not documented
(#1318) Function attendance::get_user_filtered_sessions_log_extended is not documented
(#1394) Function attendance::delete_sessions is not documented
(#1409) Function attendance::update_sessions_duration is not documented
(#1429) Function attendance::remove_status is not documented
(#1435) Function attendance::add_status is not documented
(#1459) Function attendance::update_status is not documented
(#1495) Function att_get_statuses is not documented
(#1509) Function att_get_user_taken_sessions_count is not documented
(#1544) Function att_get_user_statuses_stat is not documented
(#1575) Function att_get_user_grade is not documented
(#1584) Function att_get_user_max_grade is not documented
(#1589) Function att_get_user_courses_attendances is not documented
(#1609) Function att_calc_user_grade_fraction is not documented
(#1617) Function att_get_gradebook_maxgrade is not documented
(#1623) Function att_update_all_users_grades is not documented
(#1645) Function att_has_logs_for_status is not documented
(#1651) Function att_log_convert_url is not documented
(#1662) Function attforblock_upgrade is not documented
(#42) Variable attendance_permissions::$canview is not documented
(#43) Variable attendance_permissions::$canviewreports is not documented
(#44) Variable attendance_permissions::$cantake is not documented
(#45) Variable attendance_permissions::$canchange is not documented
(#46) Variable attendance_permissions::$canmanage is not documented
(#47) Variable attendance_permissions::$canchangepreferences is not documented
(#48) Variable attendance_permissions::$canexport is not documented
(#49) Variable attendance_permissions::$canbelisted is not documented
(#50) Variable attendance_permissions::$canaccessallgroups is not documented
(#52) Variable attendance_permissions::$cm is not documented
(#53) Variable attendance_permissions::$context is not documented
(#188) Variable att_page_with_filter_controls::$selectortype is not documented
(#190) Variable att_page_with_filter_controls::$defaultview is not documented
(#192) Variable att_page_with_filter_controls::$cm is not documented
(#194) Variable att_page_with_filter_controls::$sessgroupslist is not documented
(#196) Variable att_page_with_filter_controls::$sesstype is not documented
(#366) Variable att_view_page_params::$studentid is not documented
(#368) Variable att_view_page_params::$mode is not documented
(#415) Variable att_take_page_params::$sessionid is not documented
(#416) Variable att_take_page_params::$grouptype is not documented
(#417) Variable att_take_page_params::$group is not documented
(#418) Variable att_take_page_params::$sort is not documented
(#419) Variable att_take_page_params::$copyfrom is not documented
(#424) Variable att_take_page_params::$gridcols is not documented
(#473) Variable att_report_page_params::$group is not documented
(#474) Variable att_report_page_params::$sort is not documented
(#512) Variable att_preferences_page_params::$statusid is not documented
(#558) Variable attendance::$groupmode is not documented
(#560) Variable attendance::$statuses is not documented
(#563) Variable attendance::$sessioninfo is not documented
(#566) Variable attendance::$usertakensesscount is not documented
(#567) Variable attendance::$userstatusesstat is not documented
(#168) Constant att_page_with_filter_controls::SELECTOR_NONE is not documented
(#169) Constant att_page_with_filter_controls::SELECTOR_GROUP is not documented
(#170) Constant att_page_with_filter_controls::SELECTOR_SESS_TYPE is not documented
(#172) Constant att_page_with_filter_controls::SESSTYPE_COMMON is not documented
(#173) Constant att_page_with_filter_controls::SESSTYPE_ALL is not documented
(#174) Constant att_page_with_filter_controls::SESSTYPE_NO_VALUE is not documented
(#363) Constant att_view_page_params::MODE_THIS_COURSE is not documented
(#364) Constant att_view_page_params::MODE_ALL_COURSES is not documented
(#399) Constant att_sessions_page_params::ACTION_ADD is not documented
(#400) Constant att_sessions_page_params::ACTION_UPDATE is not documented
(#401) Constant att_sessions_page_params::ACTION_DELETE is not documented
(#402) Constant att_sessions_page_params::ACTION_DELETE_SELECTED is not documented
(#403) Constant att_sessions_page_params::ACTION_CHANGE_DURATION is not documented
(#410) Constant att_take_page_params::SORTED_LIST is not documented
(#411) Constant att_take_page_params::SORTED_GRID is not documented
(#413) Constant att_take_page_params::DEFAULT_VIEW_MODE is not documented
(#503) Constant att_preferences_page_params::ACTION_ADD is not documented
(#504) Constant att_preferences_page_params::ACTION_DELETE is not documented
(#505) Constant att_preferences_page_params::ACTION_HIDE is not documented
(#506) Constant att_preferences_page_params::ACTION_SHOW is not documented
(#507) Constant att_preferences_page_params::ACTION_SAVE is not documented
(#531) Constant attendance::SESSION_COMMON is not documented
(#532) Constant attendance::SESSION_GROUP is not documented
(#732) There is no description in phpdocs for function url_manage
(#740) There is no description in phpdocs for function url_sessions
(#748) There is no description in phpdocs for function url_report
(#756) There is no description in phpdocs for function url_export
(#764) There is no description in phpdocs for function url_preferences
(#772) There is no description in phpdocs for function url_take
(#1169) There is no description in phpdocs for function get_user_statuses_stat
(#1239) There is no description in phpdocs for function get_user_grade
(#575) Phpdocs for function attendance::__construct has incomplete parameters list
(#656) Phpdocs for function attendance::get_today_sessions_for_copy has incomplete parameters list
(#732) Phpdocs for function attendance::url_manage has incomplete parameters list
(#740) Phpdocs for function attendance::url_sessions has incomplete parameters list
(#748) Phpdocs for function attendance::url_report has incomplete parameters list
(#764) Phpdocs for function attendance::url_preferences has incomplete parameters list
(#772) Phpdocs for function attendance::url_take has incomplete parameters list
(#857) Phpdocs for function attendance::take_from_student has incomplete parameters list
(#996) Phpdocs for function attendance::get_users has incomplete parameters list
(#1172) Phpdocs for function attendance::get_user_statuses_stat has incomplete parameters list
(#1241) Phpdocs for function attendance::get_user_grade has incomplete parameters list
(#552) Phpdocs for variable attendance::$pageparams does not contain @var or incorrect
(#855) Not recommended phpdocs tag @global used
(#855) Not recommended phpdocs tag @global used
(#1171) Not recommended phpdocs tag @global used
mod/attendance/renderables.php
(#101) Class attendance_filter_controls is not documented
(#247) Class attendance_take_data is not documented
(#327) Class attendance_user_data is not documented
(#432) Class attendance_report_data is not documented
(#533) Class attendance_preferences_data is not documented
(#557) Class url_helpers is not documented
(#119) Function attendance_filter_controls::__construct is not documented
(#167) Function attendance_filter_controls::url is not documented
(#173) Function attendance_filter_controls::url_path is not documented
(#177) Function attendance_filter_controls::url_params is not documented
(#183) Function attendance_filter_controls::get_group_mode is not documented
(#187) Function attendance_filter_controls::get_sess_groups_list is not documented
(#191) Function attendance_filter_controls::get_current_sesstype is not documented
(#235) Function attendance_manage_data::url_take is not documented
(#270) Function attendance_take_data::__construct is not documented
(#308) Function attendance_take_data::url is not documented
(#318) Function attendance_take_data::url_view is not documented
(#322) Function attendance_take_data::url_path is not documented
(#355) Function attendance_user_data::__construct is not documented
(#427) Function attendance_user_data::url is not documented
(#462) Function attendance_report_data::__construct is not documented
(#517) Function attendance_report_data::url_take is not documented
(#521) Function attendance_report_data::url_view is not documented
(#525) Function attendance_report_data::url is not documented
(#538) Function attendance_preferences_data::__construct is not documented
(#548) Function attendance_preferences_data::url is not documented
(#558) Function url_helpers::url_take is not documented
(#580) Function url_helpers::url_view is not documented
(#46) Variable attendance_tabs::$currenttab is not documented
(#105) Variable attendance_filter_controls::$cm is not documented
(#107) Variable attendance_filter_controls::$curdate is not documented
(#109) Variable attendance_filter_controls::$prevcur is not documented
(#110) Variable attendance_filter_controls::$nextcur is not documented
(#111) Variable attendance_filter_controls::$curdatetxt is not documented
(#112) Variable attendance_filter_controls::$reportcontrol is not documented
(#114) Variable attendance_filter_controls::$urlpath is not documented
(#115) Variable attendance_filter_controls::$urlparams is not documented
(#117) Variable attendance_filter_controls::$att is not documented
(#212) Variable attendance_manage_data::$groups is not documented
(#214) Variable attendance_manage_data::$hiddensesscount is not documented
(#248) Variable attendance_take_data::$users is not documented
(#250) Variable attendance_take_data::$pageparams is not documented
(#251) Variable attendance_take_data::$perm is not documented
(#253) Variable attendance_take_data::$groupmode is not documented
(#254) Variable attendance_take_data::$cm is not documented
(#256) Variable attendance_take_data::$statuses is not documented
(#258) Variable attendance_take_data::$sessioninfo is not documented
(#260) Variable attendance_take_data::$sessionlog is not documented
(#262) Variable attendance_take_data::$sessions4copy is not documented
(#264) Variable attendance_take_data::$updatemode is not documented
(#266) Variable attendance_take_data::$urlpath is not documented
(#267) Variable attendance_take_data::$urlparams is not documented
(#268) Variable attendance_take_data::$att is not documented
(#328) Variable attendance_user_data::$user is not documented
(#330) Variable attendance_user_data::$pageparams is not documented
(#332) Variable attendance_user_data::$stat is not documented
(#334) Variable attendance_user_data::$statuses is not documented
(#336) Variable attendance_user_data::$gradable is not documented
(#338) Variable attendance_user_data::$grade is not documented
(#340) Variable attendance_user_data::$maxgrade is not documented
(#342) Variable attendance_user_data::$decimalpoints is not documented
(#344) Variable attendance_user_data::$filtercontrols is not documented
(#346) Variable attendance_user_data::$sessionslog is not documented
(#348) Variable attendance_user_data::$groups is not documented
(#350) Variable attendance_user_data::$coursesatts is not documented
(#352) Variable attendance_user_data::$urlpath is not documented
(#353) Variable attendance_user_data::$urlparams is not documented
(#433) Variable attendance_report_data::$perm is not documented
(#434) Variable attendance_report_data::$pageparams is not documented
(#436) Variable attendance_report_data::$users is not documented
(#438) Variable attendance_report_data::$groups is not documented
(#440) Variable attendance_report_data::$sessions is not documented
(#442) Variable attendance_report_data::$statuses is not documented
(#444) Variable attendance_report_data::$allstatuses is not documented
(#446) Variable attendance_report_data::$gradable is not documented
(#448) Variable attendance_report_data::$decimalpoints is not documented
(#450) Variable attendance_report_data::$usersgroups is not documented
(#452) Variable attendance_report_data::$sessionslog is not documented
(#454) Variable attendance_report_data::$usersstats is not documented
(#456) Variable attendance_report_data::$grades is not documented
(#458) Variable attendance_report_data::$maxgrades is not documented
(#460) Variable attendance_report_data::$att is not documented
(#534) Variable attendance_preferences_data::$statuses is not documented
(#536) Variable attendance_preferences_data::$att is not documented
(#40) Constant attendance_tabs::TAB_SESSIONS is not documented
(#41) Constant attendance_tabs::TAB_ADD is not documented
(#42) Constant attendance_tabs::TAB_REPORT is not documented
(#43) Constant attendance_tabs::TAB_EXPORT is not documented
(#44) Constant attendance_tabs::TAB_PREFERENCES is not documented
(#54) Phpdocs for function attendance_tabs::__construct has incomplete parameters list
(#239) Phpdocs for function attendance_manage_data::url_sessions has incomplete parameters list
(#567) Phpdocs for function url_helpers::url_sessions has incomplete parameters list
mod/attendance/renderer.php
(#76) Function mod_attendance_renderer::render_sess_group_selector is not documented
(#96) Function mod_attendance_renderer::render_paging_controls is not documented
(#127) Function mod_attendance_renderer::render_curdate_controls is not documented
(#173) Function mod_attendance_renderer::render_view_controls is not documented
(#210) Function mod_attendance_renderer::render_sess_manage_table is not documented
(#246) Function mod_attendance_renderer::construct_date_time_actions is not documented
(#284) Function mod_attendance_renderer::render_sess_manage_control is not documented
(#311) Function mod_attendance_renderer::render_attendance_take_data is not documented
(#345) Function mod_attendance_renderer::render_attendance_take_controls is not documented
(#355) Function mod_attendance_renderer::construct_take_session_info is not documented
(#369) Function mod_attendance_renderer::construct_take_controls is not documented
(#468) Function mod_attendance_renderer::render_attendance_take_list is not documented
(#522) Function mod_attendance_renderer::render_attendance_take_grid is not documented
(#571) Function mod_attendance_renderer::construct_fullname_head is not documented
(#595) Function mod_attendance_renderer::construct_take_user_controls is not documented
(#649) Function mod_attendance_renderer::render_attendance_user_data is not documented
(#664) Function mod_attendance_renderer::render_user_report_tabs is not documented
(#678) Function mod_attendance_renderer::construct_user_data is not documented
(#710) Function mod_attendance_renderer::construct_user_sessions_log is not documented
(#769) Function mod_attendance_renderer::construct_time is not documented
(#775) Function mod_attendance_renderer::render_attendance_report_data is not documented
(#915) Function mod_attendance_renderer::render_attendance_preferences_data is not documented
(#956) Function mod_attendance_renderer::construct_text_input is not documented
(#966) Function mod_attendance_renderer::construct_preferences_actions_icons is not documented
(#998) Function mod_attendance_renderer::construct_preferences_button is not documented
(#43) Phpdocs for function mod_attendance_renderer::render_attendance_tabs has incomplete parameters list
(#53) Phpdocs for function mod_attendance_renderer::render_attendance_filter_controls has incomplete parameters list
mod/attendance/renderhelpers.php
(#41) Function user_sessions_cells_generator::__construct is not documented
(#46) Function user_sessions_cells_generator::get_cells is not documented
(#87) Function user_sessions_cells_generator::init_cells is not documented
(#91) Function user_sessions_cells_generator::construct_existing_status_cell is not documented
(#95) Function user_sessions_cells_generator::construct_hidden_status_cell is not documented
(#99) Function user_sessions_cells_generator::construct_enrolments_info_cell is not documented
(#103) Function user_sessions_cells_generator::construct_not_taken_cell is not documented
(#107) Function user_sessions_cells_generator::construct_remarks_cell is not documented
(#111) Function user_sessions_cells_generator::construct_not_existing_for_user_session_cell is not documented
(#115) Function user_sessions_cells_generator::finalize_cells is not documented
(#128) Function user_sessions_cells_html_generator::construct_existing_status_cell is not documented
(#133) Function user_sessions_cells_html_generator::construct_hidden_status_cell is not documented
(#137) Function user_sessions_cells_html_generator::construct_enrolments_info_cell is not documented
(#152) Function user_sessions_cells_html_generator::close_open_cell_if_needed is not documented
(#159) Function user_sessions_cells_html_generator::construct_not_taken_cell is not documented
(#164) Function user_sessions_cells_html_generator::construct_remarks_cell is not documented
(#169) Function user_sessions_cells_html_generator::construct_not_existing_for_user_session_cell is not documented
(#174) Function user_sessions_cells_html_generator::finalize_cells is not documented
(#190) Function user_sessions_cells_text_generator::construct_hidden_status_cell is not documented
(#194) Function user_sessions_cells_text_generator::construct_enrolments_info_cell is not documented
(#204) Function construct_session_time is not documented
(#211) Function construct_session_full_date_time is not documented
(#218) Function construct_user_data_stat is not documented
(#257) Function construct_full_user_stat_html_table is not documented
(#36) Variable user_sessions_cells_generator::$cells is not documented
(#38) Variable user_sessions_cells_generator::$reportdata is not documented
(#39) Variable user_sessions_cells_generator::$user is not documented
(#126) Variable user_sessions_cells_html_generator::$cell is not documented
(#188) Variable user_sessions_cells_text_generator::$enrolments_info_cell_text is not documented
mod/attendance/sessions.php
(#182) Function construct_sessions_data_for_add is not documented
(#253) Function fill_groupid is not documented
mod/attendance/student_attenance_form.php
(#17) File-level phpdocs block is not found
(#19) Class mod_attendance_student_attendance_form is not documented
(#20) Function mod_attendance_student_attendance_form::definition is not documented
(#19) Package is not specified for class mod_attendance_student_attendance_form. It is also not specified in file-level phpdocs
mod/attendance/tests/behat/attendance_taken_by_student.php
(#34) Invalid phpdocs tag @string used
mod/attendance/tests/behat/behat_mod_attendance.php
(#20) File-level phpdocs block is not found
(#37) Variable behat_mod_attendance::$file_contents is not documented
(#39) There is no description in phpdocs for function attendance_export_file_is_ok
(#94) There is no description in phpdocs for function i_should_see_as_in_the_file
(#94) Phpdocs for function behat_mod_attendance::i_should_see_as_in_the_file has incomplete parameters list
(#28) Package mod is not valid

Update savepoints problems

(3 errors, 0 warnings)

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

mod/attendance/db/upgrade.php
Detected more 'if' blocks (2) than 'savepoint' calls (0)
version 2014112000 is missing corresponding savepoint call
version 2014112001 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]


Mustache template problems

(0 errors, 0 warnings)

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