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

umputun / mpt / 16313523514 / 1
88%
master: 88%

Build:
DEFAULT BRANCH: master
Ran 16 Jul 2025 07:44AM UTC
Files 12
Run time 0s
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

16 Jul 2025 07:43AM UTC coverage: 76.946% (-2.4%) from 79.329%
16313523514.1

push

github

umputun
refactor: eliminate global gitCleanupFiles variable

- Replace global gitCleanupFiles with gitDiffer struct to encapsulate state
- Introduce GitDiffProcessor interface for dependency injection
- Move Builder methods from git.go to builder.go for better organization
- Change from manual cleanup to automatic cleanup via defer in Builder.Build()
- Add comprehensive mock call tracking to tests
- Improve thread safety by eliminating global state
- Maintain backward compatibility while improving architecture

This refactoring improves testability, eliminates potential race conditions,
and follows Go best practices for dependency injection and resource management.

1265 of 1644 relevant lines covered (76.95%)

19.68 hits per line

Source Files on job 16313523514.1
  • Tree
  • List 12
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 16313523514
  • 482b1d52 on github
  • Prev Job for on master (#16231326616.1)
  • Next Job for on master (#16314707654.1)
  • Delete
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