Skip to content

feat(baseline support): add SARIF output, ecosystem checks and a runtime probe#7

Merged
Baspa merged 6 commits into
mainfrom
feature/baseline-sarif-ecosystem-probe
Jun 11, 2026
Merged

feat(baseline support): add SARIF output, ecosystem checks and a runtime probe#7
Baspa merged 6 commits into
mainfrom
feature/baseline-sarif-ecosystem-probe

Add tests for uncovered branches in the new features

3e6383c
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jun 11, 2026 in 1s

91.08% (+1.27%) compared to a2416dc

View this Pull Request on Codecov

91.08% (+1.27%) compared to a2416dc

Details

Codecov Report

❌ Patch coverage is 95.15539% with 53 lines in your changes missing coverage. Please review.
✅ Project coverage is 91.08%. Comparing base (a2416dc) to head (3e6383c).

Files with missing lines Patch % Lines
src/Advices/Ecosystem/WebhookSignatureAdvice.php 86.95% 6 Missing ⚠️
src/Probes/CookieFlagsProbe.php 85.18% 4 Missing ⚠️
src/Probes/CspProbe.php 88.57% 4 Missing ⚠️
src/Probes/HttpsRedirectProbe.php 83.33% 4 Missing ⚠️
src/Probes/ReferrerPolicyProbe.php 78.94% 4 Missing ⚠️
src/Probes/ServerDisclosureProbe.php 78.94% 4 Missing ⚠️
src/Probes/XContentTypeOptionsProbe.php 73.33% 4 Missing ⚠️
src/Probes/XFrameOptionsProbe.php 76.47% 4 Missing ⚠️
src/Reporters/SarifReporter.php 96.55% 3 Missing ⚠️
src/Commands/BaselineCommand.php 92.00% 2 Missing ⚠️
... and 11 more
Additional details and impacted files
@@             Coverage Diff              @@
##               main       #7      +/-   ##
============================================
+ Coverage     89.80%   91.08%   +1.27%     
- Complexity     1795     2223     +428     
============================================
  Files           125      153      +28     
  Lines          4494     5573    +1079     
============================================
+ Hits           4036     5076    +1040     
- Misses          458      497      +39     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.