<cfdirectory recurse="yes" blah blah blah

<cfset totalLines = 0>
<cfloop query="files">
        <cffile action="read" file="#files.file#" variable="thisFile">
        <cfset totalLines = totalLines + listLen(thisFile, chr(10)&chr(13))>
</cfloop>

<cfoutput>
Total rows = #totalLines#
<br />
Total Files = #files.recordCount#
</cfoutput>

> -----Original Message-----
> From: Robert Everland III [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, May 23, 2006 3:37 PM
> To: CF-Community
> Subject: Source code line count
> 
> Is there a tool that will allow me to know how many lines of code are in a
> site? Like where I could even only include specific types of files, or
> even to the point of not counting comments? I know it's lame to even want
> to know, but it comes from above.
> 
> 
> 
> B
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:5:207371
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/5
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:5
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.5
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to