MiniDigger/Hangar

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

Summary

Maintainability
A
1 hr
Test Coverage

Function takeoverReview has 30 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  def takeoverReview(author: String, slug: String, versionString: String): Action[String] = {
    Authenticated
      .andThen(PermissionAction(Permission.Reviewer))
      .asyncEitherT(parse.form(forms.ReviewDescription)) { implicit request =>
        for {
Severity: Minor
Found in ore/app/controllers/Reviews.scala - About 1 hr to fix

    TODO found
    Open

          roles   <- TableQuery[OrganizationRoleTable] if members.userId === roles.userId // TODO roletype lvl in database?
    Severity: Minor
    Found in ore/app/controllers/Reviews.scala by fixme

    There are no issues that match your filters.

    Category
    Status