This would inflate the popularity of a language in proportion to its verbosity, but that could be approximately normalized by using line count ratios from the Great Language Shootout, which explicitly tracks how many lines various languages use to solve the same problem. Precision is pointless--the line ratios vary from problem to problem--but a rough approximation would be useful as long as you could get the statistics with and without it.
Re:Language Trends on GitHub
by TJSomething on Wednesday August 19, 2015 @04:07PM
(#10088096)
I think number of contributors would be a good metric, even though it penalizes lone projects, but I suspect that would be relatively even across languages compared to other metrics. For example, LoC is proportional to verbosity. Commit count is emphasizes languages that tend to have more bugs.
It would also make sense to weight in the date a project started. Newer (big) projects would then weight higher then older (big) projects.
So I think taking in account the number of lines and age together is a good way to really visualize trends.