guardian / security-hq
File Size

The distribution of size of files (measured in lines of code).

Intro
Learn more...
File Size Overall
0% | 0% | 5% | 53% | 40%
Legend:
1001+
501-1000
201-500
101-200
1-100


explore: grouped by folders | grouped by size | sunburst | 3D view
File Size per Extension
1001+
501-1000
201-500
101-200
1-100
ts0% | 0% | 100% | 0% | 0%
scala0% | 0% | 0% | 64% | 35%
css0% | 0% | 0% | 100% | 0%
js0% | 0% | 0% | 100% | 0%
html0% | 0% | 0% | 0% | 100%
sbt0% | 0% | 0% | 0% | 100%
yaml0% | 0% | 0% | 0% | 100%
xml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
cdk0% | 0% | 100% | 0% | 0%
hq0% | 0% | 0% | 59% | 40%
ROOT0% | 0% | 0% | 0% | 100%
cloudformation0% | 0% | 0% | 0% | 100%
project0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
security-hq.ts
in cdk/lib
230 1
models.scala
in hq/app/model
197 5
CacheService.scala
in hq/app/services
189 8
Config.scala
in hq/app/config
176 17
158 -
153 10
main.css
in hq/public/stylesheets
142 -
IAMClient.scala
in hq/app/aws/iam
138 11
137 15
136 12
IamRemediationService.scala
in hq/app/services
133 4
Attempt.scala
in hq/app/utils/attempt
123 20
121 9
app.js
in hq/public/javascripts
117 14
CredentialsReport.scala
in hq/app/aws/iam
108 9
Failure.scala
in hq/app/utils/attempt
106 14
TrustedAdvisor.scala
in hq/app/aws/support
99 7
build.sbt
in root
99 -
AnghammaradNotifications.scala
in hq/app/notifications
95 5
TrustedAdvisorS3.scala
in hq/app/aws/support
77 5
AWS.scala
in hq/app/aws
74 3
TrustedAdvisorSGOpenPorts.scala
in hq/app/aws/support
63 4
Cloudwatch.scala
in hq/app/logging
61 6
credentialsHelp.scala.html
in hq/app/views/fragments
58 -
58 -
MetricService.scala
in hq/app/services
57 2
iamremediation.scala
in hq/app/model
55 -
main.scala.html
in hq/app/views
51 -
S3.scala
in hq/app/aws/s3
51 2
package.scala
in hq/app/aws
48 2
42 4
bucketsHelp.scala.html
in hq/app/views/fragments
40 -
CloudFormation.scala
in hq/app/aws/cloudformation
40 4
index.scala.html
in hq/app/views
38 -
header.scala.html
in hq/app/views
36 -
humanReportStatus.scala.html
in hq/app/views/fragments
36 -
34 2
33 -
HQController.scala
in hq/app/controllers
32 1
logback.xml
in hq/conf
30 -
riff-raff.yaml
in hq/conf
26 -
AuthController.scala
in hq/app/controllers
25 -
DocumentUtil.scala
in hq/app/logic
25 2
allKeyStatus.scala.html
in hq/app/views/fragments
24 -
machineReportStatus.scala.html
in hq/app/views/fragments
22 -
doc.scala.html
in hq/app/views
20 -
Retry.scala
in hq/app/logic
19 1
19 1
19 -
EC2.scala
in hq/app/aws/ec2
17 1
Files With Most Units (Top 34)
File# lines# units
Attempt.scala
in hq/app/utils/attempt
123 20
Config.scala
in hq/app/config
176 17
137 15
app.js
in hq/public/javascripts
117 14
Failure.scala
in hq/app/utils/attempt
106 14
136 12
IAMClient.scala
in hq/app/aws/iam
138 11
153 10
CredentialsReport.scala
in hq/app/aws/iam
108 9
121 9
CacheService.scala
in hq/app/services
189 8
TrustedAdvisor.scala
in hq/app/aws/support
99 7
Cloudwatch.scala
in hq/app/logging
61 6
models.scala
in hq/app/model
197 5
TrustedAdvisorS3.scala
in hq/app/aws/support
77 5
AnghammaradNotifications.scala
in hq/app/notifications
95 5
IamRemediationService.scala
in hq/app/services
133 4
CloudFormation.scala
in hq/app/aws/cloudformation
40 4
42 4
TrustedAdvisorSGOpenPorts.scala
in hq/app/aws/support
63 4
AWS.scala
in hq/app/aws
74 3
MetricService.scala
in hq/app/services
57 2
34 2
package.scala
in hq/app/aws
48 2
S3.scala
in hq/app/aws/s3
51 2
DocumentUtil.scala
in hq/app/logic
25 2
PlayIntegration.scala
in hq/app/utils/attempt
16 1
9 1
EC2.scala
in hq/app/aws/ec2
17 1
HQController.scala
in hq/app/controllers
32 1
Retry.scala
in hq/app/logic
19 1
19 1
DateUtils.scala
in hq/app/logic
15 1
security-hq.ts
in cdk/lib
230 1
Files With Long Lines (Top 37)

