aws-samples / amazon-eks-autonomous-driving-data-service
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 43 files with 5,339 lines of code.
    • 1 very long files (2,111 lines of code)
    • 0 long files (0 lines of code)
    • 2 medium size files (808 lines of codeclsfd_ftr_w_mp_ins)
    • 5 small files (751 lines of code)
    • 35 very small files (1,669 lines of code)
39% | 0% | 15% | 14% | 31%
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
yml100% | 0% | 0% | 0% | 0%
py0% | 0% | 29% | 27% | 42%
yaml0% | 0% | 0% | 0% | 100%
ddl0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
cfn100% | 0% | 0% | 0% | 0%
a2d2/src0% | 0% | 25% | 26% | 47%
scripts0% | 0% | 37% | 29% | 32%
a2d2/fsx0% | 0% | 0% | 0% | 100%
a2d2/efs0% | 0% | 0% | 0% | 100%
a2d2/charts/a2d2-data-service/templates0% | 0% | 0% | 0% | 100%
a2d2/charts/a2d2-rosbridge/templates0% | 0% | 0% | 0% | 100%
a2d2/charts/a2d2-data-service0% | 0% | 0% | 0% | 100%
a2d2/ddl0% | 0% | 0% | 0% | 100%
a2d2/charts/a2d2-rosbridge0% | 0% | 0% | 0% | 100%
Longest Files (Top 43)
File# lines# units
mozart.yml
in cfn
2111 -
rosbag_producer.py
in a2d2/src
481 26
s3-extract-tar.py
in scripts
327 11
util.py
in a2d2/src
175 13
ros_util.py
in a2d2/src
163 12
extract-bus-data.py
in scripts
160 9
rosbag_consumer.py
in a2d2/src
150 6
s3-extract-load.py
in scripts
103 2
a2d2.yaml
in a2d2/charts/a2d2-data-service/templates
100 -
manifest_producer.py
in a2d2/src
94 4
data_service.py
in a2d2/src
88 3
data_request.py
in a2d2/src
87 4
db_reader.py
in a2d2/src
85 5
manifest_dataset.py
in a2d2/src
83 5
bus_dataset.py
in a2d2/src
79 5
data_response.py
in a2d2/src
74 4
a2d2.yaml
in a2d2/charts/a2d2-rosbridge/templates
70 -
glue-etl-job.py
in scripts
69 3
a2d2-metadata-etl.py
in scripts
68 3
view.py
in a2d2/src
66 8
data_client.py
in a2d2/src
64 3
manifest_consumer.py
in a2d2/src
62 2
values.yaml
in a2d2/charts/a2d2-data-service
56 -
stage-data-a2d2.yaml
in a2d2/efs
55 -
stage-data-a2d2.yaml
in a2d2/fsx
55 -
update-kafka-cluster-config.py
in scripts
55 1
s3_reader.py
in a2d2/src
54 2
setup-redshift-db.py
in scripts
53 1
s3_deleter.py
in a2d2/src
52 2
step-functions.py
in scripts
42 1
pv-fsx-a2d2.yaml
in a2d2/fsx
20 -
values.yaml
in a2d2/charts/a2d2-rosbridge
20 -
attach-efs-a2d2.yaml
in a2d2/efs
17 -
attach-fsx-a2d2.yaml
in a2d2/fsx
17 -
pv-efs-a2d2.yaml
in a2d2/efs
15 -
ddl
drive_data.ddl
in a2d2/ddl
15 -
pvc-fsx-a2d2.yaml
in a2d2/fsx
12 -
pvc-efs-a2d2.yaml
in a2d2/efs
11 -
ddl
vehicle.ddl
in a2d2/ddl
8 -
ddl
sensor.ddl
in a2d2/ddl
8 -
efs-sc.yaml
in a2d2/efs
5 -
Chart.yaml
in a2d2/charts/a2d2-data-service
5 -
Chart.yaml
in a2d2/charts/a2d2-rosbridge
5 -
Files With Most Units (Top 20)
File# lines# units
rosbag_producer.py
in a2d2/src
481 26
util.py
in a2d2/src
175 13
ros_util.py
in a2d2/src
163 12
s3-extract-tar.py
in scripts
327 11
extract-bus-data.py
in scripts
160 9
view.py
in a2d2/src
66 8
rosbag_consumer.py
in a2d2/src
150 6
db_reader.py
in a2d2/src
85 5
manifest_dataset.py
in a2d2/src
83 5
bus_dataset.py
in a2d2/src
79 5
data_response.py
in a2d2/src
74 4
data_request.py
in a2d2/src
87 4
manifest_producer.py
in a2d2/src
94 4
data_service.py
in a2d2/src
88 3
data_client.py
in a2d2/src
64 3
a2d2-metadata-etl.py
in scripts
68 3
glue-etl-job.py
in scripts
69 3
s3_reader.py
in a2d2/src
54 2
manifest_consumer.py
in a2d2/src
62 2
s3_deleter.py
in a2d2/src
52 2
Files With Long Lines (Top 4)

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

File# lines# units# long lines
mozart.yml
in cfn
2111 - 14
rosbag_producer.py
in a2d2/src
481 26 5
util.py
in a2d2/src
175 13 2
s3-extract-tar.py
in scripts
327 11 2