File Size Overall
  • There are 31 files with 4,008 lines of code.
    • 1 very long files (1,102 lines of code)
    • 1 long files (584 lines of code)
    • 3 medium size files (896 lines of code)
    • 7 small files (919 lines of code)
    • 19 very small files (507 lines of code)
27% | 14% | 22% | 22% | 12%
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
scss67% | 0% | 0% | 24% | 7%
js0% | 28% | 43% | 19% | 8%
html0% | 0% | 0% | 62% | 37%
css0% | 0% | 0% | 0% | 100%
sass0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src30% | 16% | 16% | 22% | 14%
ROOT0% | 0% | 100% | 0% | 0%
harness0% | 0% | 0% | 100% | 0%
Longest Files (Top 31)
File# lines# units
main.scss
in src/css
1102 -
app.js
in src/js
584 17
373 34
288 6
fromdoc.js
in src/server
235 4
snap.scss
in src/css
191 -
util.js
in src/js
177 1
Table.js
in src/js/components
132 6
_typography.mixins.scss
in src/css/guss-typography
109 -
_fonts.scss
in src/css
105 -
similarity.js
in src/server
103 2
index.html
in harness
102 -
snap.css
in src/assets
82 -
palette.js
in src/js
73 -
sass
_palette.sass
in src/css
69 -
main.html
in src/templates
62 -
_typography.config.scss
in src/css/guss-typography
59 -
Search.js
in src/js/components
26 4
_typography.helpers.scss
in src/css/guss-typography
18 -
getImages.js
in src/server
18 1
ErrorBoundary.js
in src/js/components
15 3
tracker.js
in src/js
15 1
_mq.scss
in src/css
12 -
render.js
in src
12 1
_snapfonts.scss
in src/css
9 -
index.js
in src/components/load-json
9 1
_embed.scss
in src/css
8 -
table.js
in src/js
8 -
6 -
_typography.scss
in src/css/guss-typography
3 -
main.js
in src/js
3 -
Files With Most Units (Top 13)
File# lines# units
373 34
app.js
in src/js
584 17
288 6
Table.js
in src/js/components
132 6
Search.js
in src/js/components
26 4
fromdoc.js
in src/server
235 4
ErrorBoundary.js
in src/js/components
15 3
similarity.js
in src/server
103 2
util.js
in src/js
177 1
tracker.js
in src/js
15 1
render.js
in src
12 1
getImages.js
in src/server
18 1
index.js
in src/components/load-json
9 1
Files With Long Lines (Top 14)

There are 14 files with lines longer than 120 characters. In total, there are 88 long lines.

File# lines# units# long lines
fromdoc.js
in src/server
235 4 22
app.js
in src/js
584 17 20
snap.css
in src/assets
82 - 13
main.html
in src/templates
62 - 11
render.js
in src
12 1 5
Table.js
in src/js/components
132 6 4
288 6 3
index.html
in harness
102 - 2
util.js
in src/js
177 1 2
similarity.js
in src/server
103 2 2
main.scss
in src/css
1102 - 1
_typography.config.scss
in src/css/guss-typography
59 - 1
373 34 1
Search.js
in src/js/components
26 4 1
Correlations

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

