Calculates method code lines (total), needs refactoring