Skip to content

Difference in issue count between CC SwiftLint engine and SwiftLint #4

@larkinscott

Description

@larkinscott

I've noticed that in about 50% of test cases, the Code Climate SwiftLint engine reports a different amount of issues than does the actual SwiftLint engine.

https://github.com/Alamofire/Alamofire

== Example/Source/AppDelegate.swift (5 issues) ==
38: Opening braces should be preceded by a single space and on the same line as the declaration. [engineswift]
39: Force casts should be avoided. [engineswift]
40: Force casts should be avoided. [engineswift]
41: Line should be 120 characters or less: currently 124 characters [engineswift]
54: Opening braces should be preceded by a single space and on the same line as the declaration. [engineswift]

== Example/Source/MasterViewController.swift (2 issues) ==
32: Initializing an optional variable with nil is redundant. [engineswift]
97: Files should have a single trailing newline. [engineswift]

== Package.swift (1 issue) ==
27: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. [engineswift]

== Source/AFError.swift (3 issues) ==
31: Line should be 120 characters or less: currently 121 characters [engineswift]
161: Line should be 120 characters or less: currently 122 characters [engineswift]
460: File should contain 400 lines or less: currently contains 460 [engineswift]

== Source/Alamofire.swift (10 issues) ==
139: Opening braces should be preceded by a single space and on the same line as the declaration. [engineswift]
187: Opening braces should be preceded by a single space and on the same line as the declaration. [engineswift]
213: Opening braces should be preceded by a single space and on the same line as the declaration. [engineswift]
243: Opening braces should be preceded by a single space and on the same line as the declaration. [engineswift]
267: Opening braces should be preceded by a single space and on the same line as the declaration. [engineswift]
301: Opening braces should be preceded by a single space and on the same line as the declaration. [engineswift]
335: Opening braces should be preceded by a single space and on the same line as the declaration. [engineswift]
383: Opening braces should be preceded by a single space and on the same line as the declaration. [engineswift]
420: Opening braces should be preceded by a single space and on the same line as the declaration. [engineswift]
465: File should contain 400 lines or less: currently contains 465 [engineswift]

== Source/MultipartFormData.swift (9 issues) ==
45: Type body should span 200 lines or less excluding comments and whitespace: currently spans 222 lines [engineswift]
54: Types should be nested at most 1 level deep [engineswift]
119: Line should be 120 characters or less: currently 128 characters [engineswift]
278: Else and catch should be on the same line, one space after the previous declaration. [engineswift]
308: Line should be 120 characters or less: currently 121 characters [engineswift]
316: Opening braces should be preceded by a single space and on the same line as the declaration. [engineswift]
539: Line should be 120 characters or less: currently 142 characters [engineswift]
550: Line should be 120 characters or less: currently 126 characters [engineswift]
580: File should contain 400 lines or less: currently contains 580 [engineswift]

== Source/NetworkReachabilityManager.swift (4 issues) ==
145: Line should be 120 characters or less: currently 122 characters [engineswift]
150: Opening braces should be preceded by a single space and on the same line as the declaration. [engineswift]
216: Operators should be surrounded by a single whitespace when defining them. [engineswift]
220: Opening braces should be preceded by a single space and on the same line as the declaration. [engineswift]

== Source/Notifications.swift (3 issues) ==
33: Line should be 120 characters or less: currently 123 characters [engineswift]
36: Line should be 120 characters or less: currently 123 characters [engineswift]
39: Line should be 120 characters or less: currently 123 characters [engineswift]

== Source/ParameterEncoding.swift (6 issues) ==
158: Line should be 120 characters or less: currently 143 characters [engineswift]
191: Line should be 120 characters or less: currently 123 characters [engineswift]
279: Line should be 120 characters or less: currently 123 characters [engineswift]
383: Line should be 120 characters or less: currently 121 characters [engineswift]
439: Opening braces should be preceded by a single space and on the same line as the declaration. [engineswift]
483: File should contain 400 lines or less: currently contains 483 [engineswift]

