FabrizioBrancati/BFKit-Swift

View on GitHub

Showing 47 of 147 total issues

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

    convenience init(hex: String, alphaFirst: Bool = false) {

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

    func smoothGradient(colors: [UIColor], direction: UIViewGradientDirection, type: UIViewGradientType = .linear) {

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

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

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 {

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

public enum FontName: String {

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