awslabs / ssosync
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 14 files with 1,584 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (532 lines of code)
    • 1 medium size files (410 lines of codeclsfd_ftr_w_mp_ins)
    • 2 small files (299 lines of code)
    • 10 very small files (343 lines of code)
0% | 33% | 25% | 18% | 21%
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% | 37% | 28% | 9% | 24%
yaml0% | 0% | 0% | 100% | 0%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
internal0% | 100% | 0% | 0% | 0%
internal/aws0% | 0% | 75% | 0% | 24%
ROOT0% | 0% | 0% | 93% | 6%
cmd0% | 0% | 0% | 100% | 0%
internal/google0% | 0% | 0% | 0% | 100%
internal/config0% | 0% | 0% | 0% | 100%
internal/aws/mock0% | 0% | 0% | 0% | 100%
Longest Files (Top 14)
File# lines# units
sync.go
in internal
532 13
client.go
in internal/aws
410 18
template.yaml
in root
161 -
root.go
in cmd
138 6
client.go
in internal/google
83 5
users.go
in internal/aws
59 2
schema.go
in internal/aws
54 -
secrets.go
in internal/config
47 6
config.go
in internal/config
33 1
mock_http.go
in internal/aws/mock
32 4
main.go
in root
12 2
config.go
in internal/aws
11 1
groups.go
in internal/aws
7 1
http.go
in internal/aws
5 -
Files With Most Units (Top 11)
File# lines# units
client.go
in internal/aws
410 18
sync.go
in internal
532 13
secrets.go
in internal/config
47 6
root.go
in cmd
138 6
client.go
in internal/google
83 5
mock_http.go
in internal/aws/mock
32 4
users.go
in internal/aws
59 2
main.go
in root
12 2
config.go
in internal/config
33 1
groups.go
in internal/aws
7 1
config.go
in internal/aws
11 1
Files With Long Lines (Top 4)

There are 4 files with lines longer than 120 characters. In total, there are 19 long lines.

File# lines# units# long lines
sync.go
in internal
532 13 8
root.go
in cmd
138 6 7
template.yaml
in root
161 - 2
client.go
in internal/google
83 5 2