Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 4839

Code metrics in visual studio without compiler generated code [closed]

$
0
0

I have a Blazor Server project that also uses ANTLR.Compiler generates c# code files for every .razor file and ANTL grammar file. This skews the code metrics in visual studio. While the dev controlled LoCs are small, the compiler generated files have large number of lines of code - which should not be manually modified.

For example, my 380 lines of ANTLR grammar files result in ~17,000 LoC in the code metrics. 170 razor components show 72,000 LoC (avg ~423( when the largest razor file has 240 lines.

Is there a way to remove the compiler generated files from the code metrics calculation?


Viewing all articles
Browse latest Browse all 4839

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>