awslabs / sagemaker-privacy-for-nlp
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 24 files with 1,733 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (589 lines of code)
    • 0 medium size files (0 lines of codeclsfd_ftr_w_mp_ins)
    • 6 small files (801 lines of code)
    • 17 very small files (343 lines of code)
0% | 33% | 0% | 46% | 19%
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% | 97% | 0% | 0% | 2%
py0% | 0% | 0% | 70% | 29%
MD0% | 0% | 0% | 100% | 0%
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% | 100% | 0% | 0% | 0%
source/sagemaker/src/package/data_privatization0% | 0% | 0% | 95% | 4%
source/sagemaker/src/package/model0% | 0% | 0% | 97% | 2%
source0% | 0% | 0% | 100% | 0%
ROOT0% | 0% | 0% | 87% | 12%
source/sagemaker/src/package/container_build0% | 0% | 0% | 0% | 100%
deployment/solution-assistant/src0% | 0% | 0% | 0% | 100%
source/sagemaker/src/package0% | 0% | 0% | 0% | 100%
source/sagemaker0% | 0% | 0% | 0% | 100%
source/scripts0% | 0% | 0% | 0% | 100%
deployment/solution-assistant0% | 0% | 0% | 0% | 100%
Longest Files (Top 24)
File# lines# units
sagemaker-privacy-for-nlp.yaml
in deployment
589 -
train.py
in source/sagemaker/src/package/data_privatization/container
156 10
train.py
in source/sagemaker/src/package/model
156 10
env_setup.py
in source
139 12
data_privatization.py
in source/sagemaker/src/package/data_privatization
125 6
README.MD
in root
115 -
inference.py
in source/sagemaker/src/package/model
110 4
logs.py
in source/sagemaker/src/package/container_build
97 2
lambda_function.py
in deployment/solution-assistant/src
91 9
container_build.py
in source/sagemaker/src/package/container_build
27 3
config.py
in source/sagemaker/src/package
23 -
set_kernelspec.py
in source/scripts
18 1
buildspec.yml
in root
16 -
utils.py
in source/sagemaker/src/package
15 2
in
requirements.in
in source/sagemaker
13 -
solution-assistant.yaml
in deployment/solution-assistant
13 -
buildspec.yml
in source/sagemaker/src/package/data_privatization
11 -
setup.py
in source/sagemaker
8 -
in
requirements.in
in source/sagemaker/src/package/model
6 -
__init__.py
in source/sagemaker/src/package
1 -
__init__.py
in source/sagemaker/src/package/data_privatization
1 -
__init__.py
in source/sagemaker/src/package/model
1 -
__init__.py
in source/sagemaker/src/package/container_build
1 -
in
requirements.in
in deployment/solution-assistant
1 -
Files With Most Units (Top 10)
File# lines# units
env_setup.py
in source
139 12
train.py
in source/sagemaker/src/package/data_privatization/container
156 10
train.py
in source/sagemaker/src/package/model
156 10
lambda_function.py
in deployment/solution-assistant/src
91 9
data_privatization.py
in source/sagemaker/src/package/data_privatization
125 6
inference.py
in source/sagemaker/src/package/model
110 4
container_build.py
in source/sagemaker/src/package/container_build
27 3
utils.py
in source/sagemaker/src/package
15 2
logs.py
in source/sagemaker/src/package/container_build
97 2
set_kernelspec.py
in source/scripts
18 1
Files With Long Lines (Top 2)

There are 2 files with lines longer than 120 characters. In total, there are 32 long lines.

File# lines# units# long lines
README.MD
in root
115 - 23
sagemaker-privacy-for-nlp.yaml
in deployment
589 - 9