Global Metrics

path: .metrics.halstead.time
old: 5182.429624737533
new: 5230.265248010855

path: .metrics.halstead.purity_ratio
old: 0.6572133662122789
new: 0.6555151404597924

path: .metrics.halstead.bugs
old: 0.6856187577159534
new: 0.689831293049772

path: .metrics.halstead.effort
old: 93283.7332452756
new: 94144.7744641954

path: .metrics.halstead.difficulty
old: 42.19117647058823
new: 42.47058823529411

path: .metrics.halstead.length
old: 386.0
new: 387.0

path: .metrics.halstead.level
old: 0.02370163820146393
new: 0.023545706371191136

path: .metrics.halstead.N2
old: 151.0
new: 152.0

path: .metrics.halstead.volume
old: 2210.9772954613945
new: 2216.705215915958

path: .metrics.mi.mi_original
old: 42.03977292306024
new: 42.02631884052249

path: .metrics.mi.mi_visual_studio
old: 24.584662528105408
new: 24.576794643580403

path: .metrics.mi.mi_sei
old: 20.92271671457755
new: 20.903306576420626

Spaces Data

Minimal test - lines (24, 38)

path: .spaces[1].metrics.halstead.effort
old: 1969.5822982314733
new: 2107.081439806123

path: .spaces[1].metrics.halstead.time
old: 109.4212387906374
new: 117.06007998922904

path: .spaces[1].metrics.halstead.N2
old: 20.0
new: 21.0

path: .spaces[1].metrics.halstead.purity_ratio
old: 1.4384685086325943
new: 1.411830202917176

path: .spaces[1].metrics.halstead.length
old: 53.0
new: 54.0

path: .spaces[1].metrics.halstead.volume
old: 236.34987578777677
new: 240.8093074064141

path: .spaces[1].metrics.halstead.level
old: 0.12
new: 0.11428571428571428

path: .spaces[1].metrics.halstead.bugs
old: 0.05237549817695872
new: 0.05478558369305503

path: .spaces[1].metrics.halstead.difficulty
old: 8.333333333333334
new: 8.75

path: .spaces[1].metrics.mi.mi_sei
old: 65.3275148105277
new: 65.18728616300629

path: .spaces[1].metrics.mi.mi_visual_studio
old: 56.91810405691661
new: 56.86126248284458

path: .spaces[1].metrics.mi.mi_original
old: 97.3299579373274
new: 97.23275884566422

Code

function accessibles(state = getInitialState(), action) {
  switch (action.type) {
    case FETCH_CHILDREN:
      return onReceiveChildren(state, action);
    case HIGHLIGHT:
    case SELECT:
      return onReceiveAncestry(state, action);
    case AUDIT:
      return onAudit(state, action);
    case RESET:
      return getInitialState();
    default:
      return state;
  }
}