alibaba/kt-connect

View on GitHub
pkg/kt/command/options/connect.go

Summary

Maintainability
A
2 hrs
Test Coverage

Function ConnectFlags has 86 lines of code (exceeds 50 allowed). Consider refactoring.
Open

func ConnectFlags() []OptionConfig {
    flags := []OptionConfig{
        {
            Target:      "Mode",
            DefaultValue: util.ConnectModeTun2Socks,
Severity: Major
Found in pkg/kt/command/options/connect.go - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status