{"id":15392039,"url":"https://github.com/dhleong/dexcounter","last_synced_at":"2026-04-21T05:34:58.098Z","repository":{"id":142682909,"uuid":"131912580","full_name":"dhleong/dexcounter","owner":"dhleong","description":"Dexcounter. For counting methods. For Dex files.","archived":false,"fork":false,"pushed_at":"2019-06-16T14:01:23.000Z","size":69,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-14T05:52:09.898Z","etag":null,"topics":["android","android-tools","dex"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dhleong.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-05-02T22:31:11.000Z","updated_at":"2024-06-19T12:36:48.518Z","dependencies_parsed_at":"2024-06-19T12:36:47.574Z","dependency_job_id":"792be7c2-5bc4-4a78-9ba5-29f40f6fb8c3","html_url":"https://github.com/dhleong/dexcounter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhleong%2Fdexcounter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhleong%2Fdexcounter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhleong%2Fdexcounter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhleong%2Fdexcounter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dhleong","download_url":"https://codeload.github.com/dhleong/dexcounter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245940120,"owners_count":20697336,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","android-tools","dex"],"created_at":"2024-10-01T15:13:54.596Z","updated_at":"2026-04-21T05:34:53.058Z","avatar_url":"https://github.com/dhleong.png","language":"Go","readme":"dexcounter\n==========\n\n*For counting methods. For Dex files.*\n\n## What?\n\nDexcounter is a CLI tool for checking how many methods a library\nwill add to your dex file if you include it. It is inspired by\nthe old [methodscount.com][1] service, and borrows some of its tricks.\n\n## How?\n\nDexcounter is written in [Go][2], so you can `go get` it:\n\n    go get -u github.com/dhleong/dexcounter\n\nThen, just pass the gradle-style dependency string like so:\n\n    dexcounter io.reactivex.rxjava2:rxkotlin:2.2.0\n\nand off it goes! `dexcounter` fetches a gradle environment (from\n[this repo][3]) to resolve the library's dependencies, uses\nthe `dx` tool to count the method references in all of them,\nand adds them all together. Its output currently looks something\nlike this:\n\n```\nio.reactivex.rxjava2:rxkotlin:2.2.0 TOTALS:\n Methods: 17277\n  Fields: 6299\n\nDependency                                    Methods  Fields\nio.reactivex.rxjava2:rxkotlin:2.2.0               679     126\n  io.reactivex.rxjava2:rxjava:2.1.6             10276    5410\n  org.jetbrains.kotlin:kotlin-stdlib:1.1.60      6291     741\n  org.reactivestreams:reactive-streams:1.0.1        7       0\n  org.jetbrains:annotations:13.0                   24      22\n```\n\n[1]: http://www.methodscount.com/\n[2]: https://golang.org/\n[3]: https://github.com/dhleong/dexcounter/tree/master/gradle\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdhleong%2Fdexcounter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdhleong%2Fdexcounter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdhleong%2Fdexcounter/lists"}