aws-samples / sagemaker-studio-auto-shutdown-extension
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 26 files with 1,508 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 2 medium size files (658 lines of codeclsfd_ftr_w_mp_ins)
    • 3 small files (355 lines of code)
    • 21 very small files (495 lines of code)
0% | 0% | 43% | 23% | 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
py0% | 0% | 74% | 11% | 14%
yaml0% | 0% | 0% | 74% | 25%
tsx0% | 0% | 0% | 57% | 42%
ts0% | 0% | 0% | 0% | 100%
in0% | 0% | 0% | 0% | 100%
css0% | 0% | 0% | 0% | 100%
toml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ROOT0% | 0% | 93% | 0% | 6%
sagemaker_studio_autoshutdown0% | 0% | 72% | 0% | 27%
auto-installer0% | 0% | 0% | 100% | 0%
labextension/src/components0% | 0% | 0% | 63% | 36%
auto-installer/lambda0% | 0% | 0% | 100% | 0%
labextension/src/style0% | 0% | 0% | 0% | 100%
labextension/src0% | 0% | 0% | 0% | 100%
extension-checker0% | 0% | 0% | 0% | 100%
labextension/src/widgets0% | 0% | 0% | 0% | 100%
labextension/style0% | 0% | 0% | 0% | 100%
Longest Files (Top 26)
File# lines# units
setup.py
in root
448 33
idle_checker.py
in sagemaker_studio_autoshutdown
210 6
template.sam.yaml
in auto-installer
138 -
AutoShutDownPanel.tsx
in labextension/src/components
116 2
main.py
in auto-installer/lambda
101 3
SettingsPanel.ts
in labextension/src/style
74 -
handlers.py
in sagemaker_studio_autoshutdown
65 1
index.ts
in labextension/src
62 1
ext_checker_cnf.yaml
in extension-checker
48 -
ext_checker.py
in extension-checker
38 1
InputColumn.tsx
in labextension/src/components
29 2
Alert.ts
in labextension/src/style
27 -
sagemaker-studio-autoshutdown.ts
in labextension/src
25 1
AutoShutDownWidget.tsx
in labextension/src/widgets
21 -
InputCheckbox.tsx
in labextension/src/components
19 1
in
MANIFEST.in
in root
19 -
Alert.tsx
in labextension/src/components
18 -
__init__.py
in sagemaker_studio_autoshutdown
12 2
AutoShutDownWidgetStyle.ts
in labextension/src/style
10 -
InputColumn.ts
in labextension/src/style
8 -
check_idle_timeout_configuration.py
in root
6 -
index.css
in labextension/style
4 -
Widget.ts
in labextension/src/style
4 -
pyproject.toml
in root
3 -
_version.py
in sagemaker_studio_autoshutdown
2 -
__init__.py
in root
1 -
Files With Most Units (Top 11)
File# lines# units
setup.py
in root
448 33
idle_checker.py
in sagemaker_studio_autoshutdown
210 6
main.py
in auto-installer/lambda
101 3
InputColumn.tsx
in labextension/src/components
29 2
AutoShutDownPanel.tsx
in labextension/src/components
116 2
__init__.py
in sagemaker_studio_autoshutdown
12 2
ext_checker.py
in extension-checker
38 1
index.ts
in labextension/src
62 1
InputCheckbox.tsx
in labextension/src/components
19 1
sagemaker-studio-autoshutdown.ts
in labextension/src
25 1
handlers.py
in sagemaker_studio_autoshutdown
65 1
Files With Long Lines (Top 3)

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

File# lines# units# long lines
ext_checker.py
in extension-checker
38 1 1
InputColumn.tsx
in labextension/src/components
29 2 1
AutoShutDownPanel.tsx
in labextension/src/components
116 2 1