== Source/Request.swift (11 issues) ==
57: Line should be 120 characters or less: currently 131 characters [engineswift]
123: Delegates should be weak to avoid reference cycles. [engineswift]
165: Opening braces should be preceded by a single space and on the same line as the declaration. [engineswift]
271: Function body should span 40 lines or less excluding comments and whitespace: currently spans 47 lines [engineswift]
271: Function should have complexity 10 or less: currently complexity equals 15 [engineswift]
300: Line should be 120 characters or less: currently 121 characters [engineswift]
385: Force casts should be avoided. [engineswift]
499: Force casts should be avoided. [engineswift]
541: Opening braces should be preceded by a single space and on the same line as the declaration. [engineswift]
606: Force casts should be avoided. [engineswift]
653: File should contain 400 lines or less: currently contains 653 [engineswift]

== Source/Response.swift (14 issues) ==
44: Variable name should only contain alphanumeric characters: '_metrics' [engineswift]
62: Opening braces should be preceded by a single space and on the same line as the declaration. [engineswift]
96: Variable name should only contain alphanumeric characters: '_metrics' [engineswift]
113: Opening braces should be preceded by a single space and on the same line as the declaration. [engineswift]
203: Line should be 120 characters or less: currently 121 characters [engineswift]
226: Line should be 120 characters or less: currently 121 characters [engineswift]
278: Variable name should only contain alphanumeric characters: '_metrics' [engineswift]
300: Opening braces should be preceded by a single space and on the same line as the declaration. [engineswift]
342: Variable name should only contain alphanumeric characters: '_metrics' [engineswift]
363: Opening braces should be preceded by a single space and on the same line as the declaration. [engineswift]
462: Line should be 120 characters or less: currently 125 characters [engineswift]
487: Line should be 120 characters or less: currently 125 characters [engineswift]
520: Variable name should only contain alphanumeric characters: '_metrics' [engineswift]
567: File should contain 400 lines or less: currently contains 567 [engineswift]

== Source/ResponseSerialization.swift (23 issues) ==
114: Line should be 120 characters or less: currently 123 characters [engineswift]
148: Opening braces should be preceded by a single space and on the same line as the declaration. [engineswift]
186: Opening braces should be preceded by a single space and on the same line as the declaration. [engineswift]
222: Opening braces should be preceded by a single space and on the same line as the declaration. [engineswift]
293: Opening braces should be preceded by a single space and on the same line as the declaration. [engineswift]
333: Opening braces should be preceded by a single space and on the same line as the declaration. [engineswift]
360: Opening braces should be preceded by a single space and on the same line as the declaration. [engineswift]
382: Line should be 120 characters or less: currently 126 characters [engineswift]
415: Opening braces should be preceded by a single space and on the same line as the declaration. [engineswift]
432: Line should be 120 characters or less: currently 121 characters [engineswift]
463: Opening braces should be preceded by a single space and on the same line as the declaration. [engineswift]
490: Opening braces should be preceded by a single space and on the same line as the declaration. [engineswift]
518: Opening braces should be preceded by a single space and on the same line as the declaration. [engineswift]
536: Opening braces should be preceded by a single space and on the same line as the declaration. [engineswift]
555: Opening braces should be preceded by a single space and on the same line as the declaration. [engineswift]
584: Opening braces should be preceded by a single space and on the same line as the declaration. [engineswift]
611: Opening braces should be preceded by a single space and on the same line as the declaration. [engineswift]
639: Opening braces should be preceded by a single space and on the same line as the declaration. [engineswift]
657: Opening braces should be preceded by a single space and on the same line as the declaration. [engineswift]
676: Opening braces should be preceded by a single space and on the same line as the declaration. [engineswift]
686: Line should be 120 characters or less: currently 124 characters [engineswift]
705: Opening braces should be preceded by a single space and on the same line as the declaration. [engineswift]
715: File should contain 400 lines or less: currently contains 715 [engineswift]

