Global Metrics

path: .metrics.mi.mi_visual_studio
old: 29.798191713242247
new: 29.788644026678337

path: .metrics.mi.mi_original
old: 50.95490782964424
new: 50.93858128561996

path: .metrics.mi.mi_sei
old: 11.819127657246264
new: 11.79557343314759

path: .metrics.halstead.difficulty
old: 21.485714285714284
new: 21.714285714285715

path: .metrics.halstead.bugs
old: 0.3817472189048467
new: 0.38525542088083176

path: .metrics.halstead.N2
old: 94.0
new: 95.0

path: .metrics.halstead.volume
old: 1803.8312587469352
new: 1809.503684088907

path: .metrics.halstead.purity_ratio
old: 0.7658015899153264
new: 0.7634009579720182

path: .metrics.halstead.time
old: 2153.1446136153895
new: 2182.8933331866183

path: .metrics.halstead.length
old: 318.0
new: 319.0

path: .metrics.halstead.effort
old: 38756.60304507701
new: 39292.07999735913

path: .metrics.halstead.level
old: 0.046542553191489366
new: 0.046052631578947366

Spaces Data

Minimal test - lines (114, 117)

path: .spaces[8].metrics.halstead.volume
old: 89.85848369899593
new: 93.76537429460444

path: .spaces[8].metrics.halstead.effort
old: 898.5848369899593
new: 1031.4191172406488

path: .spaces[8].metrics.halstead.length
old: 23.0
new: 24.0

path: .spaces[8].metrics.halstead.level
old: 0.1
new: 0.09090909090909093

path: .spaces[8].metrics.halstead.bugs
old: 0.0310397443655778
new: 0.034027929925230696

path: .spaces[8].metrics.halstead.purity_ratio
old: 1.949083540143932
new: 1.867871725971268

path: .spaces[8].metrics.halstead.N2
old: 10.0
new: 11.0

path: .spaces[8].metrics.halstead.difficulty
old: 10.0
new: 11.0

path: .spaces[8].metrics.halstead.time
old: 49.921379832775514
new: 57.301062068924935

path: .spaces[8].metrics.mi.mi_original
old: 124.69120399665428
new: 124.46989400167656

path: .spaces[8].metrics.mi.mi_sei
old: 104.3941693752434
new: 104.07488654298984

path: .spaces[8].metrics.mi.mi_visual_studio
old: 72.91883274658144
new: 72.78941169688687

Code

module.exports = function(state = INITIAL_STATE, action) {
  const reducer = reducers[action.type];
  return reducer ? reducer(state, action) : state;
};