- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
how many lines of code do you have in your product? :)
This script is not exact by any means so if you know of a better way please let me know (I didn't take the time to squish the two find commands into one).
find . -name *.cpp -exec wc {} ; | awk '{a+=$1;print a}' |tail -1
find . -name *.h -exec wc {} ; | awk '{a+=$1;print a}' |tail -1
This is just for fun, please give name, company, product and arough estimate (and maybe let me know what your product does).
Anuj Goyal (Senior Software Engineer)
Siebel Systems (soon to be bought by Oracle).
Siebel Analytics
BI toolset (product competes with Microstrategy, Cognos, Hyperion, BusinessObjects).
Code:
~1 million LOC.
$ find . -name *.cpp -exec wc {} ; | awk '{a+=$1;print a}' |tail -1 830449 $ find . -name *.h -exec wc {} ; | awk '{a+=$1;print a}' |tail -1 222048
~1 million LOC.
*standard disclaimers apply*
- SLOC (source line of code) is just a certain type of measure:
- the above scripts are not exact.
I'm just asking for input from other developers.
Message Edited by anuj.goyal@gmail.com on 10-31-2005 11:46 AM
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Greetings fromIntel Software Network Support,
Thank you for posting your discussion on the Watercooler/Catchall forum.
It is unclear from your post whether you asking for help or just asking for input from other developers. If you wish Intel Software Network to assist, please give us additional detail regarding your question.
Best regards,
Intel is a registered trademark of Intel Corporation or its subsidiaries in the United States and other countries.
*Other names and brands may be claimed as the property of others.
Message Edited by intel.software.network.support on 11-15-2005 08:42 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
A Fortran project with 218,425 lines more or less.
Jim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
how many lines of code do you have in your product?
This script is not exact by any means so if you know of a better way please let me know (I didn't take the time to squish the two find commands into one).
find . -name *.cpp -exec wc {} ; | awk '{a+=$1;print a}' |tail -1
find . -name *.h -exec wc {} ; | awk '{a+=$1;print a}' |tail -1
This is just for fun, please give name, company, product and arough estimate (and maybe let me know what your product does).
Anuj Goyal (Senior Software Engineer)
Siebel Systems (soon to be bought by Oracle).
Siebel Analytics
BI toolset (product competes with Microstrategy, Cognos, Hyperion, BusinessObjects).
Code:
~1 million LOC.
$ find . -name *.cpp -exec wc {} ; | awk '{a+=$1;print a}' |tail -1 830449 $ find . -name *.h -exec wc {} ; | awk '{a+=$1;print a}' |tail -1 222048
~1 million LOC.
*standard disclaimers apply*
- SLOC (source line of code) is just a certain type of measure:
- the above scripts are not exact.
I'm just asking for input from other developers.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page