awslabs / dynein
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 4,451 lines of code.
    • 1 very long files (1,236 lines of code)
    • 2 long files (1,328 lines of code)
    • 5 medium size files (1,644 lines of codeclsfd_ftr_w_mp_ins)
    • 1 small files (147 lines of code)
    • 2 very small files (96 lines of code)
27% | 29% | 36% | 3% | 2%
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
rs28% | 30% | 37% | 3% | 0%
toml0% | 0% | 0% | 0% | 100%
yml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src28% | 30% | 37% | 3% | 0%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 11)
File# lines# units
data.rs
in src
1236 22
control.rs
in src
705 14
app.rs
in src
623 14
transfer.rs
in src
379 7
batch.rs
in src
358 7
bootstrap.rs
in src
341 7
cmd.rs
in src
297 -
main.rs
in src
269 -
shell.rs
in src
147 2
Cargo.toml
in root
62 -
k8s-deploy-dynamodb-local.yml
in root
34 -
Files With Most Units (Top 7)
File# lines# units
data.rs
in src
1236 22
control.rs
in src
705 14
app.rs
in src
623 14
batch.rs
in src
358 7
bootstrap.rs
in src
341 7
transfer.rs
in src
379 7
shell.rs
in src
147 2
Files With Long Lines (Top 7)

There are 7 files with lines longer than 120 characters. In total, there are 45 long lines.

File# lines# units# long lines
data.rs
in src
1236 22 32
transfer.rs
in src
379 7 6
control.rs
in src
705 14 2
app.rs
in src
623 14 2
batch.rs
in src
358 7 1
bootstrap.rs
in src
341 7 1
Cargo.toml
in root
62 - 1