aws-samples / aws-appsync-iot-core-realtime-example
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 27 files with 1,074 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 1 medium size files (264 lines of codeclsfd_ftr_w_mp_ins)
    • 0 small files (0 lines of code)
    • 26 very small files (810 lines of code)
0% | 0% | 24% | 0% | 75%
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
yml0% | 0% | 100% | 0% | 0%
js0% | 0% | 0% | 0% | 100%
java0% | 0% | 0% | 0% | 100%
m0% | 0% | 0% | 0% | 100%
graphql0% | 0% | 0% | 0% | 100%
bzl0% | 0% | 0% | 0% | 100%
h0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
mobile/amplify/backend0% | 0% | 71% | 0% | 28%
sensor0% | 0% | 0% | 0% | 100%
mobile/android/app0% | 0% | 0% | 0% | 100%
mobile/src/graphql0% | 0% | 0% | 0% | 100%
mobile/ios/mobile0% | 0% | 0% | 0% | 100%
mobile/src/screens0% | 0% | 0% | 0% | 100%
mobile/src/components0% | 0% | 0% | 0% | 100%
mobile/ios/mobileTests0% | 0% | 0% | 0% | 100%
mobile/src0% | 0% | 0% | 0% | 100%
mobile0% | 0% | 0% | 0% | 100%
mobile/src/api0% | 0% | 0% | 0% | 100%
Longest Files (Top 27)
File# lines# units
sensorview74d21f87-cloudformation-template.yml
in mobile/amplify/backend/auth/sensorview74d21f87
264 -
create-sensor.js
in sensor
70 1
ReactNativeFlipper.java
in mobile/android/app/src/debug/java/com/mobile
59 1
MainApplication.java
in mobile/android/app/src/main/java/com/mobile
59 6
SensorScreen.js
in mobile/src/screens
59 -
index.js
in mobile/amplify/backend/function/createsensorvalue/src
51 -
mobileTests.m
in mobile/ios/mobileTests
51 -
AppDelegate.m
in mobile/ios/mobile
51 1
mutations.js
in mobile/src/graphql
48 6
delete-sensor.js
in sensor
48 1
queries.js
in mobile/src/graphql
41 6
index.js
in sensor
33 1
Navigation.js
in mobile/src
31 -
Activity.js
in mobile/src/components
28 -
index.js
in mobile/amplify/backend/function/getsensor/src
27 -
schema.graphql
in mobile/amplify/backend/api/sensorview
25 -
SensorGauge.js
in mobile/src/components
25 -
Sensors.js
in mobile/src/api
22 -
build_defs.bzl
in mobile/android/app
17 -
subscriptions.js
in mobile/src/graphql
13 2
metro.config.js
in mobile
13 1
MainActivity.java
in mobile/android/app/src/main/java/com/mobile
8 1
App.js
in mobile/src
8 -
index.js
in mobile
8 -
main.m
in mobile/ios/mobile
7 1
AppDelegate.h
in mobile/ios/mobile
5 -
babel.config.js
in mobile
3 -
Files With Most Units (Top 12)
File# lines# units
MainApplication.java
in mobile/android/app/src/main/java/com/mobile
59 6
mutations.js
in mobile/src/graphql
48 6
queries.js
in mobile/src/graphql
41 6
subscriptions.js
in mobile/src/graphql
13 2
ReactNativeFlipper.java
in mobile/android/app/src/debug/java/com/mobile
59 1
MainActivity.java
in mobile/android/app/src/main/java/com/mobile
8 1
metro.config.js
in mobile
13 1
main.m
in mobile/ios/mobile
7 1
AppDelegate.m
in mobile/ios/mobile
51 1
index.js
in sensor
33 1
delete-sensor.js
in sensor
48 1
create-sensor.js
in sensor
70 1
Files With Long Lines (Top 3)

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

File# lines# units# long lines
sensorview74d21f87-cloudformation-template.yml
in mobile/amplify/backend/auth/sensorview74d21f87
264 - 4
AppDelegate.m
in mobile/ios/mobile
51 1 2
mobileTests.m
in mobile/ios/mobileTests
51 - 1