facebookresearch / theseus
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 61 files with 4,319 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 5 medium size files (1,432 lines of codeclsfd_ftr_w_mp_ins)
    • 9 small files (1,268 lines of code)
    • 47 very small files (1,619 lines of code)
0% | 0% | 33% | 29% | 37%
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
py0% | 0% | 22% | 35% | 42%
cu0% | 0% | 100% | 0% | 0%
cpp0% | 0% | 87% | 0% | 12%
h0% | 0% | 0% | 0% | 100%
cfg0% | 0% | 0% | 0% | 100%
yaml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
theseus/extlib0% | 0% | 92% | 0% | 8%
theseus/core0% | 0% | 44% | 32% | 22%
theseus/optimizer/nonlinear0% | 0% | 67% | 0% | 32%
theseus/geometry0% | 0% | 27% | 53% | 18%
theseus/embodied/motionmodel0% | 0% | 0% | 99% | <1%
theseus/embodied/collision0% | 0% | 0% | 48% | 52%
theseus/optimizer/linear0% | 0% | 0% | 50% | 50%
theseus/optimizer0% | 0% | 0% | 0% | 100%
theseus0% | 0% | 0% | 0% | 100%
theseus/embodied/measurements0% | 0% | 0% | 0% | 100%
theseus/utils0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
theseus/optimizer/autograd0% | 0% | 0% | 0% | 100%
theseus/embodied/misc0% | 0% | 0% | 0% | 100%
theseus/embodied/kinematics0% | 0% | 0% | 0% | 100%
tutorials/data/motion_planning_2d0% | 0% | 0% | 0% | 100%
theseus/embodied0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
cu
mat_mult.cu
in theseus/extlib
346 -
objective.py
in theseus/core
323 28
cusolver_lu_solver.cpp
in theseus/extlib
275 2
nonlinear_optimizer.py
in theseus/optimizer/nonlinear
275 11
se2.py
in theseus/geometry
213 21
quasi_static_pushing_planar.py
in theseus/embodied/motionmodel
196 14
so2.py
in theseus/geometry
161 22
double_integrator.py
in theseus/embodied/motionmodel
152 14
signed_distance_field.py
in theseus/embodied/collision
144 6
dense_solver.py
in theseus/optimizer/linear
134 9
vector.py
in theseus/geometry
132 29
cost_function.py
in theseus/core
128 17
lie_group.py
in theseus/geometry
119 27
theseus_function.py
in theseus/core
102 19
sparse_linearization.py
in theseus/optimizer
96 4
eff_obj_contact.py
in theseus/embodied/collision
96 7
cost_weight.py
in theseus/core
91 13
manifold.py
in theseus/geometry
78 13
theseus_layer.py
in theseus
72 6
variable.py
in theseus/core
70 13
utils.py
in theseus/utils
69 4
linear_optimizer.py
in theseus/optimizer/linear
68 3
moving_frame_between.py
in theseus/embodied/measurements
61 5
sparse_autograd.py
in theseus/optimizer/autograd
60 2
collision.py
in theseus/embodied/collision
57 7
point_types.py
in theseus/geometry
56 12
setup.py
in root
55 1
levenberg_marquardt.py
in theseus/optimizer/nonlinear
53 2
dense_linearization.py
in theseus/optimizer
50 4
variable_ordering.py
in theseus/optimizer
44 9
sparse_solver.py
in theseus/optimizer/linear
42 2
__init__.py
in theseus
42 -
linearization.py
in theseus/optimizer
41 5
between.py
in theseus/embodied/measurements
41 5
cusolver_sp_defs.cpp
in theseus/extlib
40 3
variable_difference.py
in theseus/embodied/misc
39 5
nonlinear_least_squares.py
in theseus/optimizer/nonlinear
38 2
linear_system.py
in theseus/optimizer
35 4
gauss_newton.py
in theseus/optimizer/nonlinear
32 2
robot_model.py
in theseus/embodied/kinematics
26 6
optimizer.py
in theseus/optimizer
24 3
linear_solver.py
in theseus/optimizer/linear
20 2
sparse_matrix_utils.py
in theseus/utils
16 1
noxfile.py
in root
15 2
cusolver_sp_defs.h
in theseus/extlib
14 -
cfg
setup.cfg
in root
13 -
meta.yaml
in tutorials/data/motion_planning_2d
12 -
__init__.py
in theseus/optimizer/nonlinear
9 -
__init__.py
in theseus/embodied
9 -
__init__.py
in theseus/geometry
6 -
Files With Most Units (Top 20)
File# lines# units
vector.py
in theseus/geometry
132 29
objective.py
in theseus/core
323 28
lie_group.py
in theseus/geometry
119 27
so2.py
in theseus/geometry
161 22
se2.py
in theseus/geometry
213 21
theseus_function.py
in theseus/core
102 19
cost_function.py
in theseus/core
128 17
double_integrator.py
in theseus/embodied/motionmodel
152 14
quasi_static_pushing_planar.py
in theseus/embodied/motionmodel
196 14
cost_weight.py
in theseus/core
91 13
variable.py
in theseus/core
70 13
manifold.py
in theseus/geometry
78 13
point_types.py
in theseus/geometry
56 12
nonlinear_optimizer.py
in theseus/optimizer/nonlinear
275 11
variable_ordering.py
in theseus/optimizer
44 9
dense_solver.py
in theseus/optimizer/linear
134 9
collision.py
in theseus/embodied/collision
57 7
eff_obj_contact.py
in theseus/embodied/collision
96 7
theseus_layer.py
in theseus
72 6
robot_model.py
in theseus/embodied/kinematics
26 6
Files With Long Lines (Top 2)

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

File# lines# units# long lines
cusolver_lu_solver.cpp
in theseus/extlib
275 2 7
cusolver_sp_defs.cpp
in theseus/extlib
40 3 1