Ncss.Analyzer 1.0.0

dotnet add package Ncss.Analyzer --version 1.0.0
NuGet\Install-Package Ncss.Analyzer -Version 1.0.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Ncss.Analyzer" Version="1.0.0">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Ncss.Analyzer --version 1.0.0
#r "nuget: Ncss.Analyzer, 1.0.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Ncss.Analyzer as a Cake Addin
#addin nuget:?package=Ncss.Analyzer&version=1.0.0

// Install Ncss.Analyzer as a Cake Tool
#tool nuget:?package=Ncss.Analyzer&version=1.0.0

Non-Comment Source Statements (NCSS) Analyzer for Roslyn First attempt to compute the NCSS of a member's body. The analyzer triggers a diagnostic warning whenever a body NCSS is greater than 20 is computed.

The NCSS algorithm gives results closed, but not equal, to those of the Logicical Line of Code Count of Microsoft Metrics. One hypothesis that explains the difference is that we count else statements as actual statements, which does not seem to be the case for Microsoft's metric.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.0 345 10/24/2022

First release