Discussion
Loading...

Post

  • Log in
  • Sign up
  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
daniel:// stenberg://
daniel:// stenberg://
@bagder@mastodon.social  ·  activity timestamp 3 months 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.
#curl
  • Copy link
  • Flag this post
  • Block
lohikäärmekettu Saphira :therian:
lohikäärmekettu Saphira :therian:
@littlefox@gotosocial-dev.svc.0x0a.network  ·  activity timestamp 3 months 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  ·  activity timestamp 3 months 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  ·  activity timestamp 3 months 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  ·  activity timestamp 3 months 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
Instance logo
bonfire.cafe
Log in Create account
Banner for bonfire.cafe

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire bovenjan · 1.0.3-alpha.10 no JS en
Federation disabled
Instance logo
  • Explore
  • About
  • Members
  • Code of Conduct

Install bonfire.cafe

Get the full app experience

1 Tap Share 2 Add to Home Screen