awslabs / fraud-detection-using-machine-learning
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 16 files with 1,261 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 2 medium size files (606 lines of codeclsfd_ftr_w_mp_ins)
    • 3 small files (383 lines of code)
    • 11 very small files (272 lines of code)
0% | 0% | 48% | 30% | 21%
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
yaml0% | 0% | 71% | 15% | 12%
py0% | 0% | 0% | 62% | 37%
in0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
deployment0% | 0% | 72% | 15% | 11%
source0% | 0% | 0% | 100% | 0%
deployment/solution-assistant/src0% | 0% | 0% | 100% | 0%
source/notebooks/src/package0% | 0% | 0% | 0% | 100%
source/lambda/model-invocation0% | 0% | 0% | 0% | 100%
source/notebooks0% | 0% | 0% | 0% | 100%
source/scripts0% | 0% | 0% | 0% | 100%
deployment/solution-assistant0% | 0% | 0% | 0% | 100%
Longest Files (Top 16)
File# lines# units
fraud-detection-using-machine-learning.yaml
in deployment
401 -
fraud-detection-sagemaker-permissions-stack.yaml
in deployment
205 -
env_setup.py
in source
138 12
fraud-detection-sagemaker-notebook-instance.yaml
in deployment
131 -
lambda_function.py
in deployment/solution-assistant/src
114 10
fraud-detection-sagemaker-demo-stack.yaml
in deployment
96 -
index.py
in source/lambda/model-invocation
55 4
generate_endpoint_traffic.py
in source/notebooks/src/package
33 4
config.py
in source/notebooks/src/package
20 -
set_kernelspec.py
in source/scripts
18 1
utils.py
in source/notebooks/src/package
15 2
solution-assistant.yaml
in deployment/solution-assistant
13 -
in
requirements.in
in source/notebooks
12 -
setup.py
in source/notebooks
8 -
__init__.py
in source/notebooks/src/package
1 -
in
requirements.in
in deployment/solution-assistant
1 -
Files With Most Units (Top 6)
File# lines# units
env_setup.py
in source
138 12
lambda_function.py
in deployment/solution-assistant/src
114 10
index.py
in source/lambda/model-invocation
55 4
generate_endpoint_traffic.py
in source/notebooks/src/package
33 4
utils.py
in source/notebooks/src/package
15 2
set_kernelspec.py
in source/scripts
18 1
Files With Long Lines (Top 4)

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

File# lines# units# long lines
fraud-detection-using-machine-learning.yaml
in deployment
401 - 10
fraud-detection-sagemaker-notebook-instance.yaml
in deployment
131 - 4
index.py
in source/lambda/model-invocation
55 4 1
fraud-detection-sagemaker-permissions-stack.yaml
in deployment
205 - 1