aws-samples / aws-document-classifier-and-splitter
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,133 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 1 medium size files (255 lines of codeclsfd_ftr_w_mp_ins)
    • 3 small files (382 lines of code)
    • 13 very small files (496 lines of code)
0% | 0% | 22% | 33% | 43%
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% | 29% | 11% | 58%
yaml0% | 0% | 0% | 100% | 0%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
workflow3_local0% | 0% | 73% | 0% | 26%
workflow1_endpointbuilder/sam-app0% | 0% | 0% | 100% | 0%
workflow2_docsplitter/sam-app0% | 0% | 0% | 100% | 0%
workflow2_docsplitter/sam-app/functions/docsplitter_function0% | 0% | 0% | 100% | 0%
workflow1_endpointbuilder/sam-app/functions/function3_processobjectsandupdaterows0% | 0% | 0% | 0% | 100%
workflow1_endpointbuilder/sam-app/functions/function1_createtableandfunction3trigger0% | 0% | 0% | 0% | 100%
workflow2_docsplitter/sam-app/functions/getalbinfo_function0% | 0% | 0% | 0% | 100%
workflow2_docsplitter/sample_request_folder0% | 0% | 0% | 0% | 100%
workflow1_endpointbuilder/sam-app/functions/function5_createcsv0% | 0% | 0% | 0% | 100%
workflow1_endpointbuilder/sam-app/functions/function2_inserttablerowswithobjectkeys0% | 0% | 0% | 0% | 100%
workflow1_endpointbuilder/sam-app/functions/function4_checktablestatus0% | 0% | 0% | 0% | 100%
workflow1_endpointbuilder/sam-app/functions/function7_checkclassifierstatus0% | 0% | 0% | 0% | 100%
workflow1_endpointbuilder/sam-app/functions/function6_trainclassifier0% | 0% | 0% | 0% | 100%
workflow1_endpointbuilder/sam-app/functions/function9_checkendpointstatus0% | 0% | 0% | 0% | 100%
workflow1_endpointbuilder/sam-app/functions/function8_buildendpoint0% | 0% | 0% | 0% | 100%
Longest Files (Top 17)
File# lines# units
local_endpointbuilder.py
in workflow3_local
255 11
template.yaml
in workflow1_endpointbuilder/sam-app
177 -
template.yaml
in workflow2_docsplitter/sam-app
104 -
index.py
in workflow2_docsplitter/sam-app/functions/docsplitter_function
101 6
local_docsplitter.py
in workflow3_local
91 7
index.py
in workflow1_endpointbuilder/sam-app/functions/function3_processobjectsandupdaterows
63 6
index.py
in workflow1_endpointbuilder/sam-app/functions/function1_createtableandfunction3trigger
62 3
index.py
in workflow2_docsplitter/sam-app/functions/getalbinfo_function
59 2
index.py
in workflow1_endpointbuilder/sam-app/functions/function5_createcsv
34 2
index.py
in workflow1_endpointbuilder/sam-app/functions/function2_inserttablerowswithobjectkeys
33 2
index.py
in workflow1_endpointbuilder/sam-app/functions/function4_checktablestatus
32 2
index.py
in workflow1_endpointbuilder/sam-app/functions/function7_checkclassifierstatus
24 2
index.py
in workflow1_endpointbuilder/sam-app/functions/function6_trainclassifier
24 2
index.py
in workflow1_endpointbuilder/sam-app/functions/function9_checkendpointstatus
22 2
sample_local_request.py
in workflow2_docsplitter/sample_request_folder
19 1
index.py
in workflow1_endpointbuilder/sam-app/functions/function8_buildendpoint
17 2
sample_s3_request.py
in workflow2_docsplitter/sample_request_folder
16 1
Files With Most Units (Top 15)
File# lines# units
local_endpointbuilder.py
in workflow3_local
255 11
local_docsplitter.py
in workflow3_local
91 7
index.py
in workflow2_docsplitter/sam-app/functions/docsplitter_function
101 6
index.py
in workflow1_endpointbuilder/sam-app/functions/function3_processobjectsandupdaterows
63 6
index.py
in workflow1_endpointbuilder/sam-app/functions/function1_createtableandfunction3trigger
62 3
index.py
in workflow2_docsplitter/sam-app/functions/getalbinfo_function
59 2
index.py
in workflow1_endpointbuilder/sam-app/functions/function5_createcsv
34 2
index.py
in workflow1_endpointbuilder/sam-app/functions/function4_checktablestatus
32 2
index.py
in workflow1_endpointbuilder/sam-app/functions/function9_checkendpointstatus
22 2
index.py
in workflow1_endpointbuilder/sam-app/functions/function7_checkclassifierstatus
24 2
index.py
in workflow1_endpointbuilder/sam-app/functions/function2_inserttablerowswithobjectkeys
33 2
index.py
in workflow1_endpointbuilder/sam-app/functions/function6_trainclassifier
24 2
index.py
in workflow1_endpointbuilder/sam-app/functions/function8_buildendpoint
17 2
sample_local_request.py
in workflow2_docsplitter/sample_request_folder
19 1
sample_s3_request.py
in workflow2_docsplitter/sample_request_folder
16 1
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
template.yaml
in workflow1_endpointbuilder/sam-app
177 - 2
index.py
in workflow2_docsplitter/sam-app/functions/docsplitter_function
101 6 1