<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/decomplexification-continued-tv9dfygb8" -->

---
title: decomplexification continued | daily.dev
description: Daniel Stenberg provides a follow-up status update on curl's ongoing code simplification effort. Over the past ten months, the most complex function in curl...
canonical: https://daily.dev/posts/decomplexification-continued-tv9dfygb8
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: decomplexification continued | daily.dev
og:description: Daniel Stenberg provides a follow-up status update on curl's ongoing code simplification effort. Over the past ten months, the most complex function in curl...
og:url: https://daily.dev/posts/decomplexification-continued-tv9dfygb8
og:image: https://api.daily.dev/og/posts/Tv9dfyGB8.png
og:image:alt: decomplexification continued
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# decomplexification continued

**[daniel.haxx.se](https://daily.dev/sources/danielhaxxse)** · 5 min read · 0 upvotes · 0 comments

## Summary

Daniel Stenberg provides a follow-up status update on curl's ongoing code simplification effort. Over the past ten months, the most complex function in curl dropped from a cyclomatic complexity score of 100 to 59, and the average complexity across 171,000 lines of code fell from 20.8 to 15.9. Since 2022, the average complexity has dropped from ~46, with the top 25% of code (previously scoring above 60) now entirely below that threshold. The primary technique is splitting large, multi-purpose functions into smaller, focused sub-functions. While the benefits for security and readability are believed to be real, Stenberg acknowledges it's still too early to measure concrete outcomes from the effort.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://daniel.haxx.se/blog/2026/02/24/decomplexification-continued/>

## Similar posts on daily.dev

- [Approaching zero bugs?](https://daily.dev/posts/approaching-zero-bugs--2agflifds) · daniel.haxx.se · 2 upvotes · 2 comments
- [Stenberg: The pressure](https://daily.dev/posts/stenberg-the-pressure-k8p9szxyv) · LWN.net · 1 upvotes · 0 comments
- [The pressure](https://daily.dev/posts/the-pressure-vvfgkr2pw) · daniel.haxx.se · 23 upvotes · 4 comments
- [cURL’s Daniel Stenberg: AI slop is DDoSing open source](https://daily.dev/posts/curl-s-daniel-stenberg-ai-slop-is-ddosing-open-source-7e4x0vont) · The New Stack · 0 upvotes · 0 comments
- [My first 20,000 curl commits](https://daily.dev/posts/my-first-20-000-curl-commits-rxbylp8hq) · daniel.haxx.se · 40 upvotes · 5 comments

---

Tags: [#open-source](https://daily.dev/tags/open-source), [#curl](https://daily.dev/tags/curl)

[View this post on daily.dev](https://daily.dev/posts/decomplexification-continued-tv9dfygb8)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"decomplexification continued","url":"https://daily.dev/posts/decomplexification-continued-tv9dfygb8","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/decomplexification-continued-tv9dfygb8"},"datePublished":"2026-02-24T12:09:13.208Z","dateModified":"2026-02-24T12:10:03.401Z","description":"Daniel Stenberg provides a follow-up status update on curl's ongoing code simplification effort. Over the past ten months, the most complex function in curl...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/7b21acc344e2eca2f13caa66d01577f7?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/7b21acc344e2eca2f13caa66d01577f7?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"daniel.haxx.se","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"daniel.haxx.se","logo":"https://media.daily.dev/image/upload/s--us7Mqjk6--/f_auto/v1714798819/logos/danielhaxxse","url":"https://daily.dev/sources/danielhaxxse"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/decomplexification-continued-tv9dfygb8","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"open-source,curl","timeRequired":"PT5M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"daniel.haxx.se","item":"https://daily.dev/sources/danielhaxxse"},{"@type":"ListItem","position":3,"name":"decomplexification continued"}]}
```

