aws-samples / amazon-ipc-ai-saas
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,302 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)
    • 7 small files (936 lines of code)
    • 10 very small files (366 lines of code)
0% | 0% | 0% | 71% | 28%
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% | 0% | 73% | 26%
ts0% | 0% | 0% | 100% | 0%
yaml0% | 0% | 0% | 0% | 100%
yml0% | 0% | 0% | 0% | 100%
js0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
source/containers/face-comparison0% | 0% | 0% | 90% | 9%
source/lib0% | 0% | 0% | 100% | 0%
source/neo0% | 0% | 0% | 100% | 0%
source/containers/body-detection0% | 0% | 0% | 98% | 1%
source/containers/face-detection0% | 0% | 0% | 98% | 1%
source/export0% | 0% | 0% | 100% | 0%
source/lambda0% | 0% | 0% | 100% | 0%
source/simulate0% | 0% | 0% | 0% | 100%
source0% | 0% | 0% | 0% | 100%
deployment0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 17)
File# lines# units
predictor.py
in source/containers/face-comparison/recognizer
185 7
ipc-ai-saas-stack.ts
in source/lib
181 1
eval.py
in source/neo
141 9
predictor.py
in source/containers/body-detection/detector
108 4
predictor.py
in source/containers/face-detection/detector
108 4
gluoncv_model_export.py
in source/export
108 4
main.py
in source/lambda
105 1
face_compare.py
in source/simulate
100 4
detector.py
in source/simulate
80 5
helper.py
in deployment
68 10
solution.yaml
in source
67 -
buildspec.yml
in root
20 -
face.py
in source/containers/face-comparison/recognizer
18 5
jest.config.js
in source
7 -
wsgi.py
in source/containers/body-detection/detector
2 -
wsgi.py
in source/containers/face-comparison/recognizer
2 -
wsgi.py
in source/containers/face-detection/detector
2 -
Files With Most Units (Top 11)
File# lines# units
helper.py
in deployment
68 10
eval.py
in source/neo
141 9
predictor.py
in source/containers/face-comparison/recognizer
185 7
face.py
in source/containers/face-comparison/recognizer
18 5
detector.py
in source/simulate
80 5
predictor.py
in source/containers/body-detection/detector
108 4
predictor.py
in source/containers/face-detection/detector
108 4
gluoncv_model_export.py
in source/export
108 4
face_compare.py
in source/simulate
100 4
ipc-ai-saas-stack.ts
in source/lib
181 1
main.py
in source/lambda
105 1
Files With Long Lines (Top 4)

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

File# lines# units# long lines
ipc-ai-saas-stack.ts
in source/lib
181 1 3
predictor.py
in source/containers/body-detection/detector
108 4 2
predictor.py
in source/containers/face-comparison/recognizer
185 7 2
predictor.py
in source/containers/face-detection/detector
108 4 2