File Size Overall
  • There are 29 files with 3,831 lines of code.
    • 0 very long files (0 lines of code)
    • 2 long files (1,927 lines of code)
    • 3 medium size files (789 lines of code)
    • 4 small files (588 lines of code)
    • 20 very small files (527 lines of code)
0% | 50% | 20% | 15% | 13%
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% | 74% | 0% | 22% | 2%
scss0% | 54% | 30% | 0% | 15%
js0% | 0% | 34% | 37% | 28%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src0% | 62% | 16% | 6% | 13%
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
938 -
_flag-list.scss
in src/css
303 -
268 6
_header.scss
in src/css
218 -
main.html
in src/templates
195 -
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 -
render.js
in src
48 2
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
render.js
in src
48 2
performance.js
in scripts
45 1
index.js
in src/components/load-json
9 1
Files With Long Lines (Top 9)

There are 9 files with lines longer than 120 characters. In total, there are 25 long lines.

File# lines# units# long lines
fetch.js
in scripts
183 - 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
render.js
in src
48 2 1
snap_medals.html
in src/templates
989 - 1
Correlations

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

src/templates/header.html x: 5 commits (all time) y: 35 lines of code src/css/_flag-list.scss x: 1 commits (all time) y: 303 lines of code src/render.js x: 3 commits (all time) y: 48 lines of code src/css/_header.scss x: 1 commits (all time) y: 218 lines of code src/css/main.scss x: 1 commits (all time) y: 938 lines of code src/templates/main.html x: 1 commits (all time) y: 195 lines of code
938.0
lines of code
  min: 35.0
  average: 289.5
  25th percentile: 44.75
  median: 206.5
  75th percentile: 461.75
  max: 938.0
0 5.0
commits (all time)
min: 1.0 | average: 2.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 3.5 | max: 5.0

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

src/templates/header.html x: 2 contributors (all time) y: 35 lines of code src/css/_flag-list.scss x: 1 contributors (all time) y: 303 lines of code src/render.js x: 2 contributors (all time) y: 48 lines of code src/css/_header.scss x: 1 contributors (all time) y: 218 lines of code src/css/main.scss x: 1 contributors (all time) y: 938 lines of code src/templates/main.html x: 1 contributors (all time) y: 195 lines of code
938.0
lines of code
  min: 35.0
  average: 289.5
  25th percentile: 44.75
  median: 206.5
  75th percentile: 461.75
  max: 938.0
0 2.0
contributors (all time)
min: 1.0 | average: 1.33 | 25th percentile: 1.0 | median: 1.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...