reactjs / react-magic
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 10 files with 1,286 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 3 medium size files (917 lines of codeclsfd_ftr_w_mp_ins)
    • 2 small files (222 lines of code)
    • 5 very small files (147 lines of code)
0% | 0% | 71% | 17% | 11%
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% | 0% | 67% | 21% | 11%
css0% | 0% | 100% | 0% | 0%
htm0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
site0% | 0% | 90% | 0% | 9%
src0% | 0% | 67% | 18% | 14%
ROOT0% | 0% | 0% | 100% | 0%
Longest Files (Top 10)
File# lines# units
442 38
265 17
syntax.css
in site
210 -
magic.js
in src
120 12
102 -
66 6
30 -
cli.js
in src
30 1
19 2
index.htm
in site
2 -
Files With Most Units (Top 6)
File# lines# units
442 38
265 17
magic.js
in src
120 12
66 6
19 2
cli.js
in src
30 1
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
265 17 1
Correlations

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

src/htmltojsx.js x: 49 commits (all time) y: 442 lines of code site/htmltojsx.htm x: 3 commits (all time) y: 30 lines of code site/live_editor.js x: 1 commits (all time) y: 265 lines of code site/syntax.css x: 1 commits (all time) y: 210 lines of code gulpfile.js x: 8 commits (all time) y: 102 lines of code src/htmltojsx-component.js x: 1 commits (all time) y: 66 lines of code site/magic-loader.js x: 3 commits (all time) y: 19 lines of code src/magic.js x: 4 commits (all time) y: 120 lines of code src/cli.js x: 2 commits (all time) y: 30 lines of code site/index.htm x: 1 commits (all time) y: 2 lines of code
442.0
lines of code
  min: 2.0
  average: 128.6
  25th percentile: 27.25
  median: 84.0
  75th percentile: 223.75
  max: 442.0
0 49.0
commits (all time)
min: 1.0 | average: 7.3 | 25th percentile: 1.0 | median: 2.5 | 75th percentile: 5.0 | max: 49.0

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

src/htmltojsx.js x: 15 contributors (all time) y: 442 lines of code site/htmltojsx.htm x: 2 contributors (all time) y: 30 lines of code site/live_editor.js x: 1 contributors (all time) y: 265 lines of code site/syntax.css x: 1 contributors (all time) y: 210 lines of code gulpfile.js x: 2 contributors (all time) y: 102 lines of code src/htmltojsx-component.js x: 1 contributors (all time) y: 66 lines of code site/magic-loader.js x: 2 contributors (all time) y: 19 lines of code src/magic.js x: 2 contributors (all time) y: 120 lines of code src/cli.js x: 1 contributors (all time) y: 30 lines of code site/index.htm x: 1 contributors (all time) y: 2 lines of code
442.0
lines of code
  min: 2.0
  average: 128.6
  25th percentile: 27.25
  median: 84.0
  75th percentile: 223.75
  max: 442.0
0 15.0
contributors (all time)
min: 1.0 | average: 2.8 | 25th percentile: 1.0 | median: 1.5 | 75th percentile: 2.0 | max: 15.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): 1 points

src/htmltojsx.js x: 1 commits (90d) y: 442 lines of code
442.0
lines of code
  min: 442.0
  average: 442.0
  25th percentile: 442.0
  median: 442.0
  75th percentile: 442.0
  max: 442.0
0 1.0
commits (90d)
min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.0

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

src/htmltojsx.js x: 1 contributors (90d) y: 442 lines of code
442.0
lines of code
  min: 442.0
  average: 442.0
  25th percentile: 442.0
  median: 442.0
  75th percentile: 442.0
  max: 442.0
0 1.0
contributors (90d)
min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.0