Code Monkey home page Code Monkey logo

resharper-report-format's Introduction

ReSharper XSLT for Code Inspection Reports

With some larger code bases it is impossible to export a formatted ReSharper report due to the fact that it crashes Visual Studio. For this reason the report is often exported as XML and then transformed using XSLT. Unfortunately, there is not an XSLT provided by default and therefore you must create your own.

The goal of this project is to provide an XSLT for beautifying said reports for distribution to the stakeholders of a project.

Prerequisites

If you would like to make use of the Powershell script you will first need to install the following prerequisites on your system and have them accessible globally from the command line. My suggestion is that you make use of the Chocolatey package manager for Windows to install the ReSharper command line tools.

Duplicate Finder

Configuring Duplicate Finder

TBD.

Running Duplicate Finder

dupfinder --config={my-config-file} --output={my-output-name} {my-solution-file}

dupfinder --config=dupfinder.config --output=report.xml MyProduct.sln

Compiling Duplicate Finder Report to HTML

transform -s:{xml-file} -xsl:{xsl-file} -o:{report-file}

transform -s:report.xml -xsl:DuplicateFinder.xsl -o:report.html

Code Inspector

Configuring Code Inspector

You should supply a .DotSettings file alongside your solution or project file. This file can be generated by using the ReSharper project in Visual Studio.

Running Code Inspector

inspectcode --output={report-file} --format=xml {solution-file}

inspectcode --output=report.xml --format=xml MySolution.sln

Compiling the Code Inspection Report to HTML

transform -s:{xml-file} -xsl:{xsl-file} -o:{report-file}

transform -s:report.xml -xsl:InspectCode.xsl -o:report.html

resharper-report-format's People

Contributors

matthewkimber avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.