Improve bson2
and wire
logging
#4148
80.16% of diff hit (target 50.00%)
View this Pull Request on Codecov
80.16% of diff hit (target 50.00%)
Annotations
Check warning on line 42 in internal/bson2/array.go
codecov / codecov/patch
internal/bson2/array.go#L42
Added line #L42 was not covered by tests
Check warning on line 108 in internal/bson2/array.go
codecov / codecov/patch
internal/bson2/array.go#L108
Added line #L108 was not covered by tests
Check warning on line 151 in internal/bson2/array.go
codecov / codecov/patch
internal/bson2/array.go#L150-L151
Added lines #L150 - L151 were not covered by tests
Check warning on line 58 in internal/bson2/logging.go
codecov / codecov/patch
internal/bson2/logging.go#L58
Added line #L58 was not covered by tests
Check warning on line 74 in internal/bson2/logging.go
codecov / codecov/patch
internal/bson2/logging.go#L74
Added line #L74 was not covered by tests
Check warning on line 123 in internal/bson2/logging.go
codecov / codecov/patch
internal/bson2/logging.go#L122-L123
Added lines #L122 - L123 were not covered by tests
Check warning on line 222 in internal/bson2/logging.go
codecov / codecov/patch
internal/bson2/logging.go#L222
Added line #L222 was not covered by tests
Check warning on line 271 in internal/bson2/logging.go
codecov / codecov/patch
internal/bson2/logging.go#L270-L271
Added lines #L270 - L271 were not covered by tests
Check warning on line 95 in internal/bson2/raw_array.go
codecov / codecov/patch
internal/bson2/raw_array.go#L94-L95
Added lines #L94 - L95 were not covered by tests
Check warning on line 101 in internal/bson2/raw_array.go
codecov / codecov/patch
internal/bson2/raw_array.go#L100-L101
Added lines #L100 - L101 were not covered by tests
Check warning on line 61 in internal/wire/op_msg.go
codecov / codecov/patch
internal/wire/op_msg.go#L58-L61
Added lines #L58 - L61 were not covered by tests
Check warning on line 64 in internal/wire/op_msg.go
codecov / codecov/patch
internal/wire/op_msg.go#L64
Added line #L64 was not covered by tests
Check warning on line 202 in internal/wire/op_msg.go
codecov / codecov/patch
internal/wire/op_msg.go#L200-L202
Added lines #L200 - L202 were not covered by tests
Check warning on line 207 in internal/wire/op_msg.go
codecov / codecov/patch
internal/wire/op_msg.go#L204-L207
Added lines #L204 - L207 were not covered by tests
Check warning on line 211 in internal/wire/op_msg.go
codecov / codecov/patch
internal/wire/op_msg.go#L209-L211
Added lines #L209 - L211 were not covered by tests
Check warning on line 216 in internal/wire/op_msg.go
codecov / codecov/patch
internal/wire/op_msg.go#L216
Added line #L216 was not covered by tests
Check warning on line 442 in internal/wire/op_msg.go
codecov / codecov/patch
internal/wire/op_msg.go#L442
Added line #L442 was not covered by tests
Check warning on line 454 in internal/wire/op_msg.go
codecov / codecov/patch
internal/wire/op_msg.go#L454
Added line #L454 was not covered by tests
Check warning on line 171 in internal/wire/op_query.go
codecov / codecov/patch
internal/wire/op_query.go#L171
Added line #L171 was not covered by tests
Check warning on line 175 in internal/wire/op_query.go
codecov / codecov/patch
internal/wire/op_query.go#L175
Added line #L175 was not covered by tests
Check warning on line 177 in internal/wire/op_query.go
codecov / codecov/patch
internal/wire/op_query.go#L177
Added line #L177 was not covered by tests
Check warning on line 179 in internal/wire/op_query.go
codecov / codecov/patch
internal/wire/op_query.go#L179
Added line #L179 was not covered by tests
Check warning on line 138 in internal/wire/op_reply.go
codecov / codecov/patch
internal/wire/op_reply.go#L138
Added line #L138 was not covered by tests
Check warning on line 144 in internal/wire/op_reply.go
codecov / codecov/patch
internal/wire/op_reply.go#L144
Added line #L144 was not covered by tests
Check warning on line 146 in internal/wire/op_reply.go
codecov / codecov/patch
internal/wire/op_reply.go#L146
Added line #L146 was not covered by tests