awslabs / sagemaker-graph-fraud-detection
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 28 files with 2,164 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 2 medium size files (563 lines of codeclsfd_ftr_w_mp_ins)
    • 7 small files (907 lines of code)
    • 19 very small files (694 lines of code)
0% | 0% | 26% | 41% | 32%
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% | 52% | 24% | 22%
py0% | 0% | 14% | 49% | 35%
yml0% | 0% | 0% | 0% | 100%
in0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
deployment0% | 0% | 56% | 26% | 16%
source/sagemaker/sagemaker_graph_fraud_detection/dgl_fraud_detection0% | 0% | 27% | 48% | 24%
source/lambda/graph-modelling0% | 0% | 0% | 100% | 0%
source/lambda/data-preprocessing0% | 0% | 0% | 100% | 0%
source/sagemaker/baselines0% | 0% | 0% | 86% | 13%
source/sagemaker/sagemaker_graph_fraud_detection/container_build0% | 0% | 0% | 0% | 100%
source/sagemaker/data-preprocessing0% | 0% | 0% | 0% | 100%
deployment/solution-assistant/src0% | 0% | 0% | 0% | 100%
deployment/solution-assistant0% | 0% | 0% | 0% | 100%
source/sagemaker/sagemaker_graph_fraud_detection0% | 0% | 0% | 0% | 100%
Longest Files (Top 28)
File# lines# units
sagemaker-graph-fraud-detection.yaml
in deployment
341 -
train_dgl_mxnet_entry_point.py
in source/sagemaker/sagemaker_graph_fraud_detection/dgl_fraud_detection
222 9
sagemaker-permissions-stack.yaml
in deployment
161 -
mxnet.py
in source/sagemaker/sagemaker_graph_fraud_detection/dgl_fraud_detection/model
142 12
pytorch.py
in source/sagemaker/sagemaker_graph_fraud_detection/dgl_fraud_detection/model
135 12
index.py
in source/lambda/graph-modelling
132 6
index.py
in source/lambda/data-preprocessing
121 7
data.py
in source/sagemaker/sagemaker_graph_fraud_detection/dgl_fraud_detection
111 7
mlp_fraud_entry_point.py
in source/sagemaker/baselines
105 9
logs.py
in source/sagemaker/sagemaker_graph_fraud_detection/container_build
97 2
sagemaker-notebook-instance-stack.yaml
in deployment
97 -
graph_data_preprocessor.py
in source/sagemaker/data-preprocessing
87 6
lambda_function.py
in deployment/solution-assistant/src
73 7
utils.py
in source/sagemaker/sagemaker_graph_fraud_detection/dgl_fraud_detection
59 4
estimator_fns.py
in source/sagemaker/sagemaker_graph_fraud_detection/dgl_fraud_detection
48 2
solution-assistant.yaml
in deployment/solution-assistant
48 -
graph.py
in source/sagemaker/sagemaker_graph_fraud_detection/dgl_fraud_detection
45 2
sampler.py
in source/sagemaker/sagemaker_graph_fraud_detection/dgl_fraud_detection
43 6
config.py
in source/sagemaker/sagemaker_graph_fraud_detection
32 1
container_build.py
in source/sagemaker/sagemaker_graph_fraud_detection/container_build
27 3
utils.py
in source/sagemaker/baselines
16 1
buildspec.yml
in source/sagemaker/data-preprocessing
10 -
setup.py
in source/sagemaker/sagemaker_graph_fraud_detection
7 -
__init__.py
in source/sagemaker/sagemaker_graph_fraud_detection/dgl_fraud_detection
1 -
__init__.py
in source/sagemaker/sagemaker_graph_fraud_detection/dgl_fraud_detection/model
1 -
__init__.py
in source/sagemaker/sagemaker_graph_fraud_detection
1 -
__init__.py
in source/sagemaker/sagemaker_graph_fraud_detection/container_build
1 -
in
requirements.in
in deployment/solution-assistant
1 -
Files With Most Units (Top 17)
File# lines# units
pytorch.py
in source/sagemaker/sagemaker_graph_fraud_detection/dgl_fraud_detection/model
135 12
mxnet.py
in source/sagemaker/sagemaker_graph_fraud_detection/dgl_fraud_detection/model
142 12
train_dgl_mxnet_entry_point.py
in source/sagemaker/sagemaker_graph_fraud_detection/dgl_fraud_detection
222 9
mlp_fraud_entry_point.py
in source/sagemaker/baselines
105 9
index.py
in source/lambda/data-preprocessing
121 7
data.py
in source/sagemaker/sagemaker_graph_fraud_detection/dgl_fraud_detection
111 7
lambda_function.py
in deployment/solution-assistant/src
73 7
index.py
in source/lambda/graph-modelling
132 6
graph_data_preprocessor.py
in source/sagemaker/data-preprocessing
87 6
sampler.py
in source/sagemaker/sagemaker_graph_fraud_detection/dgl_fraud_detection
43 6
utils.py
in source/sagemaker/sagemaker_graph_fraud_detection/dgl_fraud_detection
59 4
container_build.py
in source/sagemaker/sagemaker_graph_fraud_detection/container_build
27 3
graph.py
in source/sagemaker/sagemaker_graph_fraud_detection/dgl_fraud_detection
45 2
estimator_fns.py
in source/sagemaker/sagemaker_graph_fraud_detection/dgl_fraud_detection
48 2
logs.py
in source/sagemaker/sagemaker_graph_fraud_detection/container_build
97 2
config.py
in source/sagemaker/sagemaker_graph_fraud_detection
32 1
utils.py
in source/sagemaker/baselines
16 1
Files With Long Lines (Top 6)

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

File# lines# units# long lines
sagemaker-graph-fraud-detection.yaml
in deployment
341 - 11
sagemaker-notebook-instance-stack.yaml
in deployment
97 - 4
pytorch.py
in source/sagemaker/sagemaker_graph_fraud_detection/dgl_fraud_detection/model
135 12 2
index.py
in source/lambda/data-preprocessing
121 7 1
train_dgl_mxnet_entry_point.py
in source/sagemaker/sagemaker_graph_fraud_detection/dgl_fraud_detection
222 9 1
config.py
in source/sagemaker/sagemaker_graph_fraud_detection
32 1 1