// comment, we don't want that to count toward our counts for
// added/deleted/modified LOC. To detect this scenario, we will
// perform a second-pass comparison that ignores comments. Then,
// we will use the diff blocks in that comparison to compute the
// added, deleted, and modified LOC counts.
Diff d = new Diff(deleted, added);
Diff.change chg = d.diff_2(false);
while (chg != null) {
int del = countLines(deleted, chg.line0, chg.deleted, filter);
int add = countLines(added, chg.line1, chg.inserted, filter);
int mod = Math.min(del, add);
add -= mod;