facebookincubator / glTFVariantMeld
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 26 files with 2,107 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 2 medium size files (427 lines of codeclsfd_ftr_w_mp_ins)
    • 7 small files (1,067 lines of code)
    • 17 very small files (613 lines of code)
0% | 0% | 20% | 50% | 29%
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% | 18% | 43% | 38%
gltf0% | 0% | 27% | 72% | 0%
ts0% | 0% | 0% | 0% | 100%
toml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
native/src/work_asset0% | 0% | 34% | 65% | 0%
assets/pinecones/variational0% | 0% | 100% | 0% | 0%
assets/pinecones/tinted0% | 0% | 0% | 100% | 0%
assets/pinecones/shiny0% | 0% | 0% | 100% | 0%
assets/pinecones/matte0% | 0% | 0% | 100% | 0%
native/src/meld_keys0% | 0% | 0% | 66% | 33%
native/src/extension0% | 0% | 0% | 0% | 100%
native/src/variational_asset0% | 0% | 0% | 0% | 100%
native/src0% | 0% | 0% | 0% | 100%
web/cli/src0% | 0% | 0% | 0% | 100%
native0% | 0% | 0% | 0% | 100%
native/assets/src0% | 0% | 0% | 0% | 100%
native/assets0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 26)
File# lines# units
construct.rs
in native/src/work_asset
224 10
gltf
Pinecone.gltf
in assets/pinecones/variational
203 -
gltf
Pinecone.gltf
in assets/pinecones/tinted
181 -
gltf
Pinecone.gltf
in assets/pinecones/shiny
175 -
gltf
Pinecone.gltf
in assets/pinecones/matte
175 -
meld.rs
in native/src/work_asset
171 5
mod.rs
in native/src/work_asset
145 -
export.rs
in native/src/work_asset
113 4
key_trait.rs
in native/src/meld_keys
107 11
on_primitive.rs
in native/src/extension
97 -
on_root.rs
in native/src/extension
75 1
index.ts
in web/cli/src
74 6
fingerprints.rs
in native/src/meld_keys
48 2
gltfext.rs
in native/src
47 -
mod.rs
in native/src/variational_asset
45 -
Cargo.toml
in native
41 -
metadata.rs
in native/src/variational_asset
40 -
glb.rs
in native/src
36 2
lib.rs
in native/assets/src
26 -
wasm.rs
in native/src/variational_asset
24 -
lib.rs
in native/src
21 -
mod.rs
in native/src/extension
12 -
Cargo.toml
in native/assets
10 -
mod.rs
in native/src/meld_keys
6 -
wasmpkg.ts
in web/cli/src
6 1
Cargo.toml
in root
5 -
Files With Most Units (Top 9)
File# lines# units
key_trait.rs
in native/src/meld_keys
107 11
construct.rs
in native/src/work_asset
224 10
index.ts
in web/cli/src
74 6
meld.rs
in native/src/work_asset
171 5
export.rs
in native/src/work_asset
113 4
glb.rs
in native/src
36 2
fingerprints.rs
in native/src/meld_keys
48 2
on_root.rs
in native/src/extension
75 1
wasmpkg.ts
in web/cli/src
6 1
Files With Long Lines (Top 2)

There are 2 files with lines longer than 120 characters. In total, there are 3 long lines.

File# lines# units# long lines
on_primitive.rs
in native/src/extension
97 - 2
key_trait.rs
in native/src/meld_keys
107 11 1
Correlations

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

assets/pinecones/variational/Pinecone.gltf x: 7 commits (all time) y: 203 lines of code native/src/extension/on_primitive.rs x: 6 commits (all time) y: 97 lines of code native/src/extension/mod.rs x: 4 commits (all time) y: 12 lines of code native/src/extension/on_root.rs x: 4 commits (all time) y: 75 lines of code native/src/variational_asset/mod.rs x: 3 commits (all time) y: 45 lines of code native/src/work_asset/construct.rs x: 4 commits (all time) y: 224 lines of code native/src/work_asset/export.rs x: 4 commits (all time) y: 113 lines of code native/src/work_asset/mod.rs x: 3 commits (all time) y: 145 lines of code native/src/lib.rs x: 3 commits (all time) y: 21 lines of code native/src/gltfext.rs x: 2 commits (all time) y: 47 lines of code native/Cargo.toml x: 5 commits (all time) y: 41 lines of code native/src/meld_keys/fingerprints.rs x: 1 commits (all time) y: 48 lines of code native/src/meld_keys/key_trait.rs x: 2 commits (all time) y: 107 lines of code native/src/meld_keys/mod.rs x: 2 commits (all time) y: 6 lines of code native/src/work_asset/meld.rs x: 2 commits (all time) y: 171 lines of code web/cli/src/index.ts x: 3 commits (all time) y: 74 lines of code web/cli/src/wasmpkg.ts x: 3 commits (all time) y: 6 lines of code native/assets/src/lib.rs x: 2 commits (all time) y: 26 lines of code Cargo.toml x: 1 commits (all time) y: 5 lines of code native/assets/Cargo.toml x: 1 commits (all time) y: 10 lines of code native/src/glb.rs x: 1 commits (all time) y: 36 lines of code native/src/variational_asset/metadata.rs x: 1 commits (all time) y: 40 lines of code native/src/variational_asset/wasm.rs x: 1 commits (all time) y: 24 lines of code assets/pinecones/matte/Pinecone.gltf x: 2 commits (all time) y: 175 lines of code assets/pinecones/tinted/Pinecone.gltf x: 2 commits (all time) y: 181 lines of code
224.0
lines of code
  min: 5.0
  average: 81.04
  25th percentile: 23.25
  median: 47.5
  75th percentile: 151.5
  max: 224.0
