Tag

Custom Rule

0 views collected around this technical thread.

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.

AndroidCustom RuleJava
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