aws-samples / amazon-location-samples
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 96 files with 5,702 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 8 medium size files (2,388 lines of codeclsfd_ftr_w_mp_ins)
    • 8 small files (1,113 lines of code)
    • 80 very small files (2,201 lines of code)
0% | 0% | 41% | 19% | 38%
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% | 87% | 12% | 0%
yaml0% | 0% | 76% | 0% | 23%
js0% | 0% | 0% | 40% | 59%
html0% | 0% | 0% | 46% | 53%
tsx0% | 0% | 0% | 41% | 58%
swift0% | 0% | 0% | 0% | 100%
py0% | 0% | 0% | 0% | 100%
vue0% | 0% | 0% | 0% | 100%
css0% | 0% | 0% | 0% | 100%
jsx0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
leaflet-vue-amplify0% | 0% | 70% | 0% | 29%
maplibre-gl-js-vue-amplify0% | 0% | 76% | 0% | 23%
create-custom-map-style0% | 0% | 65% | 0% | 34%
react-map-gl-amplify-marker-tooltip-example0% | 0% | 65% | 27% | 6%
react-map-gl-amplify0% | 0% | 74% | 0% | 25%
react-map-gl-amplify-here-map0% | 0% | 83% | 0% | 16%
maplibre-gl-js-react-amplify0% | 0% | 83% | 0% | 16%
aurora-udfs0% | 0% | 87% | 0% | 12%
maplibre-js-react-iot-asset-tracking0% | 0% | 0% | 45% | 54%
geocode-udf-lambda-redshift0% | 0% | 0% | 62% | 37%
geocode-udf-lambda-aurora0% | 0% | 0% | 64% | 35%
maplibre-gl-js-amplify-marker-tooltip-example0% | 0% | 0% | 100% | 0%
tangram-js0% | 0% | 0% | 70% | 29%
tracking-ios0% | 0% | 0% | 0% | 100%
maplibre-native-ios0% | 0% | 0% | 0% | 100%
tangram-es-ios0% | 0% | 0% | 0% | 100%
maplibre-gl-js-react0% | 0% | 0% | 0% | 100%
amazon-location-helpers0% | 0% | 0% | 0% | 100%
athena-udfs0% | 0% | 0% | 0% | 100%
maplibre-gl-js-amplify0% | 0% | 0% | 0% | 100%
maplibre-gl-js0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
maplibrereact022beae3-cloudformation-template.yml
in maplibre-gl-js-vue-amplify/amplify/backend/auth/maplibrereact022beae3
384 -
leafletvue022beae3-cloudformation-template.yml
in leaflet-vue-amplify/amplify/backend/auth/leafletvue022beae3
384 -
createcustommapstyle0000000x-cloudformation-template.yml
in create-custom-map-style/amplify/backend/auth/createcustommapstyle0000000x
277 -
maplibrereact022beae3-cloudformation-template.yml
in maplibre-gl-js-react-amplify/amplify/backend/auth/maplibrereact022beae3
276 -
maplibrereact022beae3-cloudformation-template.yml
in react-map-gl-amplify-marker-tooltip-example/amplify/backend/auth/maplibrereact022beae3
276 -
maplibrereact022beae3-cloudformation-template.yml
in react-map-gl-amplify/amplify/backend/auth/maplibrereact022beae3
276 -
awsheredemo4fc859b5-cloudformation-template.yml
in react-map-gl-amplify-here-map/amplify/backend/auth/awsheredemo4fc859b5
276 -
template.yaml
in aurora-udfs/cloudformation
239 -
LocationMap.js
in maplibre-js-react-iot-asset-tracking/src
179 4
build.js
in maplibre-js-react-iot-asset-tracking/scripts
169 2
geocode-lambda-redshift.yml
in geocode-udf-lambda-redshift/CloudFormation
153 -
geocode-lambda-aurora.yml
in geocode-udf-lambda-aurora/CloudFormation
149 -
start.js
in maplibre-js-react-iot-asset-tracking/scripts
133 -
index.tsx
in react-map-gl-amplify-marker-tooltip-example/src
118 2
index.html
in maplibre-gl-js-amplify-marker-tooltip-example
107 -
index.html
in tangram-js
105 -
LocationManagement.swift
in tracking-ios/TrackingSample
82 6
index.js
in amazon-location-helpers
82 7
modules.js
in maplibre-js-react-iot-asset-tracking/config
80 4
MapPane.vue
in leaflet-vue-amplify/src/components
73 -
amazon-location-udfs.yaml
in athena-udfs
73 -
index.tsx
in react-map-gl-amplify/src
70 -
index.tsx
in maplibre-gl-js-react/src
63 -
geocode.py
in geocode-udf-lambda-redshift/Lambda
63 1
geocode.py
in geocode-udf-lambda-aurora/Lambda
63 1
index.html
in maplibre-gl-js-amplify
59 -
env.js
in maplibre-js-react-iot-asset-tracking/config
59 1
asset_code.py
in maplibre-js-react-iot-asset-tracking/connect_device_package
55 -
webpackDevServer.config.js
in maplibre-js-react-iot-asset-tracking/config
55 5
SamplePage.jsx
in create-custom-map-style/src
53 -
paths.js
in maplibre-js-react-iot-asset-tracking/config
53 -
getHttpsConfig.js
in maplibre-js-react-iot-asset-tracking/config
51 3
MapView.swift
in maplibre-native-ios/Amazon Location Service Demo
50 8
sw.js
in tangram-js
43 1
AWSSignatureV4URLHandler.swift
in tangram-es-ios/Amazon Location Service Demo
43 1
AWSSignatureV4Delegate.swift
in maplibre-native-ios/Amazon Location Service Demo
43 2
index.tsx
in maplibre-gl-js-react-amplify/src
36 1
test.js
in maplibre-js-react-iot-asset-tracking/scripts
36 2
MapPane.vue
in maplibre-gl-js-vue-amplify/src/components
36 -
index.html
in maplibre-gl-js
34 -
pnpTs.js
in maplibre-js-react-iot-asset-tracking/config
32 -
App.css
in maplibre-js-react-iot-asset-tracking/src
30 -
lambda_function.py
in geocode-udf-lambda-redshift/Lambda
30 1
CityPin.js
in maplibre-js-react-iot-asset-tracking/src
29 -
MapView.swift
in tangram-es-ios/Amazon Location Service Demo
28 4
index.html
in create-custom-map-style/public
27 -
ContentView.swift
in tangram-es-ios/Amazon Location Service Demo
26 -
PolylineOverlay.js
in maplibre-js-react-iot-asset-tracking/src
25 1
SamplePage.css
in create-custom-map-style/src
24 -
TrackingSampleApp.swift
in tracking-ios/TrackingSample
23 -
Files With Most Units (Top 20)
File# lines# units
MapView.swift
in maplibre-native-ios/Amazon Location Service Demo
50 8
index.js
in amazon-location-helpers
82 7
LocationManagement.swift
in tracking-ios/TrackingSample
82 6
webpackDevServer.config.js
in maplibre-js-react-iot-asset-tracking/config
55 5
MapView.swift
in tangram-es-ios/Amazon Location Service Demo
28 4
modules.js
in maplibre-js-react-iot-asset-tracking/config
80 4
LocationMap.js
in maplibre-js-react-iot-asset-tracking/src
179 4
getHttpsConfig.js
in maplibre-js-react-iot-asset-tracking/config
51 3
TrackingSampleUITests.swift
in tracking-ios/TrackingSampleUITests
19 2
TrackingSampleTests.swift
in tracking-ios/TrackingSampleTests
14 2
build.js
in maplibre-js-react-iot-asset-tracking/scripts
169 2
test.js
in maplibre-js-react-iot-asset-tracking/scripts
36 2
AWSSignatureV4Delegate.swift
in maplibre-native-ios/Amazon Location Service Demo
43 2
index.tsx
in react-map-gl-amplify-marker-tooltip-example/src
118 2
sw.js
in tangram-js
43 1
lambda_function.py
in aurora-udfs/search-place-index-for-position
14 1
lambda_function.py
in aurora-udfs/search-place-index-for-text
20 1
AWSSignatureV4URLHandler.swift
in tangram-es-ios/Amazon Location Service Demo
43 1
index.tsx
in maplibre-gl-js-react-amplify/src
36 1
env.js
in maplibre-js-react-iot-asset-tracking/config
59 1
Files With Long Lines (Top 20)

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