== Source/ServerTrustPolicy.swift (4 issues) ==
174: Function body should span 40 lines or less excluding comments and whitespace: currently spans 43 lines [engineswift]
174: Function should have complexity 10 or less: currently complexity equals 15 [engineswift]
204: `where` clauses are preferred over a single `if` inside a `for`. [engineswift]
252: Limit vertical whitespace to a single empty line. Currently 2. [engineswift]

== Source/SessionDelegate.swift (52 issues) ==
36: Line should be 120 characters or less: currently 141 characters [engineswift]
38: Line should be 120 characters or less: currently 163 characters [engineswift]
39: Line should be 120 characters or less: currently 179 characters [engineswift]
42: Variable name should be between 3 and 40 characters long: 'sessionDidFinishEventsForBackgroundURLSession' [engineswift]
46: Line should be 120 characters or less: currently 147 characters [engineswift]
49: Line should be 120 characters or less: currently 146 characters [engineswift]
51: Line should be 120 characters or less: currently 160 characters [engineswift]
51: Variable name should be between 3 and 40 characters long: 'taskWillPerformHTTPRedirectionWithCompletion' [engineswift]
54: Line should be 120 characters or less: currently 154 characters [engineswift]
58: Line should be 120 characters or less: currently 192 characters [engineswift]
65: Line should be 120 characters or less: currently 123 characters [engineswift]
67: Line should be 120 characters or less: currently 147 characters [engineswift]
75: Line should be 120 characters or less: currently 124 characters [engineswift]
76: Line should be 120 characters or less: currently 123 characters [engineswift]
78: Line should be 120 characters or less: currently 123 characters [engineswift]
80: Line should be 120 characters or less: currently 163 characters [engineswift]
88: Line should be 120 characters or less: currently 131 characters [engineswift]
91: Line should be 120 characters or less: currently 130 characters [engineswift]
93: Line should be 120 characters or less: currently 156 characters [engineswift]
97: Line should be 120 characters or less: currently 126 characters [engineswift]
100: Line should be 120 characters or less: currently 160 characters [engineswift]
103: Line should be 120 characters or less: currently 140 characters [engineswift]
143: Line should be 120 characters or less: currently 122 characters [engineswift]
145: Line should be 120 characters or less: currently 129 characters [engineswift]
147: Line should be 120 characters or less: currently 124 characters [engineswift]
154: Variable name should only contain alphanumeric characters: '_streamTaskReadClosed' [engineswift]
154: Variable name should only contain alphanumeric characters: '_streamTaskReadClosed' [engineswift]
155: Variable name should only contain alphanumeric characters: '_streamTaskWriteClosed' [engineswift]
155: Variable name should only contain alphanumeric characters: '_streamTaskWriteClosed' [engineswift]
156: Variable name should only contain alphanumeric characters: '_streamTaskBetterRouteDiscovered' [engineswift]
156: Variable name should only contain alphanumeric characters: '_streamTaskBetterRouteDiscovered' [engineswift]
157: Variable name should only contain alphanumeric characters: '_streamTaskDidBecomeInputStream' [engineswift]
157: Variable name should only contain alphanumeric characters: '_streamTaskDidBecomeInputStream' [engineswift]
197: Line should be 120 characters or less: currently 122 characters [engineswift]
198: Function should have complexity 10 or less: currently complexity equals 12 [engineswift]
227: Line should be 120 characters or less: currently 123 characters [engineswift]
259: Opening braces should be preceded by a single space and on the same line as the declaration. [engineswift]
319: Opening braces should be preceded by a single space and on the same line as the declaration. [engineswift]
346: Opening braces should be preceded by a single space and on the same line as the declaration. [engineswift]
371: Line should be 120 characters or less: currently 123 characters [engineswift]
376: Opening braces should be preceded by a single space and on the same line as the declaration. [engineswift]
393: Line should be 120 characters or less: currently 123 characters [engineswift]
402: Opening braces should be preceded by a single space and on the same line as the declaration. [engineswift]
425: Line should be 120 characters or less: currently 123 characters [engineswift]
510: Opening braces should be preceded by a single space and on the same line as the declaration. [engineswift]
534: Opening braces should be preceded by a single space and on the same line as the declaration. [engineswift]
571: Opening braces should be preceded by a single space and on the same line as the declaration. [engineswift]
606: Opening braces should be preceded by a single space and on the same line as the declaration. [engineswift]
630: Opening braces should be preceded by a single space and on the same line as the declaration. [engineswift]
659: Opening braces should be preceded by a single space and on the same line as the declaration. [engineswift]
714: Opening braces should be preceded by a single space and on the same line as the declaration. [engineswift]
719: File should contain 400 lines or less: currently contains 719 [engineswift]

