Skip to content

Swift lint

Swift lint #58

Triggered via pull request April 27, 2024 20:12
@AkemiAkemi
synchronize #27
swift_lint
Status Failure
Total duration 1m 33s
Artifacts

lint.yml

on: pull_request
commit-msg
8s
commit-msg
swift-lint
31s
swift-lint
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 10 warnings
swift-lint: video/out/mac/view.swift#L68
Force Try Violation: Force tries should be avoided (force_try)
swift-lint: video/out/mac/gl_layer.swift#L114
Identifier Name Violation: Variable name 'i' should be between 3 and 40 characters long (identifier_name)
swift-lint: video/out/mac/gl_layer.swift#L141
Identifier Name Violation: Variable name 't' should be between 3 and 40 characters long (identifier_name)
swift-lint: video/out/mac/gl_layer.swift#L152
Identifier Name Violation: Variable name 't' should be between 3 and 40 characters long (identifier_name)
swift-lint: video/out/mac/common.swift#L488
Cyclomatic Complexity Violation: Function should have complexity 10 or less; currently complexity is 34 (cyclomatic_complexity)
swift-lint: video/out/mac/common.swift#L488
Function Body Length Violation: Function body should span 100 lines or less excluding comments and whitespace: currently spans 157 lines (function_body_length)
swift-lint: video/out/mac/common.swift#L243
Identifier Name Violation: Variable name 'v' should be between 3 and 40 characters long (identifier_name)
swift-lint: video/out/mac/common.swift#L247
Identifier Name Violation: Variable name 'power_c4' should only contain alphanumeric and other allowed characters (identifier_name)
swift-lint: video/out/mac/common.swift#L248
Identifier Name Violation: Variable name 'power_c3' should only contain alphanumeric and other allowed characters (identifier_name)
swift-lint: video/out/mac/common.swift#L249
Identifier Name Violation: Variable name 'power_c2' should only contain alphanumeric and other allowed characters (identifier_name)
swift-lint: video/out/mac/view.swift#L77
Identifier Name Violation: Variable name 'pb' should be between 3 and 40 characters long (identifier_name)
swift-lint: video/out/mac/view.swift#L192
Identifier Name Violation: Variable name 'vF' should be between 3 and 40 characters long (identifier_name)
swift-lint: video/out/mac/view.swift#L202
Identifier Name Violation: Variable name 'pt' should be between 3 and 40 characters long (identifier_name)
swift-lint: video/out/mac/view.swift#L168
Void Function in Ternary Violation: Using ternary to call Void functions should be avoided (void_function_in_ternary)
swift-lint: video/out/mac/gl_layer.swift#L140
Identifier Name Violation: Variable name 'pf' should be between 3 and 40 characters long (identifier_name)
swift-lint: video/out/mac/gl_layer.swift#L142
Identifier Name Violation: Variable name 'ts' should be between 3 and 40 characters long (identifier_name)
swift-lint: video/out/mac/gl_layer.swift#L151
Identifier Name Violation: Variable name 'pf' should be between 3 and 40 characters long (identifier_name)
swift-lint: video/out/mac/gl_layer.swift#L153
Identifier Name Violation: Variable name 'ts' should be between 3 and 40 characters long (identifier_name)
swift-lint: video/out/mac/gl_layer.swift#L212
Identifier Name Violation: Variable name 'pf' should be between 3 and 40 characters long (identifier_name)
swift-lint: video/out/mac/gl_layer.swift#L270
Large Tuple Violation: Tuples should have at most 2 members (large_tuple)