aws-samples / aws-genomics-workflows
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 37 files with 5,279 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (652 lines of code)
    • 9 medium size files (2,772 lines of codeclsfd_ftr_w_mp_ins)
    • 6 small files (899 lines of code)
    • 21 very small files (956 lines of code)
0% | 12% | 52% | 17% | 18%
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
yaml0% | 16% | 64% | 13% | 4%
ts0% | 0% | 25% | 25% | 49%
py0% | 0% | 0% | 37% | 62%
yml0% | 0% | 0% | 0% | 100%
js0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src/templates/cromwell0% | 69% | 30% | 0% | 0%
src/templates/gwfcore0% | 0% | 65% | 23% | 10%
src/templates/nextflow0% | 0% | 100% | 0% | 0%
src/templates/_common0% | 0% | 100% | 0% | 0%
src/templates/step-functions0% | 0% | 59% | 40% | 0%
src/aws-genomics-cdk/lib0% | 0% | 28% | 14% | 56%
src/gwf-core-codepipeline/lib0% | 0% | 0% | 100% | 0%
src/scripts0% | 0% | 0% | 100% | 0%
ROOT0% | 0% | 0% | 0% | 100%
src/lambda/ecr0% | 0% | 0% | 0% | 100%
src/lambda/codebuild0% | 0% | 0% | 0% | 100%
src/containers0% | 0% | 0% | 0% | 100%
src/gwf-core-codepipeline0% | 0% | 0% | 0% | 100%
src/aws-genomics-cdk0% | 0% | 0% | 0% | 100%
Longest Files (Top 37)
File# lines# units
cromwell-resources.template.yaml
in src/templates/cromwell
652 -
container-build.template.yaml
in src/templates/_common
400 -
gwfcore-code.template.yaml
in src/templates/gwfcore
388 -
gwfcore-root.template.yaml
in src/templates/gwfcore
381 -
cromwell-and-core.template.yaml
in src/templates/cromwell
292 -
nextflow-and-core.template.yaml
in src/templates/nextflow
289 -
nextflow-resources.template.yaml
in src/templates/nextflow
263 -
sfn-resources-state-machine.template.yaml
in src/templates/step-functions
262 -
gwfcore-batch.template.yaml
in src/templates/gwfcore
255 -
variant-calling-stack.ts
in src/aws-genomics-cdk/lib/workflows
242 -
gwfcore-launch-template.template.yaml
in src/templates/gwfcore
182 -
gwfcore-iam.template.yaml
in src/templates/gwfcore
180 -
sfn-resources.template.yaml
in src/templates/step-functions
176 -
aws-genomics-workflow-code-build-stack.ts
in src/gwf-core-codepipeline/lib
124 1
job-definitions.ts
in src/aws-genomics-cdk/lib/workflows
122 7
nf-aws.py
in src/scripts
115 4
gwfcore-efs.template.yaml
in src/templates/gwfcore
100 -
batch-stack.ts
in src/aws-genomics-cdk/lib/batch
87 1
lambda.py
in src/lambda/ecr
73 6
gwfcore-s3.template.yaml
in src/templates/gwfcore
70 -
batch-iam-stack.ts
in src/aws-genomics-cdk/lib/batch
65 1
main.py
in root
63 3
batch-compute-environmnet-construct.ts
in src/aws-genomics-cdk/lib/batch
60 -
aws-genomics-cdk-stack.ts
in src/aws-genomics-cdk/lib
59 1
lambda.py
in src/lambda/codebuild
57 8
mkdocs.yml
in root
53 -
launch-template-construct.ts
in src/aws-genomics-cdk/lib/batch
52 -
job-definition-construct.ts
in src/aws-genomics-cdk/lib/workflows
49 1
genomics-task-construct.ts
in src/aws-genomics-cdk/lib/workflows
44 1
job-queue-construct.ts
in src/aws-genomics-cdk/lib/batch
31 1
vpc-stack.ts
in src/aws-genomics-cdk/lib/vpc
27 1
buildspec-workflow-tool.yml
in src/containers
17 -
buildspec-nextflow.yml
in src/containers
16 -
environment.yaml
in root
15 -
jest.config.js
in src/gwf-core-codepipeline
7 -
jest.config.js
in src/aws-genomics-cdk
7 -
workflow-config.ts
in src/aws-genomics-cdk/lib/workflows
4 -
Files With Most Units (Top 13)
File# lines# units
lambda.py
in src/lambda/codebuild
57 8
job-definitions.ts
in src/aws-genomics-cdk/lib/workflows
122 7
lambda.py
in src/lambda/ecr
73 6
nf-aws.py
in src/scripts
115 4
main.py
in root
63 3
aws-genomics-workflow-code-build-stack.ts
in src/gwf-core-codepipeline/lib
124 1
aws-genomics-cdk-stack.ts
in src/aws-genomics-cdk/lib
59 1
vpc-stack.ts
in src/aws-genomics-cdk/lib/vpc
27 1
genomics-task-construct.ts
in src/aws-genomics-cdk/lib/workflows
44 1
job-definition-construct.ts
in src/aws-genomics-cdk/lib/workflows
49 1
job-queue-construct.ts
in src/aws-genomics-cdk/lib/batch
31 1
batch-iam-stack.ts
in src/aws-genomics-cdk/lib/batch
65 1
batch-stack.ts
in src/aws-genomics-cdk/lib/batch
87 1
Files With Long Lines (Top 14)

There are 14 files with lines longer than 120 characters. In total, there are 63 long lines.

File# lines# units# long lines
sfn-resources-state-machine.template.yaml
in src/templates/step-functions
262 - 11
cromwell-resources.template.yaml
in src/templates/cromwell
652 - 10
gwfcore-launch-template.template.yaml
in src/templates/gwfcore
182 - 8
gwfcore-root.template.yaml
in src/templates/gwfcore
381 - 6
nf-aws.py
in src/scripts
115 4 6
cromwell-and-core.template.yaml
in src/templates/cromwell
292 - 5
nextflow-and-core.template.yaml
in src/templates/nextflow
289 - 5
gwfcore-efs.template.yaml
in src/templates/gwfcore
100 - 2
gwfcore-code.template.yaml
in src/templates/gwfcore
388 - 2
gwfcore-batch.template.yaml
in src/templates/gwfcore
255 - 2
container-build.template.yaml
in src/templates/_common
400 - 2
batch-iam-stack.ts
in src/aws-genomics-cdk/lib/batch
65 1 2
gwfcore-s3.template.yaml
in src/templates/gwfcore
70 - 1
batch-stack.ts
in src/aws-genomics-cdk/lib/batch
87 1 1