apiV2/app/models/querymodels/apiV2QueryModels.scala
Constructor has 22 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
createdAt: LocalDateTime,
pluginId: String,
name: String,
namespace: ProjectNamespace,
recommendedVersion: Option[String],
Function asProtocol
has 42 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
): APIV2.Project = {
val iconPath = projectFiles.getIconPath(namespace.ownerName, name)
val iconUrl =
if (iconPath.isDefined)
controllers.project.routes.Projects.showIcon(namespace.ownerName, namespace.slug).absoluteURL()
Constructor has 12 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
createdAt: LocalDateTime,
name: String,
dependenciesIds: List[String],
visibility: Visibility,
description: Option[String],
Constructor has 10 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
pluginId: String,
name: String,
namespace: ProjectNamespace,
recommendedVersion: Option[String],
recommendedVersionTags: Option[List[APIV2QueryVersionTag]],
Constructor has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
createdAt: LocalDateTime,
name: String,
tagline: Option[String],
joinDate: Option[LocalDateTime],
roles: List[Role]