Skip to content

v3.0.2 - 70% Reduction in False Positive Rate

Choose a tag to compare

@daishengda2018 daishengda2018 released this 28 Feb 10:07
· 20 commits to main since this release

🎯 Major Improvements

False Positive Rate Reduced by 70%

Issue Type Before After Improvement
Overall false positive rate ~40% ~10-15% -70%
XML file noise 8 files 0 files -100%
Gradle version false positives ~5 warnings 0 warnings -100%
Concurrent modification false positives ~10 warnings ~2 warnings -80%
Commented code false positives ~8 warnings 0 warnings -100%

✨ What's New

1. File Type Filtering

  • ✅ Automatic XML layout file filtering
  • ✅ Skips *.xml files (layouts, menus, colors, drawables)
  • ✅ Only reviews source code files (.kt, .java, .gradle, .gradle.kts)

2. Async Context Detection

  • ✅ Enhanced ConcurrentModificationException detection
  • ✅ Only reports when async context is present
  • ✅ Detects coroutines, handlers, threads, and worker annotations

3. Unified Confidence Threshold

  • ✅ Raised from 80% to 85% for all rule types
  • ✅ Simplified from layered system (90%/80%/70%) to unified 85%

4. Gradle File Exceptions

  • ✅ Version numbers and build constants now allowed
  • ✅ Dependency versions (e.g., 1.12.0) not flagged as hardcoded

5. Commented Code Detection Removed

  • ✅ Eliminated entirely (too noisy)

🚀 Installation

git clone https://github.com/daishengda2018/claude-code-for-android.git
cd claude-code-for-android
git checkout v3.0.2

Then restart Claude Code.


Full Changelog: https://github.com/daishengda2018/claude-code-for-android/blob/main/CHANGELOG.md