Skip to content

Improve test coverage

Codecov / codecov/patch succeeded Sep 28, 2023 in 1s

78.88% of diff hit (target 57.54%)

View this Pull Request on Codecov

78.88% of diff hit (target 57.54%)

Annotations

Check warning on line 146 in v2/backend_record.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

v2/backend_record.go#L145-L146

Added lines #L145 - L146 were not covered by tests

Check warning on line 180 in v2/backend_record.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

v2/backend_record.go#L179-L180

Added lines #L179 - L180 were not covered by tests

Check warning on line 98 in v2/dht.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

v2/dht.go#L98

Added line #L98 was not covered by tests

Check warning on line 160 in v2/dht.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

v2/dht.go#L160

Added line #L160 was not covered by tests

Check warning on line 163 in v2/dht.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

v2/dht.go#L162-L163

Added lines #L162 - L163 were not covered by tests

Check warning on line 171 in v2/dht.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

v2/dht.go#L170-L171

Added lines #L170 - L171 were not covered by tests

Check warning on line 180 in v2/dht.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

v2/dht.go#L179-L180

Added lines #L179 - L180 were not covered by tests

Check warning on line 185 in v2/dht.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

v2/dht.go#L184-L185

Added lines #L184 - L185 were not covered by tests

Check warning on line 193 in v2/dht.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

v2/dht.go#L192-L193

Added lines #L192 - L193 were not covered by tests

Check warning on line 198 in v2/dht.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

v2/dht.go#L197-L198

Added lines #L197 - L198 were not covered by tests

Check warning on line 16 in v2/errors.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

v2/errors.go#L15-L16

Added lines #L15 - L16 were not covered by tests

Check warning on line 21 in v2/errors.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

v2/errors.go#L20-L21

Added lines #L20 - L21 were not covered by tests

Check warning on line 17 in v2/errs/errors.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

v2/errs/errors.go#L13-L17

Added lines #L13 - L17 were not covered by tests

Check warning on line 21 in v2/errs/errors.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

v2/errs/errors.go#L20-L21

Added lines #L20 - L21 were not covered by tests

Check warning on line 72 in v2/internal/coord/brdcst.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

v2/internal/coord/brdcst.go#L69-L72

Added lines #L69 - L72 were not covered by tests

Check warning on line 100 in v2/internal/coord/brdcst.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

v2/internal/coord/brdcst.go#L89-L100

Added lines #L89 - L100 were not covered by tests

Check warning on line 107 in v2/internal/coord/brdcst.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

v2/internal/coord/brdcst.go#L104-L107

Added lines #L104 - L107 were not covered by tests

Check warning on line 136 in v2/internal/coord/brdcst.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

v2/internal/coord/brdcst.go#L124-L136

Added lines #L124 - L136 were not covered by tests

Check warning on line 141 in v2/internal/coord/brdcst.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

v2/internal/coord/brdcst.go#L138-L141

Added lines #L138 - L141 were not covered by tests

Check warning on line 152 in v2/internal/coord/brdcst.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

v2/internal/coord/brdcst.go#L152

Added line #L152 was not covered by tests

Check warning on line 174 in v2/internal/coord/brdcst.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

v2/internal/coord/brdcst.go#L172-L174

Added lines #L172 - L174 were not covered by tests

Check warning on line 183 in v2/internal/coord/brdcst.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

v2/internal/coord/brdcst.go#L180-L183

Added lines #L180 - L183 were not covered by tests

Check warning on line 188 in v2/internal/coord/brdcst.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

v2/internal/coord/brdcst.go#L186-L188

Added lines #L186 - L188 were not covered by tests

Check warning on line 201 in v2/internal/coord/brdcst.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

v2/internal/coord/brdcst.go#L201

Added line #L201 was not covered by tests

Check warning on line 137 in v2/internal/coord/brdcst/followup.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

v2/internal/coord/brdcst/followup.go#L137

Added line #L137 was not covered by tests