pytorch / torchx
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 75 files with 5,123 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (560 lines of code)
    • 5 medium size files (1,416 lines of codeclsfd_ftr_w_mp_ins)
    • 10 small files (1,317 lines of code)
    • 59 very small files (1,830 lines of code)
0% | 10% | 27% | 25% | 35%
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% | 11% | 29% | 25% | 33%
yaml0% | 0% | 0% | 44% | 55%
yml0% | 0% | 0% | 0% | 100%
toml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
torchx/schedulers0% | 30% | 50% | 8% | 10%
torchx/cli0% | 0% | 34% | 37% | 28%
torchx/runner0% | 0% | 43% | 23% | 33%
scripts0% | 0% | 0% | 53% | 46%
torchx/pipelines0% | 0% | 0% | 92% | 7%
torchx/components0% | 0% | 0% | 24% | 75%
torchx/apps0% | 0% | 0% | 38% | 61%
torchx/runtime0% | 0% | 0% | 75% | 24%
scripts/spellcheck_conf0% | 0% | 0% | 100% | 0%
resources0% | 0% | 0% | 0% | 100%
torchx/util0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
torchx0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
local_scheduler.py
in torchx/schedulers
560 48
docker_scheduler.py
in torchx/schedulers
361 21
kubernetes_scheduler.py
in torchx/schedulers
357 19
cmd_run.py
in torchx/cli
244 12
api.py
in torchx/runner
241 22
slurm_scheduler.py
in torchx/schedulers
213 12
kfpint.py
in scripts
189 13
cmd_log.py
in torchx/cli
156 6
ray_scheduler.py
in torchx/schedulers
147 11
adapter.py
in torchx/pipelines/kfp
132 7
config.py
in torchx/runner
127 10
utils.py
in torchx/components
126 6
serve.py
in torchx/apps/serve
119 4
cmd_status.py
in torchx/cli
115 8
ax.py
in torchx/runtime/hpo
104 5
spellcheck.yaml
in scripts/spellcheck_conf
102 -
api.py
in torchx/schedulers
98 15
process_monitor.py
in torchx/apps/utils
95 2
component_provider.py
in torchx/components/integration_tests
93 17
types.py
in torchx/util
92 11
torchx-dev-eks-template.yml
in resources
86 -
workspaces.py
in torchx/runner
85 6
main.py
in torchx/cli
73 5
setup.py
in root
72 2
etcd.yaml
in resources
70 -
kube_dist_trainer.py
in scripts
69 4
__init__.py
in torchx/runner/events
57 6
dist.py
in torchx/components
52 1
copy_main.py
in torchx/apps/utils
48 2
roles.py
in torchx/components/base
47 1
component_test_base.py
in torchx/components
46 2
streams.py
in torchx/schedulers
46 4
integ_test_utils.py
in scripts
43 7
__init__.py
in torchx/components/base
42 2
booth_main.py
in torchx/apps/utils
42 2
metrics.py
in torchx/components
38 1
serve.py
in torchx/components
38 1
entrypoints.py
in torchx/util
37 2
cmd_configure.py
in torchx/cli
37 2
__init__.py
in torchx/schedulers
34 4
io.py
in torchx/util
33 3
api.py
in torchx/runner/events
33 3
api.py
in torchx/runtime/tracking
30 7
torchx_integration_tests_role.yaml
in resources
30 -
cmd_describe.py
in torchx/cli
29 2
example_app_defs.py
in scripts
28 3
kfp_volcano_role_binding.yaml
in resources
25 -
copyright.py
in scripts
24 1
conf_helpers.py
in torchx/cli
21 3
ids.py
in torchx/schedulers
21 3
Files With Most Units (Top 20)
File# lines# units
local_scheduler.py
in torchx/schedulers
560 48
api.py
in torchx/runner
241 22
docker_scheduler.py
in torchx/schedulers
361 21
kubernetes_scheduler.py
in torchx/schedulers
357 19
component_provider.py
in torchx/components/integration_tests
93 17
api.py
in torchx/schedulers
98 15
kfpint.py
in scripts
189 13
cmd_run.py
in torchx/cli
244 12
slurm_scheduler.py
in torchx/schedulers
213 12
types.py
in torchx/util
92 11
ray_scheduler.py
in torchx/schedulers
147 11
config.py
in torchx/runner
127 10
cmd_status.py
in torchx/cli
115 8
api.py
in torchx/runtime/tracking
30 7
adapter.py
in torchx/pipelines/kfp
132 7
integ_test_utils.py
in scripts
43 7
__init__.py
in torchx/runner/events
57 6
workspaces.py
in torchx/runner
85 6
cmd_log.py
in torchx/cli
156 6
utils.py
in torchx/components
126 6
Files With Long Lines (Top 0)

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

File# lines# units# long lines