incubator: goqu

← Back

github.com/go-openapi/swag

goqu 86%

Package swag contains a bunch of helper functions for go-openapi and go-swagger projects.

86/100: overall quality above the stdlib waterlevel. Compare against stdlib or another package. How ratings work. API and README badge.

The Go project is only 125x bigger than this project (2891 files against 23).

Check Score Bonus
complexity 100
+10
average cyclomatic complexity 1.00 against the stdlib average of 4.22
complexity_p95 100
+10
95th percentile cyclomatic complexity 1 against the stdlib waterlevel of 15
file_size_curve 100
+10
share of small files +16.1% against the stdlib size curve
godoc_coverage 100
+10
136 of 136 exported symbols carry godoc (100% against the stdlib waterlevel of 77%)
median_file_size 100
+10
median file 893 B against the stdlib waterlevel of 3966 B
median_package_size 42
median package 49809 B against the stdlib waterlevel of 21278 B
test_ratio 10
11 test functions for 136 exported symbols (8% pairing, ideal band 80-100%, stdlib waterlevel 80%)

History

Nested modules

Other modules registered under this import path:

Package Go Size Rating
github.com/go-openapi/swag/cmdutils 1.26.0 11.7 KB - 626 B/5% code 62/100
github.com/go-openapi/swag/conv 1.26.0 46.0 KB - 34.6 KB/75% code 97/100
github.com/go-openapi/swag/fileutils 1.26.0 101.6 KB - 90.2 KB/88% code 88/100
github.com/go-openapi/swag/jsonname 1.26.0 12.9 KB - 1.3 KB/10% code 94/100
github.com/go-openapi/swag/jsonutils 1.26.0 154.4 KB - 138.3 KB/89% code 91/100
github.com/go-openapi/swag/loading 1.26.0 62.9 KB - 42.8 KB/67% code 99/100
github.com/go-openapi/swag/mangling 1.26.0 86.0 KB - 70.5 KB/82% code 96/100
github.com/go-openapi/swag/netutils 1.26.0 13.0 KB - 1.6 KB/12% code 107/100
github.com/go-openapi/swag/pools 1.26.0 55.2 KB - 34.4 KB/62% code 101/100
github.com/go-openapi/swag/stringutils 1.26.0 16.5 KB - 5.1 KB/31% code 107/100
github.com/go-openapi/swag/typeutils 1.26.0 15.8 KB - 4.4 KB/28% code 101/100
github.com/go-openapi/swag/yamlutils 1.26.0 57.8 KB - 39.4 KB/68% code 95/100