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

Teamwork / kommentaar / 25378422108
53%
master: 53%

Build:
Build:
LAST BUILD BRANCH: refs/tags/v0.2.8
DEFAULT BRANCH: master
Ran 05 May 2026 01:12PM UTC
Jobs 1
Files 10
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

05 May 2026 01:10PM UTC coverage: 53.04% (-0.1%) from 53.142%
25378422108

push

github

web-flow
Fix package name collision when two packages share the same base name (#111)

* Fix package name collision when two packages share the same base name

When two packages have the same last path component (e.g. sub-a/shared
and sub-b/shared both resolve to "shared"), GetReference was using
filepath.Base(pkg) as the lookup key, causing the second type to
silently overwrite the first in prog.References.

The fix adds a collision check before storing: if the key already exists
for a different package, a numeric suffix is appended (shared.Request2,
shared.Request3, …) to produce a unique key. Repeated calls for the same
colliding package reuse the existing suffixed key.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* Extract applyFieldWhitelists to reduce GetReference cyclomatic complexity

GetReference exceeded the gocyclo threshold of 65 (was 68). Extracting the
field-whitelist processing block into its own helper brings it back under
the limit without changing behaviour.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>

11 of 47 new or added lines in 1 file covered. (23.4%)

7 existing lines in 1 file now uncovered.

1169 of 2204 relevant lines covered (53.04%)

44.98 hits per line

Uncovered Changes

Lines Coverage ∆ File
36
51.02
-0.39% docparse/find.go

Coverage Regressions

Lines Coverage ∆ File
7
51.02
-0.39% docparse/find.go
Jobs
ID Job ID Ran Files Coverage
1 25378422108.1 05 May 2026 01:12PM UTC 10
53.04
GitHub Action Run
Source Files on build 25378422108
  • Tree
  • List 10
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • d2532ec1 on github
  • Prev Build on master (#24848102737)
  • 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