facebookincubator / memory-analyzer
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 11 files with 623 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 0 medium size files (0 lines of codeclsfd_ftr_w_mp_ins)
    • 2 small files (338 lines of code)
    • 9 very small files (285 lines of code)
0% | 0% | 0% | 54% | 45%
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% | 0% | 55% | 44%
cfg0% | 0% | 0% | 0% | 100%
in0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
memory_analyzer0% | 0% | 0% | 84% | 15%
memory_analyzer/frontend0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 11)
File# lines# units
memory_analyzer.py
in memory_analyzer
175 8
analysis_utils.py
in memory_analyzer
163 9
memanz_curses.py
in memory_analyzer/frontend
100 11
frontend_utils.py
in memory_analyzer/frontend
75 9
setup.py
in root
34 -
gdb_commands.py
in memory_analyzer
31 3
integrationtest.py
in memory_analyzer
30 1
cfg
setup.cfg
in root
12 -
in
1 -
__init__.py
in memory_analyzer/frontend
1 -
__init__.py
in memory_analyzer
1 -
Files With Most Units (Top 6)
File# lines# units
memanz_curses.py
in memory_analyzer/frontend
100 11
frontend_utils.py
in memory_analyzer/frontend
75 9
analysis_utils.py
in memory_analyzer
163 9
memory_analyzer.py
in memory_analyzer
175 8
gdb_commands.py
in memory_analyzer
31 3
integrationtest.py
in memory_analyzer
30 1
Files With Long Lines (Top 0)

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

File# lines# units# long lines
Correlations

File Size vs. Commits (all time): 11 points

memory_analyzer/analysis_utils.py x: 9 commits (all time) y: 163 lines of code memory_analyzer/memory_analyzer.py x: 11 commits (all time) y: 175 lines of code MANIFEST.in x: 4 commits (all time) y: 1 lines of code setup.py x: 7 commits (all time) y: 34 lines of code memory_analyzer/gdb_commands.py x: 5 commits (all time) y: 31 lines of code memory_analyzer/integrationtest.py x: 3 commits (all time) y: 30 lines of code setup.cfg x: 5 commits (all time) y: 12 lines of code memory_analyzer/__init__.py x: 2 commits (all time) y: 1 lines of code memory_analyzer/frontend/frontend_utils.py x: 4 commits (all time) y: 75 lines of code memory_analyzer/frontend/memanz_curses.py x: 2 commits (all time) y: 100 lines of code
175.0
lines of code
  min: 1.0
  average: 56.64
  25th percentile: 1.0
  median: 31.0
  75th percentile: 100.0
  max: 175.0
0 11.0
commits (all time)
min: 2.0 | average: 5.09 | 25th percentile: 3.0 | median: 4.0 | 75th percentile: 7.0 | max: 11.0

File Size vs. Contributors (all time): 11 points

memory_analyzer/analysis_utils.py x: 3 contributors (all time) y: 163 lines of code memory_analyzer/memory_analyzer.py x: 3 contributors (all time) y: 175 lines of code MANIFEST.in x: 3 contributors (all time) y: 1 lines of code setup.py x: 3 contributors (all time) y: 34 lines of code memory_analyzer/gdb_commands.py x: 2 contributors (all time) y: 31 lines of code memory_analyzer/integrationtest.py x: 2 contributors (all time) y: 30 lines of code setup.cfg x: 2 contributors (all time) y: 12 lines of code memory_analyzer/__init__.py x: 2 contributors (all time) y: 1 lines of code memory_analyzer/frontend/frontend_utils.py x: 2 contributors (all time) y: 75 lines of code memory_analyzer/frontend/memanz_curses.py x: 2 contributors (all time) y: 100 lines of code
175.0
lines of code
  min: 1.0
  average: 56.64
  25th percentile: 1.0
  median: 31.0
  75th percentile: 100.0
  max: 175.0
0 3.0
contributors (all time)
min: 2.0 | average: 2.45 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 3.0 | max: 3.0

File Size vs. Commits (30 days): 0 points

No data for "commits (30d)" vs. "lines of code".

File Size vs. Contributors (30 days): 0 points

No data for "contributors (30d)" vs. "lines of code".


File Size vs. Commits (90 days): 0 points

No data for "commits (90d)" vs. "lines of code".

File Size vs. Contributors (90 days): 0 points

No data for "contributors (90d)" vs. "lines of code".