aws-samples / hostname-as-target-for-elastic-load-balancer
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 98 files with 10,020 lines of code.
    • 1 very long files (1,027 lines of code)
    • 4 long files (2,649 lines of code)
    • 6 medium size files (1,784 lines of codeclsfd_ftr_w_mp_ins)
    • 16 small files (2,084 lines of code)
    • 71 very small files (2,476 lines of code)
10% | 26% | 17% | 20% | 24%
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
yaml66% | 0% | 25% | 7% | 0%
py0% | 31% | 16% | 23% | 29%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
deployment66% | 0% | 25% | 7% | 0%
source/dns0% | 45% | 19% | 19% | 15%
source/dns/rdtypes/ANY0% | 0% | 16% | 23% | 60%
source0% | 0% | 0% | 100% | 0%
source/dns/rdtypes/IN0% | 0% | 0% | 36% | 63%
source/dns/rdtypes0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
ElbHostnameAsTargetUsingLambdaNewInfra.yaml
in deployment
1027 -
resolver.py
in source/dns
887 53
message.py
in source/dns
651 32
zone.py
in source/dns
567 38
name.py
in source/dns
544 51
ElbHostnameAsTargetUsingLambdaExistingInfra.yaml
in deployment
397 -
tokenizer.py
in source/dns
320 34
dnssec.py
in source/dns
313 21
query.py
in source/dns
304 15
LOC.py
in source/dns/rdtypes/ANY
247 14
rdata.py
in source/dns
203 32
rdatatype.py
in source/dns
179 4
rdataset.py
in source/dns
165 18
lambda_utils.py
in source
162 10
tsig.py
in source/dns
146 5
NSEC3.py
in source/dns/rdtypes/ANY
146 5
renderer.py
in source/dns
139 10
update.py
in source/dns
134 9
elb_hostname_as_target.py
in source
132 1
set.py
in source/dns
120 32
ElbHostnameAsTargetCreateAlarm.yaml
in deployment
114 -
entropy.py
in source/dns
113 9
GPOS.py
in source/dns/rdtypes/ANY
113 13
IPSECKEY.py
in source/dns/rdtypes/IN
108 5
ipv6.py
in source/dns
107 3
APL.py
in source/dns/rdtypes/IN
105 8
RRSIG.py
in source/dns/rdtypes/ANY
101 9
NSEC.py
in source/dns/rdtypes/ANY
93 6
CSYNC.py
in source/dns/rdtypes/ANY
91 5
rrset.py
in source/dns
81 13
NAPTR.py
in source/dns/rdtypes/IN
80 8
CERT.py
in source/dns/rdtypes/ANY
79 7
dnskeybase.py
in source/dns/rdtypes
79 8
HIP.py
in source/dns/rdtypes/ANY
76 6
WKS.py
in source/dns/rdtypes/IN
70 5
SOA.py
in source/dns/rdtypes/ANY
69 7
edns.py
in source/dns
68 16
ISDN.py
in source/dns/rdtypes/ANY
65 5
txtbase.py
in source/dns/rdtypes
58 5
node.py
in source/dns
58 11
wiredata.py
in source/dns
56 7
rcode.py
in source/dns
55 4
NSEC3PARAM.py
in source/dns/rdtypes/ANY
53 5
mxbase.py
in source/dns/rdtypes
52 10
HINFO.py
in source/dns/rdtypes/ANY
52 5
PX.py
in source/dns/rdtypes/IN
52 6
exception.py
in source/dns
50 5
flags.py
in source/dns
49 7
rdataclass.py
in source/dns
49 3
dsbase.py
in source/dns/rdtypes
47 5
Files With Most Units (Top 20)
File# lines# units
resolver.py
in source/dns
887 53
name.py
in source/dns
544 51
zone.py
in source/dns
567 38
tokenizer.py
in source/dns
320 34
rdata.py
in source/dns
203 32
message.py
in source/dns
651 32
set.py
in source/dns
120 32
dnssec.py
in source/dns
313 21
rdataset.py
in source/dns
165 18
edns.py
in source/dns
68 16
query.py
in source/dns
304 15
LOC.py
in source/dns/rdtypes/ANY
247 14
GPOS.py
in source/dns/rdtypes/ANY
113 13
rrset.py
in source/dns
81 13
node.py
in source/dns
58 11
lambda_utils.py
in source
162 10
mxbase.py
in source/dns/rdtypes
52 10
renderer.py
in source/dns
139 10
entropy.py
in source/dns
113 9
update.py
in source/dns
134 9
Files With Long Lines (Top 2)

There are 2 files with lines longer than 120 characters. In total, there are 8 long lines.

File# lines# units# long lines
ElbHostnameAsTargetUsingLambdaNewInfra.yaml
in deployment
1027 - 7
ElbHostnameAsTargetUsingLambdaExistingInfra.yaml
in deployment
397 - 1