microsoft / react-native-code-push
File Size

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

Intro
  • File size measurements show the distribution of size of files.
  • Files are classified in four categories based on their size (lines of code): 1-100 (very small files), 101-200 (small files), 201-500 (medium size files), 501-1000 (long files), 1001+(very long files).
  • It is a good practice to keep files small. Long files may become "bloaters", code that have increased to such gargantuan proportions that they are hard to work with.
Learn more...
File Size Overall
  • There are 189 files with 28,859 lines of code.
    • 3 very long files (9,152 lines of code)
    • 6 long files (3,766 lines of code)
    • 26 medium size files (8,028 lines of codeclsfd_ftr_w_mp_ins)
    • 23 small files (3,328 lines of code)
    • 131 very small files (4,585 lines of code)
31% | 13% | 27% | 11% | 15%
Legend:
1001+
501-1000
201-500
101-200
1-100


explore: zoomable circles | sunburst | 3D view
File Size per Extension
1001+
501-1000
201-500
101-200
1-100
c82% | 0% | 13% | 1% | 2%
m0% | 22% | 52% | 13% | 11%
h0% | 19% | 22% | 17% | 39%
cpp0% | 42% | 24% | 17% | 15%
java0% | 22% | 44% | 19% | 12%
js0% | 24% | 13% | 15% | 46%
cs0% | 0% | 50% | 22% | 26%
vcxproj0% | 0% | 0% | 100% | 0%
filters0% | 0% | 0% | 0% | 100%
shproj0% | 0% | 0% | 0% | 100%
props0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
windows/CodePush67% | 15% | 4% | 6% | 6%
ios/CodePush22% | 9% | 40% | 11% | 16%
android/app0% | 22% | 44% | 19% | 12%
ROOT0% | 80% | 0% | 0% | 19%
windows-legacy/CodePush.Shared0% | 0% | 49% | 33% | 16%
code-push-plugin-testing-framework/script0% | 0% | 34% | 38% | 26%
windows-legacy/CodePush.Net460% | 0% | 40% | 20% | 38%
windows-legacy/CodePush0% | 0% | 64% | 0% | 35%
scripts/postlink0% | 0% | 0% | 0% | 100%
scripts/tools0% | 0% | 0% | 0% | 100%
scripts/postunlink0% | 0% | 0% | 0% | 100%
scripts0% | 0% | 0% | 0% | 100%
Recipes0% | 0% | 0% | 0% | 100%
windows0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
miniz.c
in windows/CodePush/miniz
6203 160
zip.c
in ios/CodePush/SSZipArchive/minizip
1521 38
unzip.c
in ios/CodePush/SSZipArchive/minizip
1428 45
CodePush.m
in ios/CodePush
763 -
miniz.h
in windows/CodePush/miniz
705 -
CodePushNativeModule.cpp
in windows/CodePush
695 46
CodePushNativeModule.java
in android/app/src/main/java/com/microsoft/codepush/react
549 28
CodePush.js
in root
541 15
SSZipArchive.m
in ios/CodePush/SSZipArchive
513 -
CodePushPackage.m
in ios/CodePush
499 -
JWTCoding+VersionThree.m
in ios/CodePush/JWT/Core/Coding
475 -
aes_via_ace.h
in ios/CodePush/SSZipArchive/aes
459 23
aeskey.c
in ios/CodePush/SSZipArchive/aes
431 8
CodePushPackage.cpp
in windows/CodePush
392 16
JWTCoding+VersionTwo.m
in ios/CodePush/JWT/Core/Coding
383 -
JWTAlgorithmRSBase.m
in ios/CodePush/JWT/Core/Algorithms/RSFamily
369 -
aesopt.h
in ios/CodePush/SSZipArchive/aes
366 -
CodePush.java
in android/app/src/main/java/com/microsoft/codepush/react
331 42
ioapi.c
in ios/CodePush/SSZipArchive/minizip
317 20
CodePushUpdateManager.java
in android/app/src/main/java/com/microsoft/codepush/react
311 21
CodePushUpdateUtils.m
in ios/CodePush
310 -
JWTCryptoSecurity.m
in ios/CodePush/JWT/Core/Algorithms/RSFamily/RSKeys
304 2
aestab.c
in ios/CodePush/SSZipArchive/aes
298 6
platform.js
in code-push-plugin-testing-framework/script
297 43
CodePushNativeModule.cs
in windows-legacy/CodePush.Shared
272 14
UpdateManager.cs
in windows-legacy/CodePush.Net46
254 18
JWTAlgorithmDataHolder.m
in ios/CodePush/JWT/Core/Algorithms/Holders
247 -
UpdateManager.cs
in windows-legacy/CodePush
245 19
JWTCoding+VersionOne.m
in ios/CodePush/JWT/Core/Coding
222 -
CodePushUpdateUtils.java
in android/app/src/main/java/com/microsoft/codepush/react
218 12
mztools.c
in ios/CodePush/SSZipArchive/minizip
216 1
CodePushUtils.java
in android/app/src/main/java/com/microsoft/codepush/react
206 13
TelemetryManager.cs
in windows-legacy/CodePush.Shared
203 13
MF_Base64Additions.m
in ios/CodePush/Base64/Base64
202 -
aescrypt.c
in ios/CodePush/SSZipArchive/aes
201 1
serverUtil.js
in code-push-plugin-testing-framework/script
200 13
vcxproj
CodePush.vcxproj
in windows/CodePush
198 -
CodePushReactPackage.cs
in windows-legacy/CodePush.Shared
191 11
JWTCryptoKey.m
in ios/CodePush/JWT/Core/Algorithms/RSFamily/RSKeys
188 -
CodePushTelemetryManager.cpp
in windows/CodePush
185 13
FileUtils.java
in android/app/src/main/java/com/microsoft/codepush/react
179 10
sha1.c
in ios/CodePush/SSZipArchive/aes
154 5
CodePushTelemetryManager.m
in ios/CodePush
150 -
CodePushTelemetryManager.java
in android/app/src/main/java/com/microsoft/codepush/react
148 14
SettingsManager.java
in android/app/src/main/java/com/microsoft/codepush/react
141 11
CodePushNativeModule.h
in windows/CodePush
141 -
brg_types.h
in ios/CodePush/SSZipArchive/aes
138 -
ioapi.h
in ios/CodePush/SSZipArchive/minizip
136 -
testUtil.js
in code-push-plugin-testing-framework/script
133 11
CodePush.h
in ios/CodePush
132 2
Files With Most Units (Top 20)
File# lines# units
miniz.c
in windows/CodePush/miniz
6203 160
CodePushNativeModule.cpp
in windows/CodePush
695 46
unzip.c
in ios/CodePush/SSZipArchive/minizip
1428 45
platform.js
in code-push-plugin-testing-framework/script
297 43
CodePush.java
in android/app/src/main/java/com/microsoft/codepush/react
331 42
zip.c
in ios/CodePush/SSZipArchive/minizip
1521 38
CodePushNativeModule.java
in android/app/src/main/java/com/microsoft/codepush/react
549 28
aes_via_ace.h
in ios/CodePush/SSZipArchive/aes
459 23
CodePushUpdateManager.java
in android/app/src/main/java/com/microsoft/codepush/react
311 21
ioapi.c
in ios/CodePush/SSZipArchive/minizip
317 20
UpdateManager.cs
in windows-legacy/CodePush
245 19
UpdateManager.cs
in windows-legacy/CodePush.Net46
254 18
testBuilder.js
in code-push-plugin-testing-framework/script
75 16
CodePushPackage.cpp
in windows/CodePush
392 16
CodePush.js
in root
541 15
CodePushTelemetryManager.java
in android/app/src/main/java/com/microsoft/codepush/react
148 14
CodePushNativeModule.cs
in windows-legacy/CodePush.Shared
272 14
CodePushUtils.java
in android/app/src/main/java/com/microsoft/codepush/react
206 13
serverUtil.js
in code-push-plugin-testing-framework/script
200 13
TelemetryManager.cs
in windows-legacy/CodePush.Shared
203 13
Files With Long Lines (Top 20)

