Boundary Value Analysis is technique driven from the Heuristics: errors happen at the edges, watch out for off by one errors.
Going line, by line, while your code is 'broken' doesn't seem like an effective approach. Instead, use an abstraction layer and refactor inline.