mihaip / dex-method-counts

Command-line tool to count per-package methods in Android .dex files
Apache License 2.0
2.6k stars 376 forks source link

"Overall method count " does't meet the sum of all packages #44

Closed lulicheng closed 7 years ago

lulicheng commented 7 years ago
$ dex-method-counts --max-depth=1 classes.dex
Processing classes.dex
Read in 64203 method IDs.
<root>: 64203
    <default>: 1
    android: 9104
    anet: 380
    anetwork: 450
    com: 23416
    dalvik: 13
    java: 1621
    javax: 45
    mtopsdk: 706
    org: 526
    tv: 29
Overall method count: 64203

when I plus each package together, the result is 36290(9104 + 380 + ...+ 29), but the overall method count is 64203. why?