Lightlines
By dotnet

crap-score

dotnet2.6k installs

Find complex .NET methods that need more tests.

What it does

Identifies risky .NET methods by combining code complexity and test coverage into CRAP scores.

When to use it

Use for CRAP calculations or test prioritization within a named method, class, or file.

How to use it

Give it a method, class, or file in your .NET project; it returns CRAP scores and coverage-and-complexity risk priorities.

What you provide

  • a method, class, or file
  • An existing project

Latest review

What you need · 1

Invokes run-tests to classify the test platform and confirm a compatible coverage command when coverage must be collected; a valid supplied report bypasses this step.


Access · 0

No additional actions listed.