JetBrains / android
Unit Size

The distribution of size of units (measured in lines of code).

Intro
Learn more...
Unit Size Overall
3% | 9% | 29% | 24% | 32%
Legend:
101+
51-100
21-50
11-20
1-10
Unit Size per Extension
101+
51-100
21-50
11-20
1-10
java4% | 8% | 26% | 23% | 37%
kt3% | 9% | 32% | 26% | 28%
cc5% | 11% | 23% | 25% | 33%
py9% | 22% | 28% | 21% | 17%
nsh58% | 41% | 0% | 0% | 0%
cpp0% | 29% | 34% | 26% | 10%
js0% | 22% | 36% | 22% | 19%
c0% | 45% | 0% | 38% | 15%
h0% | 0% | 0% | 3% | 96%
kts0% | 0% | 0% | 0% | 100%
Unit Size per Logical Component
primary logical decomposition
101+
51-100
21-50
11-20
1-10
designer6% | 9% | 32% | 25% | 25%
android3% | 9% | 29% | 24% | 33%
android-npw17% | 11% | 26% | 18% | 25%
android-lang9% | 7% | 23% | 18% | 39%
aswb3% | 7% | 25% | 25% | 38%
project-system-gradle3% | 7% | 30% | 26% | 31%
streaming5% | 13% | 24% | 23% | 33%
layout-inspector5% | 16% | 35% | 21% | 20%
profilers-ui5% | 16% | 29% | 24% | 24%
gradle-dsl2% | 5% | 28% | 32% | 31%
lint14% | 5% | 25% | 18% | 36%
adt-ui3% | 7% | 26% | 20% | 41%
nav4% | 14% | 46% | 18% | 17%
project-system-gradle-psd3% | 7% | 31% | 26% | 30%
device-explorer-files12% | 5% | 15% | 24% | 42%
app-inspection2% | 9% | 42% | 25% | 20%
rendering4% | 13% | 31% | 22% | 28%
gradle-dsl-groovy11% | 23% | 36% | 16% | 12%
studio12% | 23% | 28% | 20% | 14%
compose-ide-plugin4% | 8% | 23% | 24% | 38%
android-lint2% | 5% | 22% | 18% | 51%
android-adb5% | 6% | 26% | 22% | 39%
apkanalyzer7% | 11% | 28% | 21% | 30%
gradle-dsl-kotlin25% | 26% | 18% | 5% | 24%
testartifacts3% | 13% | 36% | 26% | 20%
native58% | 41% | 0% | 0% | 0%
project-system-gradle-upgrade1% | 3% | 13% | 33% | 47%
sdk-updates4% | 14% | 30% | 23% | 26%
project-system-gradle-sync4% | 18% | 27% | 27% | 22%
android-lang-databinding2% | 2% | 53% | 11% | 30%
adt-ui-compose9% | 12% | 43% | 17% | 15%
profilers<1% | 5% | 30% | 27% | 36%
preview-designer1% | 6% | 27% | 18% | 46%
build-attribution1% | 2% | 30% | 34% | 31%
profilers-android2% | 10% | 22% | 22% | 42%
databinding2% | 21% | 41% | 16% | 18%
compose-designer1% | 16% | 30% | 21% | 30%
app-quality-insights1% | 14% | 28% | 23% | 31%
mlkit3% | 15% | 36% | 19% | 24%
dagger0% | 30% | 42% | 19% | 7%
android-templates0% | 12% | 17% | 30% | 39%
render-resources0% | 7% | 20% | 30% | 41%
android-transport0% | 8% | 44% | 17% | 28%
room0% | 8% | 24% | 31% | 35%
as-driver0% | 22% | 34% | 22% | 20%
wear-dwf0% | 11% | 22% | 23% | 42%
assistant0% | 13% | 15% | 23% | 48%
layout-ui0% | 5% | 21% | 23% | 48%
wear-designer0% | 11% | 24% | 29% | 34%
logcat0% | 2% | 29% | 31% | 36%
transport-database0% | 3% | 23% | 32% | 40%
android-kotlin0% | 9% | 16% | 16% | 56%
jps-build0% | 67% | 13% | 11% | 8%
preview-elements0% | 20% | 38% | 25% | 14%
deploy0% | 11% | 33% | 16% | 38%
android-adb-ui0% | 7% | 30% | 28% | 33%
backup0% | 8% | 10% | 40% | 40%
wizard-model0% | 11% | 26% | 19% | 43%
android-material0% | 12% | 29% | 29% | 29%
adt-ui-model0% | 2% | 18% | 24% | 55%
android-navigator0% | 3% | 16% | 28% | 51%
debuggers0% | 4% | 21% | 42% | 31%
gradle-dsl-declarative0% | 29% | 8% | 31% | 30%
smali0% | 5% | 1% | 19% | 73%
wear-pairing0% | 6% | 28% | 32% | 32%
execution0% | 2% | 20% | 31% | 45%
gradle-declarative-lang0% | 2% | 7% | 22% | 67%
gmd-code-completion0% | 3% | 30% | 40% | 25%
swingp0% | 5% | 29% | 27% | 37%
searchable-options0% | 69% | 0% | 0% | 30%
intellij.android.device0% | 30% | 16% | 35% | 17%
layoutlib-loader0% | 25% | 0% | 15% | 58%
wear-preview-elements0% | 38% | 57% | 0% | 4%
glance-designer0% | 15% | 20% | 26% | 37%
wizard0% | 0% | 26% | 27% | 46%
avd0% | 0% | 39% | 22% | 38%
android-common0% | 0% | 16% | 29% | 53%
device-manager-v20% | 0% | 33% | 26% | 40%
observable0% | 0% | 8% | 36% | 55%
gradle-declarative-lang-ide0% | 0% | 15% | 55% | 29%
profilers-atrace0% | 0% | 25% | 16% | 57%
intellij-integration0% | 0% | 46% | 19% | 34%
device-explorer-monitor0% | 0% | 17% | 38% | 43%
project-system0% | 0% | 26% | 22% | 51%
native-symbolizer0% | 0% | 43% | 16% | 40%
inspectors-common0% | 0% | 20% | 39% | 39%
profilers-integration0% | 0% | 26% | 15% | 58%
visual-lint0% | 0% | 52% | 32% | 14%
observable-ui0% | 0% | 16% | 44% | 38%
connection-assistant0% | 0% | 33% | 17% | 48%
settings-sync0% | 0% | 19% | 30% | 49%
wear-whs0% | 0% | 43% | 23% | 33%
whats-new-assistant0% | 0% | 9% | 40% | 49%
layoutlib0% | 0% | 61% | 10% | 28%
gradle-tooling0% | 0% | 39% | 19% | 41%
device-explorer0% | 0% | 26% | 27% | 46%
project-system-gradle-repository-search0% | 0% | 48% | 19% | 31%
codenavigation0% | 0% | 9% | 42% | 47%
threading-checker0% | 0% | 28% | 28% | 42%
intellij.android.compose-common0% | 0% | 13% | 38% | 48%
utp0% | 0% | 29% | 33% | 37%
gradle-dsl-toml0% | 0% | 33% | 26% | 39%
memory-usage0% | 0% | 33% | 25% | 41%
screenshot-testing0% | 0% | 20% | 24% | 54%
studio-labs0% | 0% | 24% | 8% | 66%
studio-updater0% | 0% | 15% | 30% | 55%
ml-api0% | 0% | 23% | 34% | 41%
bleak0% | 0% | 5% | 46% | 47%
completion0% | 0% | 41% | 58% | 0%
analytics0% | 0% | 20% | 27% | 52%
adt-testutils0% | 0% | 0% | 94% | 5%
bleak-config0% | 0% | 0% | 53% | 46%
build-common0% | 0% | 0% | 21% | 78%
project-system-gradle-models0% | 0% | 0% | 52% | 47%
intellij.android.projectStructureTests0% | 0% | 0% | 51% | 48%
platform-performance-testing0% | 0% | 0% | 33% | 66%
samples-browser0% | 0% | 0% | 0% | 100%
gradle-declarative-lang-sync0% | 0% | 0% | 0% | 100%
server-flags0% | 0% | 0% | 0% | 100%
project-system-apk0% | 0% | 0% | 0% | 100%
gmaven0% | 0% | 0% | 0% | 100%
android-plugin0% | 0% | 0% | 0% | 100%
device-explorer-common0% | 0% | 0% | 0% | 100%
gradle-declarative-lang-flags0% | 0% | 0% | 0% | 100%
jps-model0% | 0% | 0% | 0% | 100%
gradle-dsl-flags0% | 0% | 0% | 0% | 100%
Alternative Visuals
Longest Units
Top 50 longest units
Unit# linesMcCabe index# params
1358 1 1
597 135 3
519 1 0
495 121 16
434 1 1
392 1 0
346 1 1
328 109 1
312 1 0
307 1 0
294 1 0
288 79 1
281 2 1
269 1 2
269 1 5
268 1 2
261 1 0
260 1 0
258 76 2
248 1 0
234 1 0
230 32 1
227 1 1
220 53 1
216 1 0
215 59 5
215 3 0
214 1 0
205 55 3
200 1 0
198 1 0
194 1 0
189 17 0
189 1 0
188 61 5
186 60 9
183 1 0
183 1 0
182 1 0
171 1 8
169 1 0
169 60 1
168 1 0
166 1 0
164 1 0
162 44 6
158 5 0
157 3 0
157 33 0
156 1 0