File Size Overall
  • There are 34 files with 8,522 lines of code.
    • 1 very long files (1,389 lines of code)
    • 1 long files (924 lines of code)
    • 15 medium size files (4,683 lines of code)
    • 7 small files (1,018 lines of code)
    • 10 very small files (508 lines of code)
16% | 10% | 54% | 11% | 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
js30% | 20% | 37% | 3% | 7%
html0% | 0% | 82% | 16% | <1%
scss0% | 0% | 65% | 26% | 7%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src16% | 11% | 53% | 12% | 6%
ROOT0% | 0% | 100% | 0% | 0%
Longest Files (Top 34)
File# lines# units
hammer.js
in src/js
1389 139
PollsOfPolls.js
in src/js/seatscharts
924 31
_seats.scss
in src/css/modules
440 -
daybyday.js
in src/js/pollchart
415 17
sparklines.js
in src/js/sparklines
412 6
pollchart.js
in src/js/pollchart
398 24
_daybyday.scss
in src/css/modules
300 -
widgetLab.html
in src/widgets
292 -
widgetCon.html
in src/widgets
291 -
widgetSNP.html
in src/widgets
291 -
widgetLD.html
in src/widgets
291 -
_sparklines.scss
in src/css/modules
284 -
widgetFront.html
in src/widgets
284 -
widgetPolls.html
in src/widgets
270 -
259 2
_page.scss
in src/css/modules
250 -
commons.js
in src/js/seatscharts
206 8
widgetSeats.html
in src/widgets
181 -
appTemplate.html
in src/js/templates
167 -
_frontpage.scss
in src/widgets/css/modules
157 -
polldata.js
in src/js/pollchart
146 4
widgets.scss
in src/widgets/css
133 -
main.scss
in src/css
118 -
_flows.scss
in src/widgets/css/modules
116 -
main.js
in src/js
98 4
_pollchart.scss
in src/css/modules
91 -
utilities.js
in src/js/page
77 7
page.js
in src/js/page
62 1
stickElement.js
in src/js/page
44 5
social.js
in src/js/social
42 2
_daybyday.scss
in src/widgets/css/modules
28 -
_seat.scss
in src/widgets/css/modules
26 -
boot.js
in src
21 5
19 -
Files With Most Units (Top 14)
File# lines# units
hammer.js
in src/js
1389 139
PollsOfPolls.js
in src/js/seatscharts
924 31
pollchart.js
in src/js/pollchart
398 24
daybyday.js
in src/js/pollchart
415 17
commons.js
in src/js/seatscharts
206 8
utilities.js
in src/js/page
77 7
sparklines.js
in src/js/sparklines
412 6
boot.js
in src
21 5
stickElement.js
in src/js/page
44 5
polldata.js
in src/js/pollchart
146 4
main.js
in src/js
98 4
259 2
social.js
in src/js/social
42 2
page.js
in src/js/page
62 1
Files With Long Lines (Top 14)

There are 14 files with lines longer than 120 characters. In total, there are 71 long lines.

File# lines# units# long lines
PollsOfPolls.js
in src/js/seatscharts
924 31 8
appTemplate.html
in src/js/templates
167 - 8
widgetCon.html
in src/widgets
291 - 8
widgetLab.html
in src/widgets
292 - 8
widgetSNP.html
in src/widgets
291 - 8
widgetLD.html
in src/widgets
291 - 8
_flows.scss
in src/widgets/css/modules
116 - 6
widgetPolls.html
in src/widgets
270 - 6
widgetFront.html
in src/widgets
284 - 4
widgetSeats.html
in src/widgets
181 - 3
sparklines.js
in src/js/sparklines
412 6 1
page.js
in src/js/page
62 1 1
commons.js
in src/js/seatscharts
206 8 1
daybyday.js
in src/js/pollchart
415 17 1
Correlations

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

