Skip to content

Chamaththa123/Static-Code-Analyzer-CodeSense

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 

Repository files navigation

Java Code Analysis Web App

Introduction

The Code Analyzer Web App is a powerful tool designed to analyze Java code files, calculate code complexity, identify syntax errors, and help you maintain clean and efficient code. It provides a range of features to enhance the coding experience, from complexity analysis to code duplication detection.

Features

  • User Management: Users can register and log in to the app. Once logged in, they can view and manage their previously uploaded code files in their profile.
  • Code Complexity Analysis: Analyze the complexity of your Java code, helping you maintain clean and efficient software.
  • Software Composition Analysis Metrics: Calculate metrics related to your code's structure, including class counts, and more.
  • Syntax Error Detection: Identify and highlight syntax errors within the uploaded Java code, making it easier to catch and correct mistakes.
  • Code Duplication Detection: Find and display duplicated code sections, offering recommendations to refactor and reduce redundancy.
  • Code Revision: Save and access previously uploaded code files in your user profile for future reference and analysis.
  • Download Previous Uploads : Users can easily download previously uploaded code files from their profile for offline reference or further analysis.
  • User Reviews: Allow users to provide feedback and reviews about the tool, helping to improve and enhance its features.

Technologies Used

This web app is built using the MERN (MongoDB, Express, React, Node.js) stack, along with various other technologies and libraries:


Frontend:

  • React: Building the user interface and components.
  • Axios: Handling HTTP requests to the backend.

  • Backend:

  • Node.js: Serving as the server-side runtime environment.
  • Express.js: Handling routing and API endpoints.
  • MongoDB: Storing user profiles, uploaded code, and reviews.

  • Other:

  • Java Parser Libraries: Utilized to analyze and parse Java code.
  • Code Analysis Libraries: Used to calculate code complexity and detect syntax errors.

  • Database:

  • MongoDB: Storing user data, uploaded code files, and reviews.

  • Authentication:

  • JSON Web Tokens (JWT): Securing user authentication and authorization.

  • Styling:

  • CSS and React Boostrap.

  • Getting Started

    1. Clone this repository. : gh repo clone Chamaththa123/Static-Code-Analyzer
    2. Install the necessary dependencies using npm install in both the client and backend directories.
    3. Set up your MongoDB database and configure the connection in the backend/config/db.js file.
    4. Start the backend using npm start in the backend directory.
    5. Start the React app using npm start in the client directory.

    UI

    About

    No description, website, or topics provided.

    Resources

    Stars

    Watchers

    Forks

    Releases

    No releases published

    Packages

    No packages published