sabirvirtuoso/Kraken

View on GitHub
Pod/Classes/RuntimeArguments.swift

Summary

Maintainability
A
2 hrs
Test Coverage

Function registerFactory has 6 arguments (exceeds 4 allowed). Consider refactoring.
Open

    fileprivate static func registerFactory<F>(_ interface: Any, tag: DependencyTagConvertible?, scope: DependencyScope, factory: F, numberOfArguments: Int = 0, completionHandler: ((Injectable) -> ())? = nil) {
Severity: Minor
Found in Pod/Classes/RuntimeArguments.swift - About 45 mins to fix

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

    public func inject<Arg1, Arg2, Arg3, T>(_ typeToInject: T.Type, tag: DependencyTagConvertible? = nil, withArguments arg1: Arg1, _ arg2: Arg2, _ arg3: Arg3) -> T where T: Any {
    Severity: Minor
    Found in Pod/Classes/RuntimeArguments.swift - About 35 mins to fix

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

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

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

            public static func inject<Arg1, Arg2, Arg3>(_ typeToInject: Any, tag: DependencyTagConvertible? = nil, withArguments arg1: Arg1, _ arg2: Arg2, _ arg3: Arg3) throws -> Injectable? {
        Severity: Minor
        Found in Pod/Classes/RuntimeArguments.swift - About 35 mins to fix

          There are no issues that match your filters.

          Category
          Status