FabrizioBrancati/BFKit-Swift

View on GitHub

Showing 147 of 147 total issues

File name should match a type or extension declared in the file (if any).
Open

//

Function should have complexity 10 or less: currently complexity equals 13
Open

    private static func handleErrorOS9(_ error: NSError) -> Result {

Function body should span 40 lines or less excluding comments and whitespace: currently spans 74 lines
Open

        func blur(radius blurRadius: CGFloat, saturation: CGFloat = 1.8, tintColor: UIColor? = nil, maskImage: UIImage? = nil) -> UIImage {

Header comments should be consistent with project patterns.
Open

// swift-tools-version:5.1
Severity: Minor
Found in Package.swift by swiftlint

Type body should span 200 lines or less excluding comments and whitespace: currently spans 257 lines
Open

public enum FontName: String {

A 'main_type' should not be placed amongst the file type(s) 'supporting_type'.
Open

public struct List<Element: Equatable>: CustomStringConvertible {

Function should have complexity 10 or less: currently complexity equals 14
Open

    func smoothGradient(colors: [UIColor], direction: UIViewGradientDirection, type: UIViewGradientType = .linear) {
Severity
Category
Status
Source
Language