facebookresearch / ego-topo
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 52 files with 4,099 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (509 lines of code)
    • 4 medium size files (1,088 lines of codeclsfd_ftr_w_mp_ins)
    • 9 small files (1,235 lines of code)
    • 38 very small files (1,267 lines of code)
0% | 12% | 26% | 30% | 30%
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% | 12% | 26% | 30% | 30%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
anticipation/anticipation/datasets0% | 79% | 0% | 20% | <1%
build_graph0% | 0% | 100% | 0% | 0%
anticipation/anticipation/runner0% | 0% | 100% | 0% | 0%
build_graph/localization_network0% | 0% | 56% | 32% | 11%
anticipation/anticipation/models0% | 0% | 30% | 26% | 42%
build_graph/tools0% | 0% | 0% | 62% | 37%
build_graph/data0% | 0% | 0% | 100% | 0%
build_graph/tools/superpoint0% | 0% | 0% | 100% | 0%
anticipation/anticipation/configs0% | 0% | 0% | 0% | 100%
anticipation/anticipation/tools0% | 0% | 0% | 0% | 100%
build_graph/utils0% | 0% | 0% | 0% | 100%
anticipation/anticipation/utils0% | 0% | 0% | 0% | 100%
anticipation/anticipation0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
epic_future_labels.py
in anticipation/anticipation/datasets
509 25
build.py
in build_graph
338 23
runner.py
in anticipation/anticipation/runner
320 31
dataset.py
in build_graph/localization_network
219 20
future_recognizer.py
in anticipation/anticipation/models/recognizers
211 21
timeception.py
in anticipation/anticipation/models/backbone
184 9
generate_sp_matches.py
in build_graph/tools
153 8
model.py
in build_graph/tools/superpoint
141 5
gtea.py
in build_graph/data
141 12
epic.py
in build_graph/data
131 12
epic_utils.py
in anticipation/anticipation/datasets
130 16
train.py
in build_graph/localization_network
125 4
viz_sp_matches.py
in build_graph/tools
124 2
generate_r152_neighbors.py
in build_graph/tools
106 8
show_results_log.py
in anticipation/anticipation/tools
95 5
common.py
in anticipation/anticipation/configs/long_term_anti/gtea/verb_anti_vpretrain
94 2
common.py
in anticipation/anticipation/configs/long_term_anti/epic/verb_anti_vpretrain
94 2
util.py
in build_graph/utils
93 8
train_recognizer.py
in anticipation/anticipation/tools
80 2
netvlad.py
in anticipation/anticipation/models/backbone
66 3
generate_homography_neighbors.py
in build_graph/tools
62 3
generate_locnet_features.py
in build_graph/tools
62 4
gcn_module.py
in anticipation/anticipation/models/gfb_modules
60 5
generate_pairwise_locnet_scores.py
in build_graph/tools
59 4
mlp.py
in anticipation/anticipation/models/backbone
58 6
layers_pytorch.py
in anticipation/anticipation/models/backbone
58 5
generate_sp_descriptors.py
in build_graph/tools
50 2
model.py
in build_graph/localization_network
45 3
metrics.py
in anticipation/anticipation/utils
28 3
gfb_gcn.py
in anticipation/anticipation/configs/long_term_anti/gtea/verb_anti_vpretrain
23 -
gfb_gcn.py
in anticipation/anticipation/configs/long_term_anti/epic/verb_anti_vpretrain
23 -
lstm.py
in anticipation/anticipation/models/backbone
22 3
rnn.py
in anticipation/anticipation/configs/long_term_anti/gtea/verb_anti_vpretrain
22 -
rnn.py
in anticipation/anticipation/configs/long_term_anti/epic/verb_anti_vpretrain
22 -
netvlad.py
in anticipation/anticipation/configs/long_term_anti/gtea/verb_anti_vpretrain
18 -
netvlad.py
in anticipation/anticipation/configs/long_term_anti/epic/verb_anti_vpretrain
18 -
gfb.py
in anticipation/anticipation/configs/long_term_anti/gtea/verb_anti_vpretrain
17 -
gfb.py
in anticipation/anticipation/configs/long_term_anti/epic/verb_anti_vpretrain
17 -
i3d.py
in anticipation/anticipation/configs/long_term_anti/gtea/verb_anti_vpretrain
14 -
i3d.py
in anticipation/anticipation/configs/long_term_anti/epic/verb_anti_vpretrain
14 -
timeception.py
in anticipation/anticipation/configs/long_term_anti/gtea/verb_anti_vpretrain
12 -
timeception.py
in anticipation/anticipation/configs/long_term_anti/epic/verb_anti_vpretrain
12 -
builder.py
in anticipation/anticipation/models
10 3
registry.py
in anticipation/anticipation/models
5 -
__init__.py
in anticipation/anticipation/models/backbone
4 -
__init__.py
in anticipation/anticipation/models
3 -
__init__.py
in anticipation/anticipation/datasets
2 -
__init__.py
in anticipation/anticipation/tools
1 -
__init__.py
in anticipation/anticipation
1 -
__init__.py
in anticipation/anticipation/utils
1 -
Files With Most Units (Top 20)
File# lines# units
runner.py
in anticipation/anticipation/runner
320 31
epic_future_labels.py
in anticipation/anticipation/datasets
509 25
build.py
in build_graph
338 23
future_recognizer.py
in anticipation/anticipation/models/recognizers
211 21
dataset.py
in build_graph/localization_network
219 20
epic_utils.py
in anticipation/anticipation/datasets
130 16
epic.py
in build_graph/data
131 12
gtea.py
in build_graph/data
141 12
timeception.py
in anticipation/anticipation/models/backbone
184 9
generate_r152_neighbors.py
in build_graph/tools
106 8
generate_sp_matches.py
in build_graph/tools
153 8
util.py
in build_graph/utils
93 8
mlp.py
in anticipation/anticipation/models/backbone
58 6
model.py
in build_graph/tools/superpoint
141 5
show_results_log.py
in anticipation/anticipation/tools
95 5
gcn_module.py
in anticipation/anticipation/models/gfb_modules
60 5
layers_pytorch.py
in anticipation/anticipation/models/backbone
58 5
generate_pairwise_locnet_scores.py
in build_graph/tools
59 4
generate_locnet_features.py
in build_graph/tools
62 4
train.py
in build_graph/localization_network
125 4
Files With Long Lines (Top 12)

There are 12 files with lines longer than 120 characters. In total, there are 33 long lines.

File# lines# units# long lines
epic_future_labels.py
in anticipation/anticipation/datasets
509 25 9
dataset.py
in build_graph/localization_network
219 20 5
build.py
in build_graph
338 23 4
timeception.py
in anticipation/anticipation/models/backbone
184 9 4
train.py
in build_graph/localization_network
125 4 3
epic.py
in build_graph/data
131 12 2
viz_sp_matches.py
in build_graph/tools
124 2 1
generate_sp_descriptors.py
in build_graph/tools
50 2 1
generate_sp_matches.py
in build_graph/tools
153 8 1
generate_homography_neighbors.py
in build_graph/tools
62 3 1
future_recognizer.py
in anticipation/anticipation/models/recognizers
211 21 1
layers_pytorch.py
in anticipation/anticipation/models/backbone
58 5 1