facebookincubator / propfuzz
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 11 files with 610 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 1 medium size files (228 lines of codeclsfd_ftr_w_mp_ins)
    • 1 small files (194 lines of code)
    • 9 very small files (188 lines of code)
0% | 0% | 37% | 31% | 30%
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% | 0% | 41% | 35% | 22%
toml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
propfuzz-macro/src0% | 0% | 46% | 39% | 14%
propfuzz/src0% | 0% | 0% | 0% | 100%
propfuzz0% | 0% | 0% | 0% | 100%
propfuzz-macro0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 11)
File# lines# units
propfuzz_impl.rs
in propfuzz-macro/src
228 10
config.rs
in propfuzz-macro/src
194 5
errors.rs
in propfuzz-macro/src
56 -
Cargo.toml
in propfuzz
32 -
Cargo.toml
in propfuzz-macro
27 -
runtime.rs
in propfuzz/src
26 1
traits.rs
in propfuzz/src
16 2
lib.rs
in propfuzz-macro/src
14 -
lib.rs
in propfuzz/src
6 -
prelude.rs
in propfuzz/src
6 -
Cargo.toml
in root
5 -
Files With Most Units (Top 4)
File# lines# units
propfuzz_impl.rs
in propfuzz-macro/src
228 10
config.rs
in propfuzz-macro/src
194 5
traits.rs
in propfuzz/src
16 2
runtime.rs
in propfuzz/src
26 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
Correlations

File Size vs. Commits (all time): 10 points

propfuzz/Cargo.toml x: 7 commits (all time) y: 32 lines of code propfuzz-macro/Cargo.toml x: 10 commits (all time) y: 27 lines of code propfuzz-macro/src/propfuzz_impl.rs x: 5 commits (all time) y: 228 lines of code propfuzz/src/lib.rs x: 2 commits (all time) y: 6 lines of code propfuzz-macro/src/config.rs x: 5 commits (all time) y: 194 lines of code propfuzz-macro/src/lib.rs x: 5 commits (all time) y: 14 lines of code propfuzz/src/traits.rs x: 2 commits (all time) y: 16 lines of code propfuzz-macro/src/errors.rs x: 2 commits (all time) y: 56 lines of code propfuzz/src/runtime.rs x: 1 commits (all time) y: 26 lines of code
228.0
lines of code
  min: 6.0
  average: 60.5
  25th percentile: 12.0
  median: 26.5
  75th percentile: 90.5
  max: 228.0
0 10.0
commits (all time)
min: 1.0 | average: 4.1 | 25th percentile: 2.0 | median: 3.5 | 75th percentile: 5.5 | max: 10.0

File Size vs. Contributors (all time): 10 points

propfuzz/Cargo.toml x: 3 contributors (all time) y: 32 lines of code propfuzz-macro/Cargo.toml x: 2 contributors (all time) y: 27 lines of code propfuzz-macro/src/propfuzz_impl.rs x: 2 contributors (all time) y: 228 lines of code propfuzz/src/lib.rs x: 2 contributors (all time) y: 6 lines of code propfuzz-macro/src/config.rs x: 1 contributors (all time) y: 194 lines of code propfuzz-macro/src/lib.rs x: 1 contributors (all time) y: 14 lines of code propfuzz/src/traits.rs x: 1 contributors (all time) y: 16 lines of code propfuzz/src/prelude.rs x: 1 contributors (all time) y: 6 lines of code propfuzz-macro/src/errors.rs x: 1 contributors (all time) y: 56 lines of code propfuzz/src/runtime.rs x: 1 contributors (all time) y: 26 lines of code
228.0
lines of code
  min: 6.0
  average: 60.5
  25th percentile: 12.0
  median: 26.5
  75th percentile: 90.5
  max: 228.0
0 3.0
contributors (all time)
min: 1.0 | average: 1.5 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 3.0

File Size vs. Commits (30 days): 0 points

No data for "commits (30d)" vs. "lines of code".

File Size vs. Contributors (30 days): 0 points

No data for "contributors (30d)" vs. "lines of code".


File Size vs. Commits (90 days): 0 points

No data for "commits (90d)" vs. "lines of code".

File Size vs. Contributors (90 days): 0 points

No data for "contributors (90d)" vs. "lines of code".