src/css/modules/_page.scss x: 26 commits (all time) y: 250 lines of code src/css/modules/_sparklines.scss x: 11 commits (all time) y: 284 lines of code src/js/pollchart/pollchart.js x: 31 commits (all time) y: 398 lines of code src/widgets/css/modules/_frontpage.scss x: 7 commits (all time) y: 157 lines of code src/widgets/css/widgets.scss x: 8 commits (all time) y: 133 lines of code src/widgets/widgetCon.html x: 7 commits (all time) y: 291 lines of code src/widgets/widgetPolls.html x: 6 commits (all time) y: 270 lines of code src/widgets/widgetSeats.html x: 8 commits (all time) y: 181 lines of code src/js/page/page.js x: 7 commits (all time) y: 62 lines of code src/js/templates/appTemplate.html x: 47 commits (all time) y: 167 lines of code src/js/social/social.js x: 3 commits (all time) y: 42 lines of code src/css/modules/_pollchart.scss x: 14 commits (all time) y: 91 lines of code src/css/main.scss x: 20 commits (all time) y: 118 lines of code src/css/modules/_seats.scss x: 9 commits (all time) y: 440 lines of code src/js/main.js x: 41 commits (all time) y: 98 lines of code src/js/page/stickElement.js x: 2 commits (all time) y: 44 lines of code src/js/page/utilities.js x: 1 commits (all time) y: 77 lines of code Gruntfile.js x: 4 commits (all time) y: 259 lines of code src/js/seatscharts/PollsOfPolls.js x: 22 commits (all time) y: 924 lines of code src/css/modules/_daybyday.scss x: 7 commits (all time) y: 300 lines of code src/widgets/css/modules/_seat.scss x: 2 commits (all time) y: 26 lines of code src/widgets/css/modules/_flows.scss x: 4 commits (all time) y: 116 lines of code src/js/pollchart/polldata.js x: 15 commits (all time) y: 146 lines of code src/js/pollchart/daybyday.js x: 8 commits (all time) y: 415 lines of code src/widgets/css/modules/_daybyday.scss x: 1 commits (all time) y: 28 lines of code src/js/sparklines/sparklines.js x: 18 commits (all time) y: 412 lines of code src/js/seatscharts/commons.js x: 15 commits (all time) y: 206 lines of code src/js/hammer.js x: 2 commits (all time) y: 1389 lines of code
1389.0
lines of code
  min: 26.0
  average: 265.06
  25th percentile: 102.5
  median: 228.0
  75th percentile: 291.75
  max: 1389.0
0 47.0
commits (all time)
min: 1.0 | average: 11.81 | 25th percentile: 4.5 | median: 7.5 | 75th percentile: 15.0 | max: 47.0

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

src/css/modules/_page.scss x: 5 contributors (all time) y: 250 lines of code src/css/modules/_sparklines.scss x: 1 contributors (all time) y: 284 lines of code src/js/pollchart/pollchart.js x: 3 contributors (all time) y: 398 lines of code src/widgets/css/modules/_frontpage.scss x: 2 contributors (all time) y: 157 lines of code src/widgets/css/widgets.scss x: 3 contributors (all time) y: 133 lines of code src/widgets/widgetCon.html x: 2 contributors (all time) y: 291 lines of code src/widgets/widgetFront.html x: 4 contributors (all time) y: 284 lines of code src/widgets/widgetPolls.html x: 2 contributors (all time) y: 270 lines of code src/widgets/widgetSeats.html x: 3 contributors (all time) y: 181 lines of code src/js/page/page.js x: 2 contributors (all time) y: 62 lines of code src/js/templates/appTemplate.html x: 6 contributors (all time) y: 167 lines of code src/js/social/social.js x: 2 contributors (all time) y: 42 lines of code src/css/modules/_pollchart.scss x: 3 contributors (all time) y: 91 lines of code src/css/main.scss x: 6 contributors (all time) y: 118 lines of code src/css/modules/_seats.scss x: 2 contributors (all time) y: 440 lines of code src/js/main.js x: 5 contributors (all time) y: 98 lines of code src/js/page/stickElement.js x: 1 contributors (all time) y: 44 lines of code src/js/page/utilities.js x: 1 contributors (all time) y: 77 lines of code Gruntfile.js x: 2 contributors (all time) y: 259 lines of code src/js/seatscharts/PollsOfPolls.js x: 4 contributors (all time) y: 924 lines of code src/css/modules/_daybyday.scss x: 2 contributors (all time) y: 300 lines of code src/widgets/css/modules/_seat.scss x: 2 contributors (all time) y: 26 lines of code src/widgets/css/modules/_flows.scss x: 2 contributors (all time) y: 116 lines of code src/js/pollchart/polldata.js x: 2 contributors (all time) y: 146 lines of code src/js/pollchart/daybyday.js x: 2 contributors (all time) y: 415 lines of code src/widgets/css/modules/_daybyday.scss x: 1 contributors (all time) y: 28 lines of code src/js/seatscharts/commons.js x: 2 contributors (all time) y: 206 lines of code src/js/hammer.js x: 2 contributors (all time) y: 1389 lines of code
1389.0
lines of code
  min: 26.0
  average: 265.06
  25th percentile: 102.5
  median: 228.0
  75th percentile: 291.75
  max: 1389.0
0 6.0
contributors (all time)
min: 1.0 | average: 2.56 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 3.0 | 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".

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...