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

Kochava / envi / 21
97%

Build:
DEFAULT BRANCH: master
Ran 02 Mar 2018 08:21PM UTC
Jobs 1
Files 8
Run time 4s
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

pending completion
21

Pull #5

travis-ci

web-flow
Add depth checks for cyclical / nested types

This change affects all unmarshaling for nested values but prevents
infinitely recursing while trying to unmarshal cyclical types.

This adds a max depth of 8 for structs where no fields are defined
whatsoever. The counter is reset if a value if the struct containing
the field has any other field set. If the struct has no other fields,
then depth cannot be reset right now.

Further improvements could be made to use an optional interface to scan
for known keys. This just deals with the immediate problem of unbounded
recursion.

Fixes #4.
Pull Request #5: Add depth checks for cyclical / nested types

65 of 65 new or added lines in 1 file covered. (100.0%)

498 of 513 relevant lines covered (97.08%)

110.1 hits per line

Jobs
ID Job ID Ran Files Coverage
1 21.1 02 Mar 2018 08:21PM UTC 0
97.08
Travis Job 21.1
Source Files on build 21
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #21
  • Pull Request #5
  • PR Base - master (#19)
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