vearutop / photo-blog

📷 Minimalistic photo gallery.
https://vearutop.p1cs.art/
MIT License
3 stars 0 forks source link

Prepare project #1

Closed vearutop closed 1 year ago

github-actions[bot] commented 1 year ago

Lines Of Code

Language Files Lines Code Comments Blanks Complexity Bytes
CSS 1 (+1) 419 (+419) 289 (+289) 65 (+65) 65 (+65) 0 6.8K (+6.8K)
Dockerfile 1 7 4 0 3 0 96B (-21B)
Go 28 (+5) 790 (+265) 573 (+213) 51 (-9) 166 (+61) 66 (+24) 17.2K (+5K)
Go (test) 2 (-1) 100 (-52) 74 (-43) 6 20 (-9) 8 (-3) 2.9K (-1.2K)
HTML 7 (+6) 2280 (+2229) 2208 (+2161) 2 (+2) 70 (+66) 0 200.6K (+198.9K)
JSON 1 2348 2348 0 0 0 42.8K (-259B)
JavaScript 2 (+2) 8184 (+8184) 4169 (+4169) 2901 (+2901) 1114 (+1114) 890 (+890) 220.6K (+220.6K)
JavaScript (min) 2 (+2) 10 (+10) 2 (+2) 8 (+8) 0 7 (+7) 62.2K (+62.2K)
Markdown 1 17 12 0 5 0 954B (-52B)
SQL 1 (-1) 60 (+30) 33 (+17) 18 (+6) 9 (+7) 0 1.3K (+508B)
Shell 0 (-1) 0 (-29) 0 (-21) 0 (-2) 0 (-6) 0 0B (-1.3K)
YAML 14 (-1) 873 (-49) 758 (-42) 47 (-2) 68 (-5) 0 28.9K (-1.3K)
github-actions[bot] commented 1 year ago

Go API Changes


github-actions[bot] commented 1 year ago

Benchmark Result

Benchmark diff with base branch ``` ```
Benchmark result ``` name time/op pkg:github.com/vearutop/photo-blog goos:linux goarch:amd64 Greetings-2 56.2µs ± 3% GreetingsSQLite-2 59.0µs ± 5% pkg:github.com/vearutop/photo-blog/internal/infra/nethttp goos:linux goarch:amd64 _hello-2 35.6µs ± 7% name 50%:ms pkg:github.com/vearutop/photo-blog goos:linux goarch:amd64 Greetings-2 2.35 ±16% GreetingsSQLite-2 2.45 ± 7% pkg:github.com/vearutop/photo-blog/internal/infra/nethttp goos:linux goarch:amd64 _hello-2 name 90%:ms pkg:github.com/vearutop/photo-blog goos:linux goarch:amd64 Greetings-2 5.73 ± 2% GreetingsSQLite-2 5.87 ± 4% pkg:github.com/vearutop/photo-blog/internal/infra/nethttp goos:linux goarch:amd64 _hello-2 name 99%:ms pkg:github.com/vearutop/photo-blog goos:linux goarch:amd64 Greetings-2 12.1 ± 1% GreetingsSQLite-2 12.3 ± 7% pkg:github.com/vearutop/photo-blog/internal/infra/nethttp goos:linux goarch:amd64 _hello-2 name 99.9%:ms pkg:github.com/vearutop/photo-blog goos:linux goarch:amd64 Greetings-2 17.7 ±66% GreetingsSQLite-2 17.0 ±10% pkg:github.com/vearutop/photo-blog/internal/infra/nethttp goos:linux goarch:amd64 _hello-2 name B:rcvd/op pkg:github.com/vearutop/photo-blog goos:linux goarch:amd64 Greetings-2 152 ± 0% GreetingsSQLite-2 152 ± 0% pkg:github.com/vearutop/photo-blog/internal/infra/nethttp goos:linux goarch:amd64 _hello-2 name B:sent/op pkg:github.com/vearutop/photo-blog goos:linux goarch:amd64 Greetings-2 92.9 ± 0% GreetingsSQLite-2 92.9 ± 0% pkg:github.com/vearutop/photo-blog/internal/infra/nethttp goos:linux goarch:amd64 _hello-2 name rps pkg:github.com/vearutop/photo-blog goos:linux goarch:amd64 Greetings-2 16.9k ±22% GreetingsSQLite-2 17.0k ± 5% pkg:github.com/vearutop/photo-blog/internal/infra/nethttp goos:linux goarch:amd64 _hello-2 28.1k ± 6% name alloc/op pkg:github.com/vearutop/photo-blog goos:linux goarch:amd64 Greetings-2 16.3kB ± 0% GreetingsSQLite-2 16.2kB ± 0% pkg:github.com/vearutop/photo-blog/internal/infra/nethttp goos:linux goarch:amd64 _hello-2 17.0kB ± 0% name allocs/op pkg:github.com/vearutop/photo-blog goos:linux goarch:amd64 Greetings-2 230 ± 0% GreetingsSQLite-2 230 ± 0% pkg:github.com/vearutop/photo-blog/internal/infra/nethttp goos:linux goarch:amd64 _hello-2 206 ± 0% name MB/inuse pkg:github.com/vearutop/photo-blog goos:linux goarch:amd64 Greetings-2 GreetingsSQLite-2 pkg:github.com/vearutop/photo-blog/internal/infra/nethttp goos:linux goarch:amd64 _hello-2 14.9 ±43% ```
github-actions[bot] commented 1 year ago

