GitHub readme stats (Top languages) not working properly #3083
-
Why do these two differ the first link which i am using for my gitHub profile shows 42% c++ which is on the top but in the second link javascript section area covers the major part (44.44%) and c++ is 11.11% |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hey, @Riyakumari57! http://ionicabizau.github.io/github-profile-languages/ Uses under the hood gh-polyglot package. Languages usage calculation inside this package based on how many user repositories contains some specific programming language as main. You can check it on the following lines inside their sources: https://github-readme-stats.vercel.app/ Works directly with GraphQL GitHub API under the hood. By default languages usage calculation based on bytes count. You can read more about our languages percentage calculation algorithm in our documentation: https://github.com/anuraghazra/github-readme-stats#language-stats-algorithm |
Beta Was this translation helpful? Give feedback.
Hey, @Riyakumari57!
http://ionicabizau.github.io/github-profile-languages/ Uses under the hood gh-polyglot package. Languages usage calculation inside this package based on how many user repositories contains some specific programming language as main. You can check it on the following lines inside their sources:
https://github.com/IonicaBizau/node-gh-polyglot/blob/0849accbadf769a5cd59b42a01c47ba5e6c638ec/lib/index.js#L103-L106
https://github-readme-stats.vercel.app/ Works directly with GraphQL GitHub API under the hood. By default languages usage calculation based on bytes count. You can read more about our languages percentage calculation algorithm in our documentation: https://github.c…