awslabs / goformation
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 4,136 files with 532,664 lines of code.
    • 4 very long files (404,286 lines of code)
    • 0 long files (0 lines of code)
    • 2 medium size files (708 lines of codeclsfd_ftr_w_mp_ins)
    • 12 small files (1,555 lines of code)
    • 4,118 very small files (126,115 lines of code)
75% | 0% | <1% | <1% | 23%
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
go75% | 0% | <1% | <1% | 23%
yaml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
schema100% | 0% | 0% | 0% | 0%
cloudformation97% | 0% | 1% | <1% | <1%
generate0% | 0% | 56% | 22% | 20%
cloudformation/rds0% | 0% | 0% | 18% | 81%
intrinsics0% | 0% | 0% | 29% | 70%
cloudformation/redshift0% | 0% | 0% | 13% | 86%
cloudformation/ec20% | 0% | 0% | 1% | 98%
cloudformation/databrew0% | 0% | 0% | 8% | 91%
cloudformation/autoscaling0% | 0% | 0% | 10% | 89%
cloudformation/elasticache0% | 0% | 0% | 10% | 89%
cloudformation/serverless0% | 0% | 0% | 4% | 95%
cloudformation/dms0% | 0% | 0% | 12% | 87%
cloudformation/sagemaker0% | 0% | 0% | 0% | 100%
cloudformation/medialive0% | 0% | 0% | 0% | 100%
cloudformation/wafv20% | 0% | 0% | 0% | 100%
cloudformation/iot0% | 0% | 0% | 0% | 100%
cloudformation/appmesh0% | 0% | 0% | 0% | 100%
cloudformation/glue0% | 0% | 0% | 0% | 100%
cloudformation/pinpoint0% | 0% | 0% | 0% | 100%
cloudformation/quicksight0% | 0% | 0% | 0% | 100%
cloudformation/greengrass0% | 0% | 0% | 0% | 100%
cloudformation/apigateway0% | 0% | 0% | 0% | 100%
cloudformation/cloudfront0% | 0% | 0% | 0% | 100%
cloudformation/s30% | 0% | 0% | 0% | 100%
cloudformation/cognito0% | 0% | 0% | 0% | 100%
cloudformation/ecs0% | 0% | 0% | 0% | 100%
cloudformation/kendra0% | 0% | 0% | 0% | 100%
cloudformation/emr0% | 0% | 0% | 0% | 100%
cloudformation/appflow0% | 0% | 0% | 0% | 100%
cloudformation/apigatewayv20% | 0% | 0% | 0% | 100%
cloudformation/servicecatalog0% | 0% | 0% | 0% | 100%
cloudformation/lex0% | 0% | 0% | 0% | 100%
cloudformation/appstream0% | 0% | 0% | 0% | 100%
cloudformation/iotanalytics0% | 0% | 0% | 0% | 100%
cloudformation/cloudformation0% | 0% | 0% | 0% | 100%
cloudformation/networkfirewall0% | 0% | 0% | 0% | 100%
cloudformation/appsync0% | 0% | 0% | 0% | 100%
cloudformation/config0% | 0% | 0% | 0% | 100%
cloudformation/iam0% | 0% | 0% | 0% | 100%
cloudformation/iotwireless0% | 0% | 0% | 0% | 100%
cloudformation/lambda0% | 0% | 0% | 0% | 100%
cloudformation/ssm0% | 0% | 0% | 0% | 100%
cloudformation/wafregional0% | 0% | 0% | 0% | 100%
cloudformation/kinesisanalyticsv20% | 0% | 0% | 0% | 100%
cloudformation/gamelift0% | 0% | 0% | 0% | 100%
cloudformation/iotsitewise0% | 0% | 0% | 0% | 100%
cloudformation/mediapackage0% | 0% | 0% | 0% | 100%
cloudformation/elasticloadbalancingv20% | 0% | 0% | 0% | 100%
cloudformation/opsworks0% | 0% | 0% | 0% | 100%
cloudformation/datasync0% | 0% | 0% | 0% | 100%
cloudformation/imagebuilder0% | 0% | 0% | 0% | 100%
cloudformation/lightsail0% | 0% | 0% | 0% | 100%
cloudformation/events0% | 0% | 0% | 0% | 100%
cloudformation/route53resolver0% | 0% | 0% | 0% | 100%
cloudformation/ses0% | 0% | 0% | 0% | 100%
cloudformation/acmpca0% | 0% | 0% | 0% | 100%
cloudformation/batch0% | 0% | 0% | 0% | 100%
cloudformation/kinesisfirehose0% | 0% | 0% | 0% | 100%
cloudformation/cloudwatch0% | 0% | 0% | 0% | 100%
cloudformation/waf0% | 0% | 0% | 0% | 100%
cloudformation/frauddetector0% | 0% | 0% | 0% | 100%
cloudformation/route530% | 0% | 0% | 0% | 100%
cloudformation/codedeploy0% | 0% | 0% | 0% | 100%
cloudformation/dynamodb0% | 0% | 0% | 0% | 100%
cloudformation/codebuild0% | 0% | 0% | 0% | 100%
cloudformation/kinesisanalytics0% | 0% | 0% | 0% | 100%
cloudformation/iotevents0% | 0% | 0% | 0% | 100%
cloudformation/connect0% | 0% | 0% | 0% | 100%
cloudformation/networkmanager0% | 0% | 0% | 0% | 100%
cloudformation/appconfig0% | 0% | 0% | 0% | 100%
cloudformation/backup0% | 0% | 0% | 0% | 100%
cloudformation/robomaker0% | 0% | 0% | 0% | 100%
cloudformation/customerprofiles0% | 0% | 0% | 0% | 100%
cloudformation/groundstation0% | 0% | 0% | 0% | 100%
cloudformation/eks0% | 0% | 0% | 0% | 100%
cloudformation/logs0% | 0% | 0% | 0% | 100%
cloudformation/mediaconnect0% | 0% | 0% | 0% | 100%
cloudformation/servicediscovery0% | 0% | 0% | 0% | 100%
cloudformation/guardduty0% | 0% | 0% | 0% | 100%
cloudformation/evidently0% | 0% | 0% | 0% | 100%
cloudformation/pinpointemail0% | 0% | 0% | 0% | 100%
cloudformation/nimblestudio0% | 0% | 0% | 0% | 100%
cloudformation/licensemanager0% | 0% | 0% | 0% | 100%
cloudformation/codepipeline0% | 0% | 0% | 0% | 100%
cloudformation/location0% | 0% | 0% | 0% | 100%
cloudformation/lookoutmetrics0% | 0% | 0% | 0% | 100%
cloudformation/elasticbeanstalk0% | 0% | 0% | 0% | 100%
cloudformation/msk0% | 0% | 0% | 0% | 100%
cloudformation/amazonmq0% | 0% | 0% | 0% | 100%
cloudformation/athena0% | 0% | 0% | 0% | 100%
cloudformation/amplifyuibuilder0% | 0% | 0% | 0% | 100%
cloudformation/neptune0% | 0% | 0% | 0% | 100%
cloudformation/memorydb0% | 0% | 0% | 0% | 100%
cloudformation/transfer0% | 0% | 0% | 0% | 100%
cloudformation/timestream0% | 0% | 0% | 0% | 100%
cloudformation/ecr0% | 0% | 0% | 0% | 100%
cloudformation/route53recoveryreadiness0% | 0% | 0% | 0% | 100%
cloudformation/secretsmanager0% | 0% | 0% | 0% | 100%
cloudformation/s3outposts0% | 0% | 0% | 0% | 100%
cloudformation/lakeformation0% | 0% | 0% | 0% | 100%
cloudformation/refactorspaces0% | 0% | 0% | 0% | 100%
cloudformation/budgets0% | 0% | 0% | 0% | 100%
cloudformation/amplify0% | 0% | 0% | 0% | 100%
cloudformation/route53recoverycontrol0% | 0% | 0% | 0% | 100%
cloudformation/dlm0% | 0% | 0% | 0% | 100%
cloudformation/eventschemas0% | 0% | 0% | 0% | 100%
cloudformation/efs0% | 0% | 0% | 0% | 100%
cloudformation/ivs0% | 0% | 0% | 0% | 100%
cloudformation/docdb0% | 0% | 0% | 0% | 100%
cloudformation/wisdom0% | 0% | 0% | 0% | 100%
cloudformation/applicationautoscaling0% | 0% | 0% | 0% | 100%
cloudformation/servicecatalogappregistry0% | 0% | 0% | 0% | 100%
cloudformation/elasticsearch0% | 0% | 0% | 0% | 100%
cloudformation/applicationinsights0% | 0% | 0% | 0% | 100%
cloudformation/fsx0% | 0% | 0% | 0% | 100%
cloudformation/managedblockchain0% | 0% | 0% | 0% | 100%
cloudformation/stepfunctions0% | 0% | 0% | 0% | 100%
cloudformation/opensearchservice0% | 0% | 0% | 0% | 100%
cloudformation/globalaccelerator0% | 0% | 0% | 0% | 100%
cloudformation/ssmincidents0% | 0% | 0% | 0% | 100%
cloudformation/apprunner0% | 0% | 0% | 0% | 100%
cloudformation/sso0% | 0% | 0% | 0% | 100%
cloudformation/macie0% | 0% | 0% | 0% | 100%
cloudformation/mediaconvert0% | 0% | 0% | 0% | 100%
cloudformation/panorama0% | 0% | 0% | 0% | 100%
cloudformation/auditmanager0% | 0% | 0% | 0% | 100%
cloudformation/iot1click0% | 0% | 0% | 0% | 100%
cloudformation/sns0% | 0% | 0% | 0% | 100%
cloudformation/dax0% | 0% | 0% | 0% | 100%
cloudformation/ce0% | 0% | 0% | 0% | 100%
cloudformation/fis0% | 0% | 0% | 0% | 100%
cloudformation/autoscalingplans0% | 0% | 0% | 0% | 100%
cloudformation/xray0% | 0% | 0% | 0% | 100%
cloudformation/cassandra0% | 0% | 0% | 0% | 100%
cloudformation/kms0% | 0% | 0% | 0% | 100%
cloudformation/greengrassv20% | 0% | 0% | 0% | 100%
cloudformation/mwaa0% | 0% | 0% | 0% | 100%
cloudformation/inspector0% | 0% | 0% | 0% | 100%
cloudformation/elasticloadbalancing0% | 0% | 0% | 0% | 100%
cloudformation/inspectorv20% | 0% | 0% | 0% | 100%
cloudformation/synthetics0% | 0% | 0% | 0% | 100%
cloudformation/ssmcontacts0% | 0% | 0% | 0% | 100%
cloudformation/resiliencehub0% | 0% | 0% | 0% | 100%
cloudformation/fms0% | 0% | 0% | 0% | 100%
cloudformation/devopsguru0% | 0% | 0% | 0% | 100%
cloudformation/workspaces0% | 0% | 0% | 0% | 100%
cloudformation/directoryservice0% | 0% | 0% | 0% | 100%
cloudformation/certificatemanager0% | 0% | 0% | 0% | 100%
cloudformation/kinesis0% | 0% | 0% | 0% | 100%
cloudformation/s3objectlambda0% | 0% | 0% | 0% | 100%
cloudformation/datapipeline0% | 0% | 0% | 0% | 100%
cloudformation/qldb0% | 0% | 0% | 0% | 100%
cloudformation/signer0% | 0% | 0% | 0% | 100%
cloudformation/sqs0% | 0% | 0% | 0% | 100%
cloudformation/resourcegroups0% | 0% | 0% | 0% | 100%
cloudformation/codeartifact0% | 0% | 0% | 0% | 100%
cloudformation/kinesisvideo0% | 0% | 0% | 0% | 100%
cloudformation/forecast0% | 0% | 0% | 0% | 100%
cloudformation/aps0% | 0% | 0% | 0% | 100%
cloudformation/detective0% | 0% | 0% | 0% | 100%
cloudformation/cloudtrail0% | 0% | 0% | 0% | 100%
cloudformation/mediastore0% | 0% | 0% | 0% | 100%
cloudformation/codecommit0% | 0% | 0% | 0% | 100%
cloudformation/appintegrations0% | 0% | 0% | 0% | 100%
cloudformation/ask0% | 0% | 0% | 0% | 100%
cloudformation/healthlake0% | 0% | 0% | 0% | 100%
cloudformation/emrcontainers0% | 0% | 0% | 0% | 100%
cloudformation/finspace0% | 0% | 0% | 0% | 100%
cloudformation/accessanalyzer0% | 0% | 0% | 0% | 100%
cloudformation/codestar0% | 0% | 0% | 0% | 100%
cloudformation/opsworkscm0% | 0% | 0% | 0% | 100%
cloudformation/rum0% | 0% | 0% | 0% | 100%
cloudformation/cloud90% | 0% | 0% | 0% | 100%
cloudformation/codestarnotifications0% | 0% | 0% | 0% | 100%
cloudformation/codeguruprofiler0% | 0% | 0% | 0% | 100%
cloudformation/global0% | 0% | 0% | 0% | 100%
cloudformation/iotthingsgraph0% | 0% | 0% | 0% | 100%
cloudformation/cur0% | 0% | 0% | 0% | 100%
cloudformation/lookoutequipment0% | 0% | 0% | 0% | 100%
cloudformation/chatbot0% | 0% | 0% | 0% | 100%
cloudformation/ram0% | 0% | 0% | 0% | 100%
cloudformation/codegurureviewer0% | 0% | 0% | 0% | 100%
cloudformation/codestarconnections0% | 0% | 0% | 0% | 100%
cloudformation/iotfleethub0% | 0% | 0% | 0% | 100%
cloudformation/iotcoredeviceadvisor0% | 0% | 0% | 0% | 100%
cloudformation/lookoutvision0% | 0% | 0% | 0% | 100%
cloudformation/sdb0% | 0% | 0% | 0% | 100%
cloudformation/cdk0% | 0% | 0% | 0% | 100%
cloudformation/rekognition0% | 0% | 0% | 0% | 100%
cloudformation/securityhub0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
cloudformation/policies0% | 0% | 0% | 0% | 100%
example/go-to-yaml0% | 0% | 0% | 0% | 100%
cloudformation/tags0% | 0% | 0% | 0% | 100%
cloudformation/utils0% | 0% | 0% | 0% | 100%
example/yaml-to-go0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
sam.go
in schema
130579 -
cdk.go
in schema
127949 -
cloudformation.go
in schema
127888 -
all.go
in cloudformation
17870 1767
generate.go
in generate
468 11
intrinsics.go
in cloudformation
240 28
property.go
in generate
185 16
template.go
in cloudformation
182 10
intrinsics.go
in intrinsics
158 7
aws-rds-dbinstance.go
in cloudformation/rds
127 3
aws-redshift-cluster.go
in cloudformation/redshift
122 3
aws-ec2-instance.go
in cloudformation/ec2
121 3
aws-autoscaling-autoscalinggroup.go
in cloudformation/autoscaling
115 3
aws-databrew-recipe_recipeparameters.go
in cloudformation/databrew
115 1
aws-elasticache-replicationgroup.go
in cloudformation/elasticache
110 3
aws-rds-dbcluster.go
in cloudformation/rds
108 3
aws-serverless-function.go
in cloudformation/serverless
107 3
aws-dms-endpoint.go
in cloudformation/dms
105 3
aws-opsworks-stack.go
in cloudformation/opsworks
100 3
aws-codebuild-project.go
in cloudformation/codebuild
99 3
aws-memorydb-cluster.go
in cloudformation/memorydb
98 3
aws-emr-cluster.go
in cloudformation/emr
97 3
aws-elasticache-cachecluster.go
in cloudformation/elasticache
97 3
aws-neptune-dbcluster.go
in cloudformation/neptune
97 3
aws-cognito-userpool.go
in cloudformation/cognito
96 3
aws-ecs-service.go
in cloudformation/ecs
96 3
aws-opsworkscm-server.go
in cloudformation/opsworkscm
96 3
aws-lambda-function.go
in cloudformation/lambda
96 3
aws-serverless-api.go
in cloudformation/serverless
95 3
aws-s3-bucket.go
in cloudformation/s3
95 3
aws-cloudwatch-alarm.go
in cloudformation/cloudwatch
95 3
aws-opsworks-instance.go
in cloudformation/opsworks
95 3
aws-databrew-job.go
in cloudformation/databrew
95 3
aws-appstream-fleet.go
in cloudformation/appstream
95 3
aws-cognito-userpoolclient.go
in cloudformation/cognito
94 3
aws-opsworks-layer.go
in cloudformation/opsworks
94 3
aws-elasticloadbalancingv2-targetgroup.go
in cloudformation/elasticloadbalancingv2
94 3
aws-mwaa-environment.go
in cloudformation/mwaa
94 3
aws-gamelift-fleet.go
in cloudformation/gamelift
93 3
aws-docdb-dbcluster.go
in cloudformation/docdb
93 3
aws-autoscaling-launchconfiguration.go
in cloudformation/autoscaling
93 3
aws-lambda-eventsourcemapping.go
in cloudformation/lambda
93 3
aws-apigatewayv2-integration.go
in cloudformation/apigatewayv2
92 3
aws-ecs-taskdefinition.go
in cloudformation/ecs
92 3
aws-eks-nodegroup.go
in cloudformation/eks
92 3
aws-amazonmq-broker.go
in cloudformation/amazonmq
92 3
aws-glue-job.go
in cloudformation/glue
92 3
aws-apigatewayv2-api.go
in cloudformation/apigatewayv2
91 3
function_properties.go
in cloudformation/serverless
91 3
aws-elasticloadbalancing-loadbalancer.go
in cloudformation/elasticloadbalancing
91 3
Files With Most Units (Top 20)
File# lines# units
all.go
in cloudformation
17870 1767
intrinsics.go
in cloudformation
240 28
property.go
in generate
185 16
generate.go
in generate
468 11
template.go
in cloudformation
182 10
goformation.go
in root
48 7
intrinsics.go
in intrinsics
158 7
tag.go
in cloudformation/tags
30 7
conditions.go
in intrinsics
46 4
naming.go
in generate
36 3
tags.go
in intrinsics
34 3
fngetazs.go
in intrinsics
25 3
aws-synthetics-canary.go
in cloudformation/synthetics
89 3
aws-codebuild-sourcecredential.go
in cloudformation/codebuild
78 3
aws-codebuild-reportgroup.go
in cloudformation/codebuild
80 3
aws-codebuild-project.go
in cloudformation/codebuild
99 3
aws-kinesisvideo-stream.go
in cloudformation/kinesisvideo
81 3
aws-kinesisvideo-signalingchannel.go
in cloudformation/kinesisvideo
79 3
aws-elasticsearch-domain.go
in cloudformation/elasticsearch
90 3
aws-groundstation-missionprofile.go
in cloudformation/groundstation
82 3
Files With Long Lines (Top 20)