src/templates/main.html x: 41 commits (all time) y: 62 lines of code src/js/components/Table.js x: 83 commits (all time) y: 132 lines of code src/js/app.js x: 120 commits (all time) y: 584 lines of code src/server/fromdoc.js x: 32 commits (all time) y: 235 lines of code src/css/main.scss x: 140 commits (all time) y: 1102 lines of code src/render.js x: 39 commits (all time) y: 12 lines of code src/server/getImages.js x: 2 commits (all time) y: 18 lines of code src/js/components/Search.js x: 16 commits (all time) y: 26 lines of code src/js/table.js x: 7 commits (all time) y: 8 lines of code src/js/util.js x: 27 commits (all time) y: 177 lines of code src/server/similarity.js x: 13 commits (all time) y: 103 lines of code gulpfile.babel.js x: 47 commits (all time) y: 288 lines of code src/js/awesomeplete.js x: 2 commits (all time) y: 373 lines of code src/css/_mq.scss x: 8 commits (all time) y: 12 lines of code src/css/_snapfonts.scss x: 3 commits (all time) y: 9 lines of code src/css/snap.scss x: 23 commits (all time) y: 191 lines of code src/js/tracker.js x: 3 commits (all time) y: 15 lines of code src/assets/snap.css x: 3 commits (all time) y: 82 lines of code src/css/_palette.sass x: 7 commits (all time) y: 69 lines of code src/js/main.js x: 9 commits (all time) y: 3 lines of code src/js/palette.js x: 1 commits (all time) y: 73 lines of code src/css/guss-typography/_typography.mixins.scss x: 3 commits (all time) y: 109 lines of code src/css/_fonts.scss x: 1 commits (all time) y: 105 lines of code src/css/guss-typography/_typography.config.scss x: 1 commits (all time) y: 59 lines of code src/css/guss-typography/_typography.helpers.scss x: 1 commits (all time) y: 18 lines of code src/css/guss-typography/_typography.scss x: 1 commits (all time) y: 3 lines of code src/components/load-json/index.js x: 2 commits (all time) y: 9 lines of code src/css/_embed.scss x: 3 commits (all time) y: 8 lines of code harness/index.html x: 6 commits (all time) y: 102 lines of code src/css/_fullscreen.scss x: 1 commits (all time) y: 6 lines of code
1102.0
lines of code
  min: 3.0
  average: 129.29
  25th percentile: 12.0
  median: 62.0
  75th percentile: 132.0
  max: 1102.0
0 140.0
commits (all time)
min: 1.0 | average: 20.9 | 25th percentile: 2.0 | median: 6.0 | 75th percentile: 27.0 | max: 140.0

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

src/templates/main.html x: 4 contributors (all time) y: 62 lines of code src/js/components/Table.js x: 5 contributors (all time) y: 132 lines of code src/js/app.js x: 6 contributors (all time) y: 584 lines of code src/server/fromdoc.js x: 5 contributors (all time) y: 235 lines of code src/css/main.scss x: 6 contributors (all time) y: 1102 lines of code src/render.js x: 7 contributors (all time) y: 12 lines of code src/server/getImages.js x: 1 contributors (all time) y: 18 lines of code src/js/components/Search.js x: 3 contributors (all time) y: 26 lines of code src/js/table.js x: 2 contributors (all time) y: 8 lines of code src/js/util.js x: 4 contributors (all time) y: 177 lines of code src/server/similarity.js x: 2 contributors (all time) y: 103 lines of code gulpfile.babel.js x: 6 contributors (all time) y: 288 lines of code src/js/awesomeplete.js x: 1 contributors (all time) y: 373 lines of code src/css/_mq.scss x: 3 contributors (all time) y: 12 lines of code src/css/_snapfonts.scss x: 2 contributors (all time) y: 9 lines of code src/css/snap.scss x: 4 contributors (all time) y: 191 lines of code src/js/tracker.js x: 2 contributors (all time) y: 15 lines of code src/assets/snap.css x: 2 contributors (all time) y: 82 lines of code src/css/_palette.sass x: 3 contributors (all time) y: 69 lines of code src/js/main.js x: 4 contributors (all time) y: 3 lines of code src/js/palette.js x: 1 contributors (all time) y: 73 lines of code src/css/guss-typography/_typography.mixins.scss x: 1 contributors (all time) y: 109 lines of code src/css/_fonts.scss x: 1 contributors (all time) y: 105 lines of code src/css/guss-typography/_typography.config.scss x: 1 contributors (all time) y: 59 lines of code src/css/guss-typography/_typography.scss x: 1 contributors (all time) y: 3 lines of code src/css/_fullscreen.scss x: 1 contributors (all time) y: 6 lines of code
1102.0
lines of code
  min: 3.0
  average: 129.29
  25th percentile: 12.0
  median: 62.0
  75th percentile: 132.0
  max: 1102.0
0 7.0
contributors (all time)
min: 1.0 | average: 2.81 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 4.0 | max: 7.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...