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

CyberDuck79 / duckfile / 17681172282
80%
main: 80%

Build:
Build:
LAST BUILD BRANCH: dependabot/go_modules/github.com/spf13/cobra-1.10.2
DEFAULT BRANCH: main
Ran 12 Sep 2025 05:09PM 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

12 Sep 2025 05:08PM UTC coverage: 79.529% (-0.2%) from 79.757%
17681172282

Pull #66

github

CyberDuck79
refactor: eliminate code duplication in exec tests

- Add testSetup struct to encapsulate common test state
- Create helper functions: newTestSetup, createExecCommand, runExecTest
- Extract config templates: defaultConfig, syncConfig
- Reduce repetitive cobra command initialization
- Simplify test assertions and error handling
- Maintain 100% test coverage and functionality

Addresses SonarQube code duplication findings while
improving test maintainability and readability.
Pull Request #66: feat: add exec subcommand for explicit target execution

133 of 155 new or added lines in 6 files covered. (85.81%)

2463 of 3097 relevant lines covered (79.53%)

9.93 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
50.0
cmd/duck/exec.go
9
79.26
-2.73% internal/config/config.go
10
88.77
-1.68% cmd/duck/root.go
Jobs
ID Job ID Ran Files Coverage
1 17681172282.1 12 Sep 2025 05:09PM UTC 26
79.53
GitHub Action Run
Source Files on build 17681172282
  • Tree
  • List 26
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #66
  • PR Base - main (#17532943000)
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