MiniDigger/Hangar

View on GitHub
ore/app/controllers/Application.scala

Summary

Maintainability
B
6 hrs
Test Coverage

File Application.scala has 352 lines of code (exceeds 250 allowed). Consider refactoring.
Open

package controllers

import java.sql.Timestamp
import java.time.temporal.ChronoUnit
import java.time.{Instant, LocalDate}
Severity: Minor
Found in ore/app/controllers/Application.scala - About 4 hrs to fix

    Method showHome has 7 arguments (exceeds 4 allowed). Consider refactoring.
    Open

          categories: Seq[String],
          query: Option[String],
          sort: Option[String],
          page: Option[Int],
          platformCategory: Option[String],
    Severity: Major
    Found in ore/app/controllers/Application.scala - About 50 mins to fix

      Method showLog has 7 arguments (exceeds 4 allowed). Consider refactoring.
      Open

            oPage: Option[Int],
            userFilter: Option[DbRef[User]],
            projectFilter: Option[DbRef[Project]],
            versionFilter: Option[DbRef[Version]],
            pageFilter: Option[DbRef[Page]],
      Severity: Major
      Found in ore/app/controllers/Application.scala - About 50 mins to fix

        TODO found
        Open

              // TODO: Pages
        Severity: Minor
        Found in ore/app/controllers/Application.scala by fixme

        TODO found
        Open

                  //TODO: Make the form take json directly
        Severity: Minor
        Found in ore/app/controllers/Application.scala by fixme

        There are no issues that match your filters.

        Category
        Status