aws / sagemaker-example-notebooks-testing
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 35 files with 3,445 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 5 medium size files (1,675 lines of codeclsfd_ftr_w_mp_ins)
    • 8 small files (1,056 lines of code)
    • 22 very small files (714 lines of code)
0% | 0% | 48% | 30% | 20%
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
py0% | 0% | 38% | 34% | 27%
ts0% | 0% | 71% | 24% | 3%
cfg0% | 0% | 0% | 0% | 100%
yml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
lib/images/codebuild-image/python/src/notebooks0% | 0% | 63% | 20% | 15%
lib0% | 0% | 71% | 24% | 3%
lib/images/codebuild-image/python/src/notebooks/cli0% | 0% | 0% | 51% | 48%
lambda/python-functions0% | 0% | 0% | 57% | 42%
lib/images/processing-image0% | 0% | 0% | 81% | 18%
scripts0% | 0% | 0% | 0% | 100%
lib/images/codebuild-image/python0% | 0% | 0% | 0% | 100%
lib/images/codebuild-image/python/src0% | 0% | 0% | 0% | 100%
Longest Files (Top 35)
File# lines# units
dictionary.py
in cdk-project/lib/images/codebuild-image/python/src/notebooks
473 -
run.py
in cdk-project/lib/images/codebuild-image/python/src/notebooks
399 22
project-stack.ts
in cdk-project/lib
316 4
common.ts
in cdk-project/lib
280 16
build-system-stack.ts
in cdk-project/lib
207 1
clean_endpoints.py
in cdk-project/lambda/python-functions
181 8
buildspecs.ts
in cdk-project/lib
164 9
git.py
in cdk-project/lib/images/codebuild-image/python/src/notebooks
143 22
parse.py
in cdk-project/lib/images/codebuild-image/python/src/notebooks
136 16
run_pr_notebooks.py
in cdk-project/lib/images/codebuild-image/python/src/notebooks/cli
111 2
image-stack.ts
in cdk-project/lib
109 1
describe_notebook_jobs.py
in cdk-project/lib/images/codebuild-image/python/src/notebooks/cli
106 3
execute.py
in cdk-project/lib/images/processing-image
106 3
run_all_notebooks.py
in cdk-project/lib/images/codebuild-image/python/src/notebooks/cli
87 3
utils.py
in cdk-project/lib/images/codebuild-image/python/src/notebooks
82 7
kernels.py
in cdk-project/lib/images/codebuild-image/python/src/notebooks
81 3
github_webhook_receiver.py
in cdk-project/lambda/python-functions
75 6
create-webhook.py
in cdk-project/scripts
57 7
lint.py
in cdk-project/lib/images/codebuild-image/python/src/notebooks
53 2
clean_cw_logs.py
in cdk-project/lambda/python-functions
43 3
projects.ts
in cdk-project/lib
40 -
check_pr_notebooks_code.py
in cdk-project/lib/images/codebuild-image/python/src/notebooks/cli
35 2
check_pr_notebooks_markdown.py
in cdk-project/lib/images/codebuild-image/python/src/notebooks/cli
33 2
cfg
setup.cfg
in cdk-project/lib/images/codebuild-image/python
30 -
check_pr_broken_links.py
in cdk-project/lib/images/codebuild-image/python/src/notebooks/cli
27 2
buildspec.yml
in cdk-project/lib/images/processing-image
24 -
pr_notebook_filenames.py
in cdk-project/lib/images/codebuild-image/python/src/notebooks/cli
19 2
common.py
in cdk-project/lambda/python-functions
15 3
git_oauth_token.py
in cdk-project/lib/images/codebuild-image/python/src/notebooks/cli
6 1
setup.py
in cdk-project/lib/images/codebuild-image/python
2 -
__init__.py
in cdk-project/lib/images/codebuild-image/python
1 -
__init__.py
in cdk-project/lib/images/codebuild-image/python/src
1 -
__init__.py
in cdk-project/lib/images/codebuild-image/python/src/notebooks
1 -
__init__.py
in cdk-project/lib/images/codebuild-image/python/src/notebooks/cli
1 -
__init__.py
in cdk-project/lambda/python-functions
1 -
Files With Most Units (Top 20)
File# lines# units
run.py
in cdk-project/lib/images/codebuild-image/python/src/notebooks
399 22
git.py
in cdk-project/lib/images/codebuild-image/python/src/notebooks
143 22
parse.py
in cdk-project/lib/images/codebuild-image/python/src/notebooks
136 16
common.ts
in cdk-project/lib
280 16
buildspecs.ts
in cdk-project/lib
164 9
clean_endpoints.py
in cdk-project/lambda/python-functions
181 8
utils.py
in cdk-project/lib/images/codebuild-image/python/src/notebooks
82 7
create-webhook.py
in cdk-project/scripts
57 7
github_webhook_receiver.py
in cdk-project/lambda/python-functions
75 6
project-stack.ts
in cdk-project/lib
316 4
describe_notebook_jobs.py
in cdk-project/lib/images/codebuild-image/python/src/notebooks/cli
106 3
run_all_notebooks.py
in cdk-project/lib/images/codebuild-image/python/src/notebooks/cli
87 3
kernels.py
in cdk-project/lib/images/codebuild-image/python/src/notebooks
81 3
execute.py
in cdk-project/lib/images/processing-image
106 3
common.py
in cdk-project/lambda/python-functions
15 3
clean_cw_logs.py
in cdk-project/lambda/python-functions
43 3
lint.py
in cdk-project/lib/images/codebuild-image/python/src/notebooks
53 2
check_pr_broken_links.py
in cdk-project/lib/images/codebuild-image/python/src/notebooks/cli
27 2
check_pr_notebooks_code.py
in cdk-project/lib/images/codebuild-image/python/src/notebooks/cli
35 2
check_pr_notebooks_markdown.py
in cdk-project/lib/images/codebuild-image/python/src/notebooks/cli
33 2
Files With Long Lines (Top 6)

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

File# lines# units# long lines
kernels.py
in cdk-project/lib/images/codebuild-image/python/src/notebooks
81 3 8
buildspec.yml
in cdk-project/lib/images/processing-image
24 - 4
buildspecs.ts
in cdk-project/lib
164 9 3
parse.py
in cdk-project/lib/images/codebuild-image/python/src/notebooks
136 16 2
check_pr_notebooks_markdown.py
in cdk-project/lib/images/codebuild-image/python/src/notebooks/cli
33 2 1
execute.py
in cdk-project/lib/images/processing-image
106 3 1