From 90a2907b413273361ffea57a6120d66f4bfe90eb Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 13 May 2026 17:26:19 +0000 Subject: [PATCH] Add per-module breakdown charts to LOC-over-time graph Adds two charts: a stacked area showing the relative size of each top-level module (tests/, ui/, litellm/proxy/, litellm/llms/, etc.) over time, and a log-scale line chart so smaller modules remain visible alongside the larger ones. --- loc_over_time.html | 109 ++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 108 insertions(+), 1 deletion(-) diff --git a/loc_over_time.html b/loc_over_time.html index 2666aa27fcc..0170feb25aa 100644 --- a/loc_over_time.html +++ b/loc_over_time.html @@ -80,6 +80,16 @@ +
+
Composition by module (stacked)
+ +
+ +
+
Module growth (lines, log scale)
+ +
+
Monthly change (lines added/removed per month)
@@ -89,7 +99,14 @@ Methodology: for each month, the last commit on or before the 1st of the next month was selected. Lines were counted with git grep -c "" <commit> -- '*.py' '*.ts' '*.tsx' '*.js' '*.jsx', excluding paths under node_modules, .next, _experimental/out, -dist, and build. Counts include tests, generated code under litellm/proxy/, etc. +dist, and build. Module buckets: +litellm/proxy/, litellm/llms/, litellm/integrations/, +litellm/types/, litellm/core (everything else under litellm/: +main.py, router*, utils.py, caching/, etc.), +ui/ (Next.js dashboard), tests/, enterprise/, +litellm-proxy-extras/, and other (cookbook/, scripts/, CI). +The drop in litellm/core in Sep 2024 is a code reorg — about 62k lines moved into +tests/ that month (and the ui/ bucket also appeared in volume that month).