aws-samples / multi-environment-chatops-bot-for-controltower
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 14 files with 2,033 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (568 lines of code)
    • 3 medium size files (997 lines of codeclsfd_ftr_w_mp_ins)
    • 2 small files (267 lines of code)
    • 8 very small files (201 lines of code)
0% | 27% | 49% | 13% | 9%
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
yml0% | 43% | 51% | 0% | 4%
java0% | 0% | 50% | 40% | 9%
yaml0% | 0% | 0% | 0% | 100%
py0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ROOT0% | 62% | 31% | 0% | 5%
chatops-lex-bot0% | 0% | 81% | 0% | 18%
src/main/java/software/aws/chatops_lex_api/resource0% | 0% | 64% | 30% | 5%
chatops-lex-bot/src/main/java/software/aws/chatops_lex_bot0% | 0% | 0% | 92% | 7%
src/main/java/software/aws/chatops_lex_api0% | 0% | 0% | 0% | 100%
Longest Files (Top 14)
File# lines# units
devops.yml
in root
568 -
devops.yml
in chatops-lex-bot
389 -
Util.java
in src/main/java/software/aws/chatops_lex_api/resource
328 10
template.yml
in root
280 -
AccountVendor.java
in src/main/java/software/aws/chatops_lex_api/resource
154 4
App.java
in chatops-lex-bot/src/main/java/software/aws/chatops_lex_bot
113 4
template.yaml
in chatops-lex-bot
69 -
LoggingConfigurator.java
in src/main/java/software/aws/chatops_lex_api/resource
27 2
StreamLambdaHandler.java
in src/main/java/software/aws/chatops_lex_api
24 1
buildspec.yml
in root
18 -
buildspec.yml
in chatops-lex-bot
18 -
buildspec-load-test.yml
in root
18 -
locust-script.py
in root
18 1
DependencyFactory.java
in chatops-lex-bot/src/main/java/software/aws/chatops_lex_bot
9 2
Files With Most Units (Top 7)
File# lines# units
Util.java
in src/main/java/software/aws/chatops_lex_api/resource
328 10
AccountVendor.java
in src/main/java/software/aws/chatops_lex_api/resource
154 4
App.java
in chatops-lex-bot/src/main/java/software/aws/chatops_lex_bot
113 4
LoggingConfigurator.java
in src/main/java/software/aws/chatops_lex_api/resource
27 2
DependencyFactory.java
in chatops-lex-bot/src/main/java/software/aws/chatops_lex_bot
9 2
StreamLambdaHandler.java
in src/main/java/software/aws/chatops_lex_api
24 1
locust-script.py
in root
18 1
Files With Long Lines (Top 8)

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

File# lines# units# long lines
Util.java
in src/main/java/software/aws/chatops_lex_api/resource
328 10 29
App.java
in chatops-lex-bot/src/main/java/software/aws/chatops_lex_bot
113 4 17
devops.yml
in root
568 - 13
AccountVendor.java
in src/main/java/software/aws/chatops_lex_api/resource
154 4 8
devops.yml
in chatops-lex-bot
389 - 6
LoggingConfigurator.java
in src/main/java/software/aws/chatops_lex_api/resource
27 2 2
template.yml
in root
280 - 2
buildspec-load-test.yml
in root
18 - 1