<?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>DEV Community: Aditya Kumar Tyagi</title>
    <description>The latest articles on DEV Community by Aditya Kumar Tyagi (@adityatyagidev).</description>
    <link>https://dev.to/adityatyagidev</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4270314%2F8da0fa9b-bf20-4837-ba56-4f3586f38f36.png</url>
      <title>DEV Community: Aditya Kumar Tyagi</title>
      <link>https://dev.to/adityatyagidev</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/adityatyagidev"/>
    <language>en</language>
    <item>
      <title>Introducing RepoLens: Looking Beyond the Code 🔍</title>
      <dc:creator>Aditya Kumar Tyagi</dc:creator>
      <pubDate>Sat, 28 Nov 2026 08:22:05 +0000</pubDate>
      <link>https://dev.to/adityatyagidev/introducing-repolens-looking-beyond-the-code-1bo7</link>
      <guid>https://dev.to/adityatyagidev/introducing-repolens-looking-beyond-the-code-1bo7</guid>
      <description>&lt;p&gt;&lt;strong&gt;A small project, a lot of learning, and my first public release.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;I've always been interested in building tools that solve practical problems for developers.&lt;/p&gt;

&lt;p&gt;So, I decided to build something of my own: &lt;strong&gt;RepoLens&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;RepoLens is a lightweight, cross-platform repository analysis tool built with Python. It scans a project directory, analyses its source files, and generates a report with statistics and an overall score.&lt;/p&gt;

&lt;p&gt;GitHub Repository: &lt;a href="https://github.com/AdityaTyagi-Dev/RepoLens" rel="noopener noreferrer"&gt;https://github.com/AdityaTyagi-Dev/RepoLens&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Why did I build RepoLens?
&lt;/h2&gt;

&lt;p&gt;When working with code, we often focus on whether the program works.&lt;/p&gt;

&lt;p&gt;But there's more to a project than just working code.&lt;/p&gt;

&lt;p&gt;How readable is it?&lt;br&gt;&lt;br&gt;
Are the lines unnecessarily long?&lt;br&gt;&lt;br&gt;
Does the project have proper documentation?&lt;/p&gt;

&lt;p&gt;I wanted to explore these questions by building a tool that could analyse a repository and present some useful insights.&lt;/p&gt;

&lt;p&gt;That became RepoLens.&lt;/p&gt;

&lt;h2&gt;
  
  
  What can RepoLens do?
&lt;/h2&gt;

&lt;p&gt;The initial release, &lt;strong&gt;v0.1.0-alpha&lt;/strong&gt;, focuses on three analysis metrics:&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Comment Density
&lt;/h3&gt;

&lt;p&gt;Analyses the relationship between comment lines and code lines to provide an overview of code commenting.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Long Line Analysis
&lt;/h3&gt;

&lt;p&gt;Identifies unnecessarily long lines in source files and calculates their proportion.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. README Analysis
&lt;/h3&gt;

&lt;p&gt;Checks the project's README file and analyses basic information such as its presence, size, word count and character count.&lt;/p&gt;

&lt;p&gt;These metrics contribute to an overall score out of 100.&lt;/p&gt;

&lt;p&gt;The scoring system currently uses heuristic thresholds, so the score is an initial indicator rather than a definitive measure of code quality.&lt;/p&gt;

&lt;h2&gt;
  
  
  How is it structured?
&lt;/h2&gt;

&lt;p&gt;One of the things I focused on was keeping responsibilities separate.&lt;/p&gt;

&lt;p&gt;The current architecture follows three important principles:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Scanner:&lt;/strong&gt; Discovers directories and files.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Analyser:&lt;/strong&gt; Decides what to analyse and performs the analysis.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Reporter:&lt;/strong&gt; Presents the results in the terminal.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The rating engine handles score calculation separately.&lt;/p&gt;

&lt;p&gt;I wanted each module to have a clear responsibility instead of putting everything into one large Python file.&lt;/p&gt;

&lt;h2&gt;
  
  
  Technologies used
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Python&lt;/li&gt;
&lt;li&gt;pathlib&lt;/li&gt;
&lt;li&gt;Python Standard Library&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;One thing I'm happy about is that RepoLens currently requires no external Python dependencies.&lt;/p&gt;

&lt;h2&gt;
  
  
  What's next?
&lt;/h2&gt;

&lt;p&gt;This is only the initial release.&lt;/p&gt;

&lt;p&gt;There are plenty of things I'd like to explore in future versions, including:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;More repository analysis metrics&lt;/li&gt;
&lt;li&gt;Improved language support&lt;/li&gt;
&lt;li&gt;Better code-quality analysis&lt;/li&gt;
&lt;li&gt;Project structure analysis&lt;/li&gt;
&lt;li&gt;Documentation and testing analysis&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I want to improve RepoLens gradually while keeping its architecture maintainable.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I learned
&lt;/h2&gt;

&lt;p&gt;Building RepoLens taught me more than just writing Python code.&lt;/p&gt;

&lt;p&gt;I got to work on file-system traversal, language identification, modular architecture, analysis logic, scoring systems, error handling, and packaging a project for a public release.&lt;/p&gt;

&lt;p&gt;Most importantly, I experienced the process of taking an idea, turning it into a working project, and publishing it on GitHub.&lt;/p&gt;

&lt;h2&gt;
  
  
  Try RepoLens
&lt;/h2&gt;

&lt;p&gt;The project is open source, and I'd genuinely appreciate feedback, suggestions, and contributions.&lt;/p&gt;

&lt;p&gt;🔗 &lt;strong&gt;GitHub:&lt;/strong&gt; &lt;a href="https://github.com/AdityaTyagi-Dev/RepoLens" rel="noopener noreferrer"&gt;https://github.com/AdityaTyagi-Dev/RepoLens&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This is my first public release, and I'm looking forward to improving it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Build. Learn. Improve. Repeat.&lt;/strong&gt;&lt;/p&gt;




&lt;p&gt;&lt;em&gt;I'm a student developer at NIT Patna, exploring software development, Python, AI, and open source through hands-on projects.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>python</category>
      <category>opensource</category>
      <category>programming</category>
      <category>showdev</category>
    </item>
  </channel>
</rss>
