uber-go / dig
Showing 1 of 1 files from the diff.
Newly tracked file
types.go changed.

@@ -117,7 +117,7 @@
Loading
117 117
	// TODO: this function doesn't consider e being a pointer.
118 118
	// given `type A foo { *In }`, this function would return false for
119 119
	// embedding dig.In, which makes for some extra error checking in places
120 -
	// that call this funciton. Might be worthwhile to consider reflect.Indirect
120 +
	// that call this function. Might be worthwhile to consider reflect.Indirect
121 121
	// usage to clean up the callers.
122 122
123 123
	if i == nil {
Files Coverage
internal 96.62%
cycle.go 100.00%
dig.go 98.78%
error.go 100.00%
graph.go 89.74%
group.go 100.00%
param.go 97.09%
result.go 97.15%
stringer.go 100.00%
types.go 100.00%
Project Totals (14 files) 97.91%
1
coverage:
2
  range: 70..98
3
  round: down
4
  precision: 2
5

6
  status:
7
    project:                   # measuring the overall project coverage
8
      default:                 # context, you can create multiple ones with custom titles
9
        enabled: yes           # must be yes|true to enable this status
10
        target: 97             # specify the target coverage for each commit status
11
                               #   option: "auto" (must increase from parent commit or pull request base)
12
                               #   option: "X%" a static target percentage to hit
13
        if_not_found: success  # if parent is not found report status as success, error, or failure
14
        if_ci_failed: error    # if ci fails report status as success, error, or failure
15

16
    patch:
17
      default:
18
        enabled: yes
19
        target: 70
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