Question: I am Computer Science student and working on a project in java through netbeans 7.0.1 to be submitted in college, Today my faculty asked me how much your project is completed and i confidently replied that, Yes sir approx 50% completed already, he said how many lines u code, and i just go "Ummmm don't know exactly Sir", he replied, "Are you actually working or just buying it from somewhere!", my mind go blank!!! :D  

I googled for this and found a [WordCount](http://plugins.netbeans.org/plugin/1531/wordcount) Plugin for netbeans, but it does not working in NetBeans 7, or may be i do't know how exactly it works..

Any substitute for this WordCount available for NetBeans 7.x?

Or any other way, except manual counting of line in whole application?

Answer: 
Since a 'nix-based answer has been given, in Windows you could accomplish something similar with Powershell:

```
get-content *.java | measure-object -line

```
I'd like to suggest an answer to a different question:

> 
> How do I quantify progress in a programming project?
> 
> 
> 

I have a preference for agile methodologies, so I would present a burn-down chart - which takes into consideration the total number of user stories/cards/tasks, the complexity/estimated time, and plots it against those remaining.

I think you need to do something simpler, but I expect simpler:

* Start by breaking your entire project down into units - tasks / bugs / areas of functionality
* Estimate the amount of effort required for each, and consider the risk + complexity
* For each unit, assess the amount it's completed - units should be small enough to be completed within a day or two at most.
* From this you can build statistics

I expect that just the act of project planning will be enough to improve your standing with your faculty as it shows a maturity in understanding there is more to a project than just the code.