novifinancial / fastpay
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 27 files with 3,917 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 7 medium size files (2,547 lines of codeclsfd_ftr_w_mp_ins)
    • 4 small files (677 lines of code)
    • 16 very small files (693 lines of code)
0% | 0% | 65% | 17% | 17%
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% | 72% | 15% | 12%
py0% | 0% | 0% | 37% | 62%
toml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
fastpay/src0% | 0% | 78% | 21% | <1%
fastpay_core/src0% | 0% | 65% | 9% | 25%
scripts0% | 0% | 0% | 37% | 62%
fastpay0% | 0% | 0% | 0% | 100%
fastpay_core0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 27)
File# lines# units
client.rs
in fastpay_core/src
497 5
client.rs
in fastpay/src
492 8
network.rs
in fastpay/src
408 4
transport.rs
in fastpay/src
330 9
authority.rs
in fastpay_core/src
307 9
base_types.rs
in fastpay_core/src
299 18
bench.rs
in fastpay/src
214 2
config.rs
in fastpay/src
198 -
server.rs
in fastpay/src
197 3
messages.rs
in fastpay_core/src
165 6
throughput.py
in scripts
117 4
latency.py
in scripts
99 5
serialize.rs
in fastpay_core/src
97 2
error.rs
in fastpay_core/src
87 -
fastpay_smart_contract.rs
in fastpay_core/src
85 4
downloader.rs
in fastpay_core/src
55 2
generate_format.rs
in fastpay_core/src
50 2
aws_plot.py
in scripts
50 5
committee.rs
in fastpay_core/src
39 -
33 2
Cargo.toml
in fastpay
29 -
Cargo.toml
in fastpay_core
27 -
16 -
lib.rs
in fastpay_core/src
11 -
Cargo.toml
in root
9 -
lib.rs
in fastpay/src
4 -
2 -
Files With Most Units (Top 17)
File# lines# units
base_types.rs
in fastpay_core/src
299 18
transport.rs
in fastpay/src
330 9
authority.rs
in fastpay_core/src
307 9
client.rs
in fastpay/src
492 8
messages.rs
in fastpay_core/src
165 6
client.rs
in fastpay_core/src
497 5
latency.py
in scripts
99 5
aws_plot.py
in scripts
50 5
network.rs
in fastpay/src
408 4
fastpay_smart_contract.rs
in fastpay_core/src
85 4
throughput.py
in scripts
117 4
server.rs
in fastpay/src
197 3
bench.rs
in fastpay/src
214 2
downloader.rs
in fastpay_core/src
55 2
serialize.rs
in fastpay_core/src
97 2
generate_format.rs
in fastpay_core/src
50 2
33 2
Files With Long Lines (Top 1)

There is only one file with lines longer than 120 characters. In total, there are 2 long lines.

File# lines# units# long lines
throughput.py
in scripts
117 4 2
Correlations

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

