microsoft / fabrikate
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 27 files with 2,124 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 2 medium size files (626 lines of codeclsfd_ftr_w_mp_ins)
    • 4 small files (593 lines of code)
    • 21 very small files (905 lines of code)
0% | 0% | 29% | 27% | 42%
Legend:
1001+
501-1000
201-500
101-200
1-100


explore: zoomable circles | sunburst | 3D view
File Size per Extension
1001+
501-1000
201-500
101-200
1-100
go0% | 0% | 29% | 28% | 41%
yml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
internal/core0% | 0% | 71% | 26% | 1%
internal/generators0% | 0% | 73% | 0% | 26%
internal/git0% | 0% | 0% | 89% | 10%
internal/logger0% | 0% | 0% | 100% | 0%
internal/cmd0% | 0% | 0% | 21% | 78%
internal/helm0% | 0% | 0% | 0% | 100%
util0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
internal/url0% | 0% | 0% | 0% | 100%
cmd/fab0% | 0% | 0% | 0% | 100%
Longest Files (Top 27)
File# lines# units
component.go
in internal/core
410 24
helm.go
in internal/generators
216 6
core.go
in internal/git
172 7
logger.go
in internal/logger
151 24
config.go
in internal/core
150 14
set.go
in internal/cmd
120 4
generate.go
in internal/cmd
97 4
dependency.go
in internal/helm
85 1
install.go
in internal/cmd
78 2
add.go
in internal/cmd
77 2
static.go
in internal/generators
77 3
find.go
in internal/cmd
67 3
repo.go
in internal/helm
62 4
remove.go
in internal/cmd
51 2
root.go
in internal/cmd
50 3
map.go
in util
45 3
azure-pipelines.yml
in root
34 -
template.go
in internal/helm
32 1
file.go
in util
32 2
core.go
in internal/url
30 2
pull.go
in internal/helm
26 1
access.go
in internal/git
20 2
version.go
in internal/cmd
19 2
main.go
in cmd/fab
10 1
generator.go
in internal/core
5 -
pathValuePair.go
in internal/core
5 -
sync.go
in internal/helm
3 -
Files With Most Units (Top 20)
File# lines# units
component.go
in internal/core
410 24
logger.go
in internal/logger
151 24
config.go
in internal/core
150 14
core.go
in internal/git
172 7
helm.go
in internal/generators
216 6
generate.go
in internal/cmd
97 4
set.go
in internal/cmd
120 4
repo.go
in internal/helm
62 4
find.go
in internal/cmd
67 3
root.go
in internal/cmd
50 3
static.go
in internal/generators
77 3
map.go
in util
45 3
add.go
in internal/cmd
77 2
install.go
in internal/cmd
78 2
remove.go
in internal/cmd
51 2
version.go
in internal/cmd
19 2
access.go
in internal/git
20 2
core.go
in internal/url
30 2
file.go
in util
32 2
main.go
in cmd/fab
10 1
Files With Long Lines (Top 9)

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

File# lines# units# long lines
component.go
in internal/core
410 24 10
helm.go
in internal/generators
216 6 10
set.go
in internal/cmd
120 4 8
add.go
in internal/cmd
77 2 4
static.go
in internal/generators
77 3 4
generate.go
in internal/cmd
97 4 2
install.go
in internal/cmd
78 2 2
core.go
in internal/git
172 7 2
dependency.go
in internal/helm
85 1 2