dotcloud/docker

View on GitHub
daemon/logger/gcplogs/gcplogging.go

Summary

Maintainability
A
2 hrs
Test Coverage

Function New has 78 lines of code (exceeds 50 allowed). Consider refactoring.
Open

func New(info logger.Info) (logger.Logger, error) {
    initGCP()

    var project string
    if projectID != "" {
Severity: Major
Found in daemon/logger/gcplogs/gcplogging.go - About 2 hrs to fix

    Function New has 5 return statements (exceeds 4 allowed).
    Open

    func New(info logger.Info) (logger.Logger, error) {
        initGCP()
    
        var project string
        if projectID != "" {
    Severity: Major
    Found in daemon/logger/gcplogs/gcplogging.go - About 35 mins to fix

      There are no issues that match your filters.

      Category
      Status