#18 accurate line count for dead files (deleted in current revis

open
nobody
1
2006-10-09
2006-10-09
No

Description: Opened: 2006-03-01 13:55

there is room for improvement when calculating LOC.
statcvs's approach for
files which are dead is to approximate the line count
by going through all
revisions
and looking at the added/removed lines. this only
yields a lower bound for
the actual line count. (see
FileBuilder.approximateFinalLOC)

we could query svn server (using svn cat) to get the
line count of the last
revision before the file was deleted and feed this into
the LOC calculations.

the advantage of the statcvs approach is that it can be
done locally.
the advantage of the new approach is that it is not
approximate but accurate.

Discussion


Log in to post a comment.