1

I want to ask about changeset and codecurn. How I get changeset and codecurn value from my git project?

I need this for development research data, I am successful to get line of code, developer, diff time, etc by typing "git log --stat". But I am confused how to get changeset and codecurn value from my git project.

agus p
  • 31
  • 1
  • it sounds like you're trying to use these as metrics for some type of developer productivity. this effort will only result in failure and misery. – Derek Apr 23 '19 at 04:01
  • @Derek can you explain how this effort will only result in failure and misery? because this is my task in graduate program. – agus p Apr 23 '19 at 04:36

1 Answers1

0

I don't know about "codecurn". I do know about "code churn", the total net change to the codebase which represents the amount of productive code effectively delivered.

See "Why Code Churn Matterse" from Ben Thompson

https://blog.gitprime.com/wp-content/uploads/2017/07/churn2.pnge

You can query changesets with git log -p, and evaluate the churn with git diff --numstat

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250