facebookincubator / fastmod
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 3 files with 1,113 lines of code.
    • 1 very long files (1,041 lines of code)
    • 0 long files (0 lines of code)
    • 0 medium size files (0 lines of codeclsfd_ftr_w_mp_ins)
    • 0 small files (0 lines of code)
    • 2 very small files (72 lines of code)
93% | 0% | 0% | 0% | 6%
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
rs95% | 0% | 0% | 0% | 4%
toml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src95% | 0% | 0% | 0% | 4%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 3)
File# lines# units
main.rs
in src
1041 43
47 -
Cargo.toml
in root
25 -
Files With Most Units (Top 1)
File# lines# units
main.rs
in src
1041 43
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
main.rs
in src
1041 43 1
Correlations

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

src/main.rs x: 34 commits (all time) y: 1041 lines of code src/terminal.rs x: 6 commits (all time) y: 47 lines of code Cargo.toml x: 22 commits (all time) y: 25 lines of code
1041.0
lines of code
  min: 25.0
  average: 371.0
  25th percentile: 25.0
  median: 47.0
  75th percentile: 1041.0
  max: 1041.0
0 34.0
commits (all time)
min: 6.0 | average: 20.67 | 25th percentile: 6.0 | median: 22.0 | 75th percentile: 34.0 | max: 34.0

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

src/main.rs x: 7 contributors (all time) y: 1041 lines of code src/terminal.rs x: 4 contributors (all time) y: 47 lines of code Cargo.toml x: 2 contributors (all time) y: 25 lines of code
1041.0
lines of code
  min: 25.0
  average: 371.0
  25th percentile: 25.0
  median: 47.0
  75th percentile: 1041.0
  max: 1041.0
0 7.0
contributors (all time)
min: 2.0 | average: 4.33 | 25th percentile: 2.0 | median: 4.0 | 75th percentile: 7.0 | max: 7.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".