sabirvirtuoso/Kraken

View on GitHub
Pod/Classes/Kraken.swift

Summary

Maintainability
A
2 hrs
Test Coverage

Function resolve has 35 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public static func resolve(_ typeToInject: Any, tag: DependencyTagConvertible? = nil) throws -> Injectable? {
        depth = depth + 1

        defer {
            depth = depth - 1
Severity: Minor
Found in Pod/Classes/Kraken.swift - About 1 hr to fix

    Function register has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        public static func register(_ interface: Any, tag: DependencyTagConvertible? = nil, implementationType: Injectable.Type,  scope: DependencyScope = .prototype, completionHandler: ((_ resolvedInstance: Injectable) -> ())? = nil) {
    Severity: Minor
    Found in Pod/Classes/Kraken.swift - About 35 mins to fix

      There are no issues that match your filters.

      Category
      Status