microsoft / nail_agent
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 28 files with 2,028 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 1 medium size files (433 lines of codeclsfd_ftr_w_mp_ins)
    • 7 small files (908 lines of code)
    • 20 very small files (687 lines of code)
0% | 0% | 21% | 44% | 33%
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% | 21% | 44% | 33%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
agent/affordance_extractors0% | 0% | 100% | 0% | 0%
agent0% | 0% | 0% | 59% | 40%
agent/decision_modules0% | 0% | 0% | 59% | 40%
ROOT0% | 0% | 0% | 0% | 100%
agent/valid_detectors0% | 0% | 0% | 0% | 100%
agent/entity_detectors0% | 0% | 0% | 0% | 100%
Longest Files (Top 28)
File# lines# units
lm_affordance_extractor.py
in agent/affordance_extractors
433 17
action.py
in agent
160 47
knowledge_graph.py
in agent
150 24
navigator.py
in agent/decision_modules
145 11
idler.py
in agent/decision_modules
121 8
examiner.py
in agent/decision_modules
113 8
entity.py
in agent
110 32
location.py
in agent
109 27
nail.py
in agent
94 8
gv.py
in agent
89 -
interactor.py
in agent/decision_modules
80 4
event.py
in agent
61 13
util.py
in agent
51 6
hoarder.py
in agent/decision_modules
45 4
you_have_to.py
in agent/decision_modules
41 4
yes_no.py
in agent/decision_modules
32 3
run_nail_agent.py
in root
29 1
decision_module.py
in agent
28 7
darkness.py
in agent/decision_modules
28 3
restart.py
in agent/decision_modules
27 3
learned_valid_detector.py
in agent/valid_detectors
24 2
spacy_entity_detector.py
in agent/entity_detectors
17 2
affordance_extractor.py
in agent
10 3
__init__.py
in agent/decision_modules
9 -
entity_detector.py
in agent
8 2
valid_detector.py
in agent
7 2
attribute.py
in agent
6 2
__init__.py
in agent/entity_detectors
1 -
Files With Most Units (Top 20)
File# lines# units
action.py
in agent
160 47
entity.py
in agent
110 32
location.py
in agent
109 27
knowledge_graph.py
in agent
150 24
lm_affordance_extractor.py
in agent/affordance_extractors
433 17
event.py
in agent
61 13
navigator.py
in agent/decision_modules
145 11
examiner.py
in agent/decision_modules
113 8
idler.py
in agent/decision_modules
121 8
nail.py
in agent
94 8
decision_module.py
in agent
28 7
util.py
in agent
51 6
hoarder.py
in agent/decision_modules
45 4
interactor.py
in agent/decision_modules
80 4
you_have_to.py
in agent/decision_modules
41 4
affordance_extractor.py
in agent
10 3
darkness.py
in agent/decision_modules
28 3
restart.py
in agent/decision_modules
27 3
yes_no.py
in agent/decision_modules
32 3
attribute.py
in agent
6 2
Files With Long Lines (Top 2)

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

File# lines# units# long lines
lm_affordance_extractor.py
in agent/affordance_extractors
433 17 12
you_have_to.py
in agent/decision_modules
41 4 1