Skip to content

Latest commit

 

History

History
37 lines (29 loc) · 1.97 KB

RULES.md

File metadata and controls

37 lines (29 loc) · 1.97 KB

Android-specific Rules

Android-specific rules rely on a multi-scope scanning, including Java source files, Xml files, Gradle files, and more generally the project structure. The complete list is accessible here.

Environment

3/4 of them have been already implemented in the plugin. Table of unimplemented rules below:

# Rule Name Scanner Observation
ELEA001 Everlasting Service Java Requires PostProjectAnalysisTask() callback
EBOT004 Uncached Data Reception Java Requires PostProjectAnalysisTask() callback
ESOB009 Day Night Mode File System, Xml Requires PostProjectAnalysisTask() callback
ESOB015 Animation-free Java, Xml, File System
ESOB016 Hardware acceleration Xml
EPOW008 Battery-constrained Work Java
EBAT001 Service@Boot-time Java, Xml Likely detectable in Xml only
EREL004 Same dependencies Gradle Requires a knowledge base
EREL005 Duplicate dependencies Gradle Requires a knowledge base
EREL007 Clear cache Java Method deleteRecursively() is Kotlin-only
EREL008 Convert to WebP File System
EREL009 Shrink Resources Gradle
ELON001 Aging devices Gradle

Social

1 rule has been implemented so far in the plugin. Table of unimplemented rules below:

# Rule Name Scanner Observation
SPRI001 Crashlytics automatic opt-in Java, Xml
SPRI003 Hidden Tracker Risk Gradle Threshold to be decided
SPRI004 Tracking Id Java
SPRI005 Explain Permission Java
SGDP001 Google consent Java "Good smell" spotted here
SINC002 Grammatical gender File System "Good smell" spotted here