File Size Overall
  • There are 29 files with 4,083 lines of code.
    • 0 very long files (0 lines of code)
    • 2 long files (1,921 lines of code)
    • 4 medium size files (1,094 lines of code)
    • 4 small files (589 lines of code)
    • 19 very small files (479 lines of code)
0% | 47% | 26% | 14% | 11%
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
html0% | 68% | 21% | 7% | 2%
scss0% | 54% | 30% | 0% | 15%
js0% | 0% | 28% | 52% | 18%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src0% | 57% | 24% | 5% | 11%
ROOT0% | 0% | 100% | 0% | 0%
scripts0% | 0% | 0% | 73% | 26%
harness0% | 0% | 0% | 100% | 0%
Longest Files (Top 29)
File# lines# units
snap_medals.html
in src/templates
989 -
main.scss
in src/css
932 -
main.html
in src/templates
309 -
_flag-list.scss
in src/css
300 -
268 6
_header.scss
in src/css
217 -
render.js
in src
196 1
fetch.js
in scripts
183 -
get_nations.js
in scripts
108 -
index.html
in harness
102 -
_flag-core.scss
in src/css
89 -
81 -
app.js
in src/js
53 -
50 -
performance.js
in scripts
45 1
header.html
in src/templates
35 -
schedule.js
in scripts
29 -
18 -
logger.js
in scripts
17 3
14 -
_mq.scss
in src/css
14 -
index.js
in src/components/load-json
9 1
_embed.scss
in src/css
8 -
6 -
3 -
_flag-css.scss
in src/css
3 -
main.js
in src/js
3 -
_fonts.scss
in src/css
1 -
1 -
Files With Most Units (Top 5)
File# lines# units
268 6
logger.js
in scripts
17 3
performance.js
in scripts
45 1
render.js
in src
196 1
index.js
in src/components/load-json
9 1
Files With Long Lines (Top 10)

There are 10 files with lines longer than 120 characters. In total, there are 39 long lines.

File# lines# units# long lines
main.html
in src/templates
309 - 8
fetch.js
in scripts
183 - 7
render.js
in src
196 1 7
268 6 5
header.html
in src/templates
35 - 4
schedule.js
in scripts
29 - 3
index.html
in harness
102 - 2
get_nations.js
in scripts
108 - 1
performance.js
in scripts
45 1 1
snap_medals.html
in src/templates
989 - 1
Correlations

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

src/css/_header.scss x: 31 commits (all time) y: 217 lines of code src/templates/header.html x: 29 commits (all time) y: 35 lines of code src/css/main.scss x: 74 commits (all time) y: 932 lines of code scripts/performance.js x: 8 commits (all time) y: 45 lines of code src/js/app.js x: 16 commits (all time) y: 53 lines of code src/templates/main.html x: 59 commits (all time) y: 309 lines of code src/css/_mq.scss x: 14 commits (all time) y: 14 lines of code src/render.js x: 55 commits (all time) y: 196 lines of code scripts/fetch.js x: 36 commits (all time) y: 183 lines of code src/templates/snap_medals.html x: 16 commits (all time) y: 989 lines of code src/css/_flag-core.scss x: 12 commits (all time) y: 89 lines of code src/css/_flag-list.scss x: 13 commits (all time) y: 300 lines of code gulpfile.babel.js x: 7 commits (all time) y: 268 lines of code src/css/_flag-variables.scss x: 11 commits (all time) y: 1 lines of code src/css/_fonts.scss x: 3 commits (all time) y: 1 lines of code src/css/_typography.config.scss x: 3 commits (all time) y: 50 lines of code src/css/_typography.helpers.scss x: 3 commits (all time) y: 18 lines of code src/css/_typography.mixins.scss x: 3 commits (all time) y: 81 lines of code scripts/get_nations.js x: 1 commits (all time) y: 108 lines of code scripts/logger.js x: 1 commits (all time) y: 17 lines of code src/css/_flag-css.scss x: 2 commits (all time) y: 3 lines of code scripts/historicMedalsCleaner.js x: 1 commits (all time) y: 14 lines of code
989.0
lines of code
  min: 1.0
  average: 170.7
  25th percentile: 14.0
  median: 53.0
  75th percentile: 217.0
  max: 989.0
0 74.0
commits (all time)
min: 1.0 | average: 17.43 | 25th percentile: 3.0 | median: 11.0 | 75th percentile: 29.0 | max: 74.0

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

src/css/_header.scss x: 5 contributors (all time) y: 217 lines of code src/templates/header.html x: 5 contributors (all time) y: 35 lines of code src/css/main.scss x: 4 contributors (all time) y: 932 lines of code scripts/performance.js x: 5 contributors (all time) y: 45 lines of code src/js/app.js x: 4 contributors (all time) y: 53 lines of code src/templates/main.html x: 4 contributors (all time) y: 309 lines of code src/css/_mq.scss x: 4 contributors (all time) y: 14 lines of code src/render.js x: 5 contributors (all time) y: 196 lines of code scripts/fetch.js x: 4 contributors (all time) y: 183 lines of code src/templates/snap_medals.html x: 3 contributors (all time) y: 989 lines of code src/css/_flag-core.scss x: 4 contributors (all time) y: 89 lines of code src/css/_flag-list.scss x: 4 contributors (all time) y: 300 lines of code gulpfile.babel.js x: 2 contributors (all time) y: 268 lines of code src/css/_flag-variables.scss x: 4 contributors (all time) y: 1 lines of code src/css/_fonts.scss x: 3 contributors (all time) y: 1 lines of code src/css/_typography.config.scss x: 3 contributors (all time) y: 50 lines of code src/css/_typography.helpers.scss x: 3 contributors (all time) y: 18 lines of code src/css/_typography.mixins.scss x: 3 contributors (all time) y: 81 lines of code scripts/get_nations.js x: 1 contributors (all time) y: 108 lines of code scripts/logger.js x: 1 contributors (all time) y: 17 lines of code src/css/_flag-css.scss x: 2 contributors (all time) y: 3 lines of code scripts/historicMedalsCleaner.js x: 1 contributors (all time) y: 14 lines of code
989.0
lines of code
  min: 1.0
  average: 170.7
  25th percentile: 14.0
  median: 53.0
  75th percentile: 217.0
  max: 989.0
0 5.0
contributors (all time)
min: 1.0 | average: 3.35 | 25th percentile: 3.0 | median: 4.0 | 75th percentile: 4.0 | max: 5.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...