facebookresearch / dachshund
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 51 files with 5,054 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (507 lines of code)
    • 6 medium size files (1,619 lines of codeclsfd_ftr_w_mp_ins)
    • 9 small files (1,169 lines of code)
    • 35 very small files (1,759 lines of code)
0% | 10% | 32% | 23% | 34%
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% | 10% | 32% | 23% | 33%
toml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src/dachshund0% | 14% | 31% | 24% | 29%
src/dachshund/algorithms0% | 0% | 39% | 21% | 38%
src0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
candidate.rs
in src/dachshund
507 12
node.rs
in src/dachshund
303 44
typed_graph_builder.rs
in src/dachshund
295 11
coreness.rs
in src/dachshund/algorithms
266 10
beam.rs
in src/dachshund
257 2
transformer.rs
in src/dachshund
256 4
cnm_communities.rs
in src/dachshund/algorithms
242 7
simple_transformer.rs
in src/dachshund
170 11
row.rs
in src/dachshund
143 22
shortest_paths.rs
in src/dachshund/algorithms
142 4
simple_undirected_graph_builder.rs
in src/dachshund
138 10
connected_components.rs
in src/dachshund/algorithms
137 5
weighted_undirected_graph.rs
in src/dachshund
112 10
simple_undirected_graph.rs
in src/dachshund
111 10
line_processor.rs
in src/dachshund
110 7
id_types.rs
in src/dachshund
106 6
simple_directed_graph.rs
in src/dachshund
93 11
core_transformer.rs
in src/dachshund
88 6
transformer_base.rs
in src/dachshund
84 1
betweenness.rs
in src/dachshund/algorithms
81 3
typed_graph_line_processor.rs
in src/dachshund
81 1
weighted_core_transformer.rs
in src/dachshund
77 5
connectivity.rs
in src/dachshund/algorithms
73 3
scorer.rs
in src/dachshund
73 -
connected_components_transformer.rs
in src/dachshund
69 5
weighted_undirected_graph_builder.rs
in src/dachshund
67 3
transitivity.rs
in src/dachshund/algorithms
66 4
brokerage.rs
in src/dachshund/algorithms
65 1
clustering.rs
in src/dachshund/algorithms
64 3
toml
Cargo.toml
in root
63 -
typed_graph.rs
in src/dachshund
59 10
non_core_type_ids.rs
in src/dachshund
52 1
lib.rs
in src
52 -
simple_directed_graph_builder.rs
in src/dachshund
49 1
error.rs
in src/dachshund
45 2
clique_miner.rs
in src
43 -
graph_builder_base.rs
in src/dachshund
40 2
search_problem.rs
in src/dachshund
39 -
adjacency_matrix.rs
in src/dachshund/algorithms
39 2
output.rs
in src/dachshund
38 -
mod.rs
in src/dachshund
37 -
input.rs
in src/dachshund
37 1
eigenvector_centrality.rs
in src/dachshund/algorithms
33 1
graph_base.rs
in src/dachshund
33 1
laplacian.rs
in src/dachshund/algorithms
30 2
mod.rs
in src/dachshund/algorithms
19 -
core_miner.rs
in src
18 -
simple_graph_featurizer.rs
in src
17 -
algebraic_connectivity.rs
in src/dachshund/algorithms
17 1
connected_component_extractor.rs
in src
17 -
Files With Most Units (Top 20)
File# lines# units
node.rs
in src/dachshund
303 44
row.rs
in src/dachshund
143 22
candidate.rs
in src/dachshund
507 12
simple_transformer.rs
in src/dachshund
170 11
simple_directed_graph.rs
in src/dachshund
93 11
typed_graph_builder.rs
in src/dachshund
295 11
simple_undirected_graph_builder.rs
in src/dachshund
138 10
typed_graph.rs
in src/dachshund
59 10
coreness.rs
in src/dachshund/algorithms
266 10
weighted_undirected_graph.rs
in src/dachshund
112 10
simple_undirected_graph.rs
in src/dachshund
111 10
line_processor.rs
in src/dachshund
110 7
cnm_communities.rs
in src/dachshund/algorithms
242 7
id_types.rs
in src/dachshund
106 6
core_transformer.rs
in src/dachshund
88 6
weighted_core_transformer.rs
in src/dachshund
77 5
connected_components.rs
in src/dachshund/algorithms
137 5
connected_components_transformer.rs
in src/dachshund
69 5
shortest_paths.rs
in src/dachshund/algorithms
142 4
transitivity.rs
in src/dachshund/algorithms
66 4
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
toml
Cargo.toml
in root
63 - 1