File# lines# units# long lines
index.html
in maplibre-gl-js-amplify
59 - 6
createcustommapstyle0000000x-cloudformation-template.yml
in create-custom-map-style/amplify/backend/auth/createcustommapstyle0000000x
277 - 4
maplibrereact022beae3-cloudformation-template.yml
in maplibre-gl-js-react-amplify/amplify/backend/auth/maplibrereact022beae3
276 - 4
maplibrereact022beae3-cloudformation-template.yml
in react-map-gl-amplify-marker-tooltip-example/amplify/backend/auth/maplibrereact022beae3
276 - 4
maplibrereact022beae3-cloudformation-template.yml
in react-map-gl-amplify/amplify/backend/auth/maplibrereact022beae3
276 - 4
awsheredemo4fc859b5-cloudformation-template.yml
in react-map-gl-amplify-here-map/amplify/backend/auth/awsheredemo4fc859b5
276 - 4
template.yaml
in aurora-udfs/cloudformation
239 - 2
geocode-lambda-redshift.yml
in geocode-udf-lambda-redshift/CloudFormation
153 - 2
amazon-location-udfs.yaml
in athena-udfs
73 - 2
geocode-lambda-aurora.yml
in geocode-udf-lambda-aurora/CloudFormation
149 - 2
TrackingSampleApp.swift
in tracking-ios/TrackingSample
23 - 1
MapView.swift
in tangram-es-ios/Amazon Location Service Demo
28 4 1
modules.js
in maplibre-js-react-iot-asset-tracking/config
80 4 1
maplibrereact022beae3-cloudformation-template.yml
in maplibre-gl-js-vue-amplify/amplify/backend/auth/maplibrereact022beae3
384 - 1
index.html
in maplibre-gl-js-vue-amplify/public
16 - 1
MapView.swift
in maplibre-native-ios/Amazon Location Service Demo
50 8 1
leafletvue022beae3-cloudformation-template.yml
in leaflet-vue-amplify/amplify/backend/auth/leafletvue022beae3
384 - 1
index.html
in leaflet-vue-amplify/public
16 - 1
lambda_function.py
in geocode-udf-lambda-redshift/Lambda
30 1 1
geocode.py
in geocode-udf-lambda-redshift/Lambda
63 1 1