Skip to content

Chrome Extension that provide Time and Space complexity of a code with the help of AI.

Notifications You must be signed in to change notification settings

Mukul-svg/AI-Code-Analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI-Powered Code Analysis Chrome Extension

This Chrome extension leverages AI to provide advanced code analysis capabilities right in your browser. Built with HTML, CSS, JavaScript, Node.js, and utilizing the Gemini API, it offers powerful features for developers and code reviewers alike.

Key Use Cases

  1. Time and Space Complexity Analysis for Leetcode and Other Platforms

    • Quickly analyze the time and space complexities of code solutions on platforms like Leetcode.
    • Gain insights into algorithm efficiency directly from the extension.
  2. Real-time Time Complexity Analysis during Code Review

    • Facilitate efficient code reviews by assessing time complexity directly within your development environment.
    • Identify potential performance bottlenecks early in the development process.

Future Enhancements

  • Advanced Algorithm Insights: Expand AI capabilities to offer deeper insights into algorithmic strategies and optimizations.
  • Interactive Visualizations: Incorporate visual aids to better illustrate code complexity and performance characteristics.
  • Integration with IDEs: Extend functionality to popular Integrated Development Environments (IDEs) for seamless cross-platform usability.

How to Use

  1. Download the Extension:

    • Clone or download the repository to your local machine.
  2. Install the Extension:

    • Open Google Chrome and navigate to chrome://extensions/.
  3. Enable Developer Mode:

    • Toggle on the "Developer mode" using the switch at the top right corner of the page.
  4. Load the Extension:

    • Click on the "Load unpacked" button.
  5. Select Extension Directory:

    • Navigate to the directory where you cloned/downloaded the extension and select the folder.
  6. Initiate Analysis:

    • Navigate to a coding platform or pull up a code snippet.
    • Click on the extension icon (usually found in the Chrome toolbar) to initiate analysis and view results in real-time.

Contributing

Contributions are welcome! Whether you're interested in adding features, fixing bugs, or improving documentation, please feel free to fork the repository and submit pull requests.

About

Chrome Extension that provide Time and Space complexity of a code with the help of AI.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published