There are 95 files with lines longer than 120 characters. In total, there are 1085 long lines.

File# lines# units# long lines
miniz.c
in windows/CodePush/miniz
6203 160 356
CodePushPackage.m
in ios/CodePush
499 - 72
miniz.h
in windows/CodePush/miniz
705 - 47
SSZipArchive.m
in ios/CodePush/SSZipArchive
513 - 33
zip.c
in ios/CodePush/SSZipArchive/minizip
1521 38 32
JWTCoding+VersionOne.m
in ios/CodePush/JWT/Core/Coding
222 - 26
JWTAlgorithmRSBase.m
in ios/CodePush/JWT/Core/Algorithms/RSFamily
369 - 23
CodePushNativeModule.java
in android/app/src/main/java/com/microsoft/codepush/react
549 28 22
UpdateManager.cs
in windows-legacy/CodePush
245 19 22
UpdateManager.cs
in windows-legacy/CodePush.Net46
254 18 20
platform.js
in code-push-plugin-testing-framework/script
297 43 18
JWTCryptoSecurity.m
in ios/CodePush/JWT/Core/Algorithms/RSFamily/RSKeys
304 2 16
unzip.c
in ios/CodePush/SSZipArchive/minizip
1428 45 16
vcxproj
CodePush.vcxproj
in windows/CodePush
198 - 16
JWTCryptoKey.m
in ios/CodePush/JWT/Core/Algorithms/RSFamily/RSKeys
188 - 15
CodePushPackage.cpp
in windows/CodePush
392 16 15
JWTCoding+VersionThree.m
in ios/CodePush/JWT/Core/Coding
475 - 13
JWTCoding+VersionTwo.m
in ios/CodePush/JWT/Core/Coding
383 - 13
CodePushUpdateManager.java
in android/app/src/main/java/com/microsoft/codepush/react
311 21 12
JWTCryptoKeyExtractor.m
in ios/CodePush/JWT/Core/Algorithms/RSFamily/RSKeys
95 - 12