Ncss.Analyzer
1.0.0
dotnet add package Ncss.Analyzer --version 1.0.0
NuGet\Install-Package Ncss.Analyzer -Version 1.0.0
<PackageReference Include="Ncss.Analyzer" Version="1.0.0"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
paket add Ncss.Analyzer --version 1.0.0
#r "nuget: Ncss.Analyzer, 1.0.0"
// 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.
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 | 378 | 10/24/2022 |
First release