File Size Overall
  • There are 58 files with 11,173 lines of code.
    • 1 very long files (6,892 lines of code)
    • 1 long files (835 lines of code)
    • 4 medium size files (1,150 lines of code)
    • 3 small files (467 lines of code)
    • 49 very small files (1,829 lines of code)
61% | 7% | 10% | 4% | 16%
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
js73% | 8% | 2% | 3% | 10%
scss0% | 0% | 57% | 7% | 35%
html0% | 0% | 0% | 0% | 100%
tpl0% | 0% | 0% | 0% | 100%
py0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
app63% | 7% | 10% | 4% | 13%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
leaflet.js
in app/src/js/lib
6892 743
curl.js
in app/harness
835 77
leaflet.scss
in app/src/css/lib
441 -
252 4
_map.scss
in app/src/css
236 -
_user.scss
in app/src/css
221 -
classList.js
in app/src/js/lib
173 17
tooltip.js
in app/src/js/components
170 6
_range.scss
in app/src/css
124 -
_linechart.scss
in app/src/css
98 -
user.js
in app/src/js/components
95 7
_madlib.scss
in app/src/css
89 -
compare.scss
in app/src/css
83 -
linechart.js
in app/src/js/components
83 5
minimap.js
in root
81 -
region.js
in app/src/js/lib
75 3
cards.js
in root
74 1
common.js
in root
73 3
_tooltip.scss
in app/src/css
68 -
madlib.js
in app/src/js/lib
68 3
67 5
user.html
in app/src/js/components/templates
66 -
minimap.js
in app/src/js/components
64 5
main.scss
in app/src/css
57 -
map.js
in app/src/js/components
55 1
tooltip.html
in app/src/js/components/templates
52 -
controls.html
in app/src/js/components/templates
40 -
main.js
in app/src/js
38 3
_share.scss
in app/src/css
36 -
_general.scss
in app/src/css
33 -
_embed.scss
in app/src/css
33 -
fonts.scss
in app/harness
28 -
tpl
boot.js.tpl
in app/src/js
28 -
config.js
in app/src/js
27 -
raf.js
in app/src/js/lib
23 3
sticky-bar.js
in app/src/js/lib
22 2
share.js
in app/src/js/lib
21 1
index.html
in app/harness
20 -
pointer-events.js
in app/src/js/lib
20 1
throttle.js
in app/src/js/lib
17 1
17 -
compare.html
in app/src/html/embed
15 -
worker.html
in app/src
15 -
compare.html
in app/src/js/embed/templates
14 -
translate.js
in app/src/js/lib
14 1
country.js
in root
14 -
_sticky-bar.scss
in app/src/css
13 -
districts.js
in app/src/js
13 -
_mq.scss
in app/src/css
12 -
range.js
in app/src/js/lib
12 -
Files With Most Units (Top 27)
File# lines# units
leaflet.js
in app/src/js/lib
6892 743
curl.js
in app/harness
835 77
classList.js
in app/src/js/lib
173 17
user.js
in app/src/js/components
95 7
tooltip.js
in app/src/js/components
170 6
linechart.js
in app/src/js/components
83 5
minimap.js
in app/src/js/components
64 5
67 5
252 4
main.js
in app/src/js
38 3
region.js
in app/src/js/lib
75 3
madlib.js
in app/src/js/lib
68 3
raf.js
in app/src/js/lib
23 3
common.js
in root
73 3
sticky-bar.js
in app/src/js/lib
22 2
cards.js
in root
74 1
compare.js
in app/src/js/embed
6 1
map.js
in app/src/js/components
55 1
is-mobile.js
in app/src/js/lib
7 1
translate.js
in app/src/js/lib
14 1
cfg.js
in app/src/js/lib
4 1
debounce.js
in app/src/js/lib
7 1
scroll-to.js
in app/src/js/lib
11 1
pointer-events.js
in app/src/js/lib
20 1
throttle.js
in app/src/js/lib
17 1
formatNumber.js
in app/src/js/lib
11 1
share.js
in app/src/js/lib
21 1
Files With Long Lines (Top 11)

There are 11 files with lines longer than 120 characters. In total, there are 26 long lines.

File# lines# units# long lines
leaflet.js
in app/src/js/lib
6892 743 5
252 4 4
user.html
in app/src/js/components/templates
66 - 4
_share.scss
in app/src/css
36 - 3
controls.html
in app/src/js/components/templates
40 - 3
tooltip.js
in app/src/js/components
170 6 2
leaflet.scss
in app/src/css/lib
441 - 1
compare.html
in app/src/js/embed/templates
14 - 1
tpl
boot.js.tpl
in app/src/js
28 - 1
tooltip.html
in app/src/js/components/templates
52 - 1
17 - 1
Correlations

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

