Comments (1)
Hi @tushantKrispcall ,
It's not naive at all, the terminology is not common. Regarding your question your understanding is correct! I was inspired by this article that states that:
"Code churn is when an engineer rewrites their own code in a short period of time. Think of it as writing a postcard and then tearing it up and writing it again, and then again."
Side-note: because "a short period of time" is subjective anyone is able to determine this on their own by specifying the start and end dates.
The word 'contribution' defines indeed new lines of code that got introduced and did not receive any edits within the specified period of the time. So to comeback to your example:
contribution: 11000
churn: -900
means that for a specified time period there were 11K new lines added to the code-base and 900 lines that already existed before the starting date got edited by a particular author (or any author if left blank).
I'm not sure if 'legacy' and 'efficiency' are better suited. If you look here, legacy is defined as "source code that relates to a no-longer supported or manufactured operating system or other computer technology". Efficiency in my opinion is defined as optimizing something that already exists for a particular purpose, like execution performance for example. I think it can get confusing. Then again the definition of churn within the context of business metrics is something entirely different 🙃.
You can always fork/clone the repository and change the definitions on lines 110-111 of gitcodechurn.py.
Hope this helps and my apologies for the delayed response to your question.
from truegitcodechurn.
Related Issues (18)
- Add the ability to measure churn for all authors within a given timespan without specifying a specific author filter. HOT 1
- Add ability to exclude certain folders
- Add plotting mechanisms/options
- Improve user experience
- Add ability to specify more than one excluded directory
- Date range is different when leaving the day and/or month from the before and/or after arguments HOT 1
- Add ability to specify more than one repository
- Transition codebase to classes
- Churn on particular commit [QUESTION] HOT 5
- Search by commit instead of dates HOT 5
- Code churn per file HOT 3
- Please add testing
- Improve analytics data by tracking remove and add counts by line in `files`
- Add contribution guideline
- dir argument is not picked up HOT 1
- How is the barchart generated
- UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd0 in position 650113: invalid continuation byte HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from truegitcodechurn.