apimatic/core-lib-csharp

View on GitHub
APIMatic.Core/Request/RequestBuilder.cs

Summary

Maintainability
A
1 hr
Test Coverage
A
100%

Method AppendContentTypeHeader has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        private void AppendContentTypeHeader()
        {
            if (!ContentHeaderKeyRequired("content-type"))
            {
                return;
Severity: Minor
Found in APIMatic.Core/Request/RequestBuilder.cs - About 1 hr to fix

    Avoid too many return statements within this method.
    Open

                    return;
    Severity: Major
    Found in APIMatic.Core/Request/RequestBuilder.cs - About 30 mins to fix

      There are no issues that match your filters.

      Category
      Status