facebookresearch / gad
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 18 files with 3,256 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (577 lines of code)
    • 5 medium size files (1,434 lines of codeclsfd_ftr_w_mp_ins)
    • 7 small files (1,077 lines of code)
    • 5 very small files (168 lines of code)
0% | 17% | 44% | 33% | 5%
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% | 17% | 44% | 33% | 4%
toml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
gad/src0% | 17% | 44% | 33% | 4%
gad0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 18)
File# lines# units
net.rs
in gad/src
577 62
analytic.rs
in gad/src
402 55
array.rs
in gad/src
305 25
graph.rs
in gad/src
303 7
compare.rs
in gad/src
221 17
matrix.rs
in gad/src
203 10
core.rs
in gad/src
193 25
arith.rs
in gad/src
193 26
store.rs
in gad/src
186 21
array_compare.rs
in gad/src
156 10
arrayfire.rs
in gad/src
134 -
net_ext.rs
in gad/src
113 7
const_arith.rs
in gad/src
102 17
lib.rs
in gad/src
79 -
error.rs
in gad/src
41 1
toml
Cargo.toml
in gad
22 -
linked.rs
in gad/src
17 2
toml
Cargo.toml
in root
9 -
Files With Most Units (Top 14)
File# lines# units
net.rs
in gad/src
577 62
analytic.rs
in gad/src
402 55
arith.rs
in gad/src
193 26
core.rs
in gad/src
193 25
array.rs
in gad/src
305 25
store.rs
in gad/src
186 21
const_arith.rs
in gad/src
102 17
compare.rs
in gad/src
221 17
array_compare.rs
in gad/src
156 10
matrix.rs
in gad/src
203 10
graph.rs
in gad/src
303 7
net_ext.rs
in gad/src
113 7
linked.rs
in gad/src
17 2
error.rs
in gad/src
41 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