<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: xarcho</title>
    <description>The latest articles on Forem by xarcho (@xarcho).</description>
    <link>https://forem.com/xarcho</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3817662%2Fc9aec15e-19bf-4e13-b230-ff9cdfa5af4b.jpeg</url>
      <title>Forem: xarcho</title>
      <link>https://forem.com/xarcho</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/xarcho"/>
    <language>en</language>
    <item>
      <title>I built a CLI that finds dying files in your codebase</title>
      <dc:creator>xarcho</dc:creator>
      <pubDate>Wed, 11 Mar 2026 02:09:28 +0000</pubDate>
      <link>https://forem.com/xarcho/i-built-a-cli-that-finds-dying-files-in-your-codebase-2mp5</link>
      <guid>https://forem.com/xarcho/i-built-a-cli-that-finds-dying-files-in-your-codebase-2mp5</guid>
      <description>&lt;p&gt;Every codebase has files that nobody owns. Files too complex to &lt;br&gt;
understand. Files last touched 3 years ago by someone who left. &lt;br&gt;
They never show up in sprint planning — but they cause the most &lt;br&gt;
bugs, the slowest onboarding, and the worst incidents.&lt;/p&gt;

&lt;p&gt;I built &lt;strong&gt;deathbed&lt;/strong&gt; to make them visible.&lt;/p&gt;
&lt;h2&gt;
  
  
  What it does
&lt;/h2&gt;

&lt;p&gt;Run it inside any git repo:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;pip &lt;span class="nb"&gt;install &lt;/span&gt;deathbed
&lt;span class="nb"&gt;cd &lt;/span&gt;your-project
deathbed
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You get a full file health report scored across 6 metrics:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Size&lt;/strong&gt; — lines of code&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Age&lt;/strong&gt; — days since last commit touched this file&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Churn&lt;/strong&gt; — how many times it's been modified&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Complexity&lt;/strong&gt; — cyclomatic complexity via radon&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Authors&lt;/strong&gt; — how many unique people have touched it&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Tests&lt;/strong&gt; — whether a corresponding test file exists&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Each file gets a health score from 0-100 with a plain-English &lt;br&gt;
diagnosis like "complexity graveyard", "legacy ghost", or &lt;br&gt;
"too many cooks".&lt;/p&gt;
&lt;h2&gt;
  
  
  Why I built it
&lt;/h2&gt;

&lt;p&gt;I kept inheriting codebases with no idea where to start. &lt;br&gt;
Which files are safe to touch? Which ones will break everything? &lt;br&gt;
Which ones does nobody understand anymore?&lt;/p&gt;

&lt;p&gt;No tool answered that question simply. So I built one.&lt;/p&gt;
&lt;h2&gt;
  
  
  It's completely free and offline
&lt;/h2&gt;

&lt;p&gt;No API key. No config file. No account. Just:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;pip &lt;span class="nb"&gt;install &lt;/span&gt;deathbed
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Try it on a repo you know
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git clone https://github.com/pallets/flask
&lt;span class="nb"&gt;cd &lt;/span&gt;flask
deathbed
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Some of the results might surprise you.&lt;/p&gt;




&lt;p&gt;GitHub: &lt;a href="https://github.com/NikoloziKhachiashvili/deathbed" rel="noopener noreferrer"&gt;https://github.com/NikoloziKhachiashvili/deathbed&lt;/a&gt;&lt;br&gt;
PyPI: &lt;a href="https://pypi.org/project/deathbed" rel="noopener noreferrer"&gt;https://pypi.org/project/deathbed&lt;/a&gt;&lt;/p&gt;

</description>
      <category>python</category>
      <category>cli</category>
      <category>devtools</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
