facebookincubator / meta-code-verify
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 1,781 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (688 lines of code)
    • 2 medium size files (700 lines of codeclsfd_ftr_w_mp_ins)
    • 1 small files (125 lines of code)
    • 7 very small files (268 lines of code)
0% | 38% | 39% | 7% | 15%
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
js0% | 48% | 32% | 0% | 18%
css0% | 0% | 100% | 0% | 0%
html0% | 0% | 0% | 100% | 0%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src/js0% | 51% | 34% | 0% | 13%
src/css0% | 0% | 100% | 0% | 0%
src/html0% | 0% | 0% | 100% | 0%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 11)
File# lines# units
688 8
background.js
in src/js
461 10
popup.css
in src/css
239 -
popup.html
in src/html
125 -
popup.js
in src/js
90 4
config.js
in src/js
89 -
54 -
21 -
8 -
3 -
3 -
Files With Most Units (Top 3)
File# lines# units
background.js
in src/js
461 10
688 8
popup.js
in src/js
90 4
Files With Long Lines (Top 1)

There is only one file with lines longer than 120 characters. In total, there is only one long line.

File# lines# units# long lines
popup.html
in src/html
125 - 1
Correlations

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

src/js/contentUtils.js x: 46 commits (all time) y: 688 lines of code src/js/background.js x: 4 commits (all time) y: 461 lines of code src/html/popup.html x: 6 commits (all time) y: 125 lines of code src/js/popup.js x: 5 commits (all time) y: 90 lines of code
688.0
lines of code
  min: 90.0
  average: 341.0
  25th percentile: 98.75
  median: 293.0
  75th percentile: 631.25
  max: 688.0
0 46.0
commits (all time)
min: 4.0 | average: 15.25 | 25th percentile: 4.25 | median: 5.5 | 75th percentile: 36.0 | max: 46.0

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

src/js/contentUtils.js x: 4 contributors (all time) y: 688 lines of code src/js/background.js x: 3 contributors (all time) y: 461 lines of code src/html/popup.html x: 2 contributors (all time) y: 125 lines of code src/js/popup.js x: 2 contributors (all time) y: 90 lines of code
688.0
lines of code
  min: 90.0
  average: 341.0
  25th percentile: 98.75
  median: 293.0
  75th percentile: 631.25
  max: 688.0
0 4.0
contributors (all time)
min: 2.0 | average: 2.75 | 25th percentile: 2.0 | median: 2.5 | 75th percentile: 3.75 | max: 4.0

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

src/js/contentUtils.js x: 46 commits (30d) y: 688 lines of code src/js/background.js x: 4 commits (30d) y: 461 lines of code src/html/popup.html x: 6 commits (30d) y: 125 lines of code src/js/popup.js x: 5 commits (30d) y: 90 lines of code
688.0
lines of code
  min: 90.0
  average: 341.0
  25th percentile: 98.75
  median: 293.0
  75th percentile: 631.25
  max: 688.0
0 46.0
commits (30d)
min: 4.0 | average: 15.25 | 25th percentile: 4.25 | median: 5.5 | 75th percentile: 36.0 | max: 46.0

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

src/js/contentUtils.js x: 4 contributors (30d) y: 688 lines of code src/js/background.js x: 3 contributors (30d) y: 461 lines of code src/html/popup.html x: 2 contributors (30d) y: 125 lines of code src/js/popup.js x: 2 contributors (30d) y: 90 lines of code
688.0
lines of code
  min: 90.0
  average: 341.0
  25th percentile: 98.75
  median: 293.0
  75th percentile: 631.25
  max: 688.0
0 4.0
contributors (30d)
min: 2.0 | average: 2.75 | 25th percentile: 2.0 | median: 2.5 | 75th percentile: 3.75 | max: 4.0

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

src/js/contentUtils.js x: 46 commits (90d) y: 688 lines of code src/js/background.js x: 4 commits (90d) y: 461 lines of code src/html/popup.html x: 6 commits (90d) y: 125 lines of code src/js/popup.js x: 5 commits (90d) y: 90 lines of code
688.0
lines of code
  min: 90.0
  average: 341.0
  25th percentile: 98.75
  median: 293.0
  75th percentile: 631.25
  max: 688.0
0 46.0
commits (90d)
min: 4.0 | average: 15.25 | 25th percentile: 4.25 | median: 5.5 | 75th percentile: 36.0 | max: 46.0

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

src/js/contentUtils.js x: 4 contributors (90d) y: 688 lines of code src/js/background.js x: 3 contributors (90d) y: 461 lines of code src/html/popup.html x: 2 contributors (90d) y: 125 lines of code src/js/popup.js x: 2 contributors (90d) y: 90 lines of code
688.0
lines of code
  min: 90.0
  average: 341.0
  25th percentile: 98.75
  median: 293.0
  75th percentile: 631.25
  max: 688.0
0 4.0
contributors (90d)
min: 2.0 | average: 2.75 | 25th percentile: 2.0 | median: 2.5 | 75th percentile: 3.75 | max: 4.0