Top "Line-count" questions

How to get line count of a large file cheaply in Python?

I need to get a line count of a large file (hundreds of thousands of lines) in python. What is …

python text-files line-count
How do you count the lines of code in a Visual Studio solution?

Is it possible to find the number of lines of code in an entire solution? I've heard of MZ-Tools, but …

visual-studio code-metrics lines-of-code line-count
Count number of lines in a git repository

How would I count the total number of lines present in all the files in a git repository? git ls-files …

bash git shell line-count
Can you get the number of lines of code from a GitHub repository?

In a GitHub repository you can see “language statistics”, which displays the percentage of the project that’s written in …

git github line-count
Eclipse count lines of code

I've tried the Metrics plugin and although it's nice and all, it's not what my boss is looking for. It …

eclipse metrics line-count
Fastest way to find the number of lines in a text (C++)

I need to read the number of lines in a file before doing some operations on that file. When I …

c++ line-count
Is there a way in Matlab to determine the number of lines in a file without looping through each line?

Obviously one could loop through a file using fgetl or similar function and increment a counter, but is there a …

matlab file-io line-count
(Python) Counting lines in a huge (>10GB) file as fast as possible

I have a really simple script right now that counts lines in a text file using enumerate(): i = 0 f = open("…

python enumerate line-count
How to calculate the number of lines in a "Java Project"

How can I calculate the number of lines in a "Java Project"? I'm using Netbeans 6.9.

java netbeans line-count
Count number of lines displayed (not newlines) in an HTML textarea without jQuery?

Possible Duplicate: How to get number of rows in <textarea >? I have a textarea and I write 7 lines …

javascript html textarea line-count