facebookresearch / stochastic_gradient_push
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 17 files with 2,859 lines of code.
    • 0 very long files (0 lines of code)
    • 2 long files (1,086 lines of code)
    • 4 medium size files (1,222 lines of codeclsfd_ftr_w_mp_ins)
    • 1 small files (177 lines of code)
    • 10 very small files (374 lines of code)
0% | 37% | 42% | 6% | 13%
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% | 37% | 42% | 6% | 13%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ROOT0% | 96% | 0% | 0% | 3%
gossip0% | 0% | 81% | 15% | 3%
visualization0% | 0% | 100% | 0% | 0%
experiment_utils0% | 0% | 0% | 0% | 100%
gossip/utils0% | 0% | 0% | 0% | 100%
Longest Files (Top 17)
File# lines# units
gossip_sgd_adpsgd.py
in root
550 12
gossip_sgd.py
in root
536 10
distributed.py
in gossip
418 23
plotting.py
in visualization
299 9
ad_psgd.py
in gossip
291 19
gossiper.py
in gossip
214 14
graph_manager.py
in gossip
177 45
cluster_manager.py
in experiment_utils
83 6
helpers.py
in gossip/utils
63 7
metering.py
in gossip/utils
57 4
metering.py
in experiment_utils
57 4
helpers.py
in experiment_utils
38 2
setup.py
in root
35 -
mixing_manager.py
in gossip
23 6
__init__.py
in gossip
12 -
__init__.py
in gossip/utils
3 -
__init__.py
in experiment_utils
3 -
Files With Most Units (Top 13)
File# lines# units
graph_manager.py
in gossip
177 45
distributed.py
in gossip
418 23
ad_psgd.py
in gossip
291 19
gossiper.py
in gossip
214 14
gossip_sgd_adpsgd.py
in root
550 12
gossip_sgd.py
in root
536 10
plotting.py
in visualization
299 9
helpers.py
in gossip/utils
63 7
mixing_manager.py
in gossip
23 6
cluster_manager.py
in experiment_utils
83 6
metering.py
in gossip/utils
57 4
metering.py
in experiment_utils
57 4
helpers.py
in experiment_utils
38 2
Files With Long Lines (Top 1)

There is only one file with lines longer than 120 characters. In total, there is only one long line.

File# lines# units# long lines
plotting.py
in visualization
299 9 1