Spaces Data

Minimal test - lines (162, 170)

path: .spaces[0].spaces[1].metrics.loc.cloc
old: 3.0
new: 4.0

path: .spaces[0].spaces[1].metrics.loc.sloc
old: 8.0
new: 9.0

path: .spaces[0].spaces[1].metrics.mi.mi_visual_studio
old: 66.8565700138756
new: 65.74073072870985

path: .spaces[0].spaces[1].metrics.mi.mi_sei
old: 129.96914053636112
new: 129.5206528711758

path: .spaces[0].spaces[1].metrics.mi.mi_original
old: 114.32473472372726
new: 112.41664954609384

Code

    def reset(self):
        self._mFinalCharLogicalScore = 0
        self._mFinalCharVisualScore = 0
        # The two last characters seen in the previous buffer,
        # mPrev and mBeforePrev are initialized to space in order to simulate
        # a word delimiter at the beginning of the data
        self._mPrev = ' '
        self._mBeforePrev = ' '
        # These probers are owned by the group prober.