facebookresearch / RidgeSketch
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 5,065 lines of code.
    • 0 very long files (0 lines of code)
    • 3 long files (1,670 lines of code)
    • 7 medium size files (2,437 lines of codeclsfd_ftr_w_mp_ins)
    • 4 small files (523 lines of code)
    • 10 very small files (435 lines of code)
0% | 32% | 48% | 10% | 8%
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% | 32% | 48% | 10% | 8%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
experiments0% | 56% | 39% | 3% | 0%
ROOT0% | 0% | 64% | 12% | 23%
benchmarks0% | 0% | 76% | 16% | 6%
datasets0% | 0% | 0% | 50% | 50%
Longest Files (Top 24)
File# lines# units
momentum_regimes.py
in experiments
573 17
regularization_on_momentum.py
in experiments
552 17
different_sketch_sizes_time_bar_plots.py
in experiments
545 16
ridge_sketch.py
in root
394 16
plot_experiments.py
in experiments
393 8
compare_conjugate_gradient.py
in experiments
381 12
run_benchmarks.py
in benchmarks
377 18
different_sketches.py
in experiments
372 12
sketching.py
in root
261 30
benchmark_configs.py
in benchmarks
259 1
data_loaders.py
in datasets
143 17
plot.py
in benchmarks
134 7
a_matrix.py
in root
129 18
coordinate_descent_momentum.py
in experiments
117 5
kernel_ridge_sketch.py
in root
78 4
pre_process_taxi_data.py
in datasets
65 5
srht.py
in root
62 3
internal_benchmarks.py
in benchmarks
56 3
sparse_tools.py
in root
46 3
year_prediction_data.py
in datasets
42 3
conjugate_gradients.py
in root
39 1
generate_controlled_data.py
in datasets
35 2
setup.py
in root
11 -
__init__.py
in datasets
1 -
Files With Most Units (Top 20)
File# lines# units
sketching.py
in root
261 30
a_matrix.py
in root
129 18
run_benchmarks.py
in benchmarks
377 18
momentum_regimes.py
in experiments
573 17
regularization_on_momentum.py
in experiments
552 17
data_loaders.py
in datasets
143 17
ridge_sketch.py
in root
394 16
different_sketch_sizes_time_bar_plots.py
in experiments
545 16
different_sketches.py
in experiments
372 12
compare_conjugate_gradient.py
in experiments
381 12
plot_experiments.py
in experiments
393 8
plot.py
in benchmarks
134 7
coordinate_descent_momentum.py
in experiments
117 5
pre_process_taxi_data.py
in datasets
65 5
kernel_ridge_sketch.py
in root
78 4
srht.py
in root
62 3
year_prediction_data.py
in datasets
42 3
internal_benchmarks.py
in benchmarks
56 3
sparse_tools.py
in root
46 3
generate_controlled_data.py
in datasets
35 2
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
coordinate_descent_momentum.py
in experiments
117 5 1
run_benchmarks.py
in benchmarks
377 18 1
benchmark_configs.py
in benchmarks
259 1 1