File Size Overall
  • There are 22 files with 1,904 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 4 medium size files (1,140 lines of code)
    • 3 small files (316 lines of code)
    • 15 very small files (448 lines of code)
0% | 0% | 59% | 16% | 23%
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
js0% | 0% | 76% | 0% | 23%
scss0% | 0% | 55% | 29% | 14%
html0% | 0% | 0% | 69% | 30%
sass0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src0% | 0% | 56% | 13% | 29%
ROOT0% | 0% | 100% | 0% | 0%
harness0% | 0% | 0% | 100% | 0%
Longest Files (Top 22)
File# lines# units
main.scss
in src/css
406 -
263 6
cartogram.js
in src/js
254 5
provinces.js
in src/js
217 5
_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
46 -
main.html
in src/templates
44 -
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
1 -
Files With Most Units (Top 7)
File# lines# units
263 6
cartogram.js
in src/js
254 5
provinces.js
in src/js
217 5
util.js
in src/js
60 1
main.js
in src/js
27 1
render.js
in src
4 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 11 long lines.

File# lines# units# long lines
263 6 3
index.html
in harness
102 - 2
cartogram.js
in src/js
254 5 2
provinces.js
in src/js
217 5 2
_typography.config.scss
in src/css/guss-typography
59 - 1
provinces-parser.js
in src/server
46 - 1
Correlations

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

src/render.js x: 2 commits (all time) y: 4 lines of code src/css/main.scss x: 6 commits (all time) y: 406 lines of code src/js/app.js x: 8 commits (all time) y: 1 lines of code src/js/cartogram.js x: 4 commits (all time) y: 254 lines of code src/js/provinces.js x: 3 commits (all time) y: 217 lines of code src/server/provinces-parser.js x: 2 commits (all time) y: 46 lines of code src/templates/main.html x: 4 commits (all time) y: 44 lines of code src/css/_embed.scss x: 1 commits (all time) y: 8 lines of code
406.0
lines of code
  min: 1.0
  average: 122.5
  25th percentile: 5.0
  median: 45.0
  75th percentile: 244.75
  max: 406.0
0 8.0
commits (all time)
min: 1.0 | average: 3.75 | 25th percentile: 2.0 | median: 3.5 | 75th percentile: 5.5 | max: 8.0

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

src/render.js x: 1 contributors (all time) y: 4 lines of code src/css/main.scss x: 2 contributors (all time) y: 406 lines of code src/js/app.js x: 2 contributors (all time) y: 1 lines of code src/js/cartogram.js x: 2 contributors (all time) y: 254 lines of code src/js/provinces.js x: 2 contributors (all time) y: 217 lines of code src/server/provinces-parser.js x: 1 contributors (all time) y: 46 lines of code src/templates/main.html x: 2 contributors (all time) y: 44 lines of code src/css/_embed.scss x: 1 contributors (all time) y: 8 lines of code
406.0
lines of code
  min: 1.0
  average: 122.5
  25th percentile: 5.0
  median: 45.0
  75th percentile: 244.75
  max: 406.0
0 2.0
contributors (all time)
min: 1.0 | average: 1.63 | 25th percentile: 1.0 | median: 2.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...