awslabs / genomics-secondary-analysis-using-aws-step-functions-and-aws-batch
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 19 files with 3,154 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 7 medium size files (2,206 lines of codeclsfd_ftr_w_mp_ins)
    • 4 small files (672 lines of code)
    • 8 very small files (276 lines of code)
0% | 0% | 69% | 21% | 8%
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% | 0% | 58% | 37% | 4%
yml0% | 0% | 96% | 0% | 3%
py0% | 0% | 63% | 0% | 36%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
source/zone0% | 0% | 100% | 0% | 0%
source/pipe/cfn0% | 0% | 83% | 0% | 16%
source0% | 0% | 100% | 0% | 0%
source/setup/lambda/crhelper0% | 0% | 74% | 0% | 25%
source/pipe0% | 0% | 96% | 0% | 3%
source/code/cfn0% | 0% | 62% | 37% | 0%
source/code0% | 0% | 96% | 0% | 3%
source/code/cfn/core0% | 0% | 0% | 100% | 0%
source/setup/lambda0% | 0% | 0% | 0% | 100%
source/code/containers0% | 0% | 0% | 0% | 100%
Longest Files (Top 19)
File# lines# units
main.cfn.yml
in source/zone
423 -
iam.cfn.yaml
in source/pipe/cfn
403 -
setup.cfn.yaml
in source
403 -
resource_helper.py
in source/setup/lambda/crhelper
281 31
main.cfn.yml
in source/pipe
249 -
workflow-variantcalling-simple.cfn.yaml
in source/code/cfn
244 -
main.cfn.yml
in source/code
203 -
networking.cfn.yaml
in source/code/cfn/core
188 -
batch.cfn.yaml
in source/code/cfn/core
177 -
iam.cfn.yaml
in source/code/cfn/core
158 -
cloudwatch-dashboard.cfn.yaml
in source/code/cfn
149 -
container-buildproject.cfn.yaml
in source/pipe/cfn
81 -
lambda.py
in source/setup/lambda
67 9
log_helper.py
in source/setup/lambda/crhelper
52 4
utils.py
in source/setup/lambda/crhelper
43 1
buildspec.yml
in source/code/containers
16 -
buildspec.yml
in source/pipe
8 -
buildspec.yml
in source/code
8 -
__init__.py
in source/setup/lambda/crhelper
1 -
Files With Most Units (Top 4)
File# lines# units
resource_helper.py
in source/setup/lambda/crhelper
281 31
lambda.py
in source/setup/lambda
67 9
log_helper.py
in source/setup/lambda/crhelper
52 4
utils.py
in source/setup/lambda/crhelper
43 1
Files With Long Lines (Top 8)

There are 8 files with lines longer than 120 characters. In total, there are 27 long lines.

File# lines# units# long lines
workflow-variantcalling-simple.cfn.yaml
in source/code/cfn
244 - 15
setup.cfn.yaml
in source
403 - 4
cloudwatch-dashboard.cfn.yaml
in source/code/cfn
149 - 2
main.cfn.yml
in source/zone
423 - 2
iam.cfn.yaml
in source/pipe/cfn
403 - 1
main.cfn.yml
in source/pipe
249 - 1
batch.cfn.yaml
in source/code/cfn/core
177 - 1
resource_helper.py
in source/setup/lambda/crhelper
281 31 1