Static Code Analysis Agent (Vertex AI)
Static Code Analysis Agent (Vertex AI): Elevate code quality with AI-powered insights.
Publisher
Accenture
Product Details
This agent performs static analysis on Java source code to detect code smells, deprecated APIs, legacy patterns, and cloud migration candidates. It uses Lizard to compute code complexity and Vertex AI for in-depth analysis.
The agent starts when code is uploaded to a Cloud Storage bucket. It applies predefined and custom rewrite recipes to produce structured diagnostics and improvement suggestions, stores the results in an analysis results bucket, and sends a Pub/Sub notification to trigger downstream agents. Automating static analysis improves code quality, reduces technical debt, catches issues early, and speeds up cloud migration. Software developers, IT teams, and cloud architects working on legacy Java applications use it for code modernization and cloud readiness. It runs a Gemini LLM on Vertex AI, with Cloud Storage for code and results and Pub/Sub for event-driven triggers.
Key Use Cases
Automated Legacy Java Modernization Assessment
Triggers via Pub/Sub upon code upload to Cloud Storage, utilizing Lizard metrics and Vertex AI Gemini to generate detailed diagnostic reports on technical debt and deprecated APIs.
Cloud Migration Code Readiness & Automated Refactoring
Evaluates monolithic Java codebases against cloud-native design rules, providing automated code rewrite recipes and architecture recommendations for migration to Google Cloud.
Explore detailed deployment path
Requires Gemini. Access integration prerequisites, specialized agent configuration guides, and implementation documentation.