app/src/js/components/minimap.js x: 11 commits (all time) y: 64 lines of code app/src/js/lib/share.js x: 4 commits (all time) y: 21 lines of code app/src/js/components/templates/user.html x: 47 commits (all time) y: 66 lines of code app/src/js/components/user.js x: 70 commits (all time) y: 95 lines of code app/src/css/_map.scss x: 57 commits (all time) y: 236 lines of code app/src/css/lib/leaflet.scss x: 2 commits (all time) y: 441 lines of code app/src/js/components/templates/controls.html x: 12 commits (all time) y: 40 lines of code app/src/js/components/tooltip.js x: 60 commits (all time) y: 170 lines of code app/src/js/lib/formatNumber.js x: 1 commits (all time) y: 11 lines of code app/src/css/_user.scss x: 60 commits (all time) y: 221 lines of code app/src/css/_linechart.scss x: 24 commits (all time) y: 98 lines of code app/src/js/components/map.js x: 87 commits (all time) y: 55 lines of code app/src/js/components/templates/tooltip.html x: 26 commits (all time) y: 52 lines of code app/src/css/_tooltip.scss x: 27 commits (all time) y: 68 lines of code app/src/css/_madlib.scss x: 13 commits (all time) y: 89 lines of code app/src/css/_range.scss x: 29 commits (all time) y: 124 lines of code app/src/css/main.scss x: 16 commits (all time) y: 57 lines of code app/src/js/templates/main.html x: 22 commits (all time) y: 9 lines of code app/src/js/main.js x: 53 commits (all time) y: 38 lines of code app/src/css/compare.scss x: 3 commits (all time) y: 83 lines of code app/src/html/embed/compare.html x: 2 commits (all time) y: 15 lines of code app/src/js/embed/templates/compare.html x: 3 commits (all time) y: 14 lines of code app/Gruntfile.js x: 20 commits (all time) y: 252 lines of code app/src/css/_embed.scss x: 2 commits (all time) y: 33 lines of code cards.js x: 2 commits (all time) y: 74 lines of code common.js x: 21 commits (all time) y: 73 lines of code app/src/css/_general.scss x: 13 commits (all time) y: 33 lines of code app/src/js/config.js x: 5 commits (all time) y: 27 lines of code app/src/css/_share.scss x: 7 commits (all time) y: 36 lines of code app/src/js/lib/sticky-bar.js x: 7 commits (all time) y: 22 lines of code app/src/js/lib/madlib.js x: 15 commits (all time) y: 68 lines of code app/src/js/lib/leaflet.js x: 23 commits (all time) y: 6892 lines of code app/src/js/lib/region.js x: 37 commits (all time) y: 75 lines of code app/src/js/lib/range.js x: 12 commits (all time) y: 12 lines of code app/src/js/lib/classList.js x: 1 commits (all time) y: 173 lines of code districts.js x: 9 commits (all time) y: 67 lines of code app/src/js/boot.js.tpl x: 1 commits (all time) y: 28 lines of code
6892.0
lines of code
  min: 4.0
  average: 190.54
  25th percentile: 14.0
  median: 37.0
  75th percentile: 81.5
  max: 6892.0
0 87.0
commits (all time)
min: 1.0 | average: 16.15 | 25th percentile: 2.0 | median: 7.0 | 75th percentile: 23.25 | max: 87.0

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

app/src/js/components/minimap.js x: 2 contributors (all time) y: 64 lines of code minimap.js x: 1 contributors (all time) y: 81 lines of code app/src/js/lib/share.js x: 2 contributors (all time) y: 21 lines of code app/src/js/components/user.js x: 2 contributors (all time) y: 95 lines of code app/src/css/_map.scss x: 2 contributors (all time) y: 236 lines of code app/src/css/lib/leaflet.scss x: 2 contributors (all time) y: 441 lines of code app/src/js/components/templates/controls.html x: 2 contributors (all time) y: 40 lines of code app/src/js/components/tooltip.js x: 2 contributors (all time) y: 170 lines of code app/src/js/lib/formatNumber.js x: 1 contributors (all time) y: 11 lines of code app/src/css/_range.scss x: 2 contributors (all time) y: 124 lines of code app/src/css/compare.scss x: 1 contributors (all time) y: 83 lines of code app/Gruntfile.js x: 1 contributors (all time) y: 252 lines of code app/src/css/_embed.scss x: 1 contributors (all time) y: 33 lines of code app/src/js/lib/leaflet.js x: 2 contributors (all time) y: 6892 lines of code app/src/js/lib/classList.js x: 1 contributors (all time) y: 173 lines of code
6892.0
lines of code
  min: 4.0
  average: 190.54
  25th percentile: 14.0
  median: 37.0
  75th percentile: 81.5
  max: 6892.0
0 2.0
contributors (all time)
min: 1.0 | average: 1.44 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 2.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...