refactoring graphs: line of code reduction