incubator: goqu

← Back

github.com/go-viper/mapstructure/v2

goqu 56%

Package mapstructure exposes functionality to convert one arbitrary Go type into another, typically to convert a map[string]interface{} into a native Go structure.

56/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 262x bigger than this project (2891 files against 11).

Check Score Bonus
complexity 73
average cyclomatic complexity 5.75 against the stdlib average of 4.22
complexity_p95 83
95th percentile cyclomatic complexity 18 against the stdlib waterlevel of 15
file_size_curve 75
share of small files -7.4% against the stdlib size curve
godoc_coverage 100
+9
49 of 58 exported symbols carry godoc (84% against the stdlib waterlevel of 77%)
median_file_size 47
median file 8295 B against the stdlib waterlevel of 3966 B
median_package_size 10
median package 207961 B against the stdlib waterlevel of 21278 B
test_ratio 0
128 test functions for 58 exported symbols (220% pairing, ideal band 80-100%, stdlib waterlevel 80%)

History