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

thedevsaddam / govalidator / 196
89%

Build:
DEFAULT BRANCH: master
Ran 03 Jan 2019 08:26AM UTC
Jobs 9
Files 9
Run time 4min
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 Dec 2018 08:31PM UTC coverage: 88.852% (-0.6%) from 89.438%
196

push

travis-ci

web-flow
Merge pull request #51 from RexSkz/rex/prevent-panic-caused-by-null-value

If the request body is a JSON like `{"test":null}`, govalidator will panic when executing `traverseMap`.

```go
var m = make(map[string]interface{})
json.Unmarshal([]byte(`{"test":null}`), &m)
```

Since `m["test"]` is `nil`, `reflect.TypeOf(v)` will panic. This PR fixes the bug by dropping null values in json.

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

1331 of 1498 relevant lines covered (88.85%)

174.68 hits per line

Jobs
ID Job ID Ran Files Coverage
1 196.1 03 Jan 2019 08:26AM UTC 0
88.16
Travis Job 196.1
2 196.2 03 Jan 2019 08:26AM UTC 0
89.46
Travis Job 196.2
3 196.3 03 Jan 2019 08:26AM UTC 0
89.46
Travis Job 196.3
4 196.4 03 Jan 2019 08:26AM UTC 0
89.46
Travis Job 196.4
5 196.5 03 Jan 2019 08:26AM UTC 0
89.46
Travis Job 196.5
6 196.6 03 Jan 2019 08:27AM UTC 0
89.46
Travis Job 196.6
7 196.7 03 Jan 2019 08:29AM UTC 0
89.46
Travis Job 196.7
8 196.8 03 Jan 2019 08:29AM UTC 0
89.46
Travis Job 196.8
9 196.9 03 Jan 2019 08:30AM UTC 0
89.46
Travis Job 196.9
Source Files on build 196
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #196
  • 8625caec on github
  • Prev Build on master (#190)
  • Next Build on master (#210)
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

© 2025 Coveralls, Inc