incubator: goqu

← Back

github.com/mitchellh/mapstructure

goqu 47%

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

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

The Go project is only 361x bigger than this project (2891 files against 8).

Check Score Bonus
complexity 51
average cyclomatic complexity 8.25 against the stdlib average of 4.22
complexity_p95 53
95th percentile cyclomatic complexity 28 against the stdlib waterlevel of 15
file_size_curve 59
share of small files -12.1% against the stdlib size curve
godoc_coverage 100
+10
24 of 26 exported symbols carry godoc (92% against the stdlib waterlevel of 77%)
median_file_size 42
median file 9378 B against the stdlib waterlevel of 3966 B
median_package_size 15
median package 135608 B against the stdlib waterlevel of 21278 B
test_ratio 0
83 test functions for 26 exported symbols (319% pairing, ideal band 80-100%, stdlib waterlevel 80%)

History