File Size Overall
  • There are 30 files with 3,741 lines of code.
    • 1 very long files (1,737 lines of code)
    • 0 long files (0 lines of code)
    • 3 medium size files (917 lines of code)
    • 4 small files (428 lines of code)
    • 22 very small files (659 lines of code)
46% | 0% | 24% | 11% | 17%
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
scss64% | 0% | 16% | 12% | 7%
js0% | 0% | 65% | 0% | 34%
html0% | 0% | 0% | 40% | 59%
sass0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src51% | 0% | 19% | 9% | 19%
ROOT0% | 0% | 100% | 0% | 0%
harness0% | 0% | 0% | 100% | 0%
Longest Files (Top 30)
File# lines# units
1737 -
seatstack.scss
in src/css
441 -
261 6
election.js
in src/js/modules
215 19
key.scss
in src/css
112 -
_typography.mixins.scss
in src/css/guss-typography
109 -
_fonts.scss
in src/css
105 -
index.html
in harness
102 -
seatstack.js
in src/js/modules
77 7
palette.js
in src/js
73 -
main.html
in src/templates
62 -
sass
_palette.sass
in src/css
60 -
_typography.config.scss
in src/css/guss-typography
59 -
electorate_tamplate.html
in src/templates
57 -
forecast.scss
in src/css
51 -
share.js
in src/js/modules
38 2
maps.scss
in src/css
27 -
util.js
in src/js
24 -
main.js
in src/js
22 2
table_template.html
in src/templates
20 -
_typography.helpers.scss
in src/css/guss-typography
18 -
main.scss
in src/css
13 -
_mq.scss
in src/css
12 -
index.js
in src/components/load-json
9 1
seatstack.html
in src/templates
9 -
_embed.scss
in src/css
8 -
app.js
in src/js
7 -
6 -
render.js
in src
4 1
_typography.scss
in src/css/guss-typography
3 -
Files With Most Units (Top 7)
File# lines# units
election.js
in src/js/modules
215 19
seatstack.js
in src/js/modules
77 7
261 6
main.js
in src/js
22 2
share.js
in src/js/modules
38 2
render.js
in src
4 1
index.js
in src/components/load-json
9 1
Files With Long Lines (Top 10)

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

File# lines# units# long lines
1737 - 23
election.js
in src/js/modules
215 19 6
261 6 3
main.html
in src/templates
62 - 3
index.html
in harness
102 - 2
key.scss
in src/css
112 - 2
seatstack.scss
in src/css
441 - 1
_typography.config.scss
in src/css/guss-typography
59 - 1
seatstack.js
in src/js/modules
77 7 1
electorate_tamplate.html
in src/templates
57 - 1
Correlations

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

src/css/interactive.scss x: 1 commits (all time) y: 1737 lines of code src/js/modules/election.js x: 11 commits (all time) y: 215 lines of code src/js/modules/seatstack.js x: 4 commits (all time) y: 77 lines of code src/templates/main.html x: 5 commits (all time) y: 62 lines of code src/css/key.scss x: 1 commits (all time) y: 112 lines of code src/css/main.scss x: 1 commits (all time) y: 13 lines of code src/css/seatstack.scss x: 2 commits (all time) y: 441 lines of code src/css/forecast.scss x: 3 commits (all time) y: 51 lines of code src/templates/electorate_tamplate.html x: 6 commits (all time) y: 57 lines of code src/templates/table_template.html x: 2 commits (all time) y: 20 lines of code src/js/main.js x: 2 commits (all time) y: 22 lines of code src/js/modules/share.js x: 3 commits (all time) y: 38 lines of code
1737.0
lines of code
  min: 7.0
  average: 219.38
  25th percentile: 21.0
  median: 57.0
  75th percentile: 163.5
  max: 1737.0
0 11.0
commits (all time)
min: 1.0 | average: 3.23 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 4.5 | max: 11.0

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

src/css/interactive.scss x: 1 contributors (all time) y: 1737 lines of code src/js/modules/election.js x: 2 contributors (all time) y: 215 lines of code src/js/modules/seatstack.js x: 2 contributors (all time) y: 77 lines of code src/templates/main.html x: 2 contributors (all time) y: 62 lines of code src/css/key.scss x: 1 contributors (all time) y: 112 lines of code src/css/main.scss x: 1 contributors (all time) y: 13 lines of code src/css/seatstack.scss x: 1 contributors (all time) y: 441 lines of code src/css/forecast.scss x: 2 contributors (all time) y: 51 lines of code src/templates/electorate_tamplate.html x: 2 contributors (all time) y: 57 lines of code src/templates/table_template.html x: 1 contributors (all time) y: 20 lines of code src/js/main.js x: 1 contributors (all time) y: 22 lines of code src/js/modules/share.js x: 1 contributors (all time) y: 38 lines of code
1737.0
lines of code
  min: 7.0
  average: 219.38
  25th percentile: 21.0
  median: 57.0
  75th percentile: 163.5
  max: 1737.0
0 2.0
contributors (all time)
min: 1.0 | average: 1.38 | 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...