Repository navigation
π Codebase Analyzer v1.0.0 β Official Release
We are proud to announce the official v1.0.0 release of Codebase Analyzer! π
Codebase Analyzer is an academic-grade, enterprise-ready static codebase analysis solution designed for developers, students, and project managers. Driven by a blazing-fast, multithreaded C++23 Core Engine and wrapped in an ultra-premium, interactive Electron & React Desktop GUI, this tool provides secure, 100% offline, and microsecond-latency code metric visualization.
π Key Highlights
ποΈ Polymorphic C++23 Core Engine
- Academic Compliance: 100% Object-Oriented Programming (OOP) design based on the 4 core principles: Abstraction, Inheritance, Polymorphism, and Encapsulation.
- Factory & Polymorphic Dispatch: Dynamically matches file extensions and dispatches to specialized concrete analyzer subclasses (
CppAnalyzer,PythonAnalyzer, etc.). - Microsecond Traversal: Recursively crawls complex directory trees, ignores noise folders (
node_modules,.git), and strictly honors root.gitignorerules.
π Futuristic Desktop Dashboard (GUI)
- High-Fidelity Visuals: Stunning terminal-inspired dark theme powered by Tailwind CSS.
- Interactive Metrics: Real-time interactive charts (pie charts, bar charts, and file-by-file tables) to immediately inspect LoC (Lines of Code), Blank Lines, and Comments ratio.
- Unified Markdown Exports: Export consolidated static code observation reports matching the C++ core's template in one click.
π Complete Bilingual Documentation (EN / VI)
- Seamless Toggles: Easily toggle the entire documentation portal between English (100%) and Vietnamese (100% bαΊ£n Δα»a hΓ³a).
- Live Portal: Explore interactive class diagrams, use case matrices, tech stack breakdowns, and automated compilation pipelines online.
- π Visit Live Docs: https://thanhnguyn.github.io/Codebase-Analyzer-docs/
π€ Fully Automated Cross-Platform CI/CD
- 3 OS Out-of-the-Box: Automated compilation and packaging workflows built with GitHub Actions for Windows, macOS, and Linux.
- Smoke Tested: Active headless virtual machine checks ensuring all packaged executables run flawlessly.
π Supported Formats & Parsing Grammars
| Language | Extensions | Parsing Details |
|---|---|---|
| βοΈ C / C++ | .c, .cpp, .cc, .cxx, .h, .hpp |
Parses standard single-line // and multi-line /* */ block comments. |
| π Python | .py |
Parses single-line # comments and triple-quoted ''' / """ docstring blocks. |
| β Java | .java |
Parses standard single-line, multi-line, and Javadoc /** */ annotations. |
| π£ C# | .cs |
Handles single-line, multi-line comments, and preprocessor directives. |
| π¨ JavaScript | .js, .jsx, .mjs, .cjs |
Core single-line // and multi-line /* */ comment bΓ³c tΓ‘ch. |
| π· TypeScript | .ts, .tsx, .mts, .cts |
Fully type-safe script line crawling and comment filtering. |
| π HTML / CSS | .html, .htm, .css |
Parses HTML block comments <!-- --> and CSS comments /* */. |
π¦ Dynamic Platform Downloads
Below are the packaged binaries generated directly by our green GitHub Actions CI/CD pipeline:
πͺ Windows (Portable)
- Filename:
codebase-analyzer-windows.exe - Requirements: Windows 10 / 11 (64-bit).
- Setup: Portable binary. Just download and run!
π macOS (Disk Image)
- Filename:
codebase-analyzer-macos.dmg - Requirements: macOS Big Sur or newer.
- Setup: Mount the
.dmgand drag Codebase Analyzer to your Applications folder.
π§ Linux (AppImage)
- Filename:
codebase-analyzer-linux.AppImage - Requirements: Any modern glibc-compatible Linux distribution (Ubuntu, Debian, Fedora...).
- Setup:
chmod +x codebase-analyzer-linux.AppImage ./codebase-analyzer-linux.AppImage
π₯ Academic Project Credits
This project was built as the Semester Project for the Object-Oriented Programming (OOP) course by:
- Nguyα»
n TuαΊ₯n ThΓ nh (Leader) β ID:
25112107 - ΔoΓ n Ngα»c BΓch β ID:
25112138 - Nguyα»
n ΔΔng Khoa β ID:
25112163
Tip
To compile the raw C++ Core Engine from source on your local machine using CMake or MSVC/GCC, please refer to our Installation and Build Guide on GitHub or the Web Docs.