== Source/SessionManager.swift (22 issues) ==
28: Type body should span 200 lines or less excluding comments and whitespace: currently spans 382 lines [engineswift]
107: Line should be 120 characters or less: currently 121 characters [engineswift]
127: Delegates should be weak to avoid reference cycles. [engineswift]
170: Opening braces should be preceded by a single space and on the same line as the declaration. [engineswift]
189: Opening braces should be preceded by a single space and on the same line as the declaration. [engineswift]
233: Opening braces should be preceded by a single space and on the same line as the declaration. [engineswift]
324: Opening braces should be preceded by a single space and on the same line as the declaration. [engineswift]
351: Opening braces should be preceded by a single space and on the same line as the declaration. [engineswift]
370: Line should be 120 characters or less: currently 122 characters [engineswift]
371: Line should be 120 characters or less: currently 122 characters [engineswift]
388: Opening braces should be preceded by a single space and on the same line as the declaration. [engineswift]
398: Opening braces should be preceded by a single space and on the same line as the declaration. [engineswift]
420: Opening braces should be preceded by a single space and on the same line as the declaration. [engineswift]
462: Opening braces should be preceded by a single space and on the same line as the declaration. [engineswift]
508: Opening braces should be preceded by a single space and on the same line as the declaration. [engineswift]
554: Opening braces should be preceded by a single space and on the same line as the declaration. [engineswift]
615: Opening braces should be preceded by a single space and on the same line as the declaration. [engineswift]
653: Function body should span 40 lines or less excluding comments and whitespace: currently spans 46 lines [engineswift]
658: Opening braces should be preceded by a single space and on the same line as the declaration. [engineswift]
684: Line should be 120 characters or less: currently 123 characters [engineswift]
695: Line should be 120 characters or less: currently 129 characters [engineswift]
892: File should contain 400 lines or less: currently contains 892 [engineswift]

== Source/TaskDelegate.swift (16 issues) ==
87: Line should be 120 characters or less: currently 149 characters [engineswift]
98: Opening braces should be preceded by a single space and on the same line as the declaration. [engineswift]
114: Opening braces should be preceded by a single space and on the same line as the declaration. [engineswift]
138: Line should be 120 characters or less: currently 141 characters [engineswift]
154: Opening braces should be preceded by a single space and on the same line as the declaration. [engineswift]
191: Force casts should be avoided. [engineswift]
241: Opening braces should be preceded by a single space and on the same line as the declaration. [engineswift]
257: Opening braces should be preceded by a single space and on the same line as the declaration. [engineswift]
291: Opening braces should be preceded by a single space and on the same line as the declaration. [engineswift]
308: Force casts should be avoided. [engineswift]
347: Opening braces should be preceded by a single space and on the same line as the declaration. [engineswift]
383: Opening braces should be preceded by a single space and on the same line as the declaration. [engineswift]
409: Opening braces should be preceded by a single space and on the same line as the declaration. [engineswift]
425: Force casts should be avoided. [engineswift]
452: Opening braces should be preceded by a single space and on the same line as the declaration. [engineswift]
466: File should contain 400 lines or less: currently contains 466 [engineswift]

== Source/Timeline.swift (1 issue) ==
68: Opening braces should be preceded by a single space and on the same line as the declaration. [engineswift]

