Automating Sonar Bug Fixes with Python and Google AI
Background
During routine development, addressing accumulated Sonar issues across legacy codebases presents a significant challenge. After several years of continuous development, thousands of issues have accumulated, ranging from code style violations to deprecated comments. Manually resolvign these issues proves time-consuming and tedious.
Th ...
Posted on Sat, 23 May 2026 20:38:34 +0000 by grayscale2005.
What Constitutes Technically Sophisticated Code in Software Development?
Service Warm-up Implementation
The core logic for service warm-up can be demonstrated through a simplified method:
static int computeRampUpWeight(int elapsedMillis) {
int calculated = (int) (elapsedMillis / 6000);
return calculated < 1 ? 1 : Math.min(calculated, 100);
}
This function calculates service weight based on uptime in mill ...
Posted on Fri, 08 May 2026 11:02:09 +0000 by robster
Integrating p3c-pmd with GitLab for Java Code Quality Checks
p3c-pmd Overview
p3c-pmd is a static code analysis tool that enforces Alibaba's Java coding stanndards. It extends the open-source PMD framework to specifically check for violations of the Alibaba Java Development Guidelines.
PMD Architecture
PMD operates by:
Parsing source code into a Abstract Syntax Tree (AST)
Appplying rule sets to traverse ...
Posted on Fri, 08 May 2026 10:21:22 +0000 by thines