aws-samples / amazon-comprehend-s3-object-lambda-functions
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 17 files with 1,330 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 1 medium size files (258 lines of codeclsfd_ftr_w_mp_ins)
    • 4 small files (605 lines of code)
    • 12 very small files (467 lines of code)
0% | 0% | 19% | 45% | 35%
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% | 23% | 44% | 32%
yml0% | 0% | 0% | 50% | 49%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src0% | 0% | 31% | 41% | 26%
src/clients0% | 0% | 0% | 52% | 47%
ROOT0% | 0% | 0% | 50% | 49%
Longest Files (Top 17)
File# lines# units
constants.py
in src
258 3
handler.py
in src
169 6
processors.py
in src
166 13
s3_client.py
in src/clients
164 7
redaction-template.yml
in root
106 -
comprehend_client.py
in src/clients
93 6
access-control-template.yml
in root
89 -
exception_handlers.py
in src
68 3
cloudwatch_client.py
in src/clients
57 9
validators.py
in src
40 4
data_object.py
in src
34 4
exceptions.py
in src
24 4
config.py
in src
22 -
buildspec.yml
in root
14 -
util.py
in src
14 1
lambdalogging.py
in src
10 1
lambdainit.py
in src
2 -
Files With Most Units (Top 12)
File# lines# units
processors.py
in src
166 13
cloudwatch_client.py
in src/clients
57 9
s3_client.py
in src/clients
164 7
handler.py
in src
169 6
comprehend_client.py
in src/clients
93 6
data_object.py
in src
34 4
validators.py
in src
40 4
exceptions.py
in src
24 4
exception_handlers.py
in src
68 3
constants.py
in src
258 3
lambdalogging.py
in src
10 1
util.py
in src
14 1
Files With Long Lines (Top 10)

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

File# lines# units# long lines
redaction-template.yml
in root
106 - 11
access-control-template.yml
in root
89 - 9
exception_handlers.py
in src
68 3 8
handler.py
in src
169 6 8
s3_client.py
in src/clients
164 7 6
comprehend_client.py
in src/clients
93 6 5
processors.py
in src
166 13 3
validators.py
in src
40 4 1
config.py
in src
22 - 1
cloudwatch_client.py
in src/clients
57 9 1