[cvsnt] How to know the SLOC

Kari Hoijarvi hoijarvi at me.wustl.edu
Wed Apr 2 15:00:14 BST 2003


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


Not integrated, but there sure must be a lot of scripts that already do it.

The main idea is to say "cvs diff" and scan. In python, the call is:

        inpipe, outpipe = os.popen4('cvs diff ' + optional_tag + ' ' +
filename)

where optional_tag is '-r tagname'  you want to compare to. After that, look
for
lines starting with '>' (added) or '<' (deleted).

The whole script is probably less work than writing emails in this thread
combined.
I wrote mine to calculate my PSP added/deleted LOC.

Kari

-----Original Message-----
From: cvsnt-bounces at cvsnt.org [mailto:cvsnt-bounces at cvsnt.org]On Behalf Of
hodgen.he
Sent: 02 April 2003 02:53
To: cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook
Subject: [cvsnt] How to know the SLOC


Dear all,
Is there a tool integrated with CVSNT to calculate the SLOC?
I want to know one developer add how many lines of code and delete how
many lines for each day.
Thanks.
_______________________________________________
cvsnt mailing list
cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt https://www.march-hare.com/cvspro/en.asp#downcvs



More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook