Fix Swiftlint warnings in ProblemReportViewController #3471
Triggered via pull request
September 8, 2023 14:22
Status
Failure
Total duration
11m 40s
Artifacts
–
Annotations
1 error and 7 warnings
Check formatting
Process completed with exit code 1.
|
Run swiftlint:
PacketTunnel/PacketTunnelProvider.swift#L127
Function body should span 50 lines or less excluding comments and whitespace: currently spans 53 lines (function_body_length)
|
Run swiftlint:
PacketTunnel/PacketTunnelProvider.swift#L284
Function body should span 50 lines or less excluding comments and whitespace: currently spans 54 lines (function_body_length)
|
Run swiftlint:
Operations/AsyncOperation.swift#L403
File should contain 400 lines or less: currently contains 403 (file_length)
|
Run swiftlint:
PacketTunnelCore/TunnelMonitor/TunnelMonitor.swift#L101
Function should have complexity 10 or less; currently complexity is 16 (cyclomatic_complexity)
|
Run swiftlint:
MullvadVPN/AppDelegate.swift#L48
Function body should span 50 lines or less excluding comments and whitespace: currently spans 68 lines (function_body_length)
|
Run swiftlint:
MullvadVPN/AppDelegate.swift#L361
Function body should span 50 lines or less excluding comments and whitespace: currently spans 57 lines (function_body_length)
|
Run swiftlint:
MullvadVPN/Containers/Root/RootContainerViewController.swift#L456
Function should have complexity 10 or less; currently complexity is 18 (cyclomatic_complexity)
|