File Size Overall
  • There are 15 files with 2,543 lines of code.
    • 1 very long files (1,481 lines of code)
    • 1 long files (591 lines of code)
    • 1 medium size files (224 lines of code)
    • 1 small files (102 lines of code)
    • 11 very small files (145 lines of code)
58% | 23% | 8% | 4% | 5%
Legend:
1001+
501-1000
201-500
101-200
1-100


explore: grouped by folders | grouped by size | sunburst | 3D view
File Size per Extension
1001+
501-1000
201-500
101-200
1-100
js63% | 25% | 9% | 0% | 1%
html0% | 0% | 0% | 61% | 38%
scss0% | 0% | 0% | 0% | 100%
geojson0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src68% | 27% | 0% | 0% | 4%
ROOT0% | 0% | 100% | 0% | 0%
harness0% | 0% | 0% | 100% | 0%
html0% | 0% | 0% | 0% | 100%
gis0% | 0% | 0% | 0% | 100%
Longest Files (Top 15)
File# lines# units
style-layers.js
in src/assets
1481 -
app.js
in src/js
591 9
224 6
index.html
in harness
102 -
35 -
Locator.html
in src/js
28 -
Locator.js
in src/js
26 1
main.scss
in src/css
16 -
_mq.scss
in src/css
12 -
geojson
7 -
geojson
madrid.geojson
in src/assets
7 -
6 -
render.js
in src
4 1
main.js
in src/js
3 -
_fonts.scss
in src/css
1 -
Files With Most Units (Top 4)
File# lines# units
app.js
in src/js
591 9
224 6
Locator.js
in src/js
26 1
render.js
in src
4 1
Files With Long Lines (Top 5)

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

File# lines# units# long lines
app.js
in src/js
591 9 3
index.html
in harness
102 - 2
224 6 1
geojson
7 - 1
geojson
madrid.geojson
in src/assets
7 - 1
Correlations

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

src/assets/style-layers.js x: 3 commits (all time) y: 1481 lines of code src/css/main.scss x: 12 commits (all time) y: 16 lines of code src/js/Locator.html x: 1 commits (all time) y: 28 lines of code src/js/app.js x: 9 commits (all time) y: 591 lines of code gis/madrid.geojson x: 1 commits (all time) y: 7 lines of code html/simple-map.html x: 1 commits (all time) y: 35 lines of code src/render.js x: 5 commits (all time) y: 4 lines of code src/css/_mq.scss x: 1 commits (all time) y: 12 lines of code harness/index.html x: 6 commits (all time) y: 102 lines of code gulpfile.babel.js x: 13 commits (all time) y: 224 lines of code
1481.0
lines of code
  min: 4.0
  average: 195.31
  25th percentile: 7.0
  median: 26.0
  75th percentile: 163.0
  max: 1481.0
0 13.0
commits (all time)
min: 1.0 | average: 4.23 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 7.5 | max: 13.0

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

src/assets/style-layers.js x: 1 contributors (all time) y: 1481 lines of code src/css/main.scss x: 4 contributors (all time) y: 16 lines of code src/js/Locator.html x: 1 contributors (all time) y: 28 lines of code src/js/app.js x: 2 contributors (all time) y: 591 lines of code gis/madrid.geojson x: 1 contributors (all time) y: 7 lines of code html/simple-map.html x: 1 contributors (all time) y: 35 lines of code src/render.js x: 2 contributors (all time) y: 4 lines of code src/css/_mq.scss x: 1 contributors (all time) y: 12 lines of code harness/index.html x: 2 contributors (all time) y: 102 lines of code gulpfile.babel.js x: 2 contributors (all time) y: 224 lines of code
1481.0
lines of code
  min: 4.0
  average: 195.31
  25th percentile: 7.0
  median: 26.0
  75th percentile: 163.0
  max: 1481.0
0 4.0
contributors (all time)
min: 1.0 | average: 1.54 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 4.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".

About This Analysis
  • 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...