chamilo/chamilo-lms

View on GitHub

Internal: Fix vote handling & course ranking updates
#6073

christianbeeznest wants to merge christianbeeznest:fixes-updates68 into chamilo:master
All good!
No new issues were found.

Showing 5 of 5 total issues

Method update_course_ranking has 6 arguments (exceeds 4 allowed). Consider refactoring.
Fixed

Severity: Minor
Found in public/main/inc/lib/course.lib.php - About 45 mins to fix

    Function update_course_ranking has a Cognitive Complexity of 17 (exceeds 5 allowed). Consider refactoring.
    Fixed

    Severity: Minor
    Found in public/main/inc/lib/course.lib.php - About 2 hrs to fix

    Function add_course_vote has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring.
    Fixed

    Severity: Minor
    Found in public/main/inc/lib/course.lib.php - About 25 mins to fix

    Method get_course_ranking has 32 lines of code (exceeds 25 allowed). Consider refactoring.
    Fixed

    Severity: Minor
    Found in public/main/inc/lib/course.lib.php - About 1 hr to fix

      Method update_course_ranking has 50 lines of code (exceeds 25 allowed). Consider refactoring.
      Fixed

      Severity: Minor
      Found in public/main/inc/lib/course.lib.php - About 2 hrs to fix

        There are no issues that match your filters.

        Category
        Status