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
Describe the bug
This might be an extension of #606. When using -reporttypes:Cobertura the resulting output file will have 'complexity="NaN"' for async functions. This appears to be a regression as it is not an issue in 4.x versions.
Looking in the report builder it looks like there is a disagreement over the method name for async functions. For example, with the attached sample file the codeElement parsed from the file has a method with the FullName of MoveNext() while the Name is AddAsync().
To Reproduce
I've attached a sample file that can be used as an input that will show the issue. sampleCoberturaReport.txt
When that file is used as an input report, the output report will have the following:
Describe the bug
This might be an extension of #606. When using -reporttypes:Cobertura the resulting output file will have 'complexity="NaN"' for async functions. This appears to be a regression as it is not an issue in 4.x versions.
Looking in the report builder it looks like there is a disagreement over the method name for async functions. For example, with the attached sample file the codeElement parsed from the file has a method with the FullName of MoveNext() while the Name is AddAsync().
To Reproduce
I've attached a sample file that can be used as an input that will show the issue.
sampleCoberturaReport.txt
When that file is used as an input report, the output report will have the following:
The text was updated successfully, but these errors were encountered: