jolav / codetabs

Free Online Services. Github/GitLab star history. Count Lines of Code. CORS proxy server. IP GeoLocation. HTTP Headers. Random Data. Api weather temp. Alexa ranking.
https://codetabs.com
BSD 3-Clause "New" or "Revised" License
238 stars 32 forks source link

Count LOC: MATLAB identified as Objective-C #12

Closed lrkrol closed 4 years ago

lrkrol commented 4 years ago

I was testing the line count tool on my lrkrol/SEREEGA repository, which according to GitHub is 100% MATLAB. However, the tool recognised it as Objective-C. This obviously messed up the count of comment lines and thus the actual LoC count.

It would be good to support MATLAB. Commenting is explained here.

When multiple languages use the same file extension (.m in this case), perhaps a user choice can be provided for it to be interpreted as one or the other for the current repository.

jolav commented 4 years ago

Codetabs LOC is only an online wrapper around desktop count LOC programs.

This type of issues depends on the counting program

Now i am using cgag/loc but is inactive and i am looking for a replacement