There are 37 files with lines longer than 120 characters. In total, there are 185 long lines.

File# lines# units# long lines
136 12 23
IAMClient.scala
in hq/app/aws/iam
138 11 16
IamRemediationService.scala
in hq/app/services
133 4 14
bucketsHelp.scala.html
in hq/app/views/fragments
40 - 11
credentialsHelp.scala.html
in hq/app/views/fragments
58 - 10
Config.scala
in hq/app/config
176 17 9
AnghammaradNotifications.scala
in hq/app/notifications
95 5 9
main.scala.html
in hq/app/views
51 - 6
Cloudwatch.scala
in hq/app/logging
61 6 6
34 2 6
TrustedAdvisorS3.scala
in hq/app/aws/support
77 5 6
TrustedAdvisor.scala
in hq/app/aws/support
99 7 5
TrustedAdvisorSGOpenPorts.scala
in hq/app/aws/support
63 4 5
CredentialsReport.scala
in hq/app/aws/iam
108 9 5
153 10 5
security-hq.ts
in cdk/lib
230 1 5
header.scala.html
in hq/app/views
36 - 4
Attempt.scala
in hq/app/utils/attempt
123 20 4
42 4 4
121 9 4
humanReportStatus.scala.html
in hq/app/views/fragments
36 - 3
machineReportStatus.scala.html
in hq/app/views/fragments
22 - 3
Failure.scala
in hq/app/utils/attempt
106 14 3
137 15 3
AWS.scala
in hq/app/aws
74 3 2
CloudFormation.scala
in hq/app/aws/cloudformation
40 4 2
build.sbt
in root
99 - 2
app.js
in hq/public/javascripts
117 14 1
CacheService.scala
in hq/app/services
189 8 1
loginError.scala.html
in hq/app/views
10 - 1
PlayIntegration.scala
in hq/app/utils/attempt
16 1 1
package.scala
in hq/app/aws
48 2 1
S3.scala
in hq/app/aws/s3
51 2 1
HQController.scala
in hq/app/controllers
32 1 1
AuthController.scala
in hq/app/controllers
25 - 1
158 - 1
Retry.scala
in hq/app/logic
19 1 1
Correlations

File Size vs. Commits (all time): 61 points

