cloudfoundry/cf-k8s-controllers

View on GitHub
api/presenter/app.go

Summary

Maintainability
A
1 hr
Test Coverage
A
100%

Function ForApp has 68 lines of code (exceeds 50 allowed). Consider refactoring.
Open

func ForApp(responseApp repositories.AppRecord, baseURL url.URL) AppResponse {
    return AppResponse{
        Name:      responseApp.Name,
        GUID:      responseApp.GUID,
        State:     string(responseApp.State),
Severity: Minor
Found in api/presenter/app.go - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status