31 VIOLATION The class theme_gologo_core_calendar_renderer has an overall complexity of 88 which is very high. The configured complexity threshold is 50.
31 VIOLATION The class theme_gologo_core_calendar_renderer has a coupling between objects value of 15. Consider to reduce the number of dependencies under 13.
62 VIOLATION Avoid unused parameters such as '$day'.
62 VIOLATION Avoid unused parameters such as '$month'.
62 VIOLATION Avoid unused parameters such as '$year'.
62 VIOLATION Avoid unused parameters such as '$view'.
62 VIOLATION Avoid unused parameters such as '$courses'.
221 VIOLATION The method event() has a Cyclomatic Complexity of 14. The configured cyclomatic complexity threshold is 10.
221 VIOLATION The method event() has an NPath complexity of 1024. The configured NPath complexity threshold is 200.
221 VIOLATION The method event has a boolean flag argument $showactions, which is a certain sign of a Single Responsibility Principle violation.
308 VIOLATION The method show_month_detailed() has a Cyclomatic Complexity of 31. The configured cyclomatic complexity threshold is 10.
308 VIOLATION The method show_month_detailed() has an NPath complexity of 8296320. The configured NPath complexity threshold is 200.
308 VIOLATION The method show_month_detailed() has 200 lines of code. Current threshold is set to 100. Avoid really long methods.
557 VIOLATION Avoid unused local variables such as '$USER'.
557 VIOLATION Avoid unused local variables such as '$SESSION'.
===== =========== ===================================================================================================================================================
FILE: theme/gologo/classes/core_renderer.php
FOUND 0 ERRORS AND 6 VIOLATIONS
===== =========== =====================================================================================================================================
27 VIOLATION The class theme_gologo_core_renderer has an overall complexity of 57 which is very high. The configured complexity threshold is 50.
35 VIOLATION Avoid unused local variables such as '$CFG'.
131 VIOLATION The method login_info() has a Cyclomatic Complexity of 26. The configured cyclomatic complexity threshold is 10.
131 VIOLATION The method login_info() has an NPath complexity of 6384. The configured NPath complexity threshold is 200.
251 VIOLATION Avoid unused local variables such as '$CFG'.
299 VIOLATION Avoid unused parameters such as '$action'.