0 7.0
commits (all time)
min: 1.0 | average: 2.73 | 25th percentile: 1.75 | median: 2.0 | 75th percentile: 4.0 | max: 7.0

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

assets/pinecones/variational/Pinecone.gltf x: 6 contributors (all time) y: 203 lines of code native/src/extension/on_primitive.rs x: 6 contributors (all time) y: 97 lines of code native/src/extension/mod.rs x: 4 contributors (all time) y: 12 lines of code native/src/extension/on_root.rs x: 4 contributors (all time) y: 75 lines of code native/src/variational_asset/mod.rs x: 3 contributors (all time) y: 45 lines of code native/src/work_asset/construct.rs x: 4 contributors (all time) y: 224 lines of code native/src/work_asset/export.rs x: 4 contributors (all time) y: 113 lines of code native/src/work_asset/mod.rs x: 3 contributors (all time) y: 145 lines of code native/src/lib.rs x: 3 contributors (all time) y: 21 lines of code native/src/gltfext.rs x: 2 contributors (all time) y: 47 lines of code native/Cargo.toml x: 2 contributors (all time) y: 41 lines of code native/src/meld_keys/fingerprints.rs x: 1 contributors (all time) y: 48 lines of code native/src/meld_keys/key_trait.rs x: 2 contributors (all time) y: 107 lines of code native/src/meld_keys/mod.rs x: 2 contributors (all time) y: 6 lines of code native/src/work_asset/meld.rs x: 2 contributors (all time) y: 171 lines of code web/cli/src/index.ts x: 2 contributors (all time) y: 74 lines of code native/assets/src/lib.rs x: 2 contributors (all time) y: 26 lines of code Cargo.toml x: 1 contributors (all time) y: 5 lines of code native/assets/Cargo.toml x: 1 contributors (all time) y: 10 lines of code native/src/glb.rs x: 1 contributors (all time) y: 36 lines of code native/src/variational_asset/metadata.rs x: 1 contributors (all time) y: 40 lines of code native/src/variational_asset/wasm.rs x: 1 contributors (all time) y: 24 lines of code assets/pinecones/matte/Pinecone.gltf x: 2 contributors (all time) y: 175 lines of code assets/pinecones/tinted/Pinecone.gltf x: 2 contributors (all time) y: 181 lines of code
224.0
lines of code
  min: 5.0
  average: 81.04
  25th percentile: 23.25
  median: 47.5
  75th percentile: 151.5
  max: 224.0
0 6.0
contributors (all time)
min: 1.0 | average: 2.5 | 25th percentile: 1.75 | median: 2.0 | 75th percentile: 3.25 | max: 6.0

File Size vs. Commits (30 days): 2 points

assets/pinecones/variational/Pinecone.gltf x: 1 commits (30d) y: 203 lines of code native/src/extension/on_primitive.rs x: 1 commits (30d) y: 97 lines of code
203.0
lines of code
  min: 97.0
  average: 150.0
  25th percentile: 97.0
  median: 150.0
  75th percentile: 203.0
  max: 203.0
0 1.0
commits (30d)
min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.0

File Size vs. Contributors (30 days): 2 points

assets/pinecones/variational/Pinecone.gltf x: 1 contributors (30d) y: 203 lines of code native/src/extension/on_primitive.rs x: 1 contributors (30d) y: 97 lines of code
203.0
lines of code
  min: 97.0
  average: 150.0
  25th percentile: 97.0
  median: 150.0
  75th percentile: 203.0
  max: 203.0
0 1.0
contributors (30d)
min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.0

File Size vs. Commits (90 days): 2 points

assets/pinecones/variational/Pinecone.gltf x: 1 commits (90d) y: 203 lines of code native/src/extension/on_primitive.rs x: 1 commits (90d) y: 97 lines of code
203.0
lines of code
  min: 97.0
  average: 150.0
  25th percentile: 97.0
  median: 150.0
  75th percentile: 203.0
  max: 203.0
0 1.0
commits (90d)
min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.0

File Size vs. Contributors (90 days): 2 points

assets/pinecones/variational/Pinecone.gltf x: 1 contributors (90d) y: 203 lines of code native/src/extension/on_primitive.rs x: 1 contributors (90d) y: 97 lines of code
203.0
lines of code
  min: 97.0
  average: 150.0
  25th percentile: 97.0
  median: 150.0
  75th percentile: 203.0
  max: 203.0
0 1.0
contributors (90d)
min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.0