Closed sylvia43 closed 10 years ago
I always thought it was by counting the number of lines for each language but it appears to be counting the total size of the files for each language...
In your case, https://github.com/anubiann00b/Quadcopter/blob/master/src/compile.bat is pretty big, thus making Shell 31.5%.
Hmm ok...
4,323 compile.bat 1,065 i2chelper.c 2,618 imu.c 2,210 motor.c 488 quadcopter.c 1,994 quadcopter.h 406 range.c 43 run.bat 41 run_t.bat
For the project I'm working on, I'm getting some strange language percentages.
It says 68.5% C and 31.5% Shell. However, I have only have 3 batch files with 9 lines. On the other hand, I have a handful of C files.
How is Linguist computing these numbers?