aws-solutions / real-time-insights-account-activity
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 12 files with 8,080 lines of code.
    • 2 very long files (6,311 lines of code)
    • 1 long files (801 lines of code)
    • 1 medium size files (285 lines of codeclsfd_ftr_w_mp_ins)
    • 3 small files (480 lines of code)
    • 5 very small files (203 lines of code)
78% | 9% | 3% | 5% | 2%
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%
js0% | 61% | 0% | 25% | 12%
html0% | 0% | 87% | 0% | 12%
py0% | 0% | 0% | 100% | 0%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
source/web_site/css100% | 0% | 0% | 0% | 0%
source/web_site/js0% | 97% | 0% | 0% | 2%
source/web_site0% | 0% | 87% | 0% | 12%
source/helper/lib0% | 0% | 0% | 67% | 32%
source/update_ddb_from_stream0% | 0% | 0% | 100% | 0%
source/helper0% | 0% | 0% | 100% | 0%
deployment/manifest-generator0% | 0% | 0% | 0% | 100%
Longest Files (Top 12)
File# lines# units
custom.css
in source/web_site/css
4122 -
font-awesome.min.css
in source/web_site/css
2189 -
dash.js
in source/web_site/js
801 41
dash.html
in source/web_site
285 -
website-helper.js
in source/helper/lib
187 11
update_ddb_from_stream.py
in source/update_ddb_from_stream
151 7
index.js
in source/helper
142 5
app.js
in deployment/manifest-generator
51 2
kinesisapp-helper.js
in source/helper/lib
50 1
help.html
in source/web_site
40 -
metrics-helper.js
in source/helper/lib
39 1
dashboard-use.js
in source/web_site/js
23 3
Files With Most Units (Top 8)
File# lines# units
dash.js
in source/web_site/js
801 41
website-helper.js
in source/helper/lib
187 11
update_ddb_from_stream.py
in source/update_ddb_from_stream
151 7
index.js
in source/helper
142 5
dashboard-use.js
in source/web_site/js
23 3
app.js
in deployment/manifest-generator
51 2
kinesisapp-helper.js
in source/helper/lib
50 1
metrics-helper.js
in source/helper/lib
39 1
Files With Long Lines (Top 10)

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

File# lines# units# long lines
dash.js
in source/web_site/js
801 41 16
dash.html
in source/web_site
285 - 13
help.html
in source/web_site
40 - 3
kinesisapp-helper.js
in source/helper/lib
50 1 2
website-helper.js
in source/helper/lib
187 11 2
index.js
in source/helper
142 5 2
update_ddb_from_stream.py
in source/update_ddb_from_stream
151 7 2
custom.css
in source/web_site/css
4122 - 2
app.js
in deployment/manifest-generator
51 2 2
font-awesome.min.css
in source/web_site/css
2189 - 1