aws-samples / aws-serverless-for-machine-learning-inference
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 9 files with 674 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 1 medium size files (206 lines of codeclsfd_ftr_w_mp_ins)
    • 2 small files (244 lines of code)
    • 6 very small files (224 lines of code)
0% | 0% | 30% | 36% | 33%
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
ts0% | 0% | 43% | 51% | 4%
py0% | 0% | 0% | 0% | 100%
js0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
lib0% | 0% | 43% | 51% | 4%
container_images/batch_image0% | 0% | 0% | 0% | 100%
lambda_fn/ecr_cleanup0% | 0% | 0% | 0% | 100%
lambda_fn/batch_jobs_submitter0% | 0% | 0% | 0% | 100%
lambda_fn/realtime_inf/realtime_fn0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 9)
File# lines# units
batch-resources.ts
in lib
206 1
lambda-resources.ts
in lib
141 1
ml_serverless-stack.ts
in lib
103 1
inference.py
in container_images/batch_image
88 5
index.py
in lambda_fn/ecr_cleanup
39 4
index.py
in lambda_fn/batch_jobs_submitter
37 1
index.py
in lambda_fn/realtime_inf/realtime_fn
29 1
base-resources.ts
in lib
23 1
jest.config.js
in root
8 -
Files With Most Units (Top 8)
File# lines# units
inference.py
in container_images/batch_image
88 5
index.py
in lambda_fn/ecr_cleanup
39 4
ml_serverless-stack.ts
in lib
103 1
base-resources.ts
in lib
23 1
lambda-resources.ts
in lib
141 1
batch-resources.ts
in lib
206 1
index.py
in lambda_fn/batch_jobs_submitter
37 1
index.py
in lambda_fn/realtime_inf/realtime_fn
29 1
Files With Long Lines (Top 4)

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

File# lines# units# long lines
lambda-resources.ts
in lib
141 1 2
inference.py
in container_images/batch_image
88 5 1
ml_serverless-stack.ts
in lib
103 1 1
batch-resources.ts
in lib
206 1 1