arturdm / arturdm/jacoco-android-gradle-plugin

Results are different to Android Studio coverage

Open
#20 8 comments 0 reactions 0 assignees View on GitHub
Dominant language
Groovy
Stars
565
Forks
107
PR merge metrics
No merged PRs in 30d

Description

Results are different to Android Studio coverage.
For example, if I run the built in version with the 'coverage' button for unit tests, my results are 100%,
but in the jacocoTestDebugUnitTestReport, it will be something like 62%

Why are they different?
Please note, the other functions in this class are 100% in both AS/aturdm

arturdm plugin on top, Android Studio built in coverage on bottom
![Example](http://s32.postimg.org/so9n7oa4l/String_Utils.png)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by comparing the built-in Android Studio coverage result with jacocoTestDebugUnitTestReport for the unit-test example described in the issue, using the attached screenshot as context. Determine why the reported percentages differ and document a reproducible explanation or correction, then verify that the affected and unaffected functions produce consistent coverage results.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, groovy
Domain
testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.