awslabs / aws-account-migration-automation
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 3,073 lines of code.
    • 1 very long files (1,197 lines of code)
    • 0 long files (0 lines of code)
    • 1 medium size files (244 lines of codeclsfd_ftr_w_mp_ins)
    • 4 small files (483 lines of code)
    • 27 very small files (1,149 lines of code)
38% | 0% | 7% | 15% | 37%
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
yaml95% | 0% | 0% | 0% | 4%
py0% | 0% | 13% | 26% | 59%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ROOT100% | 0% | 0% | 0% | 0%
src0% | 0% | 15% | 23% | 60%
resources/helper_scripts0% | 0% | 0% | 100% | 0%
src/utils0% | 0% | 0% | 0% | 100%
resources/cfn_template0% | 0% | 0% | 0% | 100%
Longest Files (Top 33)
File# lines# units
template.yaml
in root
1197 -
tobedeleted.py
in src
244 4
constant.py
in src
146 3
reports.py
in src
119 1
util.py
in src
114 10
restore_test_accounts.py
in resources/helper_scripts
104 2
get_org_dependent_resources.py
in src
98 2
leave_organization.py
in src
88 2
cleanup.py
in src
82 1
notification_handler.py
in src
74 5
support_case.py
in src
63 1
MigrationEngineRole.yaml
in resources/cfn_template
62 -
join_organization.py
in src
61 2
update_tags.py
in src
57 4
load_data.py
in src
55 2
update_account_ou.py
in src
50 2
data.py
in src/utils
49 3
create_roles.py
in src
48 1
check_billing_access.py
in src
46 1
create_master_roles.py
in src
44 1
notifier.py
in src
41 1
dynamodb.py
in src/utils
31 4
me_logger.py
in src
30 1
active_regions_generator.py
in src
26 2
activate_analyzer.py
in src
23 2
sessions.py
in src/utils
22 1
get_accounts.py
in src
21 2
check_org_scan_status.py
in src
20 2
notification_observer.py
in src
17 2
notification_identifier.py
in src
16 2
notification.py
in src/utils
14 1
parameters.py
in src/utils
10 1
__init__.py
in src/utils
1 -
Files With Most Units (Top 20)
File# lines# units
util.py
in src
114 10
notification_handler.py
in src
74 5
tobedeleted.py
in src
244 4
update_tags.py
in src
57 4
dynamodb.py
in src/utils
31 4
constant.py
in src
146 3
data.py
in src/utils
49 3
join_organization.py
in src
61 2
get_org_dependent_resources.py
in src
98 2
update_account_ou.py
in src
50 2
load_data.py
in src
55 2
notification_observer.py
in src
17 2
leave_organization.py
in src
88 2
activate_analyzer.py
in src
23 2
check_org_scan_status.py
in src
20 2
get_accounts.py
in src
21 2
active_regions_generator.py
in src
26 2
notification_identifier.py
in src
16 2
restore_test_accounts.py
in resources/helper_scripts
104 2
support_case.py
in src
63 1
Files With Long Lines (Top 4)

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

File# lines# units# long lines
template.yaml
in root
1197 - 3
tobedeleted.py
in src
244 4 2
constant.py
in src
146 3 1
notification_handler.py
in src
74 5 1