roslynator
roslynator copied to clipboard
Analyse differences between branches
Rather than analysing whole project and getting thousands of warnings, I'd like to see if each individual merge request contributes to code quality improvement or degradation. Can roslynator be used for this kind of task?
Hi, I'm sorry I don't understand what you are suggesting. Could describe your proposal more in detail?
Hi Josef,
consider the following use case. I have a branch and I'm about to merge it into master. I'm asking myself a question: is the merge going to degrade code quality in master or improve it? Let's say I only changed 3 files. I'd like to run code analysis only on those 3 files. Is it possible in current version? Would you consider it as a feature for future?
Thanks, Mike.
You can use Roslynator CLI to analyze your solution. You will see diagnostics in the console/output. CLI supports filtering by projects. It does not support filtering by files, but it can be implemented in a future. Working sample can be found here.