aws-samples / aws-dataexchange-api-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 19 files with 1,105 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 0 medium size files (0 lines of codeclsfd_ftr_w_mp_ins)
    • 4 small files (473 lines of code)
    • 15 very small files (632 lines of code)
0% | 0% | 0% | 42% | 57%
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
rb0% | 0% | 0% | 54% | 45%
tf0% | 0% | 0% | 100% | 0%
py0% | 0% | 0% | 33% | 66%
ts0% | 0% | 0% | 0% | 100%
cpp0% | 0% | 0% | 0% | 100%
cs0% | 0% | 0% | 0% | 100%
go0% | 0% | 0% | 0% | 100%
java0% | 0% | 0% | 0% | 100%
php0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
subscribers/python/tf-auto-export-to-s30% | 0% | 0% | 66% | 33%
subscribers/python/download-entitled-assets0% | 0% | 0% | 100% | 0%
subscribers/ruby/most-expensive-neighborhoods-in-nyc0% | 0% | 0% | 100% | 0%
providers/ruby/add-revision-to-a-data-set0% | 0% | 0% | 100% | 0%
subscribers/javascript/auto-export-to-s30% | 0% | 0% | 0% | 100%
subscribers/python/export-data-sets0% | 0% | 0% | 0% | 100%
subscribers/python/pandas-describe-csv0% | 0% | 0% | 0% | 100%
providers/ruby/create-data-set-with-finalized-revision0% | 0% | 0% | 0% | 100%
providers/ruby/add-data-set0% | 0% | 0% | 0% | 100%
providers/ruby/enumerate-data-products0% | 0% | 0% | 0% | 100%
subscribers/cpp/all-entitled-datasets0% | 0% | 0% | 0% | 100%
subscribers/dotnet/all-entitled-datasets0% | 0% | 0% | 0% | 100%
subscribers/go/all-entitled-datasets0% | 0% | 0% | 0% | 100%
subscribers/java/all-entitled-datasets0% | 0% | 0% | 0% | 100%
subscribers/javascript/all-entitled-datasets0% | 0% | 0% | 0% | 100%
subscribers/ruby/all-entitled-datasets0% | 0% | 0% | 0% | 100%
subscribers/php/all-entitled-datasets0% | 0% | 0% | 0% | 100%
Longest Files (Top 19)
File# lines# units
adx-example.tf
in subscribers/python/tf-auto-export-to-s3
143 -
download-entitled-assets.py
in subscribers/python/download-entitled-assets
116 9
most-expensive-neighborhoods-in-nyc.rb
in subscribers/ruby/most-expensive-neighborhoods-in-nyc
110 -
add-revision-to-a-data-set.rb
in providers/ruby/add-revision-to-a-data-set
104 -
export-data-sets.py
in subscribers/python/export-data-sets
89 3
pandas-describe-csv.py
in subscribers/python/pandas-describe-csv
72 8
index.py
in subscribers/python/tf-auto-export-to-s3
72 2
create-data-set-with-finalized-revision.rb
in providers/ruby/create-data-set-with-finalized-revision
68 -
add-data-set.rb
in providers/ruby/add-data-set
65 -
exportToS3.ts
in subscribers/javascript/auto-export-to-s3/lambda
51 2
lambda.ts
in subscribers/javascript/auto-export-to-s3/cfn
39 1
enumerate-data-products.rb
in providers/ruby/enumerate-data-products
32 -
main.cpp
in subscribers/cpp/all-entitled-datasets
32 1
Program.cs
in subscribers/dotnet/all-entitled-datasets
26 1
all-entitled-datasets.go
in subscribers/go/all-entitled-datasets
23 1
App.java
in subscribers/java/all-entitled-datasets/src/main/java/com/amazonaws/dataexchange
19 1
index.ts
in subscribers/javascript/all-entitled-datasets
15 1
all-entitled-datasets.rb
in subscribers/ruby/all-entitled-datasets
15 -
all-entitled-datasets.php
in subscribers/php/all-entitled-datasets
14 -
Files With Most Units (Top 11)
File# lines# units
download-entitled-assets.py
in subscribers/python/download-entitled-assets
116 9
pandas-describe-csv.py
in subscribers/python/pandas-describe-csv
72 8
export-data-sets.py
in subscribers/python/export-data-sets
89 3
exportToS3.ts
in subscribers/javascript/auto-export-to-s3/lambda
51 2
index.py
in subscribers/python/tf-auto-export-to-s3
72 2
all-entitled-datasets.go
in subscribers/go/all-entitled-datasets
23 1
App.java
in subscribers/java/all-entitled-datasets/src/main/java/com/amazonaws/dataexchange
19 1
main.cpp
in subscribers/cpp/all-entitled-datasets
32 1
index.ts
in subscribers/javascript/all-entitled-datasets
15 1
lambda.ts
in subscribers/javascript/auto-export-to-s3/cfn
39 1
Program.cs
in subscribers/dotnet/all-entitled-datasets
26 1
Files With Long Lines (Top 4)

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

File# lines# units# long lines
exportToS3.ts
in subscribers/javascript/auto-export-to-s3/lambda
51 2 2
export-data-sets.py
in subscribers/python/export-data-sets
89 3 2
all-entitled-datasets.go
in subscribers/go/all-entitled-datasets
23 1 1
lambda.ts
in subscribers/javascript/auto-export-to-s3/cfn
39 1 1