NVika 3.0.1

dotnet tool install --global NVika --version 3.0.1
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo
dotnet tool install --local NVika --version 3.0.1
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=NVika&version=3.0.1
nuke :add-package NVika --version 3.0.1

Project icon vika

Visual Interpreter of Kooky Analysis. Also means 'bug' in Finnish.

Licence Apache 2 Build Sonarcloud Status

What it is

Right now it's just a tiny tool which parse analysis reports and send messages to the build server, or in console if it's not executed on a build server.

Installation

Usage

You can use it like this: NVika parsereport "inspectcodereport.xml"

It is possible to process several reports at the same time: NVika parsereport report1.xml report2.xml

additional params:

  • --debug: active the debug category on logger, useful for debugging
  • --includesource: include the report source name in messages
  • --treatwarningsaserrors: treat all warnings as errors

exit codes:

  • 0: OK
  • 1: unknown error
  • 2: report not found
  • 3: exception during report loading
  • 4: no parser found for the current report
  • 5: issue(s) with error severity was found

Analysis tools

Supported

  • InspectCode: example of usage inspectcode /o="inspectcodereport.json" "Vika.sln"
  • Analyzers producing SARIF format, like Roslyn analyzers: for those you need to add an ErrorLog node in your csproj containing the path of the report followed by ;version=2 in order to produce a SARIF 2.1 version report, or an /errorlog:<reportPath>;version=2 switch for csc; See NVika.csproj
  • FxCop: example of usage fxcopcmd /file:NVika.dll /out:FxCopResults.xml. Or activate Code Analysis in the corresponding tab of your project properties in Visual Studio.
  • Mono.Gendarme: example of usafe gendarme --xml GendarmeReport.xml "\GendarmeTest.exe"

To come

Build servers

Supported

To come

I am really wondering if there is any value to supporting these three, because there doesn't support to add build message like AppVeyor but only log message. And they support custom HTML report, so an xslt transformation is enough.

Contributing

All contributions are welcome, please read our contributing guide.

Attribution

Icon: Report designed by Nataliia Lytvyn from The Noun Project.

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last updated
3.0.1 168 5/4/2024
3.0.0 28,380 5/18/2022
2.3.0 417 5/17/2022
2.2.0 49,230 11/4/2021
2.1.5 336 11/3/2021
2.0.0 11,728 11/2/2020