build.sbt x: 322 commits (all time) y: 99 lines of code hq/app/aws/AwsAsyncHandler.scala x: 28 commits (all time) y: 34 lines of code project/plugins.sbt x: 44 commits (all time) y: 10 lines of code hq/app/aws/iam/CredentialsReport.scala x: 36 commits (all time) y: 108 lines of code hq/app/aws/AWS.scala x: 45 commits (all time) y: 74 lines of code hq/app/services/CacheService.scala x: 93 commits (all time) y: 189 lines of code hq/app/utils/attempt/Failure.scala x: 39 commits (all time) y: 106 lines of code hq/app/logic/IamUnrecognisedUsers.scala x: 12 commits (all time) y: 121 lines of code cloudformation/watched-account.template.yaml x: 52 commits (all time) y: 58 lines of code hq/app/model/models.scala x: 152 commits (all time) y: 197 lines of code hq/public/javascripts/app.js x: 46 commits (all time) y: 117 lines of code hq/app/AppComponents.scala x: 135 commits (all time) y: 158 lines of code hq/app/aws/AwsClient.scala x: 7 commits (all time) y: 8 lines of code hq/app/aws/cloudformation/CloudFormation.scala x: 21 commits (all time) y: 40 lines of code hq/app/aws/ec2/EC2.scala x: 59 commits (all time) y: 17 lines of code hq/app/aws/iam/IAMClient.scala x: 60 commits (all time) y: 138 lines of code hq/app/aws/package.scala x: 11 commits (all time) y: 48 lines of code hq/app/aws/s3/S3.scala x: 15 commits (all time) y: 51 lines of code hq/app/aws/support/TrustedAdvisor.scala x: 21 commits (all time) y: 99 lines of code hq/app/aws/support/TrustedAdvisorExposedIAMKeys.scala x: 15 commits (all time) y: 42 lines of code hq/app/aws/support/TrustedAdvisorS3.scala x: 21 commits (all time) y: 77 lines of code hq/app/aws/support/TrustedAdvisorSGOpenPorts.scala x: 15 commits (all time) y: 63 lines of code hq/app/config/Config.scala x: 80 commits (all time) y: 176 lines of code hq/app/db/IamRemediationDb.scala x: 22 commits (all time) y: 153 lines of code hq/app/logging/Cloudwatch.scala x: 45 commits (all time) y: 61 lines of code hq/app/notifications/AnghammaradNotifications.scala x: 24 commits (all time) y: 95 lines of code hq/app/services/IamRemediationService.scala x: 28 commits (all time) y: 133 lines of code hq/app/controllers/AuthController.scala x: 13 commits (all time) y: 25 lines of code hq/app/filters/HstsFilter.scala x: 6 commits (all time) y: 9 lines of code cdk/lib/security-hq.ts x: 71 commits (all time) y: 230 lines of code hq/conf/riff-raff.yaml x: 36 commits (all time) y: 26 lines of code hq/app/controllers/HQController.scala x: 55 commits (all time) y: 32 lines of code hq/app/services/MetricService.scala x: 19 commits (all time) y: 57 lines of code hq/app/views/header.scala.html x: 34 commits (all time) y: 36 lines of code hq/app/views/index.scala.html x: 46 commits (all time) y: 38 lines of code hq/public/stylesheets/main.css x: 88 commits (all time) y: 142 lines of code hq/app/views/main.scala.html x: 29 commits (all time) y: 51 lines of code hq/app/logic/DocumentUtil.scala x: 12 commits (all time) y: 25 lines of code hq/app/AppLoader.scala x: 17 commits (all time) y: 9 lines of code hq/app/auth/SecurityHQAuthActions.scala x: 11 commits (all time) y: 19 lines of code hq/app/utils/attempt/Attempt.scala x: 31 commits (all time) y: 123 lines of code hq/app/logic/CredentialsReportDisplay.scala x: 28 commits (all time) y: 137 lines of code hq/app/model/iamremediation.scala x: 11 commits (all time) y: 55 lines of code hq/app/logic/IamOutdatedCredentials.scala x: 2 commits (all time) y: 136 lines of code hq/app/logic/DateUtils.scala x: 12 commits (all time) y: 15 lines of code hq/app/logic/VulnerableAccessKeys.scala x: 6 commits (all time) y: 19 lines of code hq/app/views/fragments/credentialsHelp.scala.html x: 7 commits (all time) y: 58 lines of code hq/app/views/fragments/humanReportStatus.scala.html x: 9 commits (all time) y: 36 lines of code hq/app/views/fragments/machineReportStatus.scala.html x: 9 commits (all time) y: 22 lines of code hq/app/utils/Box.scala x: 3 commits (all time) y: 10 lines of code hq/conf/logback.xml x: 7 commits (all time) y: 30 lines of code hq/app/views/documentationHome.scala.html x: 7 commits (all time) y: 33 lines of code hq/app/views/fragments/allKeyStatus.scala.html x: 15 commits (all time) y: 24 lines of code hq/app/utils/attempt/PlayIntegration.scala x: 9 commits (all time) y: 16 lines of code hq/app/views/fragments/bucketsHelp.scala.html x: 3 commits (all time) y: 40 lines of code hq/app/views/doc.scala.html x: 10 commits (all time) y: 20 lines of code hq/app/views/fragments/warningMessage.scala.html x: 1 commits (all time) y: 10 lines of code hq/app/views/error.scala.html x: 5 commits (all time) y: 13 lines of code hq/app/views/loginError.scala.html x: 6 commits (all time) y: 10 lines of code hq/app/logic/Retry.scala x: 7 commits (all time) y: 19 lines of code hq/public/images/favicon/browserconfig.xml x: 1 commits (all time) y: 9 lines of code
230.0
lines of code
  min: 8.0
  average: 65.67
  25th percentile: 19.5
  median: 42.0
  75th percentile: 107.0
  max: 230.0