fastpay/src/bench.rs x: 6 commits (all time) y: 214 lines of code fastpay/src/client.rs x: 6 commits (all time) y: 492 lines of code fastpay/src/config.rs x: 5 commits (all time) y: 198 lines of code fastpay/src/lib.rs x: 3 commits (all time) y: 4 lines of code fastpay/src/network.rs x: 3 commits (all time) y: 408 lines of code fastpay/src/server.rs x: 5 commits (all time) y: 197 lines of code fastpay/src/transport.rs x: 2 commits (all time) y: 330 lines of code fastpay_core/src/authority.rs x: 3 commits (all time) y: 307 lines of code fastpay_core/src/base_types.rs x: 9 commits (all time) y: 299 lines of code fastpay_core/src/client.rs x: 4 commits (all time) y: 497 lines of code fastpay_core/src/committee.rs x: 2 commits (all time) y: 39 lines of code fastpay_core/src/downloader.rs x: 2 commits (all time) y: 55 lines of code fastpay_core/src/error.rs x: 3 commits (all time) y: 87 lines of code fastpay_core/src/fastpay_smart_contract.rs x: 3 commits (all time) y: 85 lines of code fastpay_core/src/generate_format.rs x: 3 commits (all time) y: 50 lines of code fastpay_core/src/lib.rs x: 3 commits (all time) y: 11 lines of code fastpay_core/src/messages.rs x: 4 commits (all time) y: 165 lines of code fastpay_core/src/serialize.rs x: 3 commits (all time) y: 97 lines of code scripts/aws_plot.py x: 1 commits (all time) y: 50 lines of code scripts/latency.py x: 1 commits (all time) y: 99 lines of code scripts/latency_with_crash.py x: 1 commits (all time) y: 33 lines of code scripts/microbenchmark.py x: 1 commits (all time) y: 16 lines of code scripts/throughput.py x: 1 commits (all time) y: 117 lines of code fastpay_core/Cargo.toml x: 5 commits (all time) y: 27 lines of code fastpay/Cargo.toml x: 2 commits (all time) y: 29 lines of code rustfmt.toml x: 1 commits (all time) y: 2 lines of code Cargo.toml x: 2 commits (all time) y: 9 lines of code
497.0
lines of code
  min: 2.0
  average: 145.07
  25th percentile: 29.0
  median: 87.0
  75th percentile: 214.0
  max: 497.0
0 9.0
commits (all time)
min: 1.0 | average: 3.11 | 25th percentile: 2.0 | median: 3.0 | 75th percentile: 4.0 | max: 9.0

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

fastpay/src/bench.rs x: 1 contributors (all time) y: 214 lines of code fastpay/src/client.rs x: 1 contributors (all time) y: 492 lines of code fastpay/src/config.rs x: 1 contributors (all time) y: 198 lines of code fastpay/src/lib.rs x: 1 contributors (all time) y: 4 lines of code fastpay/src/network.rs x: 1 contributors (all time) y: 408 lines of code fastpay/src/server.rs x: 1 contributors (all time) y: 197 lines of code fastpay/src/transport.rs x: 1 contributors (all time) y: 330 lines of code fastpay_core/src/authority.rs x: 1 contributors (all time) y: 307 lines of code fastpay_core/src/base_types.rs x: 1 contributors (all time) y: 299 lines of code fastpay_core/src/client.rs x: 1 contributors (all time) y: 497 lines of code fastpay_core/src/committee.rs x: 1 contributors (all time) y: 39 lines of code fastpay_core/src/downloader.rs x: 1 contributors (all time) y: 55 lines of code fastpay_core/src/error.rs x: 1 contributors (all time) y: 87 lines of code fastpay_core/src/fastpay_smart_contract.rs x: 1 contributors (all time) y: 85 lines of code fastpay_core/src/generate_format.rs x: 1 contributors (all time) y: 50 lines of code fastpay_core/src/lib.rs x: 1 contributors (all time) y: 11 lines of code fastpay_core/src/messages.rs x: 1 contributors (all time) y: 165 lines of code fastpay_core/src/serialize.rs x: 1 contributors (all time) y: 97 lines of code scripts/latency.py x: 1 contributors (all time) y: 99 lines of code scripts/latency_with_crash.py x: 1 contributors (all time) y: 33 lines of code scripts/microbenchmark.py x: 1 contributors (all time) y: 16 lines of code scripts/throughput.py x: 1 contributors (all time) y: 117 lines of code fastpay_core/Cargo.toml x: 1 contributors (all time) y: 27 lines of code fastpay/Cargo.toml x: 1 contributors (all time) y: 29 lines of code rustfmt.toml x: 1 contributors (all time) y: 2 lines of code Cargo.toml x: 2 contributors (all time) y: 9 lines of code
497.0
lines of code
  min: 2.0
  average: 145.07
  25th percentile: 29.0
  median: 87.0
  75th percentile: 214.0
  max: 497.0
0 2.0
contributors (all time)
min: 1.0 | average: 1.04 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.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".