CodeInsight AI: A Context-Aware Framework for Automated Codebase Comprehension through Dependency Analysis, Interactive Visualization, and Large Language Models

Understanding an unfamiliar software repository often means piecing together information scattered across files, folders, imports, and architectural layers. Dependency tools can show how files relate to one another, while AI coding assistants can explain code, but developers do not always get these capabilities in one place. CodeInsight AI brings them together in a web-based environment. It scans ZIP archives or Git repositories, identifies supported source files, extracts imports with regular expressions, resolves local references, groups files using practical architectural heuristics, and displays the resulting dependency graph. Project information is stored in PostgreSQL, and selected details are added to the prompt sent to Gemini when a developer asks a question. In the evaluation, JavaScript/TypeScript dependency extraction achieved 86.2% precision, 96.2% recall, and an F1 score of 90.9% against Madge. The Python comparison reported 100% concordance for internal dependencies against a reference built with Python's native ast module, and architectural classification reached 97.6% accuracy. Five-run benchmarks covered repositories from 60 to 1,000 source files. In a study involving 14 undergraduate students, the CodeInsight AI group completed comprehension tasks 60.3% faster, answered more accurately (92.9% versus 64.3%), and gave the system a mean System Usability Scale score of 84.6 out of 100.

Authors

Institutions

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-11-25
DOI
https://doi.org/10.5281/zenodo.24526339
Primary Topic
Software Engineering Research
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

CodeInsight AI: A Context-Aware Framework for Automated Codebase Comprehension through Dependency Analysis, Interactive Visualization, and Large Language Models

Darshan Totagi, Bindu N G, Basavaraj H A, Akhila A et al.
4 links
Zenodo (CERN European Organization for Nuclear Research)
Software Engineering Research
article

CodeInsight AI: A Context-Aware Framework for Automated Codebase Comprehension through Dependency Analysis, Interactive Visualization, and Large Language Models

Darshan Totagi, Bindu N G, Basavaraj H A, Akhila A, B Yashwanth
article en

Abstract

Understanding an unfamiliar software repository often means piecing together information scattered across files, folders, imports, and architectural layers. Dependency tools can show how files relate to one another, while AI coding assistants can explain code, but developers do not always get these capabilities in one place. CodeInsight AI brings them together in a web-based environment. It scans ZIP archives or Git repositories, identifies supported source files, extracts imports with regular expressions, resolves local references, groups files using practical architectural heuristics, and displays the resulting dependency graph. Project information is stored in PostgreSQL, and selected details are added to the prompt sent to Gemini when a developer asks a question. In the evaluation, JavaScript/TypeScript dependency extraction achieved 86.2% precision, 96.2% recall, and an F1 score of 90.9% against Madge. The Python comparison reported 100% concordance for internal dependencies against a reference built with Python's native ast module, and architectural classification reached 97.6% accuracy. Five-run benchmarks covered repositories from 60 to 1,000 source files. In a study involving 14 undergraduate students, the CodeInsight AI group completed comprehension tasks 60.3% faster, answered more accurately (92.9% versus 64.3%), and gave the system a mean System Usability Scale score of 84.6 out of 100.

Zenodo (CERN European Organization for Nuclear Research)
Visvesvaraya Technological University (IN)
Software Engineering Research
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon