# Global Metrics

path: .metrics.halstead.N1
old: 5.0
new: 48.0
path: .metrics.halstead.N2
old: 3.0
new: 33.0
path: .metrics.halstead.time
old: 3.3333333333333335
new: 118.54393243667056
path: .metrics.halstead.volume
old: 24.0
new: 366.4085184406181
path: .metrics.halstead.bugs
old: 0.005108729549290353
new: 0.05524758540780607
path: .metrics.halstead.effort
old: 60.0
new: 2133.79078386007
path: .metrics.halstead.n1
old: 5.0
new: 6.0
path: .metrics.halstead.estimated_program_length
old: 16.36452797660028
new: 84.99664330558271
path: .metrics.halstead.purity_ratio
old: 2.045565997075035
new: 1.0493412753775644
path: .metrics.halstead.n2
old: 3.0
new: 17.0
path: .metrics.halstead.vocabulary
old: 8.0
new: 23.0
path: .metrics.halstead.length
old: 8.0
new: 81.0
path: .metrics.halstead.level
old: 0.4
new: 0.1717171717171717
path: .metrics.halstead.difficulty
old: 2.5
new: 5.823529411764706
path: .metrics.nom.total
old: 1.0
new: 7.0
path: .metrics.nom.functions
old: 1.0
new: 7.0
path: .metrics.nexits.sum
old: 1.0
new: 7.0
path: .metrics.loc.lloc
old: 1.0
new: 7.0
path: .metrics.loc.sloc
old: 11.0
new: 35.0
path: .metrics.loc.cloc
old: 3.0
new: 12.0
path: .metrics.loc.ploc
old: 6.0
new: 17.0
path: .metrics.loc.blank
old: 2.0
new: 6.0
path: .metrics.nargs.average
old: 0.0
new: 1.0
path: .metrics.nargs.sum
old: 0.0
new: 7.0
path: .metrics.cyclomatic.sum
old: 2.0
new: 9.0
path: .metrics.mi.mi_visual_studio
old: 67.34983430576436
new: 47.15430831568266
path: .metrics.mi.mi_sei
old: 126.836643189941
new: 80.93208895555007
path: .metrics.mi.mi_original
old: 115.16821666285703
new: 80.63386721981736

# Spaces Data

## Minimal test - lines (21, 32)

path: .spaces[0].metrics.nexits.sum
old: 1.0
new: 7.0
path: .spaces[0].metrics.nom.total
old: 1.0
new: 7.0
path: .spaces[0].metrics.nom.functions
old: 1.0
new: 7.0
path: .spaces[0].metrics.cyclomatic.sum
old: 1.0
new: 8.0
path: .spaces[0].metrics.loc.sloc
old: 3.0
new: 12.0
path: .spaces[0].metrics.loc.lloc
old: 1.0
new: 7.0
path: .spaces[0].metrics.loc.blank
old: 0.0
new: 3.0
path: .spaces[0].metrics.loc.ploc
old: 3.0
new: 9.0
path: .spaces[0].metrics.nargs.average
old: 0.0
new: 1.0
path: .spaces[0].metrics.nargs.sum
old: 0.0
new: 7.0
path: .spaces[0].metrics.mi.mi_sei
old: 122.75146225357946
new: 68.08233851889479
path: .spaces[0].metrics.mi.mi_original
old: 137.4860859464573
new: 99.09830392677932
path: .spaces[0].metrics.mi.mi_visual_studio
old: 80.40121985172942
new: 57.952224518584394
path: .spaces[0].metrics.halstead.N2
old: 2.0
new: 28.0
path: .spaces[0].metrics.halstead.level
old: 0.4
new: 0.1857142857142857
path: .spaces[0].metrics.halstead.length
old: 7.0
new: 74.0
path: .spaces[0].metrics.halstead.effort
old: 49.12871113600807
new: 1661.5547313439367
path: .spaces[0].metrics.halstead.difficulty
old: 2.5
new: 5.384615384615385
path: .spaces[0].metrics.halstead.time
old: 2.7293728408893374
new: 92.30859618577426
path: .spaces[0].metrics.halstead.purity_ratio
old: 1.944234353490973
new: 0.8069642812198784
path: .spaces[0].metrics.halstead.N1
old: 5.0
new: 46.0
path: .spaces[0].metrics.halstead.n2
old: 2.0
new: 13.0
path: .spaces[0].metrics.halstead.volume
old: 19.651484454403228
new: 308.5744501067311
path: .spaces[0].metrics.halstead.bugs
old: 0.004471319041702271
new: 0.046761508510266975
path: .spaces[0].metrics.halstead.estimated_program_length
old: 13.60964047443681
new: 59.71535681027101
path: .spaces[0].metrics.halstead.vocabulary
old: 7.0
new: 18.0

### Code

    namespace fuzzer {

    inline uint8_t  Bswap(uint8_t x)  { return x; }
    inline uint16_t Bswap(uint16_t x) { return __builtin_bswap16(x); }
    inline uint32_t Bswap(uint32_t x) { return __builtin_bswap32(x); }
    inline uint64_t Bswap(uint64_t x) { return __builtin_bswap64(x); }

    inline uint32_t Clzll(unsigned long long X) { return __builtin_clzll(X); }
    inline uint32_t Clz(unsigned long long X) { return __builtin_clz(X); }
    inline int Popcountll(unsigned long long X) { return __builtin_popcountll(X); }

    }  // namespace fuzzer