Skip to content

Latest commit

 

History

History
41 lines (25 loc) · 1.18 KB

README.md

File metadata and controls

41 lines (25 loc) · 1.18 KB

SonarQube F# Code Analyzer Plugin

The plugin enables analysis of F# within SonarQube.

Build status

Download latest snapshot from : https://ci.appveyor.com/project/jorgecosta/sonar-fsharp-plugin-wxq94/build/artifacts

Description / Features

  • Metrics: LOC, number of classes, number of methods
  • Code duplication detection
  • FSharpLint Support
  • Unit test metrics and Coverage
  • Runs under windows and Linux (mono)

Configuration

Installation

Download the plugin from CI and copy to extensions/plugins in your SonarQube server installation. Restart the server and review the F# quality profile before running.

General Configuration

sonar.fs.file.suffixes - files extensions to import

Coverage

Generate reports and feed using the following properties:

  • sonar.fs.ncover3.reportsPaths
  • sonar.fs.opencover.reportsPaths
  • sonar.fs.dotcover.reportsPaths
  • sonar.fs.vscoveragexml.reportsPaths

Test Reports

Generate reports and feed using the following properties:

  • sonar.fs.vstest.reportsPaths
  • sonar.fs.nunit.reportsPaths