novifinancial / smtree
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 12 files with 2,430 lines of code.
    • 0 very long files (0 lines of code)
    • 2 long files (1,098 lines of code)
    • 4 medium size files (1,007 lines of codeclsfd_ftr_w_mp_ins)
    • 1 small files (115 lines of code)
    • 5 very small files (210 lines of code)
0% | 45% | 41% | 4% | 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
rs0% | 45% | 41% | 4% | 7%
toml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src0% | 47% | 43% | 0% | 8%
benches0% | 0% | 0% | 100% | 0%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 12)
File# lines# units
tree.rs
in src
563 9
proof.rs
in src
535 10
331 42
index.rs
in src
241 4
tests.rs
in src
228 11
utils.rs
in src
207 7
benchmarks.rs
in benches
115 -
traits.rs
in src
72 8
error.rs
in src
64 1
42 1
Cargo.toml
in root
22 -
lib.rs
in src
10 -
Files With Most Units (Top 9)
File# lines# units
331 42
tests.rs
in src
228 11
proof.rs
in src
535 10
tree.rs
in src
563 9
traits.rs
in src
72 8
utils.rs
in src
207 7
index.rs
in src
241 4
error.rs
in src
64 1
42 1
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
Cargo.toml
in root
22 - 1
Correlations

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

Cargo.toml x: 7 commits (all time) y: 22 lines of code src/node_template.rs x: 1 commits (all time) y: 331 lines of code src/tests.rs x: 3 commits (all time) y: 228 lines of code src/tree.rs x: 3 commits (all time) y: 563 lines of code src/utils.rs x: 5 commits (all time) y: 207 lines of code src/index.rs x: 4 commits (all time) y: 241 lines of code src/proof.rs x: 1 commits (all time) y: 535 lines of code src/error.rs x: 2 commits (all time) y: 64 lines of code
563.0
lines of code
  min: 22.0
  average: 273.88
  25th percentile: 99.75
  median: 234.5
  75th percentile: 484.0
  max: 563.0
0 7.0
commits (all time)
min: 1.0 | average: 3.25 | 25th percentile: 1.25 | median: 3.0 | 75th percentile: 4.75 | max: 7.0

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

Cargo.toml x: 1 contributors (all time) y: 22 lines of code src/node_template.rs x: 1 contributors (all time) y: 331 lines of code src/tests.rs x: 1 contributors (all time) y: 228 lines of code src/tree.rs x: 2 contributors (all time) y: 563 lines of code src/utils.rs x: 2 contributors (all time) y: 207 lines of code src/index.rs x: 2 contributors (all time) y: 241 lines of code src/proof.rs x: 1 contributors (all time) y: 535 lines of code src/error.rs x: 1 contributors (all time) y: 64 lines of code
563.0
lines of code
  min: 22.0
  average: 273.88
  25th percentile: 99.75
  median: 234.5
  75th percentile: 484.0
  max: 563.0
0 2.0
contributors (all time)
min: 1.0 | average: 1.38 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 2.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".