dolittle/DotNET.SDK

View on GitHub
Source/SDK/Handshake/Internal/HandshakeClient.cs

Summary

Maintainability
A
2 hrs
Test Coverage
F
0%

Method Perform has 40 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public async Task<HandshakeResult> Perform(uint attemptNum, TimeSpan timeSpent, Version headVersion, IClientBuildResults buildResults, CancellationToken cancellationToken)
    {
        try
        {
            var contractsVersion = Contracts.VersionInfo.CurrentVersion.ToVersion();
Severity: Minor
Found in Source/SDK/Handshake/Internal/HandshakeClient.cs - About 1 hr to fix

    Method Perform has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        public async Task<HandshakeResult> Perform(uint attemptNum, TimeSpan timeSpent, Version headVersion, IClientBuildResults buildResults, CancellationToken cancellationToken)
    Severity: Minor
    Found in Source/SDK/Handshake/Internal/HandshakeClient.cs - About 35 mins to fix

      There are no issues that match your filters.

      Category
      Status