== Source/Validation.swift (4 issues) ==
98: Opening braces should be preceded by a single space and on the same line as the declaration. [engineswift]
115: Opening braces should be preceded by a single space and on the same line as the declaration. [engineswift]
208: Line should be 120 characters or less: currently 121 characters [engineswift]
288: Line should be 120 characters or less: currently 121 characters [engineswift]

Analysis complete! Found 190 issues.

vs.

Done linting! Found 369 violations, 57 serious in 41 files.

A similar issue can also be found in the Carthage (https://github.com/Carthage/Carthage) repo. However, I noticed that this looks a lot like duplicate issues, which I noticed in one other repo. See below:

24: Lines should not have trailing whitespace. [engineswift]
32: Lines should not have trailing whitespace. [engineswift]
41: Lines should not have trailing whitespace. [engineswift]

== Source/CarthageKit/BinaryProject.swift (8 issues) ==
2: Types, properties and methods with public or open access level should be documented. [engineswift]
2: Types, properties and methods with public or open access level should be documented. [engineswift]
2: Types, properties and methods with public or open access level should be documented. [engineswift]
2: Types, properties and methods with public or open access level should be documented. [engineswift]
2: Types, properties and methods with public or open access level should be documented. [engineswift]
2: Types, properties and methods with public or open access level should be documented. [engineswift]
2: Types, properties and methods with public or open access level should be documented. [engineswift]
2: Types, properties and methods with public or open access level should be documented. [engineswift]

== Source/CarthageKit/Git.swift (24 issues) ==
162: Closure end should have the same indentation as the line that started it. Expected 1, got 2. [engineswift]
162: Closure end should have the same indentation as the line that started it. Expected 1, got 2. [engineswift]
162: Closure end should have the same indentation as the line that started it. Expected 1, got 2. [engineswift]
162: Closure end should have the same indentation as the line that started it. Expected 1, got 2. [engineswift]
162: Closure end should have the same indentation as the line that started it. Expected 1, got 2. [engineswift]
162: Closure end should have the same indentation as the line that started it. Expected 1, got 2. [engineswift]
162: Closure end should have the same indentation as the line that started it. Expected 1, got 2. [engineswift]
162: Closure end should have the same indentation as the line that started it. Expected 1, got 2. [engineswift]
221: Closure end should have the same indentation as the line that started it. Expected 1, got 2. [engineswift]
221: Closure end should have the same indentation as the line that started it. Expected 1, got 2. [engineswift]
221: Closure end should have the same indentation as the line that started it. Expected 1, got 2. [engineswift]
221: Closure end should have the same indentation as the line that started it. Expected 1, got 2. [engineswift]
221: Closure end should have the same indentation as the line that started it. Expected 1, got 2. [engineswift]
221: Closure end should have the same indentation as the line that started it. Expected 1, got 2. [engineswift]
221: Closure end should have the same indentation as the line that started it. Expected 1, got 2. [engineswift]
221: Closure end should have the same indentation as the line that started it. Expected 1, got 2. [engineswift]
318: Tuples should have at most 2 members. [engineswift]
318: Tuples should have at most 2 members. [engineswift]
318: Tuples should have at most 2 members. [engineswift]
318: Tuples should have at most 2 members. [engineswift]
318: Tuples should have at most 2 members. [engineswift]
318: Tuples should have at most 2 members. [engineswift]
318: Tuples should have at most 2 members. [engineswift]
318: Tuples should have at most 2 members. [engineswift]

== Source/CarthageKit/Project.swift (40 issues) ==
421: Closure end should have the same indentation as the line that started it. Expected 6, got 5. [engineswift]
421: Closure end should have the same indentation as the line that started it. Expected 6, got 5. [engineswift]
421: Closure end should have the same indentation as the line that started it. Expected 6, got 5. [engineswift]
421: Closure end should have the same indentation as the line that started it. Expected 6, got 5. [engineswift]
421: Closure end should have the same indentation as the line that started it. Expected 6, got 5. [engineswift]
421: Closure end should have the same indentation as the line that started it. Expected 6, got 5. [engineswift]
421: Closure end should have the same indentation as the line that started it. Expected 6, got 5. [engineswift]
421: Closure end should have the same indentation as the line that started it. Expected 6, got 5. [engineswift]
926: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. [engineswift]
926: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. [engineswift]
926: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. [engineswift]
926: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. [engineswift]
926: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. [engineswift]
926: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. [engineswift]
926: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. [engineswift]
926: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals. [engineswift]
974: TODOs should be avoided (explore possibility of messagi...). [engineswift]
974: TODOs should be avoided (explore possibility of messagi...). [engineswift]
974: TODOs should be avoided (explore possibility of messagi...). [engineswift]
974: TODOs should be avoided (explore possibility of messagi...). [engineswift]
974: TODOs should be avoided (explore possibility of messagi...). [engineswift]
974: TODOs should be avoided (explore possibility of messagi...). [engineswift]
974: TODOs should be avoided (explore possibility of messagi...). [engineswift]
974: TODOs should be avoided (explore possibility of messagi...). [engineswift]
997: Function body should span 40 lines or less excluding comments and whitespace: currently spans 45 lines [engineswift]
997: Function body should span 40 lines or less excluding comments and whitespace: currently spans 45 lines [engineswift]
997: Function body should span 40 lines or less excluding comments and whitespace: currently spans 45 lines [engineswift]
997: Function body should span 40 lines or less excluding comments and whitespace: currently spans 45 lines [engineswift]
997: Function body should span 40 lines or less excluding comments and whitespace: currently spans 45 lines [engineswift]
997: Function body should span 40 lines or less excluding comments and whitespace: currently spans 45 lines [engineswift]
997: Function body should span 40 lines or less excluding comments and whitespace: currently spans 45 lines [engineswift]
997: Function body should span 40 lines or less excluding comments and whitespace: currently spans 45 lines [engineswift]
1316: Closure end should have the same indentation as the line that started it. Expected 1, got 2. [engineswift]
1316: Closure end should have the same indentation as the line that started it. Expected 1, got 2. [engineswift]
1316: Closure end should have the same indentation as the line that started it. Expected 1, got 2. [engineswift]
1316: Closure end should have the same indentation as the line that started it. Expected 1, got 2. [engineswift]
1316: Closure end should have the same indentation as the line that started it. Expected 1, got 2. [engineswift]
1316: Closure end should have the same indentation as the line that started it. Expected 1, got 2. [engineswift]
1316: Closure end should have the same indentation as the line that started it. Expected 1, got 2. [engineswift]
1316: Closure end should have the same indentation as the line that started it. Expected 1, got 2. [engineswift]

== Source/CarthageKit/Resolver.swift (24 issues) ==
3: Types, properties and methods with public or open access level should be documented. [engineswift]
3: Types, properties and methods with public or open access level should be documented. [engineswift]
3: Types, properties and methods with public or open access level should be documented. [engineswift]
3: Types, properties and methods with public or open access level should be documented. [engineswift]
3: Types, properties and methods with public or open access level should be documented. [engineswift]
3: Types, properties and methods with public or open access level should be documented. [engineswift]
3: Types, properties and methods with public or open access level should be documented. [engineswift]
3: Types, properties and methods with public or open access level should be documented. [engineswift]
198: Closure end should have the same indentation as the line that started it. Expected 2, got 3. [engineswift]
198: Closure end should have the same indentation as the line that started it. Expected 2, got 3. [engineswift]
198: Closure end should have the same indentation as the line that started it. Expected 2, got 3. [engineswift]
198: Closure end should have the same indentation as the line that started it. Expected 2, got 3. [engineswift]
198: Closure end should have the same indentation as the line that started it. Expected 2, got 3. [engineswift]
198: Closure end should have the same indentation as the line that started it. Expected 2, got 3. [engineswift]
198: Closure end should have the same indentation as the line that started it. Expected 2, got 3. [engineswift]
198: Closure end should have the same indentation as the line that started it. Expected 2, got 3. [engineswift]
208: Closure end should have the same indentation as the line that started it. Expected 6, got 7. [engineswift]
208: Closure end should have the same indentation as the line that started it. Expected 6, got 7. [engineswift]
208: Closure end should have the same indentation as the line that started it. Expected 6, got 7. [engineswift]
208: Closure end should have the same indentation as the line that started it. Expected 6, got 7. [engineswift]
208: Closure end should have the same indentation as the line that started it. Expected 6, got 7. [engineswift]
208: Closure end should have the same indentation as the line that started it. Expected 6, got 7. [engineswift]
208: Closure end should have the same indentation as the line that started it. Expected 6, got 7. [engineswift]
208: Closure end should have the same indentation as the line that started it. Expected 6, got 7. [engineswift]

== Source/CarthageKit/Xcode.swift (48 issues) ==
105: Function body should span 40 lines or less excluding comments and whitespace: currently spans 41 lines [engineswift]
105: Function body should span 40 lines or less excluding comments and whitespace: currently spans 41 lines [engineswift]
105: Function body should span 40 lines or less excluding comments and whitespace: currently spans 41 lines [engineswift]
105: Function body should span 40 lines or less excluding comments and whitespace: currently spans 41 lines [engineswift]
105: Function body should span 40 lines or less excluding comments and whitespace: currently spans 41 lines [engineswift]
105: Function body should span 40 lines or less excluding comments and whitespace: currently spans 41 lines [engineswift]
105: Function body should span 40 lines or less excluding comments and whitespace: currently spans 41 lines [engineswift]
105: Function body should span 40 lines or less excluding comments and whitespace: currently spans 41 lines [engineswift]
438: Function should have 5 parameters or less: it currently has 8 [engineswift]
438: Function should have 5 parameters or less: it currently has 8 [engineswift]
438: Function should have 5 parameters or less: it currently has 8 [engineswift]
438: Function should have 5 parameters or less: it currently has 8 [engineswift]
438: Function should have 5 parameters or less: it currently has 8 [engineswift]
438: Function should have 5 parameters or less: it currently has 8 [engineswift]
438: Function should have 5 parameters or less: it currently has 8 [engineswift]
438: Function should have 5 parameters or less: it currently has 8 [engineswift]
498: TODOs should be avoided (Generalize this further?). [engineswift]
498: TODOs should be avoided (Generalize this further?). [engineswift]
498: TODOs should be avoided (Generalize this further?). [engineswift]
498: TODOs should be avoided (Generalize this further?). [engineswift]
498: TODOs should be avoided (Generalize this further?). [engineswift]
498: TODOs should be avoided (Generalize this further?). [engineswift]
498: TODOs should be avoided (Generalize this further?). [engineswift]
498: TODOs should be avoided (Generalize this further?). [engineswift]
584: Function body should span 40 lines or less excluding comments and whitespace: currently spans 54 lines [engineswift]
584: Function body should span 40 lines or less excluding comments and whitespace: currently spans 54 lines [engineswift]
584: Function body should span 40 lines or less excluding comments and whitespace: currently spans 54 lines [engineswift]
584: Function body should span 40 lines or less excluding comments and whitespace: currently spans 54 lines [engineswift]
584: Function body should span 40 lines or less excluding comments and whitespace: currently spans 54 lines [engineswift]
584: Function body should span 40 lines or less excluding comments and whitespace: currently spans 54 lines [engineswift]
584: Function body should span 40 lines or less excluding comments and whitespace: currently spans 54 lines [engineswift]
584: Function body should span 40 lines or less excluding comments and whitespace: currently spans 54 lines [engineswift]
735: Function should have 5 parameters or less: it currently has 8 [engineswift]
735: Function should have 5 parameters or less: it currently has 8 [engineswift]
735: Function should have 5 parameters or less: it currently has 8 [engineswift]
735: Function should have 5 parameters or less: it currently has 8 [engineswift]
735: Function should have 5 parameters or less: it currently has 8 [engineswift]
735: Function should have 5 parameters or less: it currently has 8 [engineswift]
735: Function should have 5 parameters or less: it currently has 8 [engineswift]
735: Function should have 5 parameters or less: it currently has 8 [engineswift]
805: Function should have 5 parameters or less: it currently has 6 [engineswift]
805: Function should have 5 parameters or less: it currently has 6 [engineswift]
805: Function should have 5 parameters or less: it currently has 6 [engineswift]
805: Function should have 5 parameters or less: it currently has 6 [engineswift]
805: Function should have 5 parameters or less: it currently has 6 [engineswift]
805: Function should have 5 parameters or less: it currently has 6 [engineswift]
805: Function should have 5 parameters or less: it currently has 6 [engineswift]
805: Function should have 5 parameters or less: it currently has 6 [engineswift]

== Source/XCDBLD/Platform.swift (8 issues) ==
38: TODOs should be avoided (this won't be necessary anymor...). [engineswift]
38: TODOs should be avoided (this won't be necessary anymor...). [engineswift]
38: TODOs should be avoided (this won't be necessary anymor...). [engineswift]
38: TODOs should be avoided (this won't be necessary anymor...). [engineswift]
38: TODOs should be avoided (this won't be necessary anymor...). [engineswift]
38: TODOs should be avoided (this won't be necessary anymor...). [engineswift]
38: TODOs should be avoided (this won't be necessary anymor...). [engineswift]
38: TODOs should be avoided (this won't be necessary anymor...). [engineswift]

== Source/XCDBLD/SDK.swift (16 issues) ==
77: Parentheses are not needed when declaring closure arguments. [engineswift]
77: Parentheses are not needed when declaring closure arguments. [engineswift]
77: Parentheses are not needed when declaring closure arguments. [engineswift]
77: Parentheses are not needed when declaring closure arguments. [engineswift]
77: Parentheses are not needed when declaring closure arguments. [engineswift]
77: Parentheses are not needed when declaring closure arguments. [engineswift]
77: Parentheses are not needed when declaring closure arguments. [engineswift]
77: Parentheses are not needed when declaring closure arguments. [engineswift]
87: TODOs should be avoided (this won't be necessary anymor...). [engineswift]
87: TODOs should be avoided (this won't be necessary anymor...). [engineswift]
87: TODOs should be avoided (this won't be necessary anymor...). [engineswift]
87: TODOs should be avoided (this won't be necessary anymor...). [engineswift]
87: TODOs should be avoided (this won't be necessary anymor...). [engineswift]
87: TODOs should be avoided (this won't be necessary anymor...). [engineswift]
87: TODOs should be avoided (this won't be necessary anymor...). [engineswift]
87: TODOs should be avoided (this won't be necessary anymor...). [engineswift]

== Source/carthage/Archive.swift (8 issues) ==
40: Function body should span 40 lines or less excluding comments and whitespace: currently spans 57 lines [engineswift]
40: Function body should span 40 lines or less excluding comments and whitespace: currently spans 57 lines [engineswift]
40: Function body should span 40 lines or less excluding comments and whitespace: currently spans 57 lines [engineswift]
40: Function body should span 40 lines or less excluding comments and whitespace: currently spans 57 lines [engineswift]
40: Function body should span 40 lines or less excluding comments and whitespace: currently spans 57 lines [engineswift]
40: Function body should span 40 lines or less excluding comments and whitespace: currently spans 57 lines [engineswift]
40: Function body should span 40 lines or less excluding comments and whitespace: currently spans 57 lines [engineswift]
40: Function body should span 40 lines or less excluding comments and whitespace: currently spans 57 lines [engineswift]

Analysis complete! Found 179 issues.

vs.

Done linting! Found 22 violations, 0 serious in 51 files.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions