aws-samples / amazon-comprehend-semi-structured-documents-annotation-tools
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 15 files with 1,585 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 3 medium size files (922 lines of codeclsfd_ftr_w_mp_ins)
    • 1 small files (192 lines of code)
    • 11 very small files (471 lines of code)
0% | 0% | 58% | 12% | 29%
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
css0% | 0% | 100% | 0% | 0%
py0% | 0% | 61% | 0% | 38%
html0% | 0% | 92% | 0% | 7%
yml0% | 0% | 0% | 100% | 0%
cmake0% | 0% | 0% | 0% | 100%
js0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ui-template0% | 0% | 88% | 0% | 11%
src0% | 0% | 61% | 0% | 38%
ROOT0% | 0% | 0% | 100% | 0%
Layers/Poppler/lib/openjpeg-2.30% | 0% | 0% | 0% | 100%
Layers/Poppler/lib/cmake/libxml20% | 0% | 0% | 0% | 100%
Longest Files (Top 15)
File# lines# units
fonts.css
in ui-template
364 -
pre_human_task_lambda.py
in src
305 15
demo.html
in ui-template
253 -
comprehend-semi-structured-documents-annotation-template.yml
in root
192 -
annotation_consolidation_lambda.py
in src
87 8
cmake
OpenJPEGTargets.cmake
in Layers/Poppler/lib/openjpeg-2.3
84 -
block_helper.py
in src
62 13
s3_helper.py
in src
43 5
cmake
libxml2-config.cmake
in Layers/Poppler/lib/cmake/libxml2
42 -
cmake
OpenJPEGConfig.cmake
in Layers/Poppler/lib/openjpeg-2.3
39 -
cmake
OpenJPEGTargets-release.cmake
in Layers/Poppler/lib/openjpeg-2.3
37 -
precache-manifest.d62f5419d2f0a3f10a37cc1ee065a368.js
in ui-template
26 -
static_index.html
in ui-template
20 -
register-compression-worker.js
in ui-template
16 -
service-worker.js
in ui-template
15 -
Files With Most Units (Top 4)
File# lines# units
pre_human_task_lambda.py
in src
305 15
block_helper.py
in src
62 13
annotation_consolidation_lambda.py
in src
87 8
s3_helper.py
in src
43 5
Files With Long Lines (Top 6)

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

File# lines# units# long lines
fonts.css
in ui-template
364 - 38
pre_human_task_lambda.py
in src
305 15 7
demo.html
in ui-template
253 - 5
cmake
OpenJPEGTargets.cmake
in Layers/Poppler/lib/openjpeg-2.3
84 - 1
annotation_consolidation_lambda.py
in src
87 8 1
comprehend-semi-structured-documents-annotation-template.yml
in root
192 - 1