File Size Overall
  • There are 27 files with 2,267 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 3 medium size files (785 lines of code)
    • 7 small files (926 lines of code)
    • 17 very small files (556 lines of code)
0% | 0% | 34% | 40% | 24%
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% | 35% | 43% | 21%
scss0% | 0% | 47% | 35% | 17%
html0% | 0% | 0% | 53% | 46%
sass0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src0% | 0% | 27% | 43% | 29%
ROOT0% | 0% | 100% | 0% | 0%
harness0% | 0% | 0% | 100% | 0%
Longest Files (Top 27)
File# lines# units
main.scss
in src/css
291 -
263 6
annotations.js
in src/assets
231 -
199 4
provinces.js
in src/js
176 4
swoo.js
in src/js
131 10
_typography.mixins.scss
in src/css/guss-typography
109 -
_fonts.scss
in src/css
105 -
cartogram.js
in src/js
104 -
index.html
in harness
102 -
main.html
in src/templates
87 -
palette.js
in src/js
82 -
sass
_palette.sass
in src/css
69 -
62 -
_typography.config.scss
in src/css/guss-typography
59 -
polls.js
in src/js
45 -
util.js
in src/js
42 -
main.js
in src/js
27 1
andalusia.js
in src/js
20 -
_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 7)
File# lines# units
swoo.js
in src/js
131 10
263 6
199 4
provinces.js
in src/js
176 4
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 8)

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

File# lines# units# long lines
main.html
in src/templates
87 - 9
263 6 3
index.html
in harness
102 - 2
cartogram.js
in src/js
104 - 2
199 4 2
provinces.js
in src/js
176 4 2
_typography.config.scss
in src/css/guss-typography
59 - 1
62 - 1
Correlations

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

src/css/main.scss x: 16 commits (all time) y: 291 lines of code src/js/hex-cartogram.js x: 11 commits (all time) y: 199 lines of code src/templates/main.html x: 6 commits (all time) y: 87 lines of code src/js/app.js x: 7 commits (all time) y: 3 lines of code src/js/provinces.js x: 8 commits (all time) y: 176 lines of code src/assets/annotations.js x: 1 commits (all time) y: 231 lines of code src/js/polls.js x: 1 commits (all time) y: 45 lines of code src/js/swoo.js x: 1 commits (all time) y: 131 lines of code src/js/andalusia.js x: 1 commits (all time) y: 20 lines of code src/js/municipalities.js x: 2 commits (all time) y: 62 lines of code src/js/cartogram.js x: 3 commits (all time) y: 104 lines of code
291.0
lines of code
  min: 3.0
  average: 122.64
  25th percentile: 45.0
  median: 104.0
  75th percentile: 199.0
  max: 291.0
0 16.0
commits (all time)
min: 1.0 | average: 5.18 | 25th percentile: 1.0 | median: 3.0 | 75th percentile: 8.0 | max: 16.0

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

src/css/main.scss x: 2 contributors (all time) y: 291 lines of code src/js/hex-cartogram.js x: 1 contributors (all time) y: 199 lines of code src/templates/main.html x: 1 contributors (all time) y: 87 lines of code src/js/app.js x: 2 contributors (all time) y: 3 lines of code src/js/provinces.js x: 1 contributors (all time) y: 176 lines of code src/assets/annotations.js x: 1 contributors (all time) y: 231 lines of code src/js/polls.js x: 1 contributors (all time) y: 45 lines of code src/js/swoo.js x: 1 contributors (all time) y: 131 lines of code src/js/andalusia.js x: 1 contributors (all time) y: 20 lines of code src/js/municipalities.js x: 1 contributors (all time) y: 62 lines of code src/js/cartogram.js x: 1 contributors (all time) y: 104 lines of code
291.0
lines of code
  min: 3.0
  average: 122.64
  25th percentile: 45.0
  median: 104.0
  75th percentile: 199.0
  max: 291.0
0 2.0
contributors (all time)
min: 1.0 | average: 1.18 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.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...