awslabs / aws-simple-ec2-cli
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 18 files with 3,208 lines of code.
    • 0 very long files (0 lines of code)
    • 2 long files (1,821 lines of code)
    • 1 medium size files (420 lines of codeclsfd_ftr_w_mp_ins)
    • 4 small files (578 lines of code)
    • 11 very small files (389 lines of code)
0% | 56% | 13% | 18% | 12%
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% | 56% | 13% | 18% | 12%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
pkg/ec2helper0% | 96% | 0% | 0% | 3%
pkg/question0% | 100% | 0% | 0% | 0%
cmd0% | 0% | 66% | 0% | 33%
pkg/cfn0% | 0% | 0% | 75% | 24%
pkg/table0% | 0% | 0% | 100% | 0%
pkg/config0% | 0% | 0% | 100% | 0%
pkg/ec2instanceconnecthelper0% | 0% | 0% | 100% | 0%
pkg/cli0% | 0% | 0% | 0% | 100%
pkg/tag0% | 0% | 0% | 0% | 100%
pkg/iamhelper0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 18)
File# lines# units
ec2helper.go
in pkg/ec2helper
961 58
question.go
in pkg/question
860 27
launch.go
in cmd
420 21
table.go
in pkg/table
162 6
cfn.go
in pkg/cfn
162 7
config.go
in pkg/config
136 6
ec2instanceconnecthelper.go
in pkg/ec2instanceconnecthelper
118 5
terminate.go
in cmd
93 5
connect.go
in cmd
93 6
template.go
in pkg/cfn
39 2
cli.go
in pkg/cli
32 1
types.go
in pkg/ec2helper
31 -
tag.go
in pkg/tag
27 2
root.go
in cmd
18 1
iamhelper.go
in pkg/iamhelper
16 1
main.go
in root
15 1
types.go
in pkg/cfn
13 -
flags.go
in cmd
12 -
Files With Most Units (Top 15)
File# lines# units
ec2helper.go
in pkg/ec2helper
961 58
question.go
in pkg/question
860 27
launch.go
in cmd
420 21
cfn.go
in pkg/cfn
162 7
table.go
in pkg/table
162 6
config.go
in pkg/config
136 6
connect.go
in cmd
93 6
ec2instanceconnecthelper.go
in pkg/ec2instanceconnecthelper
118 5
terminate.go
in cmd
93 5
tag.go
in pkg/tag
27 2
template.go
in pkg/cfn
39 2
iamhelper.go
in pkg/iamhelper
16 1
cli.go
in pkg/cli
32 1
root.go
in cmd
18 1
main.go
in root
15 1
Files With Long Lines (Top 6)

There are 6 files with lines longer than 120 characters. In total, there are 11 long lines.

File# lines# units# long lines
types.go
in pkg/ec2helper
31 - 5
question.go
in pkg/question
860 27 2
ec2helper.go
in pkg/ec2helper
961 58 1
types.go
in pkg/cfn
13 - 1
cfn.go
in pkg/cfn
162 7 1
launch.go
in cmd
420 21 1