You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could you please create a coverage report using ReportGenerator and compare the numbers.
The coverage.cobertura.report.txt has 3 elements for method Method-SavePaymentNotifyAsync and the Cyclomatic Complexity score 18 from class OrdersService is close to the screen shot .
Hi,
I'm Trying to generate coverage report, and i get much higher Cyclomatic Complexity score then Visual Studio 2022 Code Metrics Results
Method Cyclomatic Complexity score | coverage.cobertura.report ==> 36
Method Cyclomatic Complexity score | Code Metrics Results ==> 19
what is the most reliable value that could i adopt ?
PS: I don't know if it might be relevant or not, with SonarQube i get 19, the same value as Code Metrics Results
Please find below some technical details:
Please find below some technical details:
NET 6
Xunit
coverlet.collector => 6.0.0
coverlet.msbuild => 6.0.0
coverage report format => cobertura
Attachment:
coverage.cobertura.report -> cobertura report
Method-SavePaymentNotifyAsync -> Method source code , method name: SavePaymentNotifyAsync
Code_Metrics_Results.PNG -> Visual studio screen
coverage.cobertura.report.txt
Method-SavePaymentNotifyAsync.txt
The text was updated successfully, but these errors were encountered: