facebookresearch / Cupcake
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,124 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (518 lines of code)
    • 2 medium size files (795 lines of codeclsfd_ftr_w_mp_ins)
    • 1 small files (199 lines of code)
    • 13 very small files (612 lines of code)
0% | 24% | 37% | 9% | 28%
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
rs0% | 24% | 38% | 9% | 27%
toml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src0% | 45% | 32% | 0% | 22%
src/integer_arith0% | 0% | 61% | 29% | 9%
benches0% | 0% | 0% | 0% | 100%
src/polyarith0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 17)
File# lines# units
lib.rs
in src
518 36
scalar.rs
in src/integer_arith
419 59
rqpoly.rs
in src
376 24
butterfly.rs
in src/integer_arith
199 8
serialize.rs
in src
97 9
scheme.rs
in benches
82 6
randutils.rs
in src
78 -
polyops.rs
in benches
57 5
butterfly.rs
in benches
56 3
utils.rs
in src
44 1
lazy_ntt.rs
in src/polyarith
41 -
mod.rs
in src/integer_arith
38 3
toml
Cargo.toml
in root
37 -
traits.rs
in src
37 8
util.rs
in src/integer_arith
26 2
integerops.rs
in benches
18 1
mod.rs
in src/polyarith
1 -
Files With Most Units (Top 13)
File# lines# units
scalar.rs
in src/integer_arith
419 59
lib.rs
in src
518 36
rqpoly.rs
in src
376 24
serialize.rs
in src
97 9
butterfly.rs
in src/integer_arith
199 8
traits.rs
in src
37 8
scheme.rs
in benches
82 6
polyops.rs
in benches
57 5
butterfly.rs
in benches
56 3
mod.rs
in src/integer_arith
38 3
util.rs
in src/integer_arith
26 2
integerops.rs
in benches
18 1
utils.rs
in src
44 1
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