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

(0 errors, 34 warnings)

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

local/gradebook/classes/demo_calculator.php
(#20) Expected login check (require_login, require_course_login, admin_externalpage_setup) following config inclusion. None found.
local/gradebook/classes/form/AdvancedOperationForm.php
(#25) Expected MOODLE_INTERNAL check or config.php inclusion
(#47) Line exceeds 132 characters; contains 135 characters
(#55) Line exceeds 132 characters; contains 142 characters
(#64) Line exceeds 132 characters; contains 155 characters
(#68) Line exceeds 132 characters; contains 155 characters
local/gradebook/classes/form/SimpleOperationForm.php
(#23) Expected MOODLE_INTERNAL check or config.php inclusion
(#67) Inline comments must end in full-stops, exclamation marks, or question marks
(#73) Inline comments must end in full-stops, exclamation marks, or question marks
(#141) Line exceeds 132 characters; contains 156 characters
(#149) Line exceeds 132 characters; contains 160 characters
local/gradebook/classes/grade/Grade.php
(#30) Expected MOODLE_INTERNAL check or config.php inclusion
local/gradebook/classes/grade/GradeCalculationFormatter.php
(#23) Expected MOODLE_INTERNAL check or config.php inclusion
(#51) Inline comments must end in full-stops, exclamation marks, or question marks
local/gradebook/classes/grade/tree/GradebookDemoTree.php
(#23) Expected MOODLE_INTERNAL check or config.php inclusion
local/gradebook/classes/grade/tree/GradebookTree.php
(#26) Expected MOODLE_INTERNAL check or config.php inclusion
local/gradebook/demo.php
(#28) Inline comments must end in full-stops, exclamation marks, or question marks
(#44) Inline comments must start with a capital letter, digit or 3-dots sequence
(#44) Inline comments must end in full-stops, exclamation marks, or question marks
(#48) Inline comments must start with a capital letter, digit or 3-dots sequence
local/gradebook/externallib.php
(#20) Expected login check (require_login, require_course_login, admin_externalpage_setup) following config inclusion. None found.
local/gradebook/index.php
(#32) Inline comments must end in full-stops, exclamation marks, or question marks
(#46) Inline comments must start with a capital letter, digit or 3-dots sequence
(#46) Inline comments must end in full-stops, exclamation marks, or question marks
(#50) Inline comments must start with a capital letter, digit or 3-dots sequence
(#62) Inline comments must end in full-stops, exclamation marks, or question marks
local/gradebook/lib.php
(#19) Inline comments must end in full-stops, exclamation marks, or question marks
(#28) Expected MOODLE_INTERNAL check or config.php inclusion
(#30) Inline comments must end in full-stops, exclamation marks, or question marks
local/gradebook/locallib.php
(#22) Expected login check (require_login, require_course_login, admin_externalpage_setup) following config inclusion. None found.
(#105) Line exceeds 132 characters; contains 155 characters
(#162) Line exceeds 132 characters; contains 143 characters
(#239) Line exceeds 132 characters; contains 155 characters
(#263) Line exceeds 132 characters; contains 155 characters

Javascript coding style problems

(2 errors, 19 warnings)

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

local/gradebook/amd/src/democalc.js
(#4) Unexpected space before function parentheses. (space-before-function-paren)
(#6) Unexpected space before function parentheses. (space-before-function-paren)
(#7) Unexpected space before function parentheses. (space-before-function-paren)
(#14) Unexpected space before function parentheses. (space-before-function-paren)
(#38) Unexpected space before function parentheses. (space-before-function-paren)
(#40) Unexpected space before function parentheses. (space-before-function-paren)
(#44) Unexpected space before function parentheses. (space-before-function-paren)
local/gradebook/amd/src/simple_op.js
(#4) Unexpected space before function parentheses. (space-before-function-paren)
(#6) Unexpected space before function parentheses. (space-before-function-paren)
(#7) Unexpected space before function parentheses. (space-before-function-paren)
(#30) Unexpected space before function parentheses. (space-before-function-paren)
(#32) Unexpected space before function parentheses. (space-before-function-paren)
local/gradebook/js/demo.js
(#20) A space is required after ','. (comma-spacing)
(#20) Unexpected space before function parentheses. (space-before-function-paren)
(#21) Unexpected space before function parentheses. (space-before-function-paren)
(#22) Unexpected space before function parentheses. (space-before-function-paren)
(#23) Unexpected space before function parentheses. (space-before-function-paren)
(#23) 'index' is defined but never used (no-unused-vars)
local/gradebook/js/simple_op.js
(#5) Missing JSDoc comment. (require-jsdoc)
(#5) 'showConfirmation' is defined but never used (no-unused-vars)
(#7) Unexpected confirm. (no-alert)

CSS problems

(2 errors, 0 warnings)

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

local/gradebook/styles.css
(#77) Duplicate property '*background-color' found.
(#78) Duplicate property 'filter' found.

PHPDocs style problems

(152 errors, 0 warnings)

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

local/gradebook/advanced_operation.php
(#20) File-level phpdocs block is not found
(#18) Invalid inline phpdocs tag @author found
local/gradebook/classes/Conditional.php
(#20) File-level phpdocs block is not found
(#24) Class Conditional is not documented
(#32) Function Conditional::in_array is not documented
(#26) Constant Conditional::GREATER_THAN is not documented
(#27) Constant Conditional::LESS_THAN is not documented
(#28) Constant Conditional::GREATER_OR_EQUALS_THAN is not documented
(#29) Constant Conditional::LESS_OR_EQUALS_THAN is not documented
(#30) Constant Conditional::EQUALS_THAN is not documented
(#18) Invalid inline phpdocs tag @author found
(#24) Package is not specified for class Conditional. It is also not specified in file-level phpdocs
local/gradebook/classes/Constants.php
(#20) File-level phpdocs block is not found
(#33) Constant Constants::PLUGIN_NAME is not documented
(#24) Class Constants does not have @copyright tag
(#24) Class Constants does not have @license tag
(#18) Invalid inline phpdocs tag @author found
local/gradebook/classes/demo_calculator.php
(#20) File-level phpdocs block is not found
(#25) Class local_gradebook_demo_calculator is not documented
(#83) Phpdocs for function local_gradebook_demo_calculator::set_params_to_formula has incomplete parameters list
(#18) Invalid inline phpdocs tag @author found
(#25) Package is not specified for class local_gradebook_demo_calculator. It is also not specified in file-level phpdocs
local/gradebook/classes/form/AdvancedOperationForm.php
(#20) File-level phpdocs block is not found
(#25) Class AdvancedOperationForm is not documented
(#84) Phpdocs for function AdvancedOperationForm::add_to_form_grade_items_list has incomplete parameters list
(#103) Phpdocs for function AdvancedOperationForm::put_into_array has incomplete parameters list
(#114) Phpdocs for function AdvancedOperationForm::get_grade_items_list has incomplete parameters list
(#83) Invalid phpdocs tag @codeCoverageIgnore used
(#102) Invalid phpdocs tag @codeCoverageIgnore used
(#113) Invalid phpdocs tag @codeCoverageIgnore used
(#18) Invalid inline phpdocs tag @author found
(#25) Package is not specified for class AdvancedOperationForm. It is also not specified in file-level phpdocs
local/gradebook/classes/form/SimpleOperationForm.php
(#20) File-level phpdocs block is not found
(#23) Class SimpleOperationForm is not documented
(#25) Variable SimpleOperationForm::$checkboxelements is not documented
(#26) Variable SimpleOperationForm::$gradeid is not documented
(#28) There is no description in phpdocs for function definition
(#92) Phpdocs for function SimpleOperationForm::add_to_form_grade_items_list has incomplete parameters list
(#111) Phpdocs for function SimpleOperationForm::put_into_array has incomplete parameters list
(#122) Phpdocs for function SimpleOperationForm::get_grade_items_list has incomplete parameters list
(#29) Invalid phpdocs tag @codeCoverageIgnore used
(#91) Invalid phpdocs tag @codeCoverageIgnore used
(#110) Invalid phpdocs tag @codeCoverageIgnore used
(#121) Invalid phpdocs tag @codeCoverageIgnore used
(#18) Invalid inline phpdocs tag @author found
(#23) Package is not specified for class SimpleOperationForm. It is also not specified in file-level phpdocs
local/gradebook/classes/grade/Grade.php
(#20) File-level phpdocs block is not found
(#93) Function Grade::get_operation_from_calculation is not documented
(#79) Phpdocs for function Grade::get_idnumbers_in_array_from_calculation has incomplete parameters list
(#22) Class Grade does not have @copyright tag
(#22) Class Grade does not have @license tag
(#47) Invalid phpdocs tag @codeCoverageIgnore used
(#18) Invalid inline phpdocs tag @author found
(#24) Package local_gradebook\grade is not valid
local/gradebook/classes/grade/GradeCalculationFormatter.php
(#20) File-level phpdocs block is not found
(#23) Class GradeCalculationFormatter is not documented
(#18) Invalid inline phpdocs tag @author found
(#23) Package is not specified for class GradeCalculationFormatter. It is also not specified in file-level phpdocs
local/gradebook/classes/grade/tree/GradebookDemoTree.php
(#20) File-level phpdocs block is not found
(#23) Class GradebookDemoTree is not documented
(#26) Function GradebookDemoTree::__construct is not documented
(#18) Invalid inline phpdocs tag @author found
(#23) Package is not specified for class GradebookDemoTree. It is also not specified in file-level phpdocs
local/gradebook/classes/grade/tree/GradebookTree.php
(#20) File-level phpdocs block is not found
(#32) Phpdocs for function GradebookTree::__construct has incomplete parameters list
(#22) Class GradebookTree does not have @copyright tag
(#22) Class GradebookTree does not have @license tag
(#31) Invalid phpdocs tag @codeCoverageIgnore used
(#18) Invalid inline phpdocs tag @author found
(#24) Package local_gradebook\grade\tree is not valid
local/gradebook/db/access.php
(#20) File-level phpdocs block is not found
(#18) Invalid inline phpdocs tag @author found
local/gradebook/db/services.php
(#20) File-level phpdocs block is not found
(#18) Invalid inline phpdocs tag @author found
local/gradebook/demo.php
(#20) File-level phpdocs block is not found
(#18) Invalid inline phpdocs tag @author found
local/gradebook/externallib.php
(#20) File-level phpdocs block is not found
(#26) Class local_gradebook_externallib is not documented
(#155) Function local_gradebook_externallib::get_calc_returns is not documented
(#76) There is no description in phpdocs for function get_demo_calc
(#114) There is no description in phpdocs for function get_calc
(#79) Phpdocs for function local_gradebook_externallib::get_demo_calc has incomplete parameters list
(#115) Phpdocs for function local_gradebook_externallib::get_calc has incomplete parameters list
(#30) Invalid phpdocs tag @codeCoverageIgnore used
(#56) Invalid phpdocs tag @codeCoverageIgnore used
(#78) Invalid phpdocs tag @codeCoverageIgnore used
(#142) Invalid phpdocs tag @codeCoverageIgnore used
(#18) Invalid inline phpdocs tag @author found
(#26) Package is not specified for class local_gradebook_externallib. It is also not specified in file-level phpdocs
local/gradebook/index.php
(#20) File-level phpdocs block is not found
(#18) Invalid inline phpdocs tag @author found
local/gradebook/lang/ca/local_gradebook.php
(#19) File-level phpdocs block is not found
(#18) Invalid inline phpdocs tag @author found
local/gradebook/lang/en/local_gradebook.php
(#19) File-level phpdocs block is not found
(#18) Invalid inline phpdocs tag @author found
local/gradebook/lang/es/local_gradebook.php
(#19) File-level phpdocs block is not found
(#18) Invalid inline phpdocs tag @author found
local/gradebook/lib.php
(#21) File-level phpdocs block is not found
(#23) Invalid phpdocs tag @codeCoverageIgnore used
(#18) Invalid inline phpdocs tag @author found
(#21) Package is not specified for function local_gradebook_extend_settings_navigation. It is also not specified in file-level phpdocs
local/gradebook/locallib.php
(#20) File-level phpdocs block is not found
(#252) Class grade_edit_tree_column_demo_input is not documented
(#283) Class grade_edit_tree_column_idnumber is not documented
(#255) Function grade_edit_tree_column_demo_input::get_header_cell is not documented
(#261) Function grade_edit_tree_column_demo_input::get_item_cell is not documented
(#285) Function grade_edit_tree_column_idnumber::get_header_cell is not documented
(#291) Function grade_edit_tree_column_idnumber::get_item_cell is not documented
(#59) Phpdocs for function grade_edit_tree_column_operation::get_item_cell has incomplete parameters list
(#98) Phpdocs for function grade_edit_tree_column_simple_op::get_item_cell has incomplete parameters list
(#153) Phpdocs for function grade_edit_tree_column_advanced_actions::get_item_cell has incomplete parameters list
(#175) Phpdocs for function grade_edit_tree_column_advanced_actions::get_icon_link has incomplete parameters list
(#214) Phpdocs for function grade_edit_tree_column_weight_local::get_category_cell has incomplete parameters list
(#232) Phpdocs for function grade_edit_tree_column_weight_local::get_item_cell has incomplete parameters list
(#26) Class grade_edit_tree_column_operation does not have @copyright tag
(#81) Class grade_edit_tree_column_simple_op does not have @copyright tag
(#136) Class grade_edit_tree_column_advanced_actions does not have @copyright tag
(#196) Class grade_edit_tree_column_weight_local does not have @copyright tag
(#26) Class grade_edit_tree_column_operation does not have @license tag
(#81) Class grade_edit_tree_column_simple_op does not have @license tag
(#136) Class grade_edit_tree_column_advanced_actions does not have @license tag
(#196) Class grade_edit_tree_column_weight_local does not have @license tag
(#28) Invalid phpdocs tag @codeCoverageIgnore used
(#18) Invalid inline phpdocs tag @author found
(#26) Package is not specified for class grade_edit_tree_column_operation. It is also not specified in file-level phpdocs
(#81) Package is not specified for class grade_edit_tree_column_simple_op. It is also not specified in file-level phpdocs
(#136) Package is not specified for class grade_edit_tree_column_advanced_actions. It is also not specified in file-level phpdocs
(#196) Package is not specified for class grade_edit_tree_column_weight_local. It is also not specified in file-level phpdocs
(#252) Package is not specified for class grade_edit_tree_column_demo_input. It is also not specified in file-level phpdocs
(#283) Package is not specified for class grade_edit_tree_column_idnumber. It is also not specified in file-level phpdocs
local/gradebook/renderer.php
(#20) File-level phpdocs block is not found
(#22) Class local_gradebook_renderer is not documented
(#45) Function local_gradebook_renderer::build_parameters_to_send_by_ajax is not documented
(#18) Invalid inline phpdocs tag @author found
(#22) Package is not specified for class local_gradebook_renderer. It is also not specified in file-level phpdocs
local/gradebook/simple_operation.php
(#20) File-level phpdocs block is not found
(#18) Invalid inline phpdocs tag @author found
local/gradebook/tests/behat/behat_local_gradebook_generator.php
(#20) File-level phpdocs block is not found
(#22) Class behat_local_gradebook_generator is not documented
(#25) There is no description in phpdocs for function i_select_gradebook_on_navigation
(#37) There is no description in phpdocs for function i_am_on_local_gradebook_home
(#37) Phpdocs for function behat_local_gradebook_generator::i_am_on_local_gradebook_home has incomplete parameters list
(#18) Invalid inline phpdocs tag @author found
(#22) Package is not specified for class behat_local_gradebook_generator. It is also not specified in file-level phpdocs
local/gradebook/tests/local_gradebook_grade_test.php
(#20) File-level phpdocs block is not found
(#22) Class local_gradebook_grade_testcase does not have @copyright tag
(#22) Class local_gradebook_grade_testcase does not have @license tag
(#24) Invalid phpdocs tag @group used
(#18) Invalid inline phpdocs tag @author found
(#22) Package is not specified for class local_gradebook_grade_testcase. It is also not specified in file-level phpdocs
local/gradebook/version.php
(#20) File-level phpdocs block is not found
(#18) Invalid inline phpdocs tag @author found

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

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

local/gradebook/amd/build/democalc.min.js
Uncommitted change detected.

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]