changeweb/Unifiedtransform

View on GitHub
app/Repositories/MarkRepository.php

Summary

Maintainability
A
3 hrs
Test Coverage

Method getAllByStudentId has 6 arguments (exceeds 4 allowed). Consider refactoring.
Open

    public function getAllByStudentId($session_id, $semester_id, $class_id, $section_id, $course_id, $student_id) {
Severity: Minor
Found in app/Repositories/MarkRepository.php - About 45 mins to fix

    Method getAllFinalMarksByStudentId has 6 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        public function getAllFinalMarksByStudentId($session_id, $student_id, $semester_id, $class_id, $section_id, $course_id) {
    Severity: Minor
    Found in app/Repositories/MarkRepository.php - About 45 mins to fix

      Method getAllFinalMarks has 5 arguments (exceeds 4 allowed). Consider refactoring.
      Open

          public function getAllFinalMarks($session_id, $semester_id, $class_id, $section_id, $course_id) {
      Severity: Minor
      Found in app/Repositories/MarkRepository.php - About 35 mins to fix

        Method getAll has 5 arguments (exceeds 4 allowed). Consider refactoring.
        Open

            public function getAll($session_id, $semester_id, $class_id, $section_id, $course_id) {
        Severity: Minor
        Found in app/Repositories/MarkRepository.php - About 35 mins to fix

          Method getFinalMarksCount has 5 arguments (exceeds 4 allowed). Consider refactoring.
          Open

              public function getFinalMarksCount($session_id, $semester_id, $class_id, $section_id, $course_id) {
          Severity: Minor
          Found in app/Repositories/MarkRepository.php - About 35 mins to fix

            There are no issues that match your filters.

            Category
            Status