microsoft / appcenter-sampleapp-react-native
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 28 files with 913 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 0 medium size files (0 lines of codeclsfd_ftr_w_mp_ins)
    • 1 small files (152 lines of code)
    • 27 very small files (761 lines of code)
0% | 0% | 0% | 16% | 83%
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
tsx0% | 0% | 0% | 29% | 70%
m0% | 0% | 0% | 0% | 100%
java0% | 0% | 0% | 0% | 100%
yml0% | 0% | 0% | 0% | 100%
js0% | 0% | 0% | 0% | 100%
ts0% | 0% | 0% | 0% | 100%
h0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src/components0% | 0% | 0% | 64% | 35%
src/screens0% | 0% | 0% | 0% | 100%
android/app/src/main/java/com/appcentersample0% | 0% | 0% | 0% | 100%
ios/AppCenterSample0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
src0% | 0% | 0% | 0% | 100%
ios/AppCenterSampleTests0% | 0% | 0% | 0% | 100%
ios/AppCenterSampleUITests0% | 0% | 0% | 0% | 100%
Longest Files (Top 28)
File# lines# units
baseScreen.tsx
in src/components
152 2
codePush.tsx
in src/components
85 4
AppDelegate.m
in ios/AppCenterSample
65 1
AppCenterSampleTests.m
in ios/AppCenterSampleTests
51 -
App.tsx
in src
47 -
azure-pipelines.yml
in root
43 -
AppCenterSample.m
in ios/AppCenterSample
43 -
AppCenterSampleNativeModule.java
in android/app/src/main/java/com/appcentersample
42 3
analyticsScreen.tsx
in src/screens
41 1
MainApplication.java
in android/app/src/main/java/com/appcentersample
39 6
crashesScreen.tsx
in src/screens
39 1
codePushScreen.tsx
in src/screens
38 1
AppCenterSamplePackage.java
in android/app/src/main/java/com/appcentersample
27 2
buildScreen.tsx
in src/screens
27 1
distributeScreen.tsx
in src/screens
27 1
testScreen.tsx
in src/screens
27 1
welcomeScreen.tsx
in src/screens
27 1
AppCenterSampleUITests.m
in ios/AppCenterSampleUITests
24 -
MainActivity.java
in android/app/src/main/java/com/appcentersample
20 2
metro.config.js
in root
10 1
images.ts
in src
9 -
rn-cli.config.js
in root
8 2
main.m
in ios/AppCenterSample
7 1
AppDelegate.h
in ios/AppCenterSample
5 -
babel.config.js
in root
3 -
AppCenterSample.h
in ios/AppCenterSample
3 -
index.tsx
in src
3 -
index.js
in root
1 -
Files With Most Units (Top 17)
File# lines# units
MainApplication.java
in android/app/src/main/java/com/appcentersample
39 6
codePush.tsx
in src/components
85 4
AppCenterSampleNativeModule.java
in android/app/src/main/java/com/appcentersample
42 3
AppCenterSamplePackage.java
in android/app/src/main/java/com/appcentersample
27 2
MainActivity.java
in android/app/src/main/java/com/appcentersample
20 2
rn-cli.config.js
in root
8 2
baseScreen.tsx
in src/components
152 2
AppDelegate.m
in ios/AppCenterSample
65 1
main.m
in ios/AppCenterSample
7 1
metro.config.js
in root
10 1
analyticsScreen.tsx
in src/screens
41 1
buildScreen.tsx
in src/screens
27 1
codePushScreen.tsx
in src/screens
38 1
crashesScreen.tsx
in src/screens
39 1
distributeScreen.tsx
in src/screens
27 1
testScreen.tsx
in src/screens
27 1
welcomeScreen.tsx
in src/screens
27 1
Files With Long Lines (Top 9)

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

File# lines# units# long lines
AppDelegate.m
in ios/AppCenterSample
65 1 1
AppCenterSampleTests.m
in ios/AppCenterSampleTests
51 - 1
baseScreen.tsx
in src/components
152 2 1
analyticsScreen.tsx
in src/screens
41 1 1
buildScreen.tsx
in src/screens
27 1 1
crashesScreen.tsx
in src/screens
39 1 1
distributeScreen.tsx
in src/screens
27 1 1
testScreen.tsx
in src/screens
27 1 1
welcomeScreen.tsx
in src/screens
27 1 1