Discussion
Loading...

Post

Log in
  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
daniel:// stenberg://
daniel:// stenberg://
@bagder@mastodon.social  ·  activity timestamp 3 days ago

Meanwhile, we have now added 4 lines of code for every line of code still remaining in #curl

This means that on average, every single line of production code has been touched four times. Written once, then updated three more times. And yeah, some lines of course many more times than average, and some less so.

Graph showing lines of code added per lines of code still present. In curl. Over time. Reaching above 4 in early 2026.
Graph showing lines of code added per lines of code still present. In curl. Over time. Reaching above 4 in early 2026.
Graph showing lines of code added per lines of code still present. In curl. Over time. Reaching above 4 in early 2026.
  • Copy link
  • Flag this post
  • Block
lohikäärmekettu Saphira :therian:
lohikäärmekettu Saphira :therian:
@littlefox@gotosocial-dev.svc.0x0a.network replied  ·  activity timestamp 3 days ago

@bagder is there some script or tool to generate that from any git repository?

I really like all the different random metrics you post btw :)

  • Copy link
  • Flag this comment
  • Block
daniel:// stenberg://
daniel:// stenberg://
@bagder@mastodon.social replied  ·  activity timestamp 3 days ago

To get this number, we count how many lines of code we have added up to a point in time, ignore how many we removed, and then divide with the number of lines of code still there.

  • Copy link
  • Flag this comment
  • Block
Spider
Spider
@Spider@mastodon.social replied  ·  activity timestamp 3 days ago

@bagder now I wonder is what amount of code was just properly good the first time and did not need changing?
And if we don’t count #include ?

  • Copy link
  • Flag this comment
  • Block
daniel:// stenberg://
daniel:// stenberg://
@bagder@mastodon.social replied  ·  activity timestamp 3 days ago

@Spider I think there are a few header comment lines that remain intact! 😃

https://curl.se/dashboard1.html#source-code-age

Sorry, no caption provided by author
Sorry, no caption provided by author
Sorry, no caption provided by author

curl - Project status dashboard

  • Copy link
  • Flag this comment
  • Block

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.1-beta.35 no JS en
Automatic federation enabled
Log in
  • Explore
  • About
  • Members
  • Code of Conduct