awslabs / sagemaker-graph-entity-resolution
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 21 files with 1,409 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 1 medium size files (205 lines of codeclsfd_ftr_w_mp_ins)
    • 5 small files (674 lines of code)
    • 15 very small files (530 lines of code)
0% | 0% | 14% | 47% | 37%
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% | 43% | 29% | 27%
py0% | 0% | 0% | 57% | 42%
in0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
deployment0% | 0% | 47% | 32% | 20%
source/sagemaker/sagemaker_graph_entity_resolution/dgl_entity_resolution0% | 0% | 0% | 73% | 26%
source/sagemaker/baseline0% | 0% | 0% | 100% | 0%
source/sagemaker/data-preprocessing0% | 0% | 0% | 0% | 100%
source/sagemaker/data-preparation0% | 0% | 0% | 0% | 100%
deployment/solution-assistant0% | 0% | 0% | 0% | 100%
deployment/solution-assistant/src0% | 0% | 0% | 0% | 100%
source/sagemaker/sagemaker_graph_entity_resolution0% | 0% | 0% | 0% | 100%
Longest Files (Top 21)
File# lines# units
sagemaker-graph-entity-resolution.yaml
in deployment
205 -
utils.py
in source/sagemaker/sagemaker_graph_entity_resolution/dgl_entity_resolution
151 10
train_pytorch_mlp_entity_resolution.py
in source/sagemaker/baseline
140 9
sagemaker-permissions-stack.yaml
in deployment
140 -
model.py
in source/sagemaker/sagemaker_graph_entity_resolution/dgl_entity_resolution
137 12
train_dgl_pytorch_entity_resolution.py
in source/sagemaker/sagemaker_graph_entity_resolution/dgl_entity_resolution
106 3
data_preprocessing.py
in source/sagemaker/data-preprocessing
97 10
sagemaker-notebook-instance-stack.yaml
in deployment
87 -
data.py
in source/sagemaker/sagemaker_graph_entity_resolution/dgl_entity_resolution
56 4
data_prep.py
in source/sagemaker/data-preparation
45 4
lambda_function.py
in deployment/solution-assistant/src
44 6
solution-assistant.yaml
in deployment/solution-assistant
44 -
graph.py
in source/sagemaker/sagemaker_graph_entity_resolution/dgl_entity_resolution
40 1
estimator_fns.py
in source/sagemaker/sagemaker_graph_entity_resolution/dgl_entity_resolution
36 2
data_sampling.py
in source/sagemaker/data-preparation
35 3
config.py
in source/sagemaker/sagemaker_graph_entity_resolution
29 1
setup.py
in source/sagemaker/sagemaker_graph_entity_resolution/dgl_entity_resolution
7 -
setup.py
in source/sagemaker/sagemaker_graph_entity_resolution
7 -
__init__.py
in source/sagemaker/sagemaker_graph_entity_resolution/dgl_entity_resolution
1 -
__init__.py
in source/sagemaker/sagemaker_graph_entity_resolution
1 -
in
requirements.in
in deployment/solution-assistant
1 -
Files With Most Units (Top 12)
File# lines# units
model.py
in source/sagemaker/sagemaker_graph_entity_resolution/dgl_entity_resolution
137 12
data_preprocessing.py
in source/sagemaker/data-preprocessing
97 10
utils.py
in source/sagemaker/sagemaker_graph_entity_resolution/dgl_entity_resolution
151 10
train_pytorch_mlp_entity_resolution.py
in source/sagemaker/baseline
140 9
lambda_function.py
in deployment/solution-assistant/src
44 6
data_prep.py
in source/sagemaker/data-preparation
45 4
data.py
in source/sagemaker/sagemaker_graph_entity_resolution/dgl_entity_resolution
56 4
data_sampling.py
in source/sagemaker/data-preparation
35 3
train_dgl_pytorch_entity_resolution.py
in source/sagemaker/sagemaker_graph_entity_resolution/dgl_entity_resolution
106 3
estimator_fns.py
in source/sagemaker/sagemaker_graph_entity_resolution/dgl_entity_resolution
36 2
graph.py
in source/sagemaker/sagemaker_graph_entity_resolution/dgl_entity_resolution
40 1
config.py
in source/sagemaker/sagemaker_graph_entity_resolution
29 1
Files With Long Lines (Top 4)

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

File# lines# units# long lines
sagemaker-graph-entity-resolution.yaml
in deployment
205 - 7
sagemaker-notebook-instance-stack.yaml
in deployment
87 - 2
train_dgl_pytorch_entity_resolution.py
in source/sagemaker/sagemaker_graph_entity_resolution/dgl_entity_resolution
106 3 1
train_pytorch_mlp_entity_resolution.py
in source/sagemaker/baseline
140 9 1