aws / ec2-macos-init
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 19 files with 1,831 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 1 medium size files (343 lines of codeclsfd_ftr_w_mp_ins)
    • 6 small files (788 lines of code)
    • 12 very small files (700 lines of code)
0% | 0% | 18% | 43% | 38%
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% | 20% | 37% | 42%
toml0% | 0% | 0% | 100% | 0%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
lib/ec2macosinit0% | 0% | 25% | 35% | 39%
configuration0% | 0% | 0% | 100% | 0%
ROOT0% | 0% | 0% | 45% | 54%
Longest Files (Top 19)
File# lines# units
systemconfig.go
in lib/ec2macosinit
343 10
init.toml
in configuration
167 -
util.go
in lib/ec2macosinit
148 7
run.go
in root
133 2
module.go
in lib/ec2macosinit
120 4
usermanagement.go
in lib/ec2macosinit
113 8
sshkeys.go
in lib/ec2macosinit
107 1
ec2-macos-init.go
in root
91 4
instancehistory.go
in lib/ec2macosinit
90 4
logging.go
in lib/ec2macosinit
82 9
imds.go
in lib/ec2macosinit
76 3
config.go
in lib/ec2macosinit
69 4
motd.go
in lib/ec2macosinit
57 2
userdata.go
in lib/ec2macosinit
53 1
fatalcount.go
in lib/ec2macosinit
50 3
networkcheck.go
in lib/ec2macosinit
42 1
clean.go
in root
42 1
setup.go
in root
29 1
command.go
in lib/ec2macosinit
19 1
Files With Most Units (Top 18)
File# lines# units
systemconfig.go
in lib/ec2macosinit
343 10
logging.go
in lib/ec2macosinit
82 9
usermanagement.go
in lib/ec2macosinit
113 8
util.go
in lib/ec2macosinit
148 7
instancehistory.go
in lib/ec2macosinit
90 4
module.go
in lib/ec2macosinit
120 4
config.go
in lib/ec2macosinit
69 4
ec2-macos-init.go
in root
91 4
imds.go
in lib/ec2macosinit
76 3
fatalcount.go
in lib/ec2macosinit
50 3
run.go
in root
133 2
motd.go
in lib/ec2macosinit
57 2
networkcheck.go
in lib/ec2macosinit
42 1
sshkeys.go
in lib/ec2macosinit
107 1
userdata.go
in lib/ec2macosinit
53 1
command.go
in lib/ec2macosinit
19 1
setup.go
in root
29 1
clean.go
in root
42 1
Files With Long Lines (Top 10)

There are 10 files with lines longer than 120 characters. In total, there are 27 long lines.

File# lines# units# long lines
systemconfig.go
in lib/ec2macosinit
343 10 9
init.toml
in configuration
167 - 5
run.go
in root
133 2 4
usermanagement.go
in lib/ec2macosinit
113 8 2
util.go
in lib/ec2macosinit
148 7 2
networkcheck.go
in lib/ec2macosinit
42 1 1
sshkeys.go
in lib/ec2macosinit
107 1 1
userdata.go
in lib/ec2macosinit
53 1 1
config.go
in lib/ec2macosinit
69 4 1
setup.go
in root
29 1 1