There are 169 files with lines longer than 120 characters. In total, there are 610 long lines.

File# lines# units# long lines
all.go
in cloudformation
17870 1767 191
cloudformation.go
in schema
127888 - 54
sam.go
in schema
130579 - 54
cdk.go
in schema
127949 - 54
aws-iot-accountauditconfiguration_auditcheckconfigurations.go
in cloudformation/iot
28 1 13
aws-kinesisfirehose-deliverystream.go
in cloudformation/kinesisfirehose
87 3 8
aws-greengrass-resourcedefinitionversion_resourcedatacontainer.go
in cloudformation/greengrass
19 1 5
aws-kinesisanalyticsv2-application_applicationconfiguration.go
in cloudformation/kinesisanalyticsv2
20 1 4
aws-ssm-maintenancewindowtask_taskinvocationparameters.go
in cloudformation/ssm
18 1 4
aws-dynamodb-globaltable_replicaspecification.go
in cloudformation/dynamodb
22 1 4
aws-cloudfront-responseheaderspolicy_corsconfig.go
in cloudformation/cloudfront
21 1 4
aws-sagemaker-modelexplainabilityjobdefinition.go
in cloudformation/sagemaker
85 3 4
generate.go
in generate
468 11 3
aws-iot-mitigationaction_actionparams.go
in cloudformation/iot
20 1 3
aws-autoscalingplans-scalingplan_scalinginstruction.go
in cloudformation/autoscalingplans
28 1 3
aws-cognito-userpoolriskconfigurationattachment.go
in cloudformation/cognito
79 3 3
aws-config-organizationconfigrule.go
in cloudformation/config
79 3 3
aws-nimblestudio-studiocomponent_studiocomponentconfiguration.go
in cloudformation/nimblestudio
18 1 3
aws-kendra-datasource_salesforceconfiguration.go
in cloudformation/kendra
23 1 3
aws-greengrass-resourcedefinition_resourcedatacontainer.go
in cloudformation/greengrass
19 1 3