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

CyberDuck79 / duckfile / 18100281825
80%
main: 80%

Build:
Build:
LAST BUILD BRANCH: dependabot/go_modules/github.com/spf13/cobra-1.10.2
DEFAULT BRANCH: main
Ran 29 Sep 2025 02:23PM UTC
Jobs 1
Files 26
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

29 Sep 2025 02:22PM UTC coverage: 79.714% (+0.2%) from 79.561%
18100281825

Pull #71

github

CyberDuck79
refactor: fix SonarQube code quality issues

- Remove duplicate code blocks in config.go UnmarshalYAML method
- Reduce cognitive complexity in policy_enforcement.go FormatPolicyViolations
- Fix duplicate conditional structures in file_permissions.go FixFilePermissions
- Extract helper functions to reduce cognitive complexity in:
  - DetermineSecurityFileType (16→≤15)
  - ValidateFilePermissions (22→≤15)
  - validateSingleDirectory (16→≤15)

All functions now meet SonarQube complexity requirements while maintaining
functionality and test coverage.
Pull Request #71: refactor: fix SonarQube code quality issues

100 of 133 new or added lines in 3 files covered. (75.19%)

3 existing lines in 1 file now uncovered.

2786 of 3495 relevant lines covered (79.71%)

11.37 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
33
67.78
2.25% internal/config/file_permissions.go

Uncovered Existing Lines

Lines Coverage ∆ File
3
67.78
2.25% internal/config/file_permissions.go
Jobs
ID Job ID Ran Files Coverage
1 18100281825.1 29 Sep 2025 02:23PM UTC 26
79.71
GitHub Action Run
Source Files on build 18100281825
  • Tree
  • List 26
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #71
  • PR Base - main (#18098999622)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc