-->

Sonar to display results generated by FxCop

2019-08-01 05:28发布

问题:

How can I use Sonar to display results of the output produced by FxCop. I used FxCop to run static code analysis on .NET Project and FxCop generate the result report in an XML format. Can I use Sonar to take this XML file an input and display the output with it? How can this be done? I am looking for an open source dash board tool to present the output the result produced by FxCop to the end user.

回答1:

Sonar has a C# plug-in, documented here:

http://docs.codehaus.org/display/SONAR/C-Sharp+Plugins+Ecosystem

A sample .NET project is hosted on Sonarsource's demo platform:

http://nemo.sonarsource.org/dashboard/index/org.mybatis:mybatisdotnet