core/connector.go

Summary

Maintainability
A
2 hrs
Test Coverage

Function NewConnectorFactory has 90 lines of code (exceeds 50 allowed). Consider refactoring.
Open

func NewConnectorFactory(connectorType string) ConnectorFactory {
    switch connectorType {
    case GRAPHQL_SERVER:
        return &GraphqlServerFactory{}
    case PUSH_COLLECTOR:
Severity: Major
Found in core/connector.go - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status