aws-samples / kinesis-auto-scaling
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 11 files with 6,949 lines of code.
    • 4 very long files (6,137 lines of code)
    • 0 long files (0 lines of code)
    • 1 medium size files (442 lines of codeclsfd_ftr_w_mp_ins)
    • 1 small files (191 lines of code)
    • 5 very small files (179 lines of code)
88% | 0% | 6% | 2% | 2%
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
go100% | 0% | 0% | 0% | 0%
yaml0% | 0% | 100% | 0% | 0%
tf0% | 0% | 0% | 51% | 48%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
golang/mocks/aws100% | 0% | 0% | 0% | 0%
ROOT0% | 0% | 100% | 0% | 0%
terraform0% | 0% | 0% | 51% | 48%
Longest Files (Top 11)
File# lines# units
mock_lambda.go
in golang/mocks/aws
2160 340
mock_sns.go
in golang/mocks/aws
1402 220
mock_cloudwatch.go
in golang/mocks/aws
1363 214
mock_kinesis.go
in golang/mocks/aws
1212 190
kinesis_scaling_cf.yaml
in root
442 -
stream.tf
in terraform
191 -
scale_iam.tf
in terraform
86 -
scale.tf
in terraform
69 -
scale_sns_topic.tf
in terraform
18 -
variables.tf
in terraform
4 -
data.tf
in terraform
2 -
Files With Most Units (Top 4)
File# lines# units
mock_lambda.go
in golang/mocks/aws
2160 340
mock_sns.go
in golang/mocks/aws
1402 220
mock_cloudwatch.go
in golang/mocks/aws
1363 214
mock_kinesis.go
in golang/mocks/aws
1212 190
Files With Long Lines (Top 7)

There are 7 files with lines longer than 120 characters. In total, there are 1023 long lines.

File# lines# units# long lines
mock_lambda.go
in golang/mocks/aws
2160 340 357
mock_cloudwatch.go
in golang/mocks/aws
1363 214 243
mock_sns.go
in golang/mocks/aws
1402 220 216
mock_kinesis.go
in golang/mocks/aws
1212 190 199
kinesis_scaling_cf.yaml
in root
442 - 4
stream.tf
in terraform
191 - 3
scale.tf
in terraform
69 - 1