facebookresearch / CollaQ
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 29 files with 1,905 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 2 medium size files (950 lines of codeclsfd_ftr_w_mp_ins)
    • 4 small files (557 lines of code)
    • 23 very small files (398 lines of code)
0% | 0% | 49% | 29% | 20%
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% | 62% | 36% | 1%
yaml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src_code/controllers0% | 0% | 74% | 25% | 0%
src_code/modules0% | 0% | 100% | 0% | 0%
src_code/learners0% | 0% | 0% | 100% | 0%
src_code/config0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 29)
File# lines# units
basic_controller_interactive.py
in src_code/controllers
481 49
rnn_interactive_agent.py
in src_code/modules
469 46
basic_controller_influence.py
in src_code/controllers
162 18
q_explore_learner.py
in src_code/learners
150 9
q_interactive_learner.py
in src_code/learners
131 6
q_influence_learner.py
in src_code/learners
114 6
coma_attn.yaml
in src_code/config
26 -
coma.yaml
in src_code/config
23 -
qmix_interactive_reg_attn.yaml
in src_code/config
23 -
qmix_influence.yaml
in src_code/config
22 -
qmix_interactive_reg.yaml
in src_code/config
21 -
qtran_attn.yaml
in src_code/config
20 -
qmix_interactive_attn.yaml
in src_code/config
19 -
header.py
in root
18 1
qmix_attn.yaml
in src_code/config
18 -
qmix_influence_beta.yaml
in src_code/config
18 -
qmix_interactive_beta.yaml
in src_code/config
17 -
qmix_interactive.yaml
in src_code/config
17 -
qtran.yaml
in src_code/config
17 -
vdn_attn.yaml
in src_code/config
15 -
vdn_interactive.yaml
in src_code/config
15 -
iql_attn.yaml
in src_code/config
15 -
qmix.yaml
in src_code/config
15 -
vdn_alone.yaml
in src_code/config
15 -
qmix_beta.yaml
in src_code/config
14 -
iql_beta.yaml
in src_code/config
13 -
vdn_beta.yaml
in src_code/config
13 -
vdn.yaml
in src_code/config
12 -
iql.yaml
in src_code/config
12 -
Files With Most Units (Top 7)
File# lines# units
basic_controller_interactive.py
in src_code/controllers
481 49
rnn_interactive_agent.py
in src_code/modules
469 46
basic_controller_influence.py
in src_code/controllers
162 18
q_explore_learner.py
in src_code/learners
150 9
q_influence_learner.py
in src_code/learners
114 6
q_interactive_learner.py
in src_code/learners
131 6
header.py
in root
18 1
Files With Long Lines (Top 6)

There are 6 files with lines longer than 120 characters. In total, there are 111 long lines.

File# lines# units# long lines
rnn_interactive_agent.py
in src_code/modules
469 46 75
basic_controller_interactive.py
in src_code/controllers
481 49 23
basic_controller_influence.py
in src_code/controllers
162 18 8
q_explore_learner.py
in src_code/learners
150 9 2
q_interactive_learner.py
in src_code/learners
131 6 2
q_influence_learner.py
in src_code/learners
114 6 1