Showing 1 of 2 files from the diff.
Other files ignored by Codecov
request_test.go has changed.

@@ -274,7 +274,9 @@
Loading
274 274
	}
275 275
276 276
	var clientIP string
277 -
	if ip := req.Header.Get("X-Forwarded-For"); ip != "" {
277 +
	// Parse the Forwarded header as they can be in form
278 +
	// X-Forwarded-For: <original_client>, [proxy1], [proxy2>
279 +
	if ip := strings.TrimSpace(strings.Split(req.Header.Get("X-Forwarded-For"), ",")[0]); ip != "" {
278 280
		clientIP = ip
279 281
	} else if ip := req.Header.Get("X-Real-IP"); ip != "" {
280 282
		clientIP = ip
Files Coverage
cmd/elegen 7.69%
atomicjob.go 100.00%
attribute.go 77.36%
encoding.go 97.06%
error.go 100.00%
event.go 96.88%
filterparser.go 87.66%
filterparser_options.go 100.00%
filters.go 98.81%
filterscanner.go 94.52%
identity.go 100.00%
matcher.go 98.39%
matcher_errors.go 100.00%
namespacer.go 100.00%
operations.go 100.00%
parameters.go 100.00%
push_config.go 100.00%
relationships.go 100.00%
request.go 100.00%
response.go 100.00%
utils.go 100.00%
validators.go 100.00%
verify.go 97.18%
Project Totals (25 files) 83.02%
699.2
1.14.x=.14.x
TRAVIS_OS_NAME=linux
699.1
1.13.x=.13.x
TRAVIS_OS_NAME=linux

No yaml found.

Create your codecov.yml to customize your Codecov experience

Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading