awslabs / aws-config-rdk
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 33 files with 5,791 lines of code.
    • 1 very long files (2,935 lines of code)
    • 0 long files (0 lines of code)
    • 5 medium size files (1,344 lines of codeclsfd_ftr_w_mp_ins)
    • 6 small files (808 lines of code)
    • 21 very small files (704 lines of code)
50% | 0% | 23% | 13% | 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
py69% | 0% | 22% | 2% | 4%
yaml0% | 0% | 65% | 0% | 34%
tf0% | 0% | 0% | 70% | 29%
cs0% | 0% | 0% | 87% | 12%
js0% | 0% | 0% | 100% | 0%
java0% | 0% | 0% | 0% | 100%
in0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
rdk98% | 0% | 0% | 0% | 1%
rdk-workshop0% | 0% | 100% | 0% | 0%
rdk/template/runtime/python3.70% | 0% | 100% | 0% | 0%
rdk/template/runtime/python3.80% | 0% | 100% | 0% | 0%
rdk/template/runtime/python3.60% | 0% | 100% | 0% | 0%
rdk/template/runtime/python3.90% | 0% | 100% | 0% | 0%
rdk/template/terraform/0.120% | 0% | 0% | 70% | 29%
rdk/template/terraform/0.110% | 0% | 0% | 70% | 29%
rdk/template/runtime/dotnetcore2.00% | 0% | 0% | 87% | 12%
rdk/template/runtime/dotnetcore1.00% | 0% | 0% | 87% | 12%
rdk/template/runtime/nodejs4.30% | 0% | 0% | 100% | 0%
rdk/template/runtime/python3.6-managed0% | 0% | 0% | 52% | 47%
rdk/template/runtime/java80% | 0% | 0% | 0% | 100%
integration/config-opscenter-integration-example0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
testing0% | 0% | 0% | 0% | 100%
rdk/template/runtime/python3.7-lib0% | 0% | 0% | 0% | 100%
rdk/template/runtime/python3.9-lib0% | 0% | 0% | 0% | 100%
rdk/template/runtime/python3.6-lib0% | 0% | 0% | 0% | 100%
rdk/template/runtime/python3.8-lib0% | 0% | 0% | 0% | 100%
Longest Files (Top 33)
File# lines# units
rdk.py
in rdk
2935 93
WorkshopSetup.yaml
in rdk-workshop
376 -
rule_code.py
in rdk/template/runtime/python3.7
242 21
rule_code.py
in rdk/template/runtime/python3.8
242 21
rule_code.py
in rdk/template/runtime/python3.6
242 21
rule_code.py
in rdk/template/runtime/python3.9
242 21
config_rule.tf
in rdk/template/terraform/0.12
144 -
config_rule.tf
in rdk/template/terraform/0.11
144 -
CustomConfigHandler.cs
in rdk/template/runtime/dotnetcore2.0
139 14
CustomConfigHandler.cs
in rdk/template/runtime/dotnetcore1.0
139 14
rule_code.js
in rdk/template/runtime/nodejs4.3
138 11
rule_code.py
in rdk/template/runtime/python3.6-managed/managed-rule-code
104 11
rule_util.py
in rdk/template/runtime/python3.6-managed/managed-rule-code
94 9
RuleUtil.java
in rdk/template/runtime/java8/src/main/java/com/rdk
90 11
linux-python3-buildspec.yaml
in testing
63 -
variables.tf
in rdk/template/terraform/0.12
60 -
variables.tf
in rdk/template/terraform/0.11
59 -
s3EncryptedConfigRule.yaml
in integration/config-opscenter-integration-example
58 -
cli.py
in rdk
38 1
opsitem-role.yaml
in integration/config-opscenter-integration-example
31 -
in
MANIFEST.in
in root
31 -
test-region.yaml
in root
29 -
setup.py
in root
26 1
RuleCode.cs
in rdk/template/runtime/dotnetcore2.0
20 1
RuleCode.cs
in rdk/template/runtime/dotnetcore1.0
20 1
RuleCode.java
in rdk/template/runtime/java8/src/main/java/com/rdk
15 1
rule_code.py
in rdk/template/runtime/python3.7-lib
12 3
rule_code.py
in rdk/template/runtime/python3.9-lib
12 3
rule_code.py
in rdk/template/runtime/python3.6-lib
12 3
rule_code.py
in rdk/template/runtime/python3.8-lib
12 3
windows-python2-buildspec.yaml
in testing
12 -
copy-to-s3-buildspec.yaml
in testing
9 -
__init__.py
in rdk
1 -
Files With Most Units (Top 20)
File# lines# units
rdk.py
in rdk
2935 93
rule_code.py
in rdk/template/runtime/python3.7
242 21
rule_code.py
in rdk/template/runtime/python3.8
242 21
rule_code.py
in rdk/template/runtime/python3.6
242 21
rule_code.py
in rdk/template/runtime/python3.9
242 21
CustomConfigHandler.cs
in rdk/template/runtime/dotnetcore2.0
139 14
CustomConfigHandler.cs
in rdk/template/runtime/dotnetcore1.0
139 14
rule_code.js
in rdk/template/runtime/nodejs4.3
138 11
RuleUtil.java
in rdk/template/runtime/java8/src/main/java/com/rdk
90 11
rule_code.py
in rdk/template/runtime/python3.6-managed/managed-rule-code
104 11
rule_util.py
in rdk/template/runtime/python3.6-managed/managed-rule-code
94 9
rule_code.py
in rdk/template/runtime/python3.7-lib
12 3
rule_code.py
in rdk/template/runtime/python3.9-lib
12 3
rule_code.py
in rdk/template/runtime/python3.6-lib
12 3
rule_code.py
in rdk/template/runtime/python3.8-lib
12 3
cli.py
in rdk
38 1
RuleCode.java
in rdk/template/runtime/java8/src/main/java/com/rdk
15 1
RuleCode.cs
in rdk/template/runtime/dotnetcore2.0
20 1
RuleCode.cs
in rdk/template/runtime/dotnetcore1.0
20 1
setup.py
in root
26 1
Files With Long Lines (Top 18)

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

File# lines# units# long lines
rdk.py
in rdk
2935 93 179
rule_code.py
in rdk/template/runtime/python3.7
242 21 11
rule_code.py
in rdk/template/runtime/python3.8
242 21 11
rule_code.py
in rdk/template/runtime/python3.6
242 21 11
rule_code.py
in rdk/template/runtime/python3.9
242 21 11
rule_code.js
in rdk/template/runtime/nodejs4.3
138 11 4
CustomConfigHandler.cs
in rdk/template/runtime/dotnetcore2.0
139 14 4
CustomConfigHandler.cs
in rdk/template/runtime/dotnetcore1.0
139 14 4
s3EncryptedConfigRule.yaml
in integration/config-opscenter-integration-example
58 - 4
rule_code.py
in rdk/template/runtime/python3.6-managed/managed-rule-code
104 11 2
rule_util.py
in rdk/template/runtime/python3.6-managed/managed-rule-code
94 9 2
config_rule.tf
in rdk/template/terraform/0.12
144 - 2
WorkshopSetup.yaml
in rdk-workshop
376 - 1
RuleCode.java
in rdk/template/runtime/java8/src/main/java/com/rdk
15 1 1
RuleUtil.java
in rdk/template/runtime/java8/src/main/java/com/rdk
90 11 1
RuleCode.cs
in rdk/template/runtime/dotnetcore2.0
20 1 1
RuleCode.cs
in rdk/template/runtime/dotnetcore1.0
20 1 1
config_rule.tf
in rdk/template/terraform/0.11
144 - 1