aws-samples / cloud-experiments
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 23 files with 10,746 lines of code.
    • 1 very long files (9,494 lines of code)
    • 0 long files (0 lines of code)
    • 1 medium size files (312 lines of codeclsfd_ftr_w_mp_ins)
    • 2 small files (274 lines of code)
    • 19 very small files (666 lines of code)
88% | 0% | 2% | 2% | 6%
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
css100% | 0% | 0% | 0% | 0%
py0% | 0% | 28% | 25% | 46%
html0% | 0% | 0% | 0% | 100%
tsx0% | 0% | 0% | 0% | 100%
in0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
experiments/data-apps/location97% | 0% | 0% | 0% | 2%
experiments/notebooks/cloudstory-api0% | 0% | 100% | 0% | 0%
experiments/data-apps/covid_insights0% | 0% | 0% | 61% | 38%
api/streamlit_experiments0% | 0% | 0% | 54% | 45%
experiments/notebooks/covid0% | 0% | 0% | 0% | 100%
experiments/data-apps/wine0% | 0% | 0% | 0% | 100%
experiments/data-apps/rides0% | 0% | 0% | 0% | 100%
experiments/data-apps/open_data_explorer0% | 0% | 0% | 0% | 100%
experiments/data-apps/exploratory_data_analysis0% | 0% | 0% | 0% | 100%
api0% | 0% | 0% | 0% | 100%
Longest Files (Top 23)
File# lines# units
bootstrap.min.css
in experiments/data-apps/location/location_map_component/location_map/frontend/public
9494 -
cloudstory.py
in experiments/notebooks/cloudstory-api
312 32
cov_dash.py
in experiments/data-apps/covid_insights
147 4
covid.py
in api/streamlit_experiments
127 6
s3.py
in api/streamlit_experiments
94 4
covid_app.py
in experiments/data-apps/covid_insights
91 -
covid.py
in experiments/notebooks/covid
74 5
map.html
in experiments/data-apps/location
73 -
wine_app.py
in experiments/data-apps/wine
68 1
LocationMap.tsx
in experiments/data-apps/location/location_map_component/location_map/frontend/src
55 2
__init__.py
in experiments/data-apps/location/location_map_component/location_map
34 1
location_api.py
in experiments/data-apps/location
33 1
uber_pickups.py
in experiments/data-apps/rides
28 1
location_app.py
in experiments/data-apps/location
26 -
index.html
in experiments/data-apps/location/location_map_component/location_map/frontend/public
24 -
setup.py
in experiments/data-apps/location/location_map_component
18 -
eda.py
in api/streamlit_experiments
13 1
s3_app.py
in experiments/data-apps/open_data_explorer
13 -
eda_app.py
in experiments/data-apps/exploratory_data_analysis
10 -
index.tsx
in experiments/data-apps/location/location_map_component/location_map/frontend/src
9 -
__init__.py
in api
1 -
__init__.py
in api/streamlit_experiments
1 -
in
MANIFEST.in
in experiments/data-apps/location/location_map_component
1 -
Files With Most Units (Top 11)
File# lines# units
cloudstory.py
in experiments/notebooks/cloudstory-api
312 32
covid.py
in api/streamlit_experiments
127 6
covid.py
in experiments/notebooks/covid
74 5
s3.py
in api/streamlit_experiments
94 4
cov_dash.py
in experiments/data-apps/covid_insights
147 4
LocationMap.tsx
in experiments/data-apps/location/location_map_component/location_map/frontend/src
55 2
eda.py
in api/streamlit_experiments
13 1
wine_app.py
in experiments/data-apps/wine
68 1
uber_pickups.py
in experiments/data-apps/rides
28 1
__init__.py
in experiments/data-apps/location/location_map_component/location_map
34 1
location_api.py
in experiments/data-apps/location
33 1
Files With Long Lines (Top 4)

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

File# lines# units# long lines
bootstrap.min.css
in experiments/data-apps/location/location_map_component/location_map/frontend/public
9494 - 14
covid_app.py
in experiments/data-apps/covid_insights
91 - 9
covid.py
in api/streamlit_experiments
127 6 3
cov_dash.py
in experiments/data-apps/covid_insights
147 4 2