oauth2-proxy/oauth2-proxy

View on GitHub
pkg/apis/options/legacy_options.go

Summary

Maintainability
C
1 day
Test Coverage
A
92%

File legacy_options.go has 665 lines of code (exceeds 500 allowed). Consider refactoring.
Open

package options

import (
    "fmt"
    "net/url"
Severity: Minor
Found in pkg/apis/options/legacy_options.go - About 5 hrs to fix

    Method LegacyProvider.convert has 109 lines of code (exceeds 50 allowed). Consider refactoring.
    Open

    func (l *LegacyProvider) convert() (Providers, error) {
        providers := Providers{}
    
        provider := Provider{
            ClientID:                 l.ClientID,
    Severity: Major
    Found in pkg/apis/options/legacy_options.go - About 3 hrs to fix

      There are no issues that match your filters.

      Category
      Status