473,320 Members | 2,088 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Count lines of code in a project

Is there a way to determine how many lines of code exist in a project?
Rough estimates without having to go through page by page would be fine.
Thanks in advance.

Mark
Nov 18 '05 #1
3 8315
Project Line Counter Add-In for VC6 and VS.NET

http://www.devhood.com/tools/tool_de...px?tool_id=691

"Mark" <fi******@idonotlikejunkmail.umn.edu> wrote in message
news:Oo**************@TK2MSFTNGP12.phx.gbl...
Is there a way to determine how many lines of code exist in a project?
Rough estimates without having to go through page by page would be fine.
Thanks in advance.

Mark


Nov 18 '05 #2
You can combine all project source files into 1 file (see copy command help)
and load it into for example in MS Word, which will calculate it for you.

HTH
Alex

"Mark" <fi******@idonotlikejunkmail.umn.edu> wrote in message
news:Oo**************@TK2MSFTNGP12.phx.gbl...
Is there a way to determine how many lines of code exist in a project?
Rough estimates without having to go through page by page would be fine.
Thanks in advance.

Mark

Nov 18 '05 #3
There is a sample that comes with Visual Studio.NET

C:\ProgramFiles\VS.NET\SDK\v1.1\Samples\Applicatio ns\WordCount

Open a command prompt and type WordCount.exe path\*.cs or whatever wildcard
you would like this will output everything you should need.

"Mark" <fi******@idonotlikejunkmail.umn.edu> wrote in message
news:Oo**************@TK2MSFTNGP12.phx.gbl...
Is there a way to determine how many lines of code exist in a project?
Rough estimates without having to go through page by page would be fine.
Thanks in advance.

Mark

Nov 18 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

22
by: Ling Lee | last post by:
Hi all. I'm trying to write a program that: 1) Ask me what file I want to count number of lines in, and then counts the lines and writes the answear out. 2) I made the first part like this: ...
3
by: Bruce | last post by:
Is there any mechanism in vs 2005 to have the IDE report the number of lines of source code in a C# project either per file or preferably across an entire project? Thanks, Bruce
2
by: Bruce | last post by:
Is there a mechanism within VS 2005 to determine the number of source code lines in a C# project (either per file or across the entire project)? Thanks, Bruce
4
by: tommcd24 | last post by:
Does anyone know of a utility or VS add-in to count code lines in a project or solution? I just had to provide 50 pages of code for copyright and had initially thought that would be nearly the...
68
by: Martin Joergensen | last post by:
Hi, I have some files which has the following content: 0 0 0 0 0 0 0 1 1 1 1 0 0 1 1 1 1 0 0 1 1 1 1 0 0 1 1 1 1 0 0 0 0 0 0 0
9
by: junaidnaseer | last post by:
ok I know I posted this question previously and then I got a reply and I realized that I had asked a really dumb question but now I realize that my question wasn't that dumb at all ! I had asked...
8
by: shivam001 | last post by:
I have the following file as the input APPLE 0 118 1 110 1 125 1 135 2 110 3 107 3 115 3 126 ORANGE 0 112 1 119 2 109 2 119 3 112 4 109 4 128 MANGO 0 136 1 143 2 143 3 143 4 136 BANANA 0 5 1...
3
by: waynejr25 | last post by:
can anyone help me add a function that will count the occurance of each word in an input file. here's the code i have so far it counts the number of characters, words, and lines but i need the...
16
by: lovecreatesbea... | last post by:
It takes mu so time to finish this C source code line count function. What do you think about it? / ******************************************************************************* * Function ...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.