Integration Test Coverage

Allure report.

total: (statements) 0.0%

Coverage of changed lines No changes in testable statements.
Coverage diff with base branch | File | Function | Base Coverage | Current Coverage | |------------------------------------------------------------------------|-----------------------|---------------|------------------| | Total | | 71.1% | 0.0% (-71.1%) | | github.com/bool64/brick-starter-kit/internal/domain/greeting/maker.go | GreetingMaker | 0.0% | no function | | github.com/bool64/brick-starter-kit/internal/domain/greeting/maker.go | Hello | 66.7% | no function | | github.com/bool64/brick-starter-kit/internal/infra/cached/failover.go | GreetingMaker | 66.7% | no function | | github.com/bool64/brick-starter-kit/internal/infra/cached/failover.go | Hello | 100.0% | no function | | github.com/bool64/brick-starter-kit/internal/infra/cached/failover.go | NewGreetingMaker | 100.0% | no function | | github.com/bool64/brick-starter-kit/internal/infra/init.go | NewServiceLocator | 76.2% | no function | | github.com/bool64/brick-starter-kit/internal/infra/init.go | setupStorage | 80.0% | no function | | github.com/bool64/brick-starter-kit/internal/infra/nethttp/router.go | NewRouter | 100.0% | no function | | github.com/bool64/brick-starter-kit/internal/infra/nethttp/ui/index.go | Index | 50.0% | no function | | github.com/bool64/brick-starter-kit/internal/infra/nethttp/ui/index.go | init | 66.7% | no function | | github.com/bool64/brick-starter-kit/internal/infra/schema/openapi.go | SetupOpenapiCollector | 100.0% | no function | | github.com/bool64/brick-starter-kit/internal/infra/storage/greeting.go | ClearGreetings | 0.0% | no function | | github.com/bool64/brick-starter-kit/internal/infra/storage/greeting.go | GreetingClearer | 0.0% | no function | | github.com/bool64/brick-starter-kit/internal/infra/storage/greeting.go | GreetingMaker | 66.7% | no function | | github.com/bool64/brick-starter-kit/internal/infra/storage/greeting.go | Hello | 85.7% | no function | | github.com/bool64/brick-starter-kit/internal/usecase/clear.go | Clear | 66.7% | no function | | github.com/bool64/brick-starter-kit/internal/usecase/hello_world.go | HelloWorld | 100.0% | no function |