Skip to content

zabwie/CodeAnalyzer

Repository files navigation

Code Analyzer

Overview

Code Analyzer is a powerful desktop application built with Electron that helps developers analyze and improve their code across multiple programming languages. With its cyberpunk-inspired interface, it provides a unique and engaging experience while delivering valuable insights about your code quality, potential issues, and best practices.

Features

  • Multi-language Support: Analyze code in JavaScript, Python, C++, C, Rust, Lua, Java, C#, PHP, Ruby, Go, Swift, and SQL.

  • Real-time Analysis: Get immediate feedback as you write or paste your code.

  • Comprehensive Reports: Generate detailed reports highlighting issues, warnings, and suggestions.

  • Code Quality Metrics: Identify complexity, maintainability issues, and potential bugs.

  • Best Practices: Receive recommendations based on language-specific best practices and coding standards.

  • Exportable Results: Save analysis reports for future reference or sharing with your team.

Installation

Prerequisites

  • Node.js (v14 or higher)
  • npm or yarn

Installation Steps

  1. Clone the repository:
    git clone https://github.com/zabwie/CodeAnalyzer.git
    cd CodeAnalyzer
    npm install
    npm start

    Usage

  2. Select a Language : Choose the programming language of your code from the dropdown menu.
  3. Enter Your Code : Type or paste your code into the editor.
  4. Analyze : Click the "Analyze Code" button or press Ctrl+Enter to start the analysis.
  5. Review Results : Examine the analysis results in the right panel, which will highlight issues, warnings, and suggestions.
  6. Save Report : Click the "Save Report" button or press Ctrl+S to export your analysis as an HTML report.

Supported Languages

  • JavaScript
  • Python
  • C++
  • C
  • Rust
  • Lua
  • Java
  • C#
  • PHP
  • Ruby
  • Go
  • Swift
  • SQL

Contributing

Contributions are welcome! If you'd like to contribute to Code Analyzer, please follow these steps:

  1. Fork the repository
  2. Create a new branch ( git checkout -b feature/amazing-feature )
  3. Make your changes
  4. Commit your changes ( git commit -m 'Add some amazing feature' )
  5. Push to the branch ( git push origin feature/amazing-feature )
  6. Open a Pull Request

License

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

Acknowledgments

  • Monaco Editor for the powerful code editing capabilities
  • Electron for enabling cross-platform desktop applications
  • All the open-source linters and analyzers that inspired this project

Made out of boredom.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published