korosuke613 / safetone
File Size

The distribution of size of files (measured in lines of code).

Intro
  • 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...
File Size Overall
  • There are 25 files with 5,395 lines of code.
    • 1 very long files (4,910 lines of code)
    • 0 long files (0 lines of code)
    • 0 medium size files (0 lines of codeclsfd_ftr_w_mp_ins)
    • 0 small files (0 lines of code)
    • 24 very small files (485 lines of code)
91% | 0% | 0% | 0% | 8%
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
yaml100% | 0% | 0% | 0% | 0%
ts0% | 0% | 0% | 0% | 100%
vue0% | 0% | 0% | 0% | 100%
html0% | 0% | 0% | 0% | 100%
css0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ROOT97% | 0% | 0% | 0% | 2%
src0% | 0% | 0% | 0% | 100%
scripts0% | 0% | 0% | 0% | 100%
Longest Files (Top 25)
File# lines# units
4910 -
93 5
58 1
40 3
main.ts
in src/background
39 -
index.ts
in src/contentScripts
38 -
prepare.ts
in scripts
35 2
App.vue
in src/contentScripts/views
25 -
Popup.vue
in src/popup
21 -
main.css
in src/styles
18 -
Options.vue
in src/options
16 -
env.ts
in src
12 1
11 1
contentScriptHMR.ts
in src/background
11 -
index.html
in src/options
11 -
index.html
in src/popup
11 -
index.html
in src/background
10 -
utils.ts
in scripts
8 1
manifest.ts
in scripts
8 1
main.ts
in src/options
5 -
main.ts
in src/popup
5 -
Logo.vue
in src/components
5 -
storage.ts
in src/logic
2 -
index.ts
in src/styles
2 -
index.ts
in src/logic
1 -
Files With Most Units (Top 8)
File# lines# units
93 5
40 3
prepare.ts
in scripts
35 2
utils.ts
in scripts
8 1
manifest.ts
in scripts
8 1
11 1
58 1
env.ts
in src
12 1
Files With Long Lines (Top 2)

There are 2 files with lines longer than 120 characters. In total, there are 624 long lines.

File# lines# units# long lines
4910 - 623
Logo.vue
in src/components
5 - 1
Correlations

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

src/contentScripts/index.ts x: 2 commits (all time) y: 38 lines of code src/manifest.ts x: 2 commits (all time) y: 58 lines of code
58.0
lines of code
  min: 38.0
  average: 48.0
  25th percentile: 38.0
  median: 48.0
  75th percentile: 58.0
  max: 58.0
0 2.0
commits (all time)
min: 2.0 | average: 2.0 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 2.0 | max: 2.0

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

src/contentScripts/index.ts x: 2 contributors (all time) y: 38 lines of code src/manifest.ts x: 2 contributors (all time) y: 58 lines of code
58.0
lines of code
  min: 38.0
  average: 48.0
  25th percentile: 38.0
  median: 48.0
  75th percentile: 58.0
  max: 58.0
0 2.0
contributors (all time)
min: 2.0 | average: 2.0 | 25th percentile: 2.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".