A

Android Gradle Metrics

JetBrains

1fcafe04-13bc-47ed-81d5-ced372ca933b · v—

Plugin for showing code quality metrics from gradle tasks within Android Studio. This plugin adds a new menu option Get code metrics report under Analyze which runs code quality tasks on all eligible projects and shows the results in a tool window. You must download additional plugins which add support for specific code quality tools: Android Gradle Metrics - Checkstyle

Inspection
Downloads
20K
20 050
Rating
— ★
— ratings
Category
JetBrains Marketplace
Collected
2026-11-04
weekly snapshot

Rating distribution

— ★ — ratings
0★ 100.0%

Reviews 4

★★★★★ Ádám Németh 2017-12-02

I've made and update that fixes the issue of not finding reports, the plugin will search recursively within the report folders. The other two issues are gradle specific, the plugin requires xml reports since that's what it parses and shows in the UI, ignoreFailures should also be set since a successful build is required to parse the xml files, the plugin will warn you if these setting are not...

★★★★★ jarzynp 2017-12-01

I was trying to use it with Android Studio 3.0.1 and it's behaving very strangly. I'm getting this: - there are no metric tasks to run (but they are there) - it is giving me "no issues" found message when there are issues, f.e: ":app:checkstyleDebug [ant:checkstyle] [ERROR] /home/piotr/projects/android/.../util/ViewUtils.java:29:1: Utility classes should not have a public or default...

★★★★★ Ádám Németh 2016-11-09

No they don't have to be named in a certain way, the plugin extracts information from gradle directly trough gradle sync, if you didn't sync the plugin will say that there is nothing to do. The metric plugin identifies the gradle tasks by their type not by name which means that the tasks that it is looking for must be a task(type: PMD) or task(type: Checkstyle). Be sure to use version 1.0.2...

★★★★★ dylan.drost 2016-11-09

Do the verification task have to be named in a certain way? cause I can execute the check task which generates a checkstyle/pmd report for my buildtypes and there are also separate tasks for checkstyle and PMD named checkstyleDebug/Release and pmdDebug/Release. But the plugin says there are no metric tasks to execute.

Similar in “Inspection”