0 322.0
commits (all time)
min: 1.0 | average: 34.0 | 25th percentile: 9.0 | median: 19.0 | 75th percentile: 44.5 | max: 322.0

File Size vs. Contributors (all time): 61 points

build.sbt x: 30 contributors (all time) y: 99 lines of code hq/app/aws/AwsAsyncHandler.scala x: 11 contributors (all time) y: 34 lines of code project/plugins.sbt x: 17 contributors (all time) y: 10 lines of code hq/app/aws/iam/CredentialsReport.scala x: 11 contributors (all time) y: 108 lines of code hq/app/aws/AWS.scala x: 15 contributors (all time) y: 74 lines of code hq/app/services/CacheService.scala x: 20 contributors (all time) y: 189 lines of code hq/app/utils/attempt/Failure.scala x: 14 contributors (all time) y: 106 lines of code hq/app/logic/IamUnrecognisedUsers.scala x: 6 contributors (all time) y: 121 lines of code cloudformation/watched-account.template.yaml x: 17 contributors (all time) y: 58 lines of code hq/app/model/models.scala x: 24 contributors (all time) y: 197 lines of code hq/public/javascripts/app.js x: 11 contributors (all time) y: 117 lines of code hq/app/AppComponents.scala x: 22 contributors (all time) y: 158 lines of code hq/app/aws/AwsClient.scala x: 4 contributors (all time) y: 8 lines of code hq/app/aws/cloudformation/CloudFormation.scala x: 9 contributors (all time) y: 40 lines of code hq/app/aws/ec2/EC2.scala x: 19 contributors (all time) y: 17 lines of code hq/app/aws/iam/IAMClient.scala x: 19 contributors (all time) y: 138 lines of code hq/app/aws/package.scala x: 6 contributors (all time) y: 48 lines of code hq/app/aws/s3/S3.scala x: 6 contributors (all time) y: 51 lines of code hq/app/aws/support/TrustedAdvisor.scala x: 13 contributors (all time) y: 99 lines of code hq/app/aws/support/TrustedAdvisorExposedIAMKeys.scala x: 10 contributors (all time) y: 42 lines of code hq/app/aws/support/TrustedAdvisorS3.scala x: 8 contributors (all time) y: 77 lines of code hq/app/aws/support/TrustedAdvisorSGOpenPorts.scala x: 8 contributors (all time) y: 63 lines of code hq/app/config/Config.scala x: 22 contributors (all time) y: 176 lines of code hq/app/db/IamRemediationDb.scala x: 6 contributors (all time) y: 153 lines of code hq/app/logging/Cloudwatch.scala x: 11 contributors (all time) y: 61 lines of code hq/app/notifications/AnghammaradNotifications.scala x: 8 contributors (all time) y: 95 lines of code hq/app/services/IamRemediationService.scala x: 7 contributors (all time) y: 133 lines of code hq/app/controllers/AuthController.scala x: 8 contributors (all time) y: 25 lines of code hq/app/filters/HstsFilter.scala x: 3 contributors (all time) y: 9 lines of code cdk/lib/security-hq.ts x: 14 contributors (all time) y: 230 lines of code hq/conf/riff-raff.yaml x: 13 contributors (all time) y: 26 lines of code hq/app/controllers/HQController.scala x: 14 contributors (all time) y: 32 lines of code hq/app/services/MetricService.scala x: 8 contributors (all time) y: 57 lines of code hq/app/views/header.scala.html x: 11 contributors (all time) y: 36 lines of code hq/app/views/index.scala.html x: 13 contributors (all time) y: 38 lines of code hq/public/stylesheets/main.css x: 16 contributors (all time) y: 142 lines of code hq/app/views/main.scala.html x: 11 contributors (all time) y: 51 lines of code hq/app/logic/DocumentUtil.scala x: 9 contributors (all time) y: 25 lines of code hq/app/AppLoader.scala x: 8 contributors (all time) y: 9 lines of code hq/app/auth/SecurityHQAuthActions.scala x: 8 contributors (all time) y: 19 lines of code hq/app/utils/attempt/Attempt.scala x: 11 contributors (all time) y: 123 lines of code hq/app/logic/CredentialsReportDisplay.scala x: 8 contributors (all time) y: 137 lines of code hq/app/model/iamremediation.scala x: 3 contributors (all time) y: 55 lines of code hq/app/logic/IamOutdatedCredentials.scala x: 1 contributors (all time) y: 136 lines of code hq/app/logic/DateUtils.scala x: 6 contributors (all time) y: 15 lines of code hq/app/logic/VulnerableAccessKeys.scala x: 2 contributors (all time) y: 19 lines of code hq/app/views/fragments/credentialsHelp.scala.html x: 5 contributors (all time) y: 58 lines of code hq/app/views/fragments/humanReportStatus.scala.html x: 7 contributors (all time) y: 36 lines of code hq/app/views/fragments/machineReportStatus.scala.html x: 7 contributors (all time) y: 22 lines of code hq/app/utils/Box.scala x: 1 contributors (all time) y: 10 lines of code hq/conf/logback.xml x: 4 contributors (all time) y: 30 lines of code hq/app/views/documentationHome.scala.html x: 4 contributors (all time) y: 33 lines of code hq/app/views/fragments/allKeyStatus.scala.html x: 7 contributors (all time) y: 24 lines of code hq/app/utils/attempt/PlayIntegration.scala x: 6 contributors (all time) y: 16 lines of code hq/app/views/fragments/bucketsHelp.scala.html x: 2 contributors (all time) y: 40 lines of code hq/app/views/doc.scala.html x: 5 contributors (all time) y: 20 lines of code hq/app/views/error.scala.html x: 4 contributors (all time) y: 13 lines of code hq/app/views/loginError.scala.html x: 3 contributors (all time) y: 10 lines of code hq/public/images/favicon/browserconfig.xml x: 1 contributors (all time) y: 9 lines of code
230.0
lines of code
  min: 8.0
  average: 65.67
  25th percentile: 19.5
  median: 42.0
  75th percentile: 107.0
  max: 230.0
