facebookincubator / dcrpm
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 12 files with 1,112 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 1 medium size files (366 lines of codeclsfd_ftr_w_mp_ins)
    • 3 small files (496 lines of code)
    • 8 very small files (250 lines of code)
0% | 0% | 32% | 44% | 22%
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% | 33% | 44% | 22%
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
dcrpm0% | 0% | 34% | 47% | 18%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 12)
File# lines# units
rpmutil.py
in dcrpm
366 15
dcrpm.py
in dcrpm
177 8
main.py
in dcrpm
172 2
util.py
in dcrpm
147 9
yum.py
in dcrpm
84 4
pidutil.py
in dcrpm
66 6
setup.py
in root
53 -
30 3
7 -
__init__.py
in dcrpm
4 -
cfg
setup.cfg
in root
4 -
in
2 -
Files With Most Units (Top 7)
File# lines# units
rpmutil.py
in dcrpm
366 15
util.py
in dcrpm
147 9
dcrpm.py
in dcrpm
177 8
pidutil.py
in dcrpm
66 6
yum.py
in dcrpm
84 4
30 3
main.py
in dcrpm
172 2
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): 12 points

dcrpm/__version__.py x: 14 commits (all time) y: 7 lines of code dcrpm/forensic_logger.py x: 8 commits (all time) y: 30 lines of code dcrpm/rpmutil.py x: 38 commits (all time) y: 366 lines of code dcrpm/dcrpm.py x: 19 commits (all time) y: 177 lines of code dcrpm/main.py x: 20 commits (all time) y: 172 lines of code dcrpm/pidutil.py x: 11 commits (all time) y: 66 lines of code dcrpm/util.py x: 27 commits (all time) y: 147 lines of code dcrpm/yum.py x: 10 commits (all time) y: 84 lines of code setup.py x: 18 commits (all time) y: 53 lines of code MANIFEST.in x: 10 commits (all time) y: 2 lines of code setup.cfg x: 2 commits (all time) y: 4 lines of code dcrpm/__init__.py x: 1 commits (all time) y: 4 lines of code
366.0
lines of code
  min: 2.0
  average: 92.67
  25th percentile: 4.75
  median: 59.5
  75th percentile: 165.75
  max: 366.0
0 38.0
commits (all time)
min: 1.0 | average: 14.83 | 25th percentile: 8.5 | median: 12.5 | 75th percentile: 19.75 | max: 38.0

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

dcrpm/__version__.py x: 6 contributors (all time) y: 7 lines of code dcrpm/forensic_logger.py x: 4 contributors (all time) y: 30 lines of code dcrpm/rpmutil.py x: 13 contributors (all time) y: 366 lines of code dcrpm/dcrpm.py x: 8 contributors (all time) y: 177 lines of code dcrpm/main.py x: 6 contributors (all time) y: 172 lines of code dcrpm/pidutil.py x: 5 contributors (all time) y: 66 lines of code dcrpm/util.py x: 9 contributors (all time) y: 147 lines of code dcrpm/yum.py x: 4 contributors (all time) y: 84 lines of code setup.py x: 6 contributors (all time) y: 53 lines of code MANIFEST.in x: 4 contributors (all time) y: 2 lines of code setup.cfg x: 2 contributors (all time) y: 4 lines of code dcrpm/__init__.py x: 1 contributors (all time) y: 4 lines of code
366.0
lines of code
  min: 2.0
  average: 92.67
  25th percentile: 4.75
  median: 59.5
  75th percentile: 165.75
  max: 366.0
0 13.0
contributors (all time)
min: 1.0 | average: 5.67 | 25th percentile: 4.0 | median: 5.5 | 75th percentile: 7.5 | max: 13.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".