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

(40 errors, 18 warnings)

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

mod/quest/answer.php
(#303) Line exceeds 132 characters; contains 133 characters
mod/quest/assess.php
(#159) Line exceeds 132 characters; contains 141 characters
mod/quest/assessments.php
(#417) Line exceeds 132 characters; contains 171 characters
mod/quest/assessments_autors.php
(#252) Expected 1 space before ":"; 0 found
(#252) Expected 1 space after ":"; 0 found
(#271) Expected 1 space before ":"; 0 found
(#271) Expected 1 space after ":"; 0 found
mod/quest/backup/moodle2/backup_quest_stepslib.php
(#45) Line exceeds 132 characters; contains 148 characters
(#71) Line exceeds 132 characters; contains 136 characters
mod/quest/classes/quest_graphlib.php
(#35) Variable "yOrder" must be all lower-case
(#35) Inline comments must start with a capital letter, digit or 3-dots sequence
(#38) Variable "yOrder" must be all lower-case
(#43) Variable "yOrder" must be all lower-case
(#43) Inline comments must start with a capital letter, digit or 3-dots sequence
(#45) This comment is 72% valid code; is this commented out code?
(#45) 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
(#51) Variable "xStep" must be all lower-case
(#52) Variable "ticksOffset" must be all lower-case
(#54) Variable "gridLeft" must be all lower-case
(#54) Variable "xStep" must be all lower-case
(#54) Variable "ticksOffset" must be all lower-case
(#57) Variable "tickX" must be all lower-case
(#57) Variable "gridLeft" must be all lower-case
(#57) Inline comments must end in full-stops, exclamation marks, or question marks
(#60) Variable "gridLeft" must be all lower-case
(#74) Visibility must be declared on method "init_x_axis"
(#78) Variable "axis_font" must not contain underscores.
(#79) Variable "axis_size" must not contain underscores.
(#80) Variable "axis_colour" must not contain underscores.
(#81) Variable "axis_angle" must not contain underscores.
(#86) The use of function sizeof() is forbidden; use count() instead
(#94) Variable "axis_size" must not contain underscores.
(#94) Variable "axis_font" must not contain underscores.
(#94) Variable "axis_angle" must not contain underscores.
(#94) Variable "axis_colour" must not contain underscores.
(#97) Inline control structures are not allowed
(#120) Inline control structures are not allowed
(#130) Variable "axis_size" must not contain underscores.
(#130) Variable "axis_font" must not contain underscores.
(#130) Variable "axis_angle" must not contain underscores.
(#130) Variable "axis_colour" must not contain underscores.
(#134) Inline control structures are not allowed
mod/quest/classes/task/notify_task.php
(#37) This comment is 50% valid code; is this commented out code?
(#253) Line exceeds 132 characters; contains 147 characters
mod/quest/getLogs.php
(#123) Line exceeds 132 characters; contains 155 characters
(#125) Line exceeds 132 characters; contains 161 characters
(#127) Line exceeds 132 characters; contains 159 characters
mod/quest/lib.php
(#637) Line exceeds 132 characters; contains 133 characters
mod/quest/locallib.php
(#447) Line exceeds 132 characters; contains 145 characters
mod/quest/submissions.php
(#340) Whitespace found at end of line
(#360) Whitespace found at end of line
(#368) Whitespace found at end of line
(#372) Whitespace found at end of line
(#377) Whitespace found at end of line
(#378) Whitespace found at end of line
(#380) Whitespace found at end of line
(#395) Whitespace found at end of line

Javascript coding style problems

(44 errors, 24 warnings)

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

mod/quest/amd/src/counter.js
(#15) Missing JSDoc for parameter 'decimales'. (valid-jsdoc)
(#15) Missing JSDoc for parameter 'cantidad'. (valid-jsdoc)
(#15) Missing JSDoc @returns for function. (valid-jsdoc)
(#23) Unexpected tab character. (no-tabs)
(#24) Unexpected tab character. (no-tabs)
(#25) Unexpected tab character. (no-tabs)
(#26) Unexpected tab character. (no-tabs)
(#27) Unexpected tab character. (no-tabs)
(#29) JSDoc type missing brace. (valid-jsdoc)
(#30) Trailing spaces not allowed. (no-trailing-spaces)
(#42) Identifier 'quest_calculate_points' is not in camel case. (camelcase)
(#43) Unexpected tab character. (no-tabs)
(#62) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#63) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#63) Unexpected tab character. (no-tabs)
(#82) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#82) Unexpected tab character. (no-tabs)
(#94) JSDoc type missing brace. (valid-jsdoc)
(#95) Trailing spaces not allowed. (no-trailing-spaces)
(#98) Trailing spaces not allowed. (no-trailing-spaces)
(#118) Unexpected tab character. (no-tabs)
(#119) Unexpected tab character. (no-tabs)
(#120) Unexpected tab character. (no-tabs)
(#121) Infix operators must be spaced. (space-infix-ops)
(#123) Unexpected tab character. (no-tabs)
(#130) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#130) Unexpected tab character. (no-tabs)
(#135) Unexpected space before function parentheses. (space-before-function-paren)
(#135) Missing space before opening brace. (space-before-blocks)
(#136) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#136) Unexpected tab character. (no-tabs)
(#137) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#137) Unexpected tab character. (no-tabs)
(#138) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#138) Unexpected tab character. (no-tabs)
(#139) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#139) Unexpected tab character. (no-tabs)
(#144) Unexpected tab character. (no-tabs)
(#145) Unexpected tab character. (no-tabs)
(#146) Unexpected tab character. (no-tabs)
(#147) Unexpected tab character. (no-tabs)
(#148) Unexpected tab character. (no-tabs)
(#149) Unexpected tab character. (no-tabs)
(#150) Unexpected tab character. (no-tabs)
(#151) Unexpected tab character. (no-tabs)
(#152) Unexpected tab character. (no-tabs)
(#153) Unexpected tab character. (no-tabs)
mod/quest/Gruntfile.js
(#26) 'module' is not defined. (no-undef)
(#29) 'process' is not defined. (no-undef)
(#29) 'process' is not defined. (no-undef)
(#35) '__dirname' is not defined. (no-undef)
(#36) '__dirname' is not defined. (no-undef)
(#37) Infix operators must be spaced. (space-infix-ops)
(#39) Infix operators must be spaced. (space-infix-ops)
(#39) Infix operators must be spaced. (space-infix-ops)
(#58) Identifier 'uglify_rename' is not in camel case. (camelcase)
(#58) Unexpected space before function parentheses. (space-before-function-paren)
(#69) There should be no space after '{'. (babel/object-curly-spacing)
(#69) There should be no space before '}'. (babel/object-curly-spacing)
(#76) Identifier 'uglify_rename' is not in camel case. (camelcase)
(#129) Unexpected space before function parentheses. (space-before-function-paren)
(#131) There should be no spaces inside this paren. (space-in-parens)
(#131) '__dirname' is not defined. (no-undef)
(#178) 'process' is not defined. (no-undef)
(#179) Unexpected space before function parentheses. (space-before-function-paren)
(#226) There should be no space after '{'. (babel/object-curly-spacing)
(#226) Identifier 'uglify_rename' is not in camel case. (camelcase)
(#226) There should be no space before '}'. (babel/object-curly-spacing)

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(154 errors, 32 warnings)

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

mod/quest/backup/moodle2/backup_quest_activity_task.class.php
(#17) File-level phpdocs block is not found
(#22) No one-line description found in phpdocs for class backup_quest_activity_task
mod/quest/backup/moodle2/backup_quest_stepslib.php
(#16) File-level phpdocs block is not found
mod/quest/backup/moodle2/restore_quest_activity_task.class.php
(#16) File-level phpdocs block is not found
mod/quest/backup/moodle2/restore_quest_stepslib.php
(#16) File-level phpdocs block is not found
mod/quest/classes/event/base.php
(#78) Function base::set_url is not documented
mod/quest/classes/quest_graphlib.php
(#23) Package is not specified for class quest_graph. It is also not specified in file-level phpdocs
(#19) File-level phpdocs block is not found
(#23) Class quest_graph is not documented
(#50) Function quest_graph::get_x_point is not documented
(#64) Function quest_graph::get_y_point is not documented
(#74) Function quest_graph::init_x_axis is not documented
mod/quest/classes/task/notify_task.php
(#27) Package is not specified for class notify_task. It is also not specified in file-level phpdocs
(#27) Class notify_task is not documented
(#29) Function notify_task::get_name is not documented
(#34) Function notify_task::execute is not documented
(#16) No one-line description found in phpdocs for file
(#16) File-level phpdocs block does not have @copyright tag
(#16) File-level phpdocs block does not have @license tag
mod/quest/db/access.php
(#16) No one-line description found in phpdocs for file
mod/quest/db/log.php
(#22) File-level phpdocs block does not have @copyright tag
mod/quest/db/tasks.php
(#16) File-level phpdocs block is not found
mod/quest/db/upgrade.php
(#49) There is no description in phpdocs for function xmldb_quest_upgrade
(#51) Not recommended phpdocs tag @global used
mod/quest/lib.php
(#16) No one-line description found in phpdocs for file
(#37) There is no description in phpdocs for function quest_add_instance
(#115) There is no description in phpdocs for function quest_check_submission_dates
(#125) There is no description in phpdocs for function quest_check_submission_text
(#176) There is no description in phpdocs for function quest_delete_instance
(#251) There is no description in phpdocs for function quest_pluginfile
(#316) There is no description in phpdocs for function quest_user_outline
(#354) There is no description in phpdocs for function quest_user_complete
(#413) There is no description in phpdocs for function quest_print_feedback
(#518) There is no description in phpdocs for function quest_is_recent_activity
(#558) There is no description in phpdocs for function quest_make_mail_text
(#609) There is no description in phpdocs for function quest_make_mail_html
(#643) There is no description in phpdocs for function quest_make_mail_post
(#857) There is no description in phpdocs for function quest_get_participants
(#913) There is no description in phpdocs for function quest_refresh_events
(#939) There is no description in phpdocs for function quest_get_recent_mod_activity
(#1286) There is no description in phpdocs for function quest_get_user_answers
(#1297) There is no description in phpdocs for function quest_get_submission_answers
(#1306) There is no description in phpdocs for function quest_get_user_answer
(#1317) There is no description in phpdocs for function quest_get_user_assessments
(#1328) There is no description in phpdocs for function quest_get_user_assessment
(#1338) There is no description in phpdocs for function quest_get_maxpoints_teams
(#145) Phpdocs for function quest_update_instance has incomplete parameters list
(#309) Phpdocs for function quest_save_intro_draft_files has incomplete parameters list
(#708) Phpdocs for function quest_grade_item_update has incomplete parameters list
(#738) Phpdocs for function quest_get_user_grades has incomplete parameters list
(#900) Phpdocs for function quest_scale_used has incomplete parameters list
(#907) Phpdocs for function quest_scale_used_anywhere has incomplete parameters list
(#1069) Phpdocs for function quest_print_recent_mod_activity has incomplete parameters list
(#1255) Phpdocs for function quest_extend_settings_navigation has incomplete parameters list
(#143) Not recommended phpdocs tag @global used
(#143) Not recommended phpdocs tag @global used
(#1066) Not recommended phpdocs tag @global used
(#1066) Not recommended phpdocs tag @global used
(#1066) Not recommended phpdocs tag @global used
mod/quest/locallib.php
(#282) Function quest_print_upload_form::definition is not documented
(#868) Function quest_print_answer_form::definition is not documented
(#3115) Function quest_print_error_banded_form is not documented
(#3474) Function quest_sortfunction_team is not documented
(#4013) Function quest_send_message_data is not documented
(#4257) Function quest_get_submissions is not documented
(#117) There is no description in phpdocs for function quest_choose_from_menu
(#165) There is no description in phpdocs for function quest_print_quest_heading
(#175) There is no description in phpdocs for function quest_print_quest_info
(#203) There is no description in phpdocs for function quest_print_challenge_grading_link
(#222) There is no description in phpdocs for function quest_print_answer_grading_link
(#242) There is no description in phpdocs for function quest_phase
(#259) There is no description in phpdocs for function quest_print_submission_title
(#592) There is no description in phpdocs for function quest_get_durations
(#626) There is no description in phpdocs for function quest_get_difficulty_levels
(#634) There is no description in phpdocs for function quest_print_submission
(#676) There is no description in phpdocs for function quest_print_attachments
(#713) There is no description in phpdocs for function quest_print_submission_info
(#802) There is no description in phpdocs for function quest_submission_phase
(#924) There is no description in phpdocs for function quest_uploadanswer
(#1217) There is no description in phpdocs for function quest_print_answer_title
(#1235) There is no description in phpdocs for function quest_print_actions_answers
(#1317) There is no description in phpdocs for function quest_print_answer_info
(#1410) There is no description in phpdocs for function quest_print_answer
(#1457) There is no description in phpdocs for function quest_print_assessment
(#1817) There is no description in phpdocs for function quest_print_general_comment_box
(#1945) There is no description in phpdocs for function quest_get_points
(#1983) There is no description in phpdocs for function quest_calculate_points
(#2045) There is no description in phpdocs for function quest_print_assessment_autor
(#2399) There is no description in phpdocs for function quest_print_simple_calification
(#2585) There is no description in phpdocs for function quest_sortfunction
(#2600) There is no description in phpdocs for function quest_actions_submission
(#2697) There is no description in phpdocs for function quest_validate_user_answer
(#2746) There is no description in phpdocs for function quest_update_challenge_calendar
(#2790) There is no description in phpdocs for function quest_update_quest_calendar
(#2930) There is no description in phpdocs for function quest_count_user_submissions_assesed
(#2952) There is no description in phpdocs for function quest_count_user_submissions
(#2965) There is no description in phpdocs for function quest_count_user_answers
(#2978) There is no description in phpdocs for function quest_count_user_answers_assesed
(#3058) There is no description in phpdocs for function quest_update_team_scores
(#3154) There is no description in phpdocs for function quest_recalification
(#3398) There is no description in phpdocs for function quest_print_table_teams
(#3520) There is no description in phpdocs for function quest_recalification_all
(#3559) There is no description in phpdocs for function quest_require_password
(#3608) There is no description in phpdocs for function quest_answer_grade
(#3618) There is no description in phpdocs for function quest_get_user_clasification
(#3628) There is no description in phpdocs for function quest_get_calification
(#3637) There is no description in phpdocs for function quest_get_calification_teams
(#3646) There is no description in phpdocs for function quest_get_answers
(#3761) There is no description in phpdocs for function quest_get_course_and_cm
(#3775) There is no description in phpdocs for function quest_get_course_and_cm_from_quest
(#3786) There is no description in phpdocs for function quest_print_recent_activity
(#3996) There is no description in phpdocs for function quest_send_message
(#4035) There is no description in phpdocs for function quest_compose_message_data
(#4103) There is no description in phpdocs for function quest_message_html
(#4219) There is no description in phpdocs for function quest_get_maxpoints_group_teams
(#4261) There is no description in phpdocs for function quest_get_user_submissions
(#4274) There is no description in phpdocs for function quest_get_student_submission
(#4290) There is no description in phpdocs for function quest_get_student_submissions
(#4328) There is no description in phpdocs for function quest_get_assessments
(#4353) There is no description in phpdocs for function quest_get_submission_assessment
(#4363) There is no description in phpdocs for function quest_export_csv
(#4409) There is no description in phpdocs for function quest_fullname
(#4447) There is no description in phpdocs for function quest_get_submitsubmissionuser_logs
(#4471) There is no description in phpdocs for function quest_get_approvesubmission_logs
(#4495) There is no description in phpdocs for function quest_get_submitanswer_logs
(#4519) There is no description in phpdocs for function quest_get_assessments_logs
(#4545) There is no description in phpdocs for function quest_get_assessmentsautor_logs
(#4571) There is no description in phpdocs for function quest_get_course_members
(#425) Phpdocs for function quest_print_upload_form::validation has incomplete parameters list
(#1361) Phpdocs for function quest_answer_phase has incomplete parameters list
(#1817) Phpdocs for function quest_print_general_comment_box has incomplete parameters list
(#1857) Phpdocs for function quest_get_answer_grade has incomplete parameters list
(#2386) Phpdocs for function quest_print_score_graph has incomplete parameters list
(#2717) Phpdocs for function quest_update_grade_for_answer has incomplete parameters list
(#2792) Phpdocs for function quest_update_quest_calendar has incomplete parameters list
(#2833) Phpdocs for function quest_update_assessment has incomplete parameters list
(#2844) Phpdocs for function quest_update_assessment_author has incomplete parameters list
(#2855) Phpdocs for function quest_update_calification_user has incomplete parameters list
(#2863) Phpdocs for function quest_get_user_team has incomplete parameters list
(#2931) Phpdocs for function quest_count_user_submissions_assesed has incomplete parameters list
(#2953) Phpdocs for function quest_count_user_submissions has incomplete parameters list
(#2966) Phpdocs for function quest_count_user_answers has incomplete parameters list
(#2979) Phpdocs for function quest_count_user_answers_assesed has incomplete parameters list
(#2992) Phpdocs for function quest_count_submission_assessments has incomplete parameters list
(#3034) Phpdocs for function quest_update_user_scores has incomplete parameters list
(#3059) Phpdocs for function quest_update_team_scores has incomplete parameters list
(#3715) Phpdocs for function quest_next_submission_url has incomplete parameters list
(#3998) Phpdocs for function quest_send_message has incomplete parameters list
(#4189) Phpdocs for function quest_get_maxpoints has incomplete parameters list
(#479) Not recommended phpdocs tag @global used
(#479) Not recommended phpdocs tag @global used
(#479) Not recommended phpdocs tag @global used
(#479) Not recommended phpdocs tag @global used
(#479) Not recommended phpdocs tag @global used
(#479) Not recommended phpdocs tag @global used
(#925) Not recommended phpdocs tag @global used
(#925) Not recommended phpdocs tag @global used
(#925) Not recommended phpdocs tag @global used
(#925) Not recommended phpdocs tag @global used
(#1411) Not recommended phpdocs tag @global used
(#1411) Not recommended phpdocs tag @global used
(#1411) Not recommended phpdocs tag @global used
(#2601) Not recommended phpdocs tag @global used
(#2601) Not recommended phpdocs tag @global used
(#2601) Not recommended phpdocs tag @global used
(#2698) Not recommended phpdocs tag @global used
(#2698) Not recommended phpdocs tag @global used
(#3789) Not recommended phpdocs tag @global used
(#3789) Not recommended phpdocs tag @global used
(#4425) Not recommended phpdocs tag @global used
(#4425) Not recommended phpdocs tag @global used
(#4425) Not recommended phpdocs tag @global used
(#4448) Not recommended phpdocs tag @global used
(#4448) Not recommended phpdocs tag @global used
(#4448) Not recommended phpdocs tag @global used
mod/quest/mod_form.php
(#32) No one-line description found in phpdocs for class mod_quest_mod_form
(#288) Phpdocs for function mod_quest_mod_form::validation has incomplete parameters list
mod/quest/myplace.php
(#609) There is no description in phpdocs for function quest_sortfunction_answers
mod/quest/report.php
(#24) Package quest is not valid
(#17) No one-line description found in phpdocs for file
(#17) File-level phpdocs block does not have @copyright tag
mod/quest/scores_lib.php
(#71) There is no description in phpdocs for function quest_calculate_pointsanswercorrect_and_date
(#110) There is no description in phpdocs for function quest_count_submission_answers
(#120) There is no description in phpdocs for function quest_count_submission_answers_assesed
(#133) There is no description in phpdocs for function quest_count_submission_answers_correct
mod/quest/team.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]


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, 0 warnings)

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