0 30.0
contributors (all time)
min: 1.0 | average: 9.51 | 25th percentile: 5.0 | median: 8.0 | 75th percentile: 13.0 | max: 30.0

File Size vs. Commits (30 days): 1 points

build.sbt x: 1 commits (30d) y: 99 lines of code
99.0
lines of code
  min: 99.0
  average: 99.0
  25th percentile: 99.0
  median: 99.0
  75th percentile: 99.0
  max: 99.0
0 1.0
commits (30d)
min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.0

File Size vs. Contributors (30 days): 1 points

build.sbt x: 1 contributors (30d) y: 99 lines of code
99.0
lines of code
  min: 99.0
  average: 99.0
  25th percentile: 99.0
  median: 99.0
  75th percentile: 99.0
  max: 99.0
0 1.0
contributors (30d)
min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.0

File Size vs. Commits (90 days): 3 points

build.sbt x: 17 commits (90d) y: 99 lines of code hq/app/aws/AwsAsyncHandler.scala x: 3 commits (90d) y: 34 lines of code project/plugins.sbt x: 1 commits (90d) y: 10 lines of code
99.0
lines of code
  min: 10.0
  average: 47.67
  25th percentile: 10.0
  median: 34.0
  75th percentile: 99.0
  max: 99.0
0 17.0
commits (90d)
min: 1.0 | average: 7.0 | 25th percentile: 1.0 | median: 3.0 | 75th percentile: 17.0 | max: 17.0

File Size vs. Contributors (90 days): 3 points

build.sbt x: 6 contributors (90d) y: 99 lines of code hq/app/aws/AwsAsyncHandler.scala x: 2 contributors (90d) y: 34 lines of code project/plugins.sbt x: 1 contributors (90d) y: 10 lines of code
99.0
lines of code
  min: 10.0
  average: 47.67
  25th percentile: 10.0
  median: 34.0
  75th percentile: 99.0
  max: 99.0
0 6.0
contributors (90d)
min: 1.0 | average: 3.0 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 6.0 | max: 6.0