File Size Overall
  • There are 30 files with 9,496 lines of code.
    • 1 very long files (6,937 lines of code)
    • 1 long files (835 lines of code)
    • 3 medium size files (900 lines of code)
    • 2 small files (243 lines of code)
    • 23 very small files (581 lines of code)
73% | 8% | 9% | 2% | 6%
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
js82% | 9% | 2% | 1% | 3%
scss0% | 0% | 68% | 12% | 18%
html0% | 0% | 0% | 0% | 100%
tpl0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src82% | 0% | 8% | 2% | 6%
harness0% | 94% | 0% | 0% | 5%
ROOT0% | 0% | 100% | 0% | 0%
Longest Files (Top 30)
File# lines# units
leaflet.js
in src/assets
6937 750
curl.js
in harness
835 77
leaflet.scss
in src/css/lib
441 -
_user.scss
in src/css
250 -
209 4
_madlib.scss
in src/css
130 -
user.js
in src/js/components
113 1
map.js
in src/js/components
100 3
user.html
in src/js/components/templates
71 -
_general.scss
in src/css
50 -
_map.scss
in src/css
42 -
_share.scss
in src/css
39 -
main.js
in src/js
35 3
madlib.js
in src/js/lib
33 2
fonts.scss
in harness
28 -
tpl
boot.js.tpl
in src/js
28 -
config.js
in src/js
24 -
index.html
in harness
20 -
share.js
in src/js/lib
19 1
throttle.js
in src/js/lib
17 1
main.scss
in src/css
15 -
_mq.scss
in src/css
12 -
distance.js
in src/js/lib
12 1
geocode.js
in src/js/lib
11 1
isMobile.js
in src/js/lib
7 1
scrollTo.js
in src/js/lib
6 -
event.js
in src/js/lib
5 1
common.js
in src/js/lib
4 -
main.html
in src/js/templates
2 -
_fonts.scss
in src/css
1 -
Files With Most Units (Top 13)
File# lines# units
leaflet.js
in src/assets
6937 750
curl.js
in harness
835 77
209 4
main.js
in src/js
35 3
map.js
in src/js/components
100 3
madlib.js
in src/js/lib
33 2
user.js
in src/js/components
113 1
geocode.js
in src/js/lib
11 1
distance.js
in src/js/lib
12 1
event.js
in src/js/lib
5 1
throttle.js
in src/js/lib
17 1
isMobile.js
in src/js/lib
7 1
share.js
in src/js/lib
19 1
Files With Long Lines (Top 10)

There are 10 files with lines longer than 120 characters. In total, there are 20 long lines.

File# lines# units# long lines
user.html
in src/js/components/templates
71 - 6
_share.scss
in src/css
39 - 3
leaflet.js
in src/assets
6937 750 3
user.js
in src/js/components
113 1 2
209 4 1
leaflet.scss
in src/css/lib
441 - 1
tpl
boot.js.tpl
in src/js
28 - 1
main.js
in src/js
35 3 1
map.js
in src/js/components
100 3 1
geocode.js
in src/js/lib
11 1 1
Correlations

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

src/js/main.js x: 8 commits (all time) y: 35 lines of code src/js/components/user.js x: 13 commits (all time) y: 113 lines of code src/js/components/map.js x: 17 commits (all time) y: 100 lines of code src/css/_user.scss x: 21 commits (all time) y: 250 lines of code src/js/components/templates/user.html x: 17 commits (all time) y: 71 lines of code src/css/_general.scss x: 3 commits (all time) y: 50 lines of code src/js/lib/common.js x: 1 commits (all time) y: 4 lines of code src/css/main.scss x: 5 commits (all time) y: 15 lines of code src/js/lib/geocode.js x: 2 commits (all time) y: 11 lines of code src/assets/leaflet.js x: 1 commits (all time) y: 6937 lines of code src/css/lib/leaflet.scss x: 1 commits (all time) y: 441 lines of code src/css/_madlib.scss x: 2 commits (all time) y: 130 lines of code src/css/_share.scss x: 1 commits (all time) y: 39 lines of code src/js/templates/main.html x: 3 commits (all time) y: 2 lines of code
6937.0
lines of code
  min: 2.0
  average: 379.27
  25th percentile: 10.0
  median: 34.0
  75th percentile: 103.25
  max: 6937.0
0 21.0
commits (all time)
min: 1.0 | average: 5.14 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 8.0 | max: 21.0

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

src/js/main.js x: 1 contributors (all time) y: 35 lines of code src/js/components/user.js x: 1 contributors (all time) y: 113 lines of code src/js/components/map.js x: 1 contributors (all time) y: 100 lines of code src/css/_user.scss x: 1 contributors (all time) y: 250 lines of code src/js/components/templates/user.html x: 1 contributors (all time) y: 71 lines of code src/js/lib/common.js x: 1 contributors (all time) y: 4 lines of code src/assets/leaflet.js x: 1 contributors (all time) y: 6937 lines of code src/css/lib/leaflet.scss x: 1 contributors (all time) y: 441 lines of code
6937.0
lines of code
  min: 2.0
  average: 379.27
  25th percentile: 10.0
  median: 34.0
  75th percentile: 103.25
  max: 6937.0
0 1.0
contributors (all time)
min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.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...