File Size Overall
  • There are 23 files with 2,381 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (704 lines of code)
    • 3 medium size files (689 lines of code)
    • 5 small files (591 lines of code)
    • 14 very small files (397 lines of code)
0% | 29% | 28% | 24% | 16%
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% | 68% | 0% | 20% | 10%
js0% | 0% | 67% | 10% | 21%
060% | 0% | 0% | 100% | 0%
html0% | 0% | 0% | 100% | 0%
sass0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src0% | 34% | 21% | 24% | 19%
ROOT0% | 0% | 100% | 0% | 0%
harness0% | 0% | 0% | 100% | 0%
Longest Files (Top 23)
File# lines# units
main.scss
in src/css
704 -
263 6
provinces.js
in src/js
225 6
cartogram.js
in src/js
201 5
06
2019.11.04-15.53.06
in src/assets
164 -
111 1
_typography.mixins.scss
in src/css/guss-typography
109 -
_fonts.scss
in src/css
105 -
index.html
in harness
102 -
palette.js
in src/js
82 -
sass
_palette.sass
in src/css
69 -
util.js
in src/js
60 1
_typography.config.scss
in src/css/guss-typography
59 -
provinces-parser.js
in src/server
37 -
main.js
in src/js
27 1
_typography.helpers.scss
in src/css/guss-typography
18 -
_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 -
Files With Most Units (Top 8)
File# lines# units
263 6
provinces.js
in src/js
225 6
cartogram.js
in src/js
201 5
util.js
in src/js
60 1
main.js
in src/js
27 1
render.js
in src
4 1
111 1
index.js
in src/components/load-json
9 1
Files With Long Lines (Top 6)

There are 6 files with lines longer than 120 characters. In total, there are 19 long lines.

File# lines# units# long lines
06
2019.11.04-15.53.06
in src/assets
164 - 10
263 6 3
index.html
in harness
102 - 2
provinces.js
in src/js
225 6 2
_typography.config.scss
in src/css/guss-typography
59 - 1
provinces-parser.js
in src/server
37 - 1
Correlations

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

src/css/main.scss x: 32 commits (all time) y: 704 lines of code src/assets/2019.11.04-15.53.06 x: 3 commits (all time) y: 164 lines of code src/js/provinces.js x: 17 commits (all time) y: 225 lines of code src/js/app.js x: 11 commits (all time) y: 3 lines of code src/js/cartogram.js x: 18 commits (all time) y: 201 lines of code src/server/provinces-parser.js x: 12 commits (all time) y: 37 lines of code src/server/municipalities-parser.js x: 1 commits (all time) y: 111 lines of code src/css/_embed.scss x: 1 commits (all time) y: 8 lines of code
704.0
lines of code
  min: 3.0
  average: 181.63
  25th percentile: 15.25
  median: 137.5
  75th percentile: 219.0
  max: 704.0
0 32.0
commits (all time)
min: 1.0 | average: 11.88 | 25th percentile: 1.5 | median: 11.5 | 75th percentile: 17.75 | max: 32.0

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

src/css/main.scss x: 4 contributors (all time) y: 704 lines of code src/assets/2019.11.04-15.53.06 x: 2 contributors (all time) y: 164 lines of code src/js/provinces.js x: 4 contributors (all time) y: 225 lines of code src/js/app.js x: 2 contributors (all time) y: 3 lines of code src/js/cartogram.js x: 4 contributors (all time) y: 201 lines of code src/server/provinces-parser.js x: 3 contributors (all time) y: 37 lines of code src/server/municipalities-parser.js x: 1 contributors (all time) y: 111 lines of code src/css/_embed.scss x: 1 contributors (all time) y: 8 lines of code
704.0
lines of code
  min: 3.0
  average: 181.63
  25th percentile: 15.25
  median: 137.5
  75th percentile: 219.0
  max: 704.0
0 4.0
contributors (all time)
min: 1.0 | average: 2.63 | 25th percentile: 1.25 | median: 2.5 | 75th percentile: 4.0 | max: 4.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...