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

openconfig / ygot / 1657
89%

Build:
DEFAULT BRANCH: master
Ran 20 Dec 2019 01:25AM UTC
Jobs 4
Files 162
Run time 5min
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

20 Dec 2019 01:20AM UTC coverage: 90.494% (+0.03%) from 90.464%
1657

push

travis-ci

web-flow
Split genState into smaller generators. (#338)

* Split genState into smaller generators.

Currently, genState contains all the internal state variables and
generation functions for both Go and proto, making the code more
confusing than necessary and changes to the code seemingly more
precarious due to the lack of clear separation between Go and proto
generation. This is a problem for both the reader of the code as well as
maintainers.

To help with this, genState is split into protoGenState, goGenState,
enumGenState, and schemaTree. schemaTree embeds ctree.Tree,
allowing resolveLeafrefTarget to be attached to it, acting as a helper for
generation, and enumGenState contains functionality and internal state
used for generating enum names. These two are language independent.
protoGenState and goGenState then contains the language-specific
generation functionalities.

The generation methods are partitioned either into one of these new
smaller generators, or became independent of generation state and lost
their receivers, making each of the generators easier to understand.

166 of 166 new or added lines in 7 files covered. (100.0%)

28473 of 31464 relevant lines covered (90.49%)

1123.87 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1657.1 20 Dec 2019 01:25AM UTC 0
90.49
Travis Job 1657.1
2 1657.2 20 Dec 2019 01:26AM UTC 0
90.49
Travis Job 1657.2
3 1657.3 20 Dec 2019 01:25AM UTC 0
90.49
Travis Job 1657.3
4 1657.4 20 Dec 2019 01:31AM UTC 0
90.49
Travis Job 1657.4
Source Files on build 1657
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1657
  • b7a00368 on github
  • Prev Build on master (#1650)
  • Next Build on master (#1662)
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