Does anyone know of an easy way for calculating what percentage of types, methods, and properties in a C# project are decorated with XML comments?
I am considering ways of improving on our code documentation. A team I joined a few months ago is not used to adding XML comments to their code, and both myself and other recent joiners have found it hard to get to grips with such poorly documented code. I am planning on proposing to treat this as tech debt that needs to be paid off. I figured it would be useful to set ourselves a numerical target, so that we can measure our progress towards it, and possibly bake it into our CI/CD pipeline at some point, so we don't regress. And to keep things SMART.
I am aware it's possible to treat compilation warnings about missing XML comments as errors, but that's not what I'm after. I don't want to require all public members to have comments just now (or, frankly, ever). I believe the same consideration rules out StyleCop.