{"repo":"onigoetz/absorption","free":true,"listed":false,"github":"https://github.com/onigoetz/absorption","clone":"git clone https://github.com/onigoetz/absorption.git","description":"Calculate absorption on your repositories","language":"JavaScript","stars":10,"topics":["metrics","code-metrics"],"license":null,"category":"analytics","readme_excerpt":"Absorption What is absorption ? Absorption is a small tool that gives you a knowledge absorption score for a git repository. This is an approach to answer the questions Who has the knowledge on this repository? and What is the bus factor on this repository? Like all one dimension metric, this metric is not a silver bullet, by using the last person to modifiy a line of code to define it's owner, we will for example miscalculate if there was a mass reformating on the repository. Also, since we are not language aware, we will measure empty lines and there is no notion of importance of a file. How does it work ? The approach we take is for each file in a repository, gather how many lines were written per contributor and when. Then by using a thresold date (1 year by default) we sort the elements in two buckets : commits made before the thresold and commits made after. This allows us to go in the last step of the process, sorting all those commits in three categories : - Fresh : Code that was modified recently (after the thresold) - Fading : Code that was modified before the threshold but by a contributor who was also active more recently - Lost : Code that was modified by somebody no longer active on the repository This, in turn will give you a bus factor : How many people need to stop commiting on a project for it to be in danger. By default Installation How to use it Will give you useful information already. You can then use the options of the command to fine tune the results. ","default_branch":null,"files":null,"tree":[],"storefront":"/r/onigoetz","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/onigoetz/absorption/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}