01
Stage 1. User Login & Authentication
Process
The developer logs into the Software Code Analysis Application using registered credentials.
Tools
Keycloak
Kubernetes
Implementation
The application sends the login request to Keycloak. Keycloak verifies the user's identity and provides access to the appropriate application functions.
02
Stage 2. Source Code Upload
Process
The developer uploads source code or provides a source-code repository for analysis.
Tools
Python
PostgreSQL
Kubernetes
Implementation
The application receives the source code, validates the project information, and stores the required project and analysis details in PostgreSQL.
03
Stage 3. Source Code Preprocessing
Process
The application prepares the source code before sending it to the AI analysis engine.
Tools
Python
Python Libraries
Kubernetes
Implementation
Python reads the source files, identifies the programming language, extracts relevant code sections, and prepares the code for AI-based analysis.
04
Stage 4. AI-Based Code Analysis
Process
The application analyzes the source code and identifies technical issues.
Tools
Python
LLM/Generative AI Model
Kubernetes
Implementation
Python sends the relevant code to the Generative AI model. The model analyzes the code and identifies issues such as potential bugs, poor coding practices, security concerns, and inefficient implementations.
05
Stage 5. Issue Classification & Recommendation
Process
The application organizes detected issues and generates recommendations for fixing them.
Tools
Python
PostgreSQL
Implementation
Python processes the AI response, categorizes the identified issues based on severity and type, and stores the analysis results and recommendations in PostgreSQL.
06
Stage 6. Results & Dashboard
Process
The developer views the analysis results through the application dashboard.
Tools
Python
PostgreSQL
Kubernetes
Implementation
The application retrieves the stored analysis results from PostgreSQL and displays detected issues, severity, affected code sections, explanations, and recommended improvements.
07
Stage 7. Report Generation
Process
The developer generates a report containing the source-code analysis results.
Tools
Python
PostgreSQL
Implementation
Python retrieves the analysis information from PostgreSQL, formats the results, and generates the required code analysis report.
08
Stage 8. Analysis History & Logout
Process
The developer reviews previous analysis results and logs out of the application.
Tools
PostgreSQL
Keycloak
Kubernetes
Implementation
The application retrieves previous analysis records from PostgreSQL. After completing the required activities, the developer logs out and the session is terminated through Keycloak.