Skip to content

Merge branch 'feature/client-app-launch-failed-serverside' into 'feat…

Codacy Production / Codacy Static Code Analysis required action Nov 27, 2024 in 0s

101 new issues (0 max.) of at least minor severity.

Codacy Here is an overview of what got changed by this pull request:

Issues
======
+ Solved 1
- Added 101
           

Clones added
============
- SwedbankPaySDK/Classes/Beacon/BeaconEndpointRouter.swift  5
- SwedbankPaySDK/Classes/SwedbankPayConfiguration.swift  1
- SwedbankPaySDK/Classes/WebView/SCAWebViewService.swift  1
- SwedbankPaySDK/Classes/WebView/SwedbankPaySCAWebViewController.swift  8
- SwedbankPaySDK/Classes/SwedbankPayPaymentSession.swift  27
- SwedbankPaySDK/Classes/Api/SwedbankPayAPIEnpointRouter.swift  13
- SwedbankPaySDK/Classes/WebView/SwedbankPayWebViewController.swift  5
         

See the complete overview on Codacy

Annotations

Check warning on line 100 in SwedbankPaySDK/Classes/Api/Models/MethodBaseModel.swift

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

SwedbankPaySDK/Classes/Api/Models/MethodBaseModel.swift#L100

Opening braces should be preceded by a single space and on the same line as the declaration

Check warning on line 40 in SwedbankPaySDK/Classes/Api/Models/OperationOutputModel.swift

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

SwedbankPaySDK/Classes/Api/Models/OperationOutputModel.swift#L40

Lines should not have trailing whitespace

Check warning on line 35 in SwedbankPaySDK/Classes/Api/Models/PaymentAttemptInstrument.swift

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

SwedbankPaySDK/Classes/Api/Models/PaymentAttemptInstrument.swift#L35

Lines should not have trailing whitespace

Check warning on line 96 in SwedbankPaySDK/Classes/Api/SwedbankPayAPIEnpointRouter.swift

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

SwedbankPaySDK/Classes/Api/SwedbankPayAPIEnpointRouter.swift#L96

Line should be 120 characters or less; currently it has 135 characters

Check warning on line 126 in SwedbankPaySDK/Classes/Api/SwedbankPayAPIEnpointRouter.swift

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

SwedbankPaySDK/Classes/Api/SwedbankPayAPIEnpointRouter.swift#L126

Collection literals should not have trailing commas

Check warning on line 141 in SwedbankPaySDK/Classes/Api/SwedbankPayAPIEnpointRouter.swift

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

SwedbankPaySDK/Classes/Api/SwedbankPayAPIEnpointRouter.swift#L141

Collection literals should not have trailing commas

Check warning on line 215 in SwedbankPaySDK/Classes/Api/SwedbankPayAPIEnpointRouter.swift

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

SwedbankPaySDK/Classes/Api/SwedbankPayAPIEnpointRouter.swift#L215

Limit vertical whitespace to a single empty line; currently 2

Check warning on line 267 in SwedbankPaySDK/Classes/Api/SwedbankPayAPIEnpointRouter.swift

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

SwedbankPaySDK/Classes/Api/SwedbankPayAPIEnpointRouter.swift#L267

Line should be 120 characters or less; currently it has 142 characters

Check warning on line 35 in SwedbankPaySDK/Classes/ApplePay/SwedbankPayAuthorization.swift

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

SwedbankPaySDK/Classes/ApplePay/SwedbankPayAuthorization.swift#L35

Line should be 120 characters or less; currently it has 171 characters

Check warning on line 77 in SwedbankPaySDK/Classes/ApplePay/SwedbankPayAuthorization.swift

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

SwedbankPaySDK/Classes/ApplePay/SwedbankPayAuthorization.swift#L77

Line should be 120 characters or less; currently it has 130 characters

Check warning on line 71 in SwedbankPaySDK/Classes/SwedbankPayPaymentSession.swift

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

SwedbankPaySDK/Classes/SwedbankPayPaymentSession.swift#L71

Initializing an optional variable with nil is redundant

Check warning on line 80 in SwedbankPaySDK/Classes/SwedbankPayPaymentSession.swift

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

SwedbankPaySDK/Classes/SwedbankPayPaymentSession.swift#L80

Initializing an optional variable with nil is redundant

Check warning on line 301 in SwedbankPaySDK/Classes/SwedbankPayPaymentSession.swift

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

SwedbankPaySDK/Classes/SwedbankPayPaymentSession.swift#L301

Line should be 120 characters or less; currently it has 123 characters

Check warning on line 312 in SwedbankPaySDK/Classes/SwedbankPayPaymentSession.swift

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

SwedbankPaySDK/Classes/SwedbankPayPaymentSession.swift#L312

Line should be 120 characters or less; currently it has 180 characters

Check warning on line 330 in SwedbankPaySDK/Classes/SwedbankPayPaymentSession.swift

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

SwedbankPaySDK/Classes/SwedbankPayPaymentSession.swift#L330

Line should be 120 characters or less; currently it has 145 characters

Check warning on line 386 in SwedbankPaySDK/Classes/SwedbankPayPaymentSession.swift

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

SwedbankPaySDK/Classes/SwedbankPayPaymentSession.swift#L386

Line should be 120 characters or less; currently it has 145 characters

Check warning on line 387 in SwedbankPaySDK/Classes/SwedbankPayPaymentSession.swift

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

SwedbankPaySDK/Classes/SwedbankPayPaymentSession.swift#L387

Line should be 120 characters or less; currently it has 122 characters

Check warning on line 405 in SwedbankPaySDK/Classes/SwedbankPayPaymentSession.swift

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

SwedbankPaySDK/Classes/SwedbankPayPaymentSession.swift#L405

Line should be 120 characters or less; currently it has 156 characters

Check warning on line 410 in SwedbankPaySDK/Classes/SwedbankPayPaymentSession.swift

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

SwedbankPaySDK/Classes/SwedbankPayPaymentSession.swift#L410

Line should be 120 characters or less; currently it has 150 characters

Check warning on line 417 in SwedbankPaySDK/Classes/SwedbankPayPaymentSession.swift

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

SwedbankPaySDK/Classes/SwedbankPayPaymentSession.swift#L417

Function body should span 100 lines or less excluding comments and whitespace: currently spans 200 lines

Check warning on line 434 in SwedbankPaySDK/Classes/SwedbankPayPaymentSession.swift

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

SwedbankPaySDK/Classes/SwedbankPayPaymentSession.swift#L434

Line should be 120 characters or less; currently it has 125 characters

Check warning on line 459 in SwedbankPaySDK/Classes/SwedbankPayPaymentSession.swift

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

SwedbankPaySDK/Classes/SwedbankPayPaymentSession.swift#L459

Line should be 200 characters or less; currently it has 274 characters

Check warning on line 461 in SwedbankPaySDK/Classes/SwedbankPayPaymentSession.swift

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

SwedbankPaySDK/Classes/SwedbankPayPaymentSession.swift#L461

Line should be 120 characters or less; currently it has 151 characters

Check warning on line 80 in SwedbankPaySDK/Classes/WebView/SCAWebViewService.swift

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

SwedbankPaySDK/Classes/WebView/SCAWebViewService.swift#L80

Line should be 120 characters or less; currently it has 163 characters

Check warning on line 22 in SwedbankPaySDK/Classes/WebView/SwedbankPaySCAWebViewController.swift

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

SwedbankPaySDK/Classes/WebView/SwedbankPaySCAWebViewController.swift#L22

Line should be 120 characters or less; currently it has 129 characters