Re: Lines of code counter
Here is one that I used before just to check it out. Right now my app has 12,849 lines #name# #totalLines# - Original Message - From: "Will Tomlinson" <[EMAIL PROTECTED]> To: "CF-Talk" Sent: Tuesday, September 12, 2006 9:09 PM Subject: Lines of code counter > Anybody got a tool that'd read all the files in my neverendingcart.cfc application, and tell me how many thousands of lines of code are in it? > > That'd be a cool tool! > > Will > > ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:252934 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Lines of code counter
Couldn't you just turn line numbers on and scroll to the bottom? "This e-mail is from Reed Exhibitions (Oriel House, 26 The Quadrant, Richmond, Surrey, TW9 1DL, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender or call our switchboard on +44 (0) 20 89107910. The opinions expressed within this communication are not necessarily those expressed by Reed Exhibitions." Visit our website at http://www.reedexpo.com -Original Message- From: Will Tomlinson To: CF-Talk Sent: Wed Sep 13 04:09:53 2006 Subject: Lines of code counter Anybody got a tool that'd read all the files in my neverendingcart.cfc application, and tell me how many thousands of lines of code are in it? That'd be a cool tool! Will ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:252938 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Lines of code counter
ROFL! I think he wants all of the files in one go, rather than just one file at a time. On 9/13/06, Robertson-Ravo, Neil (RX) <[EMAIL PROTECTED]> wrote: > Couldn't you just turn line numbers on and scroll to the bottom? -- CFAJAX docs and other useful articles: http://www.bifrost.com.au/blog/ ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:252939 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Lines of code counter
Due to a tragic EOL mishap, I've only got one line of code. Oh woe is me! At least a simple file count gets the job done now... O.o On 9/13/06, James Holmes <[EMAIL PROTECTED]> wrote: > ROFL! I think he wants all of the files in one go, rather than just > one file at a time. > > On 9/13/06, Robertson-Ravo, Neil (RX) > <[EMAIL PROTECTED]> wrote: > > Couldn't you just turn line numbers on and scroll to the bottom? > > -- > CFAJAX docs and other useful articles: > http://www.bifrost.com.au/blog/ > > ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:252946 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Lines of code counter
On Wednesday 13 September 2006 04:09, Will Tomlinson wrote: > Anybody got a tool that'd read all the files in my neverendingcart.cfc > application, and tell me how many thousands of lines of code are in it? The GNU tool 'wc' is what you want. -- Tom Chiverton Helping to biannually customize value-added convergence This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:252945 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Lines of code counter
>Here is one that I used before just to check it out. Right now my app has >12,849 lines Suwt! Thank you! I'll post my line count later. Will ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:252952 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Lines of code counter
>Here is one that I used before just to check it out. Right now my app has >12,849 lines Ok, I just checked mine and it's NASA code as I expected. lol 21,309 lines of code in my neverendingcart.cfc app. Will ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:252953 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Lines of code counter
Current have 31,306 lines half way through development of a project to replace a 107,000 line spaghetti monster. On 9/13/06, Will Tomlinson <[EMAIL PROTECTED]> wrote: > >Here is one that I used before just to check it out. Right now my app has > >12,849 lines > > > Ok, I just checked mine and it's NASA code as I expected. lol > > 21,309 lines of code in my neverendingcart.cfc app. > > Will > > ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:252954 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Lines of code counter
>>Here is one that I used before just to check it out. Right now my app has 12,849 lines Mine is 15,976. I slightly modified your code which had a couple of problems: 1. it was reading all files, including images, 2. it bugs on files with no extension. 3. added extension TXT since I have multilingual strings in txt files. #name# #totalLines# -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:252956 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Lines of code counter
Wow, after almost 5 years of developing reports, web systems, document imaging, etc, I am over 650,000 lines of code on my production box. Granted, some was done many years ago and I'm not TOO proud of... but it still counts =) Chris -Original Message- From: Claude Schneegans [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 13, 2006 7:27 AM To: CF-Talk Subject: Re: Lines of code counter >>Here is one that I used before just to check it out. Right now my app has 12,849 lines Mine is 15,976. I slightly modified your code which had a couple of problems: 1. it was reading all files, including images, 2. it bugs on files with no extension. 3. added extension TXT since I have multilingual strings in txt files. #name# #totalLines# -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:252960 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Lines of code counter
On Wednesday 13 September 2006 12:27, Claude Schneegans wrote: > >>Here is one that I used before just to check it out. Right now my app > >> has > > 12,849 lines Isn't find . -name '*cfc' -o -name '*cfm' -o -name '*xml' -o -name '*as' -o -name '*sql' -o -name '*css' -o -name '*html' -o -name '*txt' | xargs wc -l|tail -1 much, much quicker ? -- Tom Chiverton Helping to interactively improve efficient CEOs This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:252962 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Lines of code counter
My text editor has line numbering features. SURELY whatever editor you're using has the same thing. Even Dreamweaver's code view has line numbering. -Original Message- From: Will Tomlinson [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 12, 2006 10:10 PM To: CF-Talk Subject: Lines of code counter Anybody got a tool that'd read all the files in my neverendingcart.cfc application, and tell me how many thousands of lines of code are in it? That'd be a cool tool! Will ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:252970 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Lines of code counter
Yeah, he's not too good with math. ;-P ..:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: James Holmes [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 13, 2006 2:49 AM To: CF-Talk Subject: Re: Lines of code counter ROFL! I think he wants all of the files in one go, rather than just one file at a time. On 9/13/06, Robertson-Ravo, Neil (RX) <[EMAIL PROTECTED]> wrote: > Couldn't you just turn line numbers on and scroll to the bottom? -- CFAJAX docs and other useful articles: http://www.bifrost.com.au/blog/ ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:253042 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4