Qualytics is a powerful VS Code extension that provides code quality metric visualization for TypeScript projects. It helps developers gain insights into their codebase's complexity, maintainability, and overall health. To get in-depth understanding of how it works, click here.
- 📊 Visualize key code metrics:
- Cyclomatic Complexity
- Maintainability Index
- Lines of Code
- 📈 Interactive charts for easy metric interpretation
- 🔍 Project-level analysis for pinpointing areas of improvement
- Open VS Code
- Go to the Extensions view (Ctrl+Shift+X or Cmd+Shift+X on macOS)
- Search for "Qualytics"
- Click Install
Alternatively, you can install it from the VS Code Marketplace.
- Open a TypeScript file in VS Code
- Open the Command Palette (Ctrl+Shift+P or Cmd+Shift+P on macOS)
- Type "Qualytics: Show Code Metrics" and press Enter
- A new panel will open, displaying the metrics for your current file
Measures the number of linearly independent paths through your code. Lower is generally better, as high complexity can indicate code that's difficult to test and maintain.
A composite metric that considers volume, complexity, and lines of code. Scores range from 0 to 100, with higher scores indicating more maintainable code.
Counts the number of executable lines in your file, excluding blank lines, comments, and other non-executable statements. This metric provides a clearer picture of your code's actual size and can help identify files that might be too large and in need of refactoring. Remember, while a lower count often indicates more manageable code, it's not always a direct indicator of quality.
We welcome contributions to Qualytics! Here's how you can help:
- Fork the repository
- Create a new branch (
git checkout -b feature/AmazingFeature
) - Make your changes
- Commit your changes (
git commit -m 'Add some AmazingFeature'
) - Push to the branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
Made with ❤️ by Aritra Mazumder
Got questions or feedback? Open an issue - I'd love to hear from you!