Bloombox/Swift

View on GitHub
Sources/Client/Bloombox.swift

Summary

Maintainability
A
0 mins
Test Coverage

Global Constant should be either lowerCamelCase or UpperCamelCase
Open

internal let __BLOOMBOX_VARIANT__ = "full"
Severity: Minor
Found in Sources/Client/Bloombox.swift by tailor

constant-naming

Global constants should follow either UpperCamelCase or lowerCamelCase naming conventions. Local constants should follow lowerCamelCase naming conventions.

Preferred

let MaxHeight = 42
let maxHeight = 42

Not Preferred

let max_height = 42

Multiline comment should end with whitespace
Open

**/
Severity: Minor
Found in Sources/Client/Bloombox.swift by tailor

comment-whitespace

Prefer at least one whitespace character after a comment opening symbol (//, ///, /*, or /**) and at least one whitespace character before a comment closing symbol (*/).

Preferred

// This is a comment

/// This is a documentation comment

/* This is a
multi-line comment */

/* This is a
multi-line comment
*/

/** This is a
documentation multi-line
comment
*/

Not Preferred

//This is a comment

///This is a documentation comment

/*This is a
multi-line comment*/

/**This is a multi-line
documentation comment */

Variable names should be lowerCamelCase
Open

  private var _services: Services
Severity: Minor
Found in Sources/Client/Bloombox.swift by tailor

lower-camel-case

method and var names should follow lowerCamelCase naming convention: first letter of the entire word is lowercase, but subsequent first letters are uppercase.

Method and selector names

Preferred

func someMethod() {
    // method definition goes here
}

Not Preferred

func some-method() {
    // method definition goes here
}

Variable names

Preferred

var someVariable = someValue

Not Preferred

var Some_Var1able = someValue

Global Constant should be either lowerCamelCase or UpperCamelCase
Open

internal let __BLOOMBOX_VERSION__ = "0.5.0"
Severity: Minor
Found in Sources/Client/Bloombox.swift by tailor

constant-naming

Global constants should follow either UpperCamelCase or lowerCamelCase naming conventions. Local constants should follow lowerCamelCase naming conventions.

Preferred

let MaxHeight = 42
let maxHeight = 42

Not Preferred

let max_height = 42

There are no issues that match your filters.

Category
Status