amazon-research / hyperbolic-embeddings
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 17 files with 3,112 lines of code.
    • 1 very long files (1,011 lines of code)
    • 1 long files (838 lines of code)
    • 1 medium size files (248 lines of codeclsfd_ftr_w_mp_ins)
    • 4 small files (576 lines of code)
    • 10 very small files (439 lines of code)
32% | 26% | 7% | 18% | 14%
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
py32% | 26% | 7% | 18% | 14%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
hype_kg/codes48% | 39% | 11% | 0% | 0%
product_matching0% | 0% | 0% | 100% | 0%
hype_kg/codes/manifolds0% | 0% | 0% | 71% | 28%
product_matching/experiments0% | 0% | 0% | 0% | 100%
hype_kg/codes/optimizers0% | 0% | 0% | 0% | 100%
hype_kg/codes/utils0% | 0% | 0% | 0% | 100%
Longest Files (Top 17)
File# lines# units
model.py
in hype_kg/codes
1011 23
run.py
in hype_kg/codes
838 8
dataloader.py
in hype_kg/codes
248 32
hyperboloid.py
in product_matching
188 19
euclidean_intersection.py
in product_matching
152 12
lorentz.py
in hype_kg/codes/manifolds
124 16
poincare.py
in hype_kg/codes/manifolds
112 20
radam.py
in hype_kg/codes/optimizers
96 6
euclidean_product_matching.py
in product_matching/experiments
56 -
hyperboloid_product_matching.py
in product_matching/experiments
56 -
baseline_product_matching.py
in product_matching/experiments
50 -
base.py
in hype_kg/codes/manifolds
47 21
math_utils.py
in hype_kg/codes/utils
45 12
euclidean.py
in hype_kg/codes/manifolds
44 17
hyperbolicity.py
in hype_kg/codes/utils
39 1
__init__.py
in hype_kg/codes/manifolds
4 -
__init__.py
in hype_kg/codes/optimizers
2 -
Files With Most Units (Top 12)
File# lines# units
dataloader.py
in hype_kg/codes
248 32
model.py
in hype_kg/codes
1011 23
base.py
in hype_kg/codes/manifolds
47 21
poincare.py
in hype_kg/codes/manifolds
112 20
hyperboloid.py
in product_matching
188 19
euclidean.py
in hype_kg/codes/manifolds
44 17
lorentz.py
in hype_kg/codes/manifolds
124 16
math_utils.py
in hype_kg/codes/utils
45 12
euclidean_intersection.py
in product_matching
152 12
run.py
in hype_kg/codes
838 8
radam.py
in hype_kg/codes/optimizers
96 6
hyperbolicity.py
in hype_kg/codes/utils
39 1
Files With Long Lines (Top 8)

There are 8 files with lines longer than 120 characters. In total, there are 105 long lines.

File# lines# units# long lines
model.py
in hype_kg/codes
1011 23 88
hyperboloid.py
in product_matching
188 19 5
euclidean_intersection.py
in product_matching
152 12 4
run.py
in hype_kg/codes
838 8 3
dataloader.py
in hype_kg/codes
248 32 2
euclidean_product_matching.py
in product_matching/experiments
56 - 1
baseline_product_matching.py
in product_matching/experiments
50 - 1
hyperboloid_product_matching.py
in product_matching/experiments
56 - 1