The following Maintainability Warnings appear, when Code Analysis is ran on the RestSharp project:
CA1502 Avoid excessive complexity 'HttpEncoder.HtmlDecode(string)' has a cyclomatic complexity of 28. Rewrite or refactor the method to reduce complexity to 25. RestSharp HtmlEncoder.cs 417
CA1505 Avoid unmaintainable code 'HttpEncoder.InitEntities()' has a maintainability index of 20. Rewrite or refactor the method to increase its maintainability index (MI). An MI below 10 indicates poor maintainability, an MI between 10 and 20 indicates moderate maintainability, and an MI above 20 indicates good maintainability. RestSharp HtmlEncoder.cs 703
CA1502 Avoid excessive complexity 'JsonDeserializer.ConvertValue(Type, object)' has a cyclomatic complexity of 28. Rewrite or refactor the method to reduce complexity to 25. RestSharp JsonDeserializer.cs 193
CA1502 Avoid excessive complexity 'OAuth1Authenticator.AddOAuthData(IRestClient, IRestRequest, OAuthWorkflow)' has a cyclomatic complexity of 38. Rewrite or refactor the method to reduce complexity to 25. RestSharp OAuth1Authenticator.cs 186
CA1502 Avoid excessive complexity 'RestClient.ConfigureHttp(IRestRequest, IHttp)' has a cyclomatic complexity of 43. Rewrite or refactor the method to reduce complexity to 25. RestSharp RestClient.cs 365
CA1502 Avoid excessive complexity 'XmlDeserializer.Map(object, XElement)' has a cyclomatic complexity of 34. Rewrite or refactor the method to reduce complexity to 25. RestSharp XmlDeserializer.cs 104
CA1502 Avoid excessive complexity 'XmlSerializer.Map(XElement, object)' has a cyclomatic complexity of 28. Rewrite or refactor the method to reduce complexity to 25. RestSharp XmlSerializer.cs 110
The following Maintainability Warnings appear, when Code Analysis is ran on the RestSharp project:
CA1502 Avoid excessive complexity 'HttpEncoder.HtmlDecode(string)' has a cyclomatic complexity of 28. Rewrite or refactor the method to reduce complexity to 25. RestSharp HtmlEncoder.cs 417 CA1505 Avoid unmaintainable code 'HttpEncoder.InitEntities()' has a maintainability index of 20. Rewrite or refactor the method to increase its maintainability index (MI). An MI below 10 indicates poor maintainability, an MI between 10 and 20 indicates moderate maintainability, and an MI above 20 indicates good maintainability. RestSharp HtmlEncoder.cs 703 CA1502 Avoid excessive complexity 'JsonDeserializer.ConvertValue(Type, object)' has a cyclomatic complexity of 28. Rewrite or refactor the method to reduce complexity to 25. RestSharp JsonDeserializer.cs 193 CA1502 Avoid excessive complexity 'OAuth1Authenticator.AddOAuthData(IRestClient, IRestRequest, OAuthWorkflow)' has a cyclomatic complexity of 38. Rewrite or refactor the method to reduce complexity to 25. RestSharp OAuth1Authenticator.cs 186 CA1502 Avoid excessive complexity 'RestClient.ConfigureHttp(IRestRequest, IHttp)' has a cyclomatic complexity of 43. Rewrite or refactor the method to reduce complexity to 25. RestSharp RestClient.cs 365 CA1502 Avoid excessive complexity 'XmlDeserializer.Map(object, XElement)' has a cyclomatic complexity of 34. Rewrite or refactor the method to reduce complexity to 25. RestSharp XmlDeserializer.cs 104 CA1502 Avoid excessive complexity 'XmlSerializer.Map(XElement, object)' has a cyclomatic complexity of 28. Rewrite or refactor the method to reduce complexity to 25. RestSharp XmlSerializer.cs 110