aws-ia / taskcat
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 64 files with 6,519 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (633 lines of code)
    • 7 medium size files (2,322 lines of codeclsfd_ftr_w_mp_ins)
    • 16 small files (2,263 lines of code)
    • 40 very small files (1,301 lines of code)
0% | 9% | 35% | 34% | 19%
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% | 10% | 40% | 28% | 19%
jinja0% | 0% | 0% | 72% | 27%
css0% | 0% | 0% | 100% | 0%
yml0% | 0% | 0% | 100% | 0%
cfg0% | 0% | 0% | 0% | 100%
toml0% | 0% | 0% | 0% | 100%
in0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
taskcat0% | 17% | 36% | 32% | 12%
taskcat/_cfn0% | 0% | 79% | 13% | 7%
taskcat/_cli_modules0% | 0% | 0% | 56% | 43%
taskcat/project_templates0% | 0% | 0% | 72% | 27%
assets/css0% | 0% | 0% | 100% | 0%
taskcat/cfg0% | 0% | 0% | 100% | 0%
ROOT0% | 0% | 0% | 0% | 100%
taskcat/iam_policy0% | 0% | 0% | 0% | 100%
taskcat/testing0% | 0% | 0% | 0% | 100%
taskcat_plugin_testhook0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
_dataclasses.py
in taskcat
633 28
stack.py
in taskcat/_cfn
498 37
_config.py
in taskcat
407 17
_template_params.py
in taskcat
313 24
_amiupdater.py
in taskcat
312 23
_cli_core.py
in taskcat
271 23
stack_url_helper.py
in taskcat/_cfn
263 20
threaded.py
in taskcat/_cfn
258 24
taskcat_reporting.css
in assets/css
188 -
_s3_sync.py
in taskcat
185 8
_client_factory.py
in taskcat
180 16
_common_utils.py
in taskcat
171 20
template.py
in taskcat/_cfn
168 15
amiupdater.cfg.yml
in taskcat/cfg
161 -
_cfn_lint.py
in taskcat
149 8
_lambda_build.py
in taskcat
148 10
debug.template.jinja
in taskcat/project_templates/quickstart/templates
136 -
_generate_reports.py
in taskcat
122 4
test.py
in taskcat/_cli_modules
121 5
deploy.py
in taskcat/_cli_modules
113 5
debug-yaml.template.jinja
in taskcat/project_templates/quickstart/templates
112 -
_legacy_config.py
in taskcat
104 2
list.py
in taskcat/_cli_modules
104 4
_cli.py
in taskcat
101 9
_log_stack_events.py
in taskcat/_cfn
99 5
delete.py
in taskcat/_cli_modules
90 3
local_zones.py
in taskcat
89 -
_tui.py
in taskcat
85 8
_project_generator.py
in taskcat
83 17
generate_config_docs.py
in root
73 1
regions_to_partitions.py
in taskcat
72 -
policy.py
in taskcat/iam_policy
71 4
setup.py
in root
53 -
upload.py
in taskcat/_cli_modules
52 1
_s3_stage.py
in taskcat
44 4
debug-input.json.jinja
in taskcat/project_templates/quickstart/ci
42 -
_hooks.py
in taskcat/testing
40 2
_logger.py
in taskcat
39 2
cfg
setup.cfg
in root
38 -
tools.py
in taskcat/iam_policy
32 3
pyproject.toml
in root
30 -
update_ami.py
in taskcat/_cli_modules
29 1
package.py
in taskcat/_cli_modules
29 1
lint.py
in taskcat/_cli_modules
24 1
update_partition_region_map.py
in root
20 -
taskcat-autobucket.yml.jinja
in taskcat/project_templates/quickstart/ci
19 -
__init__.py
in taskcat_plugin_testhook
17 1
taskcat-autobucket-json.yml.jinja
in taskcat/project_templates/quickstart/ci
15 -
taskcat.yml.jinja
in taskcat/project_templates/quickstart/ci
15 -
update_local_zones.py
in root
14 -
Files With Most Units (Top 20)
File# lines# units
stack.py
in taskcat/_cfn
498 37
_dataclasses.py
in taskcat
633 28
threaded.py
in taskcat/_cfn
258 24
_template_params.py
in taskcat
313 24
_cli_core.py
in taskcat
271 23
_amiupdater.py
in taskcat
312 23
stack_url_helper.py
in taskcat/_cfn
263 20
_common_utils.py
in taskcat
171 20
_project_generator.py
in taskcat
83 17
_config.py
in taskcat
407 17
_client_factory.py
in taskcat
180 16
template.py
in taskcat/_cfn
168 15
_lambda_build.py
in taskcat
148 10
_cli.py
in taskcat
101 9
_tui.py
in taskcat
85 8
_s3_sync.py
in taskcat
185 8
_cfn_lint.py
in taskcat
149 8
_log_stack_events.py
in taskcat/_cfn
99 5
deploy.py
in taskcat/_cli_modules
113 5
test.py
in taskcat/_cli_modules
121 5
Files With Long Lines (Top 4)

There are 4 files with lines longer than 120 characters. In total, there are 5 long lines.

File# lines# units# long lines
_dataclasses.py
in taskcat
633 28 2
debug-yaml.template.jinja
in taskcat/project_templates/quickstart/templates
112 - 1
debug.template.jinja
in taskcat/project_templates/quickstart/templates
136 - 1
scripts_userdata.sh.jinja
in taskcat/project_templates/quickstart/scripts
1 - 1