Tag

PMD

1 views collected around this technical thread.

Java Architect Essentials
Java Architect Essentials
Apr 17, 2025 · Fundamentals

A Comprehensive Guide to Java Code Quality Tools: Alibaba Java Coding Guidelines, CheckStyle, PMD, FindBugs, and SonarLint

This article introduces several Java code quality tools—including Alibaba Java Coding Guidelines, CheckStyle, PMD, FindBugs, and SonarLint—detailing their installation, usage, and key features to help developers improve code standards, detect bugs, and streamline code review processes.

FindBugsIDE pluginsJava
0 likes · 13 min read
A Comprehensive Guide to Java Code Quality Tools: Alibaba Java Coding Guidelines, CheckStyle, PMD, FindBugs, and SonarLint
JD Retail Technology
JD Retail Technology
Feb 23, 2024 · Backend Development

Static and Dynamic Code Inspection for Reducing Java Backend Code Corruption

This article explains how to use static analysis tools like IDEA and PMD together with dynamic coverage tools such as JaCoCo to identify, clean up, and refactor unused, duplicated, or dead Java code in large backend projects, improving maintainability and stability.

Dynamic AnalysisJaCoCoJava
0 likes · 9 min read
Static and Dynamic Code Inspection for Reducing Java Backend Code Corruption
Baidu App Technology
Baidu App Technology
Jul 10, 2023 · Mobile Development

Baidu App iOS Package Size Optimization: Code Optimization Techniques

The article explains how Baidu App reduces its iOS package size by analyzing Link Map files and applying six code‑optimization techniques—unused class and module slimming, unused method pruning with LLVM, duplicate‑code detection, utility‑method consolidation, and A/B‑test hardening—yielding up to 8 MB of savings.

AB testingLink MapMach-O
0 likes · 15 min read
Baidu App iOS Package Size Optimization: Code Optimization Techniques
Sohu Tech Products
Sohu Tech Products
Dec 11, 2019 · Backend Development

Extending Alibaba Java Coding Guidelines (p3c) with Custom Rules: A Step‑by‑Step Guide

This article explains why coding standards are essential, introduces PMD and Alibaba's p3c plugin, and provides a detailed, code‑rich tutorial on designing, implementing, testing, and packaging custom Java static‑analysis rules to enforce @RequestMapping conventions.

Custom RulesGradleJava
0 likes · 11 min read
Extending Alibaba Java Coding Guidelines (p3c) with Custom Rules: A Step‑by‑Step Guide
Architecture Digest
Architecture Digest
Jan 26, 2018 · Fundamentals

Overview of Java Code Quality and Eclipse Plugins

This article introduces five key aspects of Java code quality—coding standards, duplicate code, test coverage, dependency analysis, and complexity analysis—and explains how Eclipse plugins such as CheckStyle, PMD/CPD, EclEmma, JDepend, and Metrics can be configured and used to assess and improve each aspect.

CheckStyleEclEmmaJDepend
0 likes · 11 min read
Overview of Java Code Quality and Eclipse Plugins
360 Quality & Efficiency
360 Quality & Efficiency
May 27, 2016 · Information Security

Creating a Custom PMD Rule to Detect Sensitive Information in Android Log Output

This article continues a previous guide by demonstrating how to define a complex custom PMD rule that flags Android log statements exposing sensitive data such as device identifiers, process IDs, class names, and file paths, illustrating rule design, AST analysis, example code, and verification steps.

Custom RuleJavaPMD
0 likes · 7 min read
Creating a Custom PMD Rule to Detect Sensitive Information in Android Log Output
360 Quality & Efficiency
360 Quality & Efficiency
May 16, 2016 · Fundamentals

Creating Custom PMD Rules with Java and XPath

This tutorial walks through preparing the PMD environment, exploring its directory structure, and step‑by‑step instructions for implementing a custom rule—such as enforcing braces on while loops—using both Java code and XPath expressions, including packaging and execution details.

Custom RuleJavaPMD
0 likes · 10 min read
Creating Custom PMD Rules with Java and XPath
Qunar Tech Salon
Qunar Tech Salon
Feb 26, 2015 · Fundamentals

Overview of Code Quality and Using Eclipse Plugins for Static Analysis

This article introduces five key aspects of Java code quality—coding standards, duplicate code, test coverage, dependency analysis, and complexity analysis—and demonstrates how Eclipse plugins such as CheckStyle, PMD, EclEmma, JDepend, and Metrics can be configured and used to assess and improve each aspect.

CheckStyleEclEmmaJDepend
0 likes · 11 min read
Overview of Code Quality and Using Eclipse Plugins for Static Analysis