elastic / go-elasticsearch
Conditional Complexity

The distribution of complexity of units (measured with McCabe index).

Intro
Learn more...
Conditional Complexity Overall
18% | 10% | 30% | 7% | 31%
Legend:
51+
26-50
11-25
6-10
1-5
Alternative Visuals
Conditional Complexity per Extension
51+
26-50
11-25
6-10
1-5
go18% | 10% | 30% | 7% | 31%
js0% | 0% | 57% | 0% | 43%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
typedapi23% | 8% | 29% | 9% | 28%
internal22% | 14% | 27% | 14% | 21%
esapi<1% | 20% | 36% | <1% | 42%
_benchmarks0% | 25% | 19% | 41% | 12%
esutil0% | 28% | 30% | 5% | 35%
_examples0% | 0% | 44% | 23% | 31%
ROOT0% | 0% | 20% | 9% | 69%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
1577 430 1
965 312 1
899 291 1
889 287 1
873 282 1
1001 282 1
857 277 1
841 273 1
842 273 1
842 273 1
842 273 1
841 273 1
841 273 1
831 271 1
831 271 1
831 271 1
835 270 1
827 269 1
826 268 1
852 268 1
827 267 1
821 266 1
815 263 1
814 263 1
808 263 1
815 262 1
800 258 1
791 257 1
789 255 1
789 255 1
789 255 1
789 255 1
789 255 1
785 254 1
775 251 1
774 251 1
759 246 1
747 245 1
752 245 1
748 243 1
748 243 1
748 243 1
745 241 1
727 238 1
862 235 1
721 235 1
721 235 1
721 235 1
721 235 1
712 233 1