Code Quality Checker is a terminal-based application designed to analyze C/C++ source files for code quality issues. Utilizing the FTXUI library, this project provides a user-friendly interface for displaying errors and warnings detected by a lexer. The application is built with modern C++ standards and aims to help developers maintain high-quality code.
- Analyze C/C++ source files for common code quality issues.
- Interactive terminal user interface built with FTXUI.
- Easy setup and build process using CMake.
- Supports error reporting and navigation through detected issues.
This project depends on the following libraries and tools:
- FTXUI: A library for building terminal user interfaces.
- nlohmann/json: A JSON library for C++.
- CMake: A cross-platform build system generator.
- Git: For version control and fetching dependencies.
To build the project, follow these steps:
-
Clone the repository:
git clone https://github.com/Ruebled/CodeQualityChecker.git cd CodeQualityChecker
-
Ensure you have the required dependencies:
- Install CMake and Git if they are not already installed. You can typically install them using your package manager. For example, on Ubuntu:
sudo apt update sudo apt install cmake git
- Install CMake and Git if they are not already installed. You can typically install them using your package manager. For example, on Ubuntu:
-
Build the project:
- Make sure you are in the project directory where the
Makefile
is located. You can compile both thecqc-tui
andcqc-cli
projects by running:make
- Alternatively, you can use:
make all
- This will compile both projects automatically.
- Make sure you are in the project directory where the
-
Run the application:
- After building, you can run the application with:
make run
- This command will execute the project using the files in the
test-proj
directory.
- After building, you can run the application with:
Once the application is running, you can analyze C/C++ source files by providing the path to the file or directory as an argument. The terminal interface will display any detected errors or warnings, allowing you to navigate through them easily.
This project is licensed under the MIT License. See the LICENSE file for more details.
Contributions are welcome! If you have suggestions for improvements or new features, please feel free to submit a pull request or open an issue.
- Thanks to the FTXUI team for their excellent library.
- Thanks to the nlohmann/json library for JSON handling in C++.