Skip to content

Conversation

@vearutop
Copy link
Member

No description provided.

@github-actions
Copy link

Lines Of Code

Language Files Lines Code Comments Blanks Complexity Bytes
Go 7 1480 (+22) 1132 (+12) 108 (+6) 240 (+4) 290 (+1) 35.4K (+567B)
Go (test) 5 529 (+11) 416 (+8) 16 97 (+3) 68 15.4K (+224B)
Makefile 1 39 28 4 7 2 1.2K (+17B)
YAML 6 (+1) 489 (+173) 403 (+132) 36 (+7) 50 (+34) 0 16.1K (+5.9K)

@github-actions
Copy link

Go API Changes

# github.com/bool64/dbwrap
## compatible changes
CallerCtx: added
WithCaller: added

# summary
Inferred base version: v0.1.3
Suggested version: v0.2.0

@github-actions
Copy link

github-actions bot commented Nov 16, 2024

Benchmark Result

Benchmark diff with base branch
name      old time/op    new time/op    delta
Caller-4     534ns ± 1%     534ns ± 0%   ~     (p=0.690 n=5+5)

name      old alloc/op   new alloc/op   delta
Caller-4      480B ± 0%      480B ± 0%   ~     (all equal)

name      old allocs/op  new allocs/op  delta
Caller-4      2.00 ± 0%      2.00 ± 0%   ~     (all equal)
Benchmark result
name      time/op
Caller-4  534ns ± 0%

name      alloc/op
Caller-4   480B ± 0%

name      allocs/op
Caller-4   2.00 ± 0%

@github-actions
Copy link

Unit Test Coverage

total: (statements) 55.2%
changed lines: (statements) 36.8%, coverage is less than 90.0%, consider testing the changes more thoroughly

Coverage of changed lines
File Function Coverage
Total 36.8%
driver.go 0.0%
driver.go:241 Exec 0.0%
driver.go:305 Query 0.0%
driver.go:430 BeginTx 0.0%
driver.go:515 Exec 0.0%
driver.go:566 Query 0.0%
driver_go1.10.go 100.0%
driver_go1.10.go:79 wrapStmt 100.0%
options.go 100.0%
options.go:62 WithInterceptor 100.0%
runtime.go 75.0%
runtime.go:18 WithCaller 100.0%
runtime.go:23 CallerCtx 80.0%
driver_go1.8.go no coverage
driver_go1.9.go no coverage
Coverage diff with base branch
File Function Base Coverage Current Coverage
Total 55.0% 55.2% (+0.2%)
runtime.go CallerCtx no function 66.7%
runtime.go WithCaller no function 100.0%

@vearutop vearutop merged commit 0249bbb into master Nov 16, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants