aws-samples / aws-admartech-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 47 files with 4,031 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 5 medium size files (1,471 lines of codeclsfd_ftr_w_mp_ins)
    • 9 small files (1,437 lines of code)
    • 33 very small files (1,123 lines of code)
0% | 0% | 36% | 35% | 27%
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
py0% | 0% | 39% | 30% | 30%
yml0% | 0% | 0% | 100% | 0%
yaml0% | 0% | 0% | 100% | 0%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
notebooks/identity-graph/nepytune/benchmarks0% | 0% | 56% | 30% | 12%
notebooks/identity-graph/nepytune/usecase0% | 0% | 36% | 46% | 16%
notebooks/identity-graph/nepytune/cli0% | 0% | 50% | 24% | 25%
notebooks/identity-graph/nepytune/visualizations0% | 0% | 41% | 0% | 58%
templates0% | 0% | 0% | 100% | 0%
notebooks/identity-graph/nepytune0% | 0% | 0% | 65% | 34%
notebooks/identity-graph/nepytune/nodes0% | 0% | 0% | 0% | 100%
notebooks/identity-graph/nepytune/edges0% | 0% | 0% | 0% | 100%
Longest Files (Top 47)
File# lines# units
purchase_path.py
in identity-resolution/notebooks/identity-graph/nepytune/usecase
393 16
query_runner.py
in identity-resolution/notebooks/identity-graph/nepytune/benchmarks
311 10
add.py
in identity-resolution/notebooks/identity-graph/nepytune/cli
302 15
drop_graph.py
in identity-resolution/notebooks/identity-graph/nepytune/benchmarks
244 6
venn_diagram.py
in identity-resolution/notebooks/identity-graph/nepytune/visualizations
221 3
similar_audience.py
in identity-resolution/notebooks/identity-graph/nepytune/usecase
198 6
ingestion.py
in identity-resolution/notebooks/identity-graph/nepytune/benchmarks
188 13
identity-resolution.yml
in identity-resolution/templates
175 -
drawing.py
in identity-resolution/notebooks/identity-graph/nepytune
173 9
user_summary.py
in identity-resolution/notebooks/identity-graph/nepytune/usecase
156 4
undecided_users.py
in identity-resolution/notebooks/identity-graph/nepytune/usecase
148 5
transform.py
in identity-resolution/notebooks/identity-graph/nepytune/cli
144 3
bulk-load-stack.yaml
in identity-resolution/templates
140 -
benchmarks_visualization.py
in identity-resolution/notebooks/identity-graph/nepytune/benchmarks
115 6
__main__.py
in identity-resolution/notebooks/identity-graph/nepytune/benchmarks
89 2
users_from_household.py
in identity-resolution/notebooks/identity-graph/nepytune/usecase
88 4
brand_interaction.py
in identity-resolution/notebooks/identity-graph/nepytune/usecase
83 6
extend.py
in identity-resolution/notebooks/identity-graph/nepytune/cli
73 5
network_graph.py
in identity-resolution/notebooks/identity-graph/nepytune/visualizations
73 4
pie_chart.py
in identity-resolution/notebooks/identity-graph/nepytune/visualizations
71 1
websites.py
in identity-resolution/notebooks/identity-graph/nepytune/nodes
65 7
segments.py
in identity-resolution/notebooks/identity-graph/nepytune/visualizations
61 4
user_website.py
in identity-resolution/notebooks/identity-graph/nepytune/edges
58 2
split.py
in identity-resolution/notebooks/identity-graph/nepytune/cli
48 6
utils.py
in identity-resolution/notebooks/identity-graph/nepytune
43 4
commons.py
in identity-resolution/notebooks/identity-graph/nepytune/visualizations
42 2
write_utils.py
in identity-resolution/notebooks/identity-graph/nepytune
40 9
users.py
in identity-resolution/notebooks/identity-graph/nepytune/nodes
37 2
connection_pool.py
in identity-resolution/notebooks/identity-graph/nepytune/benchmarks
30 3
__main__.py
in identity-resolution/notebooks/identity-graph/nepytune/cli
29 1
histogram.py
in identity-resolution/notebooks/identity-graph/nepytune/visualizations
27 1
ip_loc.py
in identity-resolution/notebooks/identity-graph/nepytune/nodes
26 2
bar_plots.py
in identity-resolution/notebooks/identity-graph/nepytune/visualizations
23 1
ip_loc.py
in identity-resolution/notebooks/identity-graph/nepytune/edges
21 1
website_groups.py
in identity-resolution/notebooks/identity-graph/nepytune/edges
17 1
identity_groups.py
in identity-resolution/notebooks/identity-graph/nepytune/edges
17 1
sunburst_chart.py
in identity-resolution/notebooks/identity-graph/nepytune/visualizations
16 1
persistent_ids.py
in identity-resolution/notebooks/identity-graph/nepytune/edges
15 1
identity_groups.py
in identity-resolution/notebooks/identity-graph/nepytune/nodes
12 1
__init__.py
in identity-resolution/notebooks/identity-graph/nepytune/usecase
7 -
traversal.py
in identity-resolution/notebooks/identity-graph/nepytune
6 1
__init__.py
in identity-resolution/notebooks/identity-graph/nepytune/edges
1 -
__init__.py
in identity-resolution/notebooks/identity-graph/nepytune
1 -
__init__.py
in identity-resolution/notebooks/identity-graph/nepytune/cli
1 -
__init__.py
in identity-resolution/notebooks/identity-graph/nepytune/nodes
1 -
__init__.py
in identity-resolution/notebooks/identity-graph/nepytune/benchmarks
1 -
__init__.py
in identity-resolution/notebooks/identity-graph/nepytune/visualizations
1 -
Files With Most Units (Top 20)
File# lines# units
purchase_path.py
in identity-resolution/notebooks/identity-graph/nepytune/usecase
393 16
add.py
in identity-resolution/notebooks/identity-graph/nepytune/cli
302 15
ingestion.py
in identity-resolution/notebooks/identity-graph/nepytune/benchmarks
188 13
query_runner.py
in identity-resolution/notebooks/identity-graph/nepytune/benchmarks
311 10
write_utils.py
in identity-resolution/notebooks/identity-graph/nepytune
40 9
drawing.py
in identity-resolution/notebooks/identity-graph/nepytune
173 9
websites.py
in identity-resolution/notebooks/identity-graph/nepytune/nodes
65 7
split.py
in identity-resolution/notebooks/identity-graph/nepytune/cli
48 6
brand_interaction.py
in identity-resolution/notebooks/identity-graph/nepytune/usecase
83 6
similar_audience.py
in identity-resolution/notebooks/identity-graph/nepytune/usecase
198 6
drop_graph.py
in identity-resolution/notebooks/identity-graph/nepytune/benchmarks
244 6
benchmarks_visualization.py
in identity-resolution/notebooks/identity-graph/nepytune/benchmarks
115 6
extend.py
in identity-resolution/notebooks/identity-graph/nepytune/cli
73 5
undecided_users.py
in identity-resolution/notebooks/identity-graph/nepytune/usecase
148 5
utils.py
in identity-resolution/notebooks/identity-graph/nepytune
43 4
user_summary.py
in identity-resolution/notebooks/identity-graph/nepytune/usecase
156 4
users_from_household.py
in identity-resolution/notebooks/identity-graph/nepytune/usecase
88 4
network_graph.py
in identity-resolution/notebooks/identity-graph/nepytune/visualizations
73 4
segments.py
in identity-resolution/notebooks/identity-graph/nepytune/visualizations
61 4
transform.py
in identity-resolution/notebooks/identity-graph/nepytune/cli
144 3
Files With Long Lines (Top 2)

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

File# lines# units# long lines
identity-resolution.yml
in identity-resolution/templates
175 - 2
bulk-load-stack.yaml
in identity-resolution/templates
140 - 1