• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

dennisdoomen / packageguard / 40098723891
82%

Build:
DEFAULT BRANCH: main
Ran 24 Oct 2026 01:44PM UTC
Jobs 1
Files 114
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

24 Oct 2026 01:34PM UTC coverage: 81.135% (-0.4%) from 81.53%
40098723891

push

github

web-flow
Suggest how to resolve each policy violation (#309)

* Suggest how to resolve each policy violation

Every DENIED entry now has a "- Resolve:" line after the reason. The hint
comes from the rule that caused the violation, not from the reason text:

- license not allowed: change the allow section or use another package,
  and note that riskExceptions do not cover license rules
- deny list entry: use another package, version or license, or remove the
  entry from the config file that introduced it
- risk rule: upgrade or replace the package, or add a riskExceptions entry
  with expiresOn
- minimum package age: use an older version, wait, or add a riskExceptions
  entry
- vulnerability rule: upgrade, or add a vulnerabilityExceptions entry
- malicious package: remove it

The explain command shows the same hint for a denied package.

PolicyViolation and PolicyDecision now use documented properties instead
of positional constructors. This removes the public PolicyViolation
constructor from PackageGuard.Core.

Closes #301

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Mention the Resolve line in the explain docs

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

2600 of 3512 branches covered (74.03%)

Branch coverage included in aggregate %.

160 of 195 new or added lines in 11 files covered. (82.05%)

31 existing lines in 6 files now uncovered.

8191 of 9788 relevant lines covered (83.68%)

1892.41 hits per line

Uncovered Changes

Lines Coverage ∆ File
11
55.17
-2.33% Src/PackageGuard.Core/Policy/WarnList.cs
10
9.09
-0.37% Src/PackageGuard/ExplainCommand.cs
4
89.72
-0.68% Src/PackageGuard.Core/CSharp/CSharpProjectAnalysisStrategy.cs
4
94.77
-1.28% Src/PackageGuard.Core/Npm/NpmProjectAnalysisStrategy.cs
4
0.0
0.0% Src/PackageGuard/AnalyzeCommand.cs
2
94.23
1.73% Src/PackageGuard.Core/Policy/DenyList.cs

Coverage Regressions

Lines Coverage ∆ File
22
84.65
-2.07% Src/PackageGuard.Core/Risk/Enrichment/GitHubRepositoryRiskEnricher.cs
4
80.06
-1.66% Src/PackageGuard.Core/GitHub/GitHubApiClient.cs
2
77.42
-11.29% Src/PackageGuard.Core/GitHub/GitHubRateLimit.cs
1
89.72
-0.68% Src/PackageGuard.Core/CSharp/CSharpProjectAnalysisStrategy.cs
1
94.77
-1.28% Src/PackageGuard.Core/Npm/NpmProjectAnalysisStrategy.cs
1
9.09
-0.37% Src/PackageGuard/ExplainCommand.cs
Jobs
ID Job ID Ran Files Coverage
1 40098723891.1 24 Oct 2026 01:44PM UTC 114
81.14
GitHub Action Run
Source Files on build 40098723891
  • Tree
  • List 114
  • Changed 90
  • Source Changed 11
  • Coverage Changed 90
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #40098723891
  • be19b41d on github
  • Prev Build on main (#39633256582)
  • Next Build on main (#40113640083)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc