linecount

How to calculate line count for project

I am taking a software engineering class right now. Our assignment is to evaluate Mozilla's Thunderbird. Our assignment is to evaluate the size of Thunderbird. One metric that we need to use is the number of lines of code in the project. (Lines of code meaning not including comments or new lines). Is there a standard way to find t...

How to count output lines with xslt?

I'm outputting text with XSLT. I need to count the number of lines of each section and write it out to my output file. How this could be done? My output is like this: HDR+aaa:bbb' AAA+78901234567890+String1:String2' BBB+123+String' CCC+321:1212' DDD+112211' DDD+121122' XXX+number_of_records+78901234567890' AAA+1234567890+String1:Strin...

How can I count all of the lines in all of the files in the current directory and child directories?

I'm trying to figure out how many lines of code have been written for an app. Code is in the current directory and child directories. I'm using ubuntu. ...

Initiation of Android TextView will not work first time, dimensions are zero. What is the secret trick?

I have inflated a View into a PopupWindow. This View includes a TextView where I want to place text at runtime. I need to count the number of lines the TextView uses in order to adjust the size of the pop-up. For this purpose I use TextView's getLineCount() and draw the TextView before counting the number of lines ( myTextView.draw(canva...

How to calculate line count for "Java Project"

How to calculate line count for "Java Project" ? I'm using Netbeans 6.9 Thanks in advance ...