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

openconfig / ygot / 40786811375
88%
master: 89%

Build:
Build:
LAST BUILD BRANCH: robjs-optimise-orderedmap-walk
DEFAULT BRANCH: master
Ran 28 Oct 2026 11:23PM UTC
Jobs 1
Files 85
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

28 Oct 2026 11:21PM UTC coverage: 88.372% (-0.4%) from 88.775%
40786811375

Pull #1123

github

robshakir
ytypes, util: optimise leafref node matching and scalar equality

- Guard util.DbgPrint calls in ValidateLeafRefData, dataNodesResultAtPath,
  and matchSingleNode with util.IsDebugLibraryEnabled(), and defer
  util.StripModulePrefixesStr(schema.Type.Path) to debug/error paths.
- Update util.IsNilOrInvalidValue(v) to inspect v.Kind() directly rather
  than calling IsValueNil(v.Interface()), avoiding heap-boxing of structs,
  enums, and scalar values on every check.
- Add zero-allocation type-switch fast paths in util.DeepEqualDerefPtrs for
  pointers to primitive scalars and reflect.Value.Equal for comparable
  values before falling back to reflect.DeepEqual.
- Index dereferenced string values into PathQueryResult.StringSet when
  querying >= 4 string target nodes so matchesNodesResult performs O(1)
  zero-allocation map lookups.
Pull Request #1123: ytypes, util: optimise leafref node matching and scalar equality

167 of 251 new or added lines in 3 files covered. (66.53%)

9 existing lines in 2 files now uncovered.

14257 of 16133 relevant lines covered (88.37%)

1509.44 hits per line

Uncovered Changes

Lines Coverage ∆ File
69
74.95
-12.76% ytypes/leafref.go
12
85.32
0.02% util/reflect.go
3
88.55
-2.08% util/debug.go

Coverage Regressions

Lines Coverage ∆ File
7
74.95
-12.76% ytypes/leafref.go
2
85.32
0.02% util/reflect.go
Jobs
ID Job ID Ran Files Coverage
1 40786811375.1 28 Oct 2026 11:23PM UTC 85
88.37
GitHub Action Run
Source Files on build 40786811375
  • Tree
  • List 85
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #1123
  • PR Base - master (#40608054653)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc