#typescript #javascript #analyzer #code-quality #rust

app code_analyzer

A Rust-based static code analysis tool for JavaScript, TypeScript, Python, and Go

2 releases

0.1.1 Aug 12, 2024
0.1.0 Aug 12, 2024

#99 in #analyzer

MIT license

5KB

Code Analyser

Code Analyser is a simple code analyzer built in Rust that supports multiple programming languages, including JavaScript, TypeScript, Python, and Go. The tool is designed to analyze your codebase for quality metrics such as cyclomatic complexity and other code quality indicators.

Features

  • Multi-language support: Analyze JavaScript, TypeScript, Python, and Go code.
  • Code quality metrics: Evaluate the complexity and structure of your code.
  • Command-line interface: Easy to use from the terminal.
  • Extensible: Built with Rust, making it easy to extend for other languages or features.

Installation

To install code_analyser, you'll need to have Rust installed on your system. You can install Rust by following the instructions here.

Once Rust is installed, you can install code_analyser using the following command:

cargo install code_analyser

This will install the code_analyser binary globally on your system.

Usage

You can run the code_analyser on a specific project by passing the path to the project directory as an argument. For example:

code_analyser /path/to/your/project

This will analyze all JavaScript, TypeScript, Python, and Go files in the directory and print a report with the results.

Example

code_analyser ./my_project

This command will analyze the ./my_project directory and output the analysis results.

Contributing

Contributions are welcome! If you'd like to contribute to code_analyser, please fork the repository and submit a pull request. We welcome improvements to the codebase, additional features, and new language support.

License

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

Contact

For any questions or issues, please contact CodeWise Technologies at dev@codewisetech.biz.

Dependencies

~2.6–4MB
~75K SLoC