aws-cloudformation / cloudformation-cli-go-plugin
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 42 files with 2,156 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 1 medium size files (224 lines of codeclsfd_ftr_w_mp_ins)
    • 6 small files (828 lines of code)
    • 35 very small files (1,104 lines of code)
0% | 0% | 10% | 38% | 51%
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
py0% | 0% | 61% | 0% | 38%
go0% | 0% | 0% | 47% | 52%
cfg0% | 0% | 0% | 0% | 100%
yml0% | 0% | 0% | 0% | 100%
in0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
python/rpdk0% | 0% | 70% | 0% | 29%
cfn/scheduler0% | 0% | 0% | 89% | 10%
cfn/encoding0% | 0% | 0% | 43% | 56%
cfn0% | 0% | 0% | 51% | 48%
cfn/callback0% | 0% | 0% | 52% | 47%
cfn/cfnerr0% | 0% | 0% | 83% | 16%
cfn/logging0% | 0% | 0% | 0% | 100%
cfn/metrics0% | 0% | 0% | 0% | 100%
cfn/handler0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
cfn/credentials0% | 0% | 0% | 0% | 100%
Longest Files (Top 42)
File# lines# units
codegen.py
in python/rpdk/go
224 12
unstringify.go
in cfn/encoding
176 9
cfn.go
in cfn
168 6
scheduler_notag.go
in cfn/scheduler
130 5
scheduler.go
in cfn/scheduler
130 5
callback.go
in cfn/callback
114 7
types.go
in cfn/cfnerr
110 16
encoding.go
in cfn/encoding
98 16
cloudwatchlogs.go
in cfn/logging
98 5
stringify.go
in cfn/encoding
95 3
callback_notag.go
in cfn/callback
93 7
publisher.go
in cfn/metrics
92 6
response.go
in cfn
56 2
request.go
in cfn/handler
54 3
event.go
in cfn
48 1
setup.py
in root
47 2
credentials.go
in cfn/credentials
44 4
utils.py
in python/rpdk/go
40 2
context.go
in cfn
36 5
event.go
in cfn/handler
32 2
noop_scheduler.go
in cfn/scheduler
32 5
logging.go
in cfn/logging
25 2
resolver.py
in python/rpdk/go
25 2
error.go
in cfn/cfnerr
21 2
reportErr.go
in cfn
20 2
noop_publisher.go
in cfn/metrics
19 2
unmarshal.go
in cfn/encoding
17 1
version.py
in python/rpdk/go
14 1
cfg
setup.cfg
in root
14 -
logging_notag.go
in cfn/logging
13 2
parser.py
in python/rpdk/go
13 1
buildspec.yml
in root
11 -
marshal.go
in cfn/encoding
11 1
status.go
in cfn/callback
9 -
status.go
in cfn/handler
8 -
values.go
in cfn/encoding
7 -
in
MANIFEST.in
in root
5 -
__init__.py
in python/rpdk/go
3 -
doc.go
in cfn
1 -
doc.go
in cfn/handler
1 -
doc.go
in cfn/cfnerr
1 -
doc.go
in cfn/metrics
1 -
Files With Most Units (Top 20)
File# lines# units
types.go
in cfn/cfnerr
110 16
encoding.go
in cfn/encoding
98 16
codegen.py
in python/rpdk/go
224 12
unstringify.go
in cfn/encoding
176 9
callback_notag.go
in cfn/callback
93 7
callback.go
in cfn/callback
114 7
publisher.go
in cfn/metrics
92 6
cfn.go
in cfn
168 6
context.go
in cfn
36 5
cloudwatchlogs.go
in cfn/logging
98 5
noop_scheduler.go
in cfn/scheduler
32 5
scheduler_notag.go
in cfn/scheduler
130 5
scheduler.go
in cfn/scheduler
130 5
credentials.go
in cfn/credentials
44 4
request.go
in cfn/handler
54 3
stringify.go
in cfn/encoding
95 3
setup.py
in root
47 2
reportErr.go
in cfn
20 2
event.go
in cfn/handler
32 2
response.go
in cfn
56 2
Files With Long Lines (Top 9)

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

File# lines# units# long lines
noop_scheduler.go
in cfn/scheduler
32 5 3
scheduler_notag.go
in cfn/scheduler
130 5 3
scheduler.go
in cfn/scheduler
130 5 3
callback_notag.go
in cfn/callback
93 7 2
callback.go
in cfn/callback
114 7 2
cfn.go
in cfn
168 6 2
request.go
in cfn/handler
54 3 1
noop_publisher.go
in cfn/metrics
19 2 1
publisher.go
in cfn/metrics
92 6 1