Skip to content

How are recent languages stats calculated #332

Locked Answered by lowlighter
Nixinova asked this question in Q&A
Discussion options

You must be logged in to vote
  1. number of commits/files/days used to compute these stats are now displayed since 4747332. It can be customized through plugin_languages_recent_load (only PushEvents will be kept from loaded events) and plugin_languages_recent_days options
  2. total number of bytes changed is available when using bytes-size from plugin_languages_details option. these are obtained by filtering added lines for each diff patch and applying Buffer.byteLength on them (assuming encoding is utf-8)
  3. total file size is available computed though it's not displayed (it's currently only used to compute percentages)

Seems that some languages are mistaken for others though. As you can see it deduced that I recently did a …

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Nixinova
Comment options

@lowlighter
Comment options

Answer selected by Nixinova
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment