Skip to content

Fix Swiftlint warnings in MapConnectionStatusOperation #3468

Fix Swiftlint warnings in MapConnectionStatusOperation

Fix Swiftlint warnings in MapConnectionStatusOperation #3468

Triggered via pull request September 8, 2023 13:37
Status Success
Total duration 9m 57s
Artifacts

ios.yml

on: pull_request
Check formatting
29s
Check formatting
Run swiftlint
14s
Run swiftlint
Unit tests
9m 46s
Unit tests
Fit to window
Zoom out
Zoom in

Annotations

8 warnings
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/View controllers/ProblemReport/ProblemReportViewController.swift#L347
Function body should span 50 lines or less excluding comments and whitespace: currently spans 70 lines (function_body_length)
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)