Skip to content

A static code analysis tool designed to provide insights and improve the quality of web applications during development.

License

Notifications You must be signed in to change notification settings

techfever-soft/labinsight

Repository files navigation

LabInsight is a powerful static code analysis tool that provides deep insights into your codebase.

Whether you're working with JavaScript, TypeScript, or Python, LabInsight helps you identify potential code issues, enforce best practices, and maintain a high level of code quality.

🚀 Get Started with LabInsight

Improve your development workflow with customizable rules, in-depth analysis, and real-time reports — all from the comfort of your terminal.

🔍 Key Features

  • Project Exploration: Automatically analyzes your project's structure without needing to configure paths manually.
  • Multi-language Support: Supports JavaScript, TypeScript, and Python, with more languages planned.
  • Flexible Reporting: Generate terminal, JSON, or HTML reports to track and share code quality.
  • Real-time Feedback: Catch errors as you code, improving productivity and preventing future issues.

Code Analysis and Customization

LabInsight offers both basic and deep code analysis:

  • Basic Analysis: Quickly identifies common errors and ensures best practices.
  • Deep Analysis: Examines code complexity, cognitive complexity, and other advanced metrics to optimize your code.
  • Custom Rules: Tailor LabInsight to your project by creating custom rules to enforce your specific standards.

See the roadmap for more features

📊 Supported Languages

TypeScript JavaScript Python

More language support is planned in future releases.

🔧 Features in Development

LabInsight is constantly evolving! Here are some of the exciting features we’re working on:

  • Support for more languages (Go, Ruby, etc.)
  • Performance Analysis to identify bottlenecks.
  • CI/CD Pipeline Integration for automated code checks.

Installation

To install Labinsight globally, use npm:

npm install -g @techfever/labinsight

Usage

labinsight init

To initialize a new .labinsight file in your current working directory. It automatically detects your project's configuration.

labinsight analyze

To analyze your codebase in a single command. You will be prompted for which type of analysis you want to perform.

Available arguments are --keep, --type, --silent, --verbose, --only, --format. (See docs)

Contributing

We welcome contributions to Labinsight ! To contribute:

  • Fork the repository.
  • Create a new branch (git checkout -b feature/awesome-feature).
  • Make your changes.
  • Commit your changes (git commit -am 'Add awesome feature').
  • Push to the branch (git push origin feature/awesome-feature).
  • Open a pull request. Please ensure your pull request adheres to the code of conduct.

License

This project is licensed under the MIT License - see the LICENSE file for details.