How many lines of code modified during a time period?

前端 未结 8 1214
感情败类
感情败类 2020-12-25 14:04

I have been tasked with figuring out how many lines of code I\'ve written this year. Not very exciting for a number of reasons, but it seems like it could make a nice SO qu

相关标签:
8条回答
  • 2020-12-25 14:36

    If you are stuck on cvs:

    cvs annotate > annotate.txt
    rem remove the portion before the name
    sed "s/^[0-9. (]*//" annotate.txt > annotate2.txt
    rem remove the portion after the name
    sed "s/[ ].*$//" annotate2.txt > annotate3.txt
    sort annotate3.txt > annotate4.txt
    uniq -c annotate4.txt > annotate5.txt
    

    http://jamesjava.blogspot.com/2007/01/who-has-changed-most-lines-in-cvs.html

    0 讨论(0)
  • 2020-12-25 14:39

    Fisheye can tell you how many lines of code were committed per developer. There is a nice charting feature that can give you pretty graphs for this.

    0 讨论(0)
提交回复
热议问题