File Size Overall
  • There are 25 files with 2,546 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (892 lines of code)
    • 2 medium size files (652 lines of code)
    • 4 small files (422 lines of code)
    • 18 very small files (580 lines of code)
0% | 35% | 25% | 16% | 22%
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% | 46% | 20% | 16% | 16%
js0% | 0% | 71% | 0% | 28%
html0% | 0% | 0% | 50% | 49%
sass0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src0% | 40% | 17% | 14% | 26%
ROOT0% | 0% | 100% | 0% | 0%
harness0% | 0% | 0% | 100% | 0%
Longest Files (Top 25)
File# lines# units
election.scss
in src/css
892 -
_seatstack.scss
in src/css
389 -
263 6
_typography.mixins.scss
in src/css/guss-typography
109 -
_parties.scss
in src/css
106 -
_fonts.scss
in src/css
105 -
index.html
in harness
102 -
_scrolly.scss
in src/css
89 -
sass
_palette.sass
in src/css
69 -
_typography.config.scss
in src/css/guss-typography
59 -
template.html
in src/templates
55 -
preloader.scss
in src/css
50 -
main.html
in src/templates
45 -
main.js
in src/js
42 3
vars.scss
in src/css
38 -
election.js
in src/js/modules
34 4
main.scss
in src/css
22 -
_typography.helpers.scss
in src/css/guss-typography
18 -
app.js
in src/js
17 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 -
Files With Most Units (Top 6)
File# lines# units
263 6
election.js
in src/js/modules
34 4
main.js
in src/js
42 3
app.js
in src/js
17 2
render.js
in src
4 1
index.js
in src/components/load-json
9 1
Files With Long Lines (Top 8)

There are 8 files with lines longer than 120 characters. In total, there are 36 long lines.

File# lines# units# long lines
_parties.scss
in src/css
106 - 23
263 6 3
index.html
in harness
102 - 2
_seatstack.scss
in src/css
389 - 2
main.html
in src/templates
45 - 2
template.html
in src/templates
55 - 2
_typography.config.scss
in src/css/guss-typography
59 - 1
election.js
in src/js/modules
34 4 1
Correlations

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

src/css/_seatstack.scss x: 3 commits (all time) y: 389 lines of code src/css/election.scss x: 1 commits (all time) y: 892 lines of code src/templates/template.html x: 4 commits (all time) y: 55 lines of code src/templates/main.html x: 1 commits (all time) y: 45 lines of code src/css/_parties.scss x: 1 commits (all time) y: 106 lines of code src/css/main.scss x: 3 commits (all time) y: 22 lines of code src/css/vars.scss x: 1 commits (all time) y: 38 lines of code src/js/app.js x: 2 commits (all time) y: 17 lines of code src/js/modules/election.js x: 2 commits (all time) y: 34 lines of code
892.0
lines of code
  min: 17.0
  average: 177.56
  25th percentile: 28.0
  median: 45.0
  75th percentile: 247.5
  max: 892.0
0 4.0
commits (all time)
min: 1.0 | average: 2.0 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 3.0 | max: 4.0

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

src/css/_seatstack.scss x: 1 contributors (all time) y: 389 lines of code src/css/election.scss x: 1 contributors (all time) y: 892 lines of code src/templates/template.html x: 1 contributors (all time) y: 55 lines of code src/templates/main.html x: 1 contributors (all time) y: 45 lines of code src/css/_parties.scss x: 1 contributors (all time) y: 106 lines of code src/css/main.scss x: 1 contributors (all time) y: 22 lines of code src/css/vars.scss x: 1 contributors (all time) y: 38 lines of code src/js/app.js x: 1 contributors (all time) y: 17 lines of code src/js/modules/election.js x: 1 contributors (all time) y: 34 lines of code
892.0
lines of code
  min: 17.0
  average: 177.56
  25th percentile: 28.0
  median: 45.0
  75th percentile: 247.5
  max: 892.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...