reactjs / react-lifecycles-compat
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 4 files with 730 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (568 lines of code)
    • 0 medium size files (0 lines of codeclsfd_ftr_w_mp_ins)
    • 1 small files (111 lines of code)
    • 2 very small files (51 lines of code)
0% | 77% | 0% | 15% | 6%
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% | 77% | 0% | 15% | 6%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ROOT0% | 77% | 0% | 15% | 6%
Longest Files (Top 4)
File# lines# units
test.js
in root
568 61
index.js
in root
111 6
36 1
install.js
in root
15 -
Files With Most Units (Top 3)
File# lines# units
test.js
in root
568 61
index.js
in root
111 6
36 1
Files With Long Lines (Top 2)

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

File# lines# units# long lines
test.js
in root
568 61 14
index.js
in root
111 6 1
Correlations

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

index.js x: 31 commits (all time) y: 111 lines of code test.js x: 31 commits (all time) y: 568 lines of code rollup.config.js x: 5 commits (all time) y: 36 lines of code install.js x: 1 commits (all time) y: 15 lines of code
568.0
lines of code
  min: 15.0
  average: 182.5
  25th percentile: 20.25
  median: 73.5
  75th percentile: 453.75
  max: 568.0
0 31.0
commits (all time)
min: 1.0 | average: 17.0 | 25th percentile: 2.0 | median: 18.0 | 75th percentile: 31.0 | max: 31.0

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

index.js x: 6 contributors (all time) y: 111 lines of code test.js x: 4 contributors (all time) y: 568 lines of code rollup.config.js x: 2 contributors (all time) y: 36 lines of code install.js x: 1 contributors (all time) y: 15 lines of code
568.0
lines of code
  min: 15.0
  average: 182.5
  25th percentile: 20.25
  median: 73.5
  75th percentile: 453.75
  max: 568.0
0 6.0
contributors (all time)
min: 1.0 | average: 3.25 | 25th percentile: 1.25 | median: 3.0 | 75th percentile: 5.5 | max: 6.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".