aws-samples / aws-lakeformation-access-controls-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 7 files with 4,315 lines of code.
    • 2 very long files (2,582 lines of code)
    • 2 long files (1,308 lines of code)
    • 0 medium size files (0 lines of codeclsfd_ftr_w_mp_ins)
    • 3 small files (425 lines of code)
    • 0 very small files (0 lines of code)
59% | 30% | 0% | 9% | 0%
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% | 33% | 0% | 0% | 0%
py0% | 0% | 0% | 100% | 0%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
blog-templates66% | 33% | 0% | 0% | 0%
automated-deployment/central-account100% | 0% | 0% | 0% | 0%
automated-deployment/consumption-account0% | 100% | 0% | 0% | 0%
src/lakeformation_permissions/consumption0% | 0% | 0% | 100% | 0%
src/lakeformation_permissions/central0% | 0% | 0% | 100% | 0%
src/lakeformation_automation0% | 0% | 0% | 100% | 0%
Longest Files (Top 7)
File# lines# units
central.yaml
in blog-templates
1291 -
template.yaml
in automated-deployment/central-account
1291 -
consumption.yaml
in blog-templates
654 -
template.yaml
in automated-deployment/consumption-account
654 -
lambda_function.py
in src/lakeformation_permissions/consumption
170 6
lambda_function.py
in src/lakeformation_permissions/central
145 5
lambda_function.py
in src/lakeformation_automation
110 5
Files With Most Units (Top 3)
File# lines# units
lambda_function.py
in src/lakeformation_permissions/consumption
170 6
lambda_function.py
in src/lakeformation_automation
110 5
lambda_function.py
in src/lakeformation_permissions/central
145 5
Files With Long Lines (Top 7)

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

File# lines# units# long lines
central.yaml
in blog-templates
1291 - 17
template.yaml
in automated-deployment/central-account
1291 - 17
consumption.yaml
in blog-templates
654 - 9
template.yaml
in automated-deployment/consumption-account
654 - 9
lambda_function.py
in src/lakeformation_permissions/central
145 5 8
lambda_function.py
in src/lakeformation_permissions/consumption
170 6 6
lambda_function.py
in src/lakeformation_automation
110 5 2