File Size Overall
  • There are 44 files with 4,201 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 7 medium size files (2,294 lines of code)
    • 7 small files (792 lines of code)
    • 30 very small files (1,115 lines of code)
0% | 0% | 54% | 18% | 26%
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
scss0% | 0% | 54% | 20% | 24%
js0% | 0% | 77% | 0% | 22%
html0% | 0% | 0% | 47% | 52%
sass0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src0% | 0% | 52% | 17% | 29%
ROOT0% | 0% | 100% | 0% | 0%
harness0% | 0% | 0% | 100% | 0%
Longest Files (Top 44)
File# lines# units
_cartogram.scss
in src/css
476 -
_seatstack.scss
in src/css
406 -
embed.scss
in src/css
339 -
snap.scss
in src/css
324 -
_details.scss
in src/css
272 -
261 6
election.js
in src/js/modules
216 10
132 -
125 -
_header.scss
in src/css
116 -
_typography.mixins.scss
in src/css/guss-typography
109 -
_fonts.scss
in src/css
105 -
103 -
index.html
in harness
102 -
_dropdown.scss
in src/css
97 -
91 -
_ticker.scss
in src/css
88 -
palette.js
in src/js/modules
73 -
template.html
in src/templates
70 -
newsticker.scss
in src/css
66 -
_legend.scss
in src/css
61 -
60 -
sass
_palette.sass
in src/css
60 -
_typography.config.scss
in src/css/guss-typography
59 -
43 -
seatstack.html
in src/templates
42 -
main.scss
in src/css
39 -
_buttons.scss
in src/css
38 -
_general.scss
in src/css
37 -
_vars.scss
in src/css
34 -
util.js
in src/js/modules
32 -
_sprites.scss
in src/css
23 -
_parties.scss
in src/css
19 -
_typography.helpers.scss
in src/css/guss-typography
18 -
main.js
in src/js
18 2
_mq.scss
in src/css
12 -
index.js
in src/components/load-json
9 1
_embed.scss
in src/css
8 -
6 -
render.js
in src
4 1
_typography.scss
in src/css/guss-typography
3 -
app.js
in src/js
3 -
_tooltip.scss
in src/css
1 -
main.html
in src/templates
1 -
Files With Most Units (Top 5)
File# lines# units
election.js
in src/js/modules
216 10
261 6
main.js
in src/js
18 2
render.js
in src
4 1
index.js
in src/components/load-json
9 1
Files With Long Lines (Top 7)

There are 7 files with lines longer than 120 characters. In total, there are 12 long lines.

File# lines# units# long lines
261 6 3
index.html
in harness
102 - 2
_details.scss
in src/css
272 - 2
election.js
in src/js/modules
216 10 2
_parties.scss
in src/css
19 - 1
_typography.config.scss
in src/css/guss-typography
59 - 1
template.html
in src/templates
70 - 1
Correlations

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

src/js/modules/election.js x: 7 commits (all time) y: 216 lines of code src/css/main.scss x: 4 commits (all time) y: 39 lines of code src/templates/template.html x: 5 commits (all time) y: 70 lines of code src/css/newsticker.scss x: 3 commits (all time) y: 66 lines of code src/templates/main.html x: 1 commits (all time) y: 1 lines of code
216.0
lines of code
  min: 1.0
  average: 78.4
  25th percentile: 20.0
  median: 66.0
  75th percentile: 143.0
  max: 216.0
0 7.0
commits (all time)
min: 1.0 | average: 4.0 | 25th percentile: 2.0 | median: 4.0 | 75th percentile: 6.0 | max: 7.0

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

src/js/modules/election.js x: 1 contributors (all time) y: 216 lines of code src/css/main.scss x: 1 contributors (all time) y: 39 lines of code src/templates/template.html x: 1 contributors (all time) y: 70 lines of code src/css/newsticker.scss x: 1 contributors (all time) y: 66 lines of code src/templates/main.html x: 1 contributors (all time) y: 1 lines of code
216.0
lines of code
  min: 1.0
  average: 78.4
  25th percentile: 20.0
  median: 66.0
  75th percentile: 143.0
  max: 216.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...