awslabs / aws-crt-ruby
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 45 files with 2,385 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 2 medium size files (574 lines of codeclsfd_ftr_w_mp_ins)
    • 3 small files (372 lines of code)
    • 40 very small files (1,439 lines of code)
0% | 0% | 24% | 15% | 60%
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
rb0% | 0% | 26% | 17% | 56%
rake0% | 0% | 0% | 0% | 100%
gemspec0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
gems/aws-sigv4/spec0% | 0% | 56% | 19% | 24%
gems/aws-sigv4/lib/aws-sigv40% | 0% | 76% | 0% | 23%
gems/aws-crt/lib/aws-crt0% | 0% | 0% | 23% | 76%
gems/aws-crt/spec/checksums0% | 0% | 0% | 100% | 0%
gems/aws-crt/spec/auth0% | 0% | 0% | 0% | 100%
gems/aws-crt/tasks0% | 0% | 0% | 0% | 100%
gems/aws-crt/spec0% | 0% | 0% | 0% | 100%
tasks0% | 0% | 0% | 0% | 100%
gems/aws-crt/ext0% | 0% | 0% | 0% | 100%
gems/aws-crt/spec/http0% | 0% | 0% | 0% | 100%
gems/aws-crt/spec/io0% | 0% | 0% | 0% | 100%
gems/aws-crt/lib0% | 0% | 0% | 0% | 100%
gems/aws-sigv40% | 0% | 0% | 0% | 100%
gems/aws-crt0% | 0% | 0% | 0% | 100%
gems/aws-sigv4/lib0% | 0% | 0% | 0% | 100%
Longest Files (Top 45)
File# lines# units
signer_spec.rb
in gems/aws-sigv4/spec
329 -
signer.rb
in gems/aws-sigv4/lib/aws-sigv4
245 19
native.rb
in gems/aws-crt/lib/aws-crt
155 6
sigv4a_suite_spec.rb
in gems/aws-sigv4/spec
116 -
crc_spec.rb
in gems/aws-crt/spec/checksums
101 1
signing_config_spec.rb
in gems/aws-crt/spec/auth
84 -
rake
gem.rake
in gems/aws-crt/tasks
80 -
rake
release.rake
in tasks
78 1
signer_spec.rb
in gems/aws-crt/spec/auth
74 -
spec_helper.rb
in gems/aws-sigv4/spec
67 3
compile.rb
in gems/aws-crt/ext
66 5
signing_config.rb
in gems/aws-crt/lib/aws-crt/auth
65 6
credentials.rb
in gems/aws-crt/lib/aws-crt/auth
53 2
errors.rb
in gems/aws-crt/lib/aws-crt
53 5
static_credentials_provider.rb
in gems/aws-crt/lib/aws-crt/auth
49 2
credential_spec.rb
in gems/aws-crt/spec/auth
47 -
platforms.rb
in gems/aws-crt/lib/aws-crt
43 7
managed_native.rb
in gems/aws-crt/lib/aws-crt
43 7
message.rb
in gems/aws-crt/lib/aws-crt/http
42 5
signable_spec.rb
in gems/aws-crt/spec/auth
42 -
suite_spec.rb
in gems/aws-sigv4/spec
41 -
static_credentials_provider_spec.rb
in gems/aws-crt/spec/auth
39 -
credentials.rb
in gems/aws-sigv4/lib/aws-sigv4
38 4
event_loop_group.rb
in gems/aws-crt/lib/aws-crt/io
35 2
errors_spec.rb
in gems/aws-crt/spec
35 -
sigv4a_signer_spec.rb
in gems/aws-sigv4/spec
34 -
signer.rb
in gems/aws-crt/lib/aws-crt/auth
33 1
string_blob.rb
in gems/aws-crt/lib/aws-crt
27 2
headers.rb
in gems/aws-crt/lib/aws-crt/http
25 2
native_spec.rb
in gems/aws-crt/spec
22 -
event_loop_group_spec.rb
in gems/aws-crt/spec/io
21 -
errors.rb
in gems/aws-sigv4/lib/aws-sigv4
21 2
crc.rb
in gems/aws-crt/lib/aws-crt/checksums
20 2
aws-crt.rb
in gems/aws-crt/lib
20 -
spec_helper.rb
in gems/aws-crt/spec
20 2
aws-sigv4.gemspec
in gems/aws-sigv4
17 -
signature.rb
in gems/aws-sigv4/lib/aws-sigv4
16 1
signable.rb
in gems/aws-crt/lib/aws-crt/auth
15 1
aws-crt.gemspec
in gems/aws-crt
15 -
message_spec.rb
in gems/aws-crt/spec/http
14 -
headers_spec.rb
in gems/aws-crt/spec/http
12 -
string_blob_spec.rb
in gems/aws-crt/spec
10 -
aws-sigv4.rb
in gems/aws-sigv4/lib
10 -
rake
compile.rake
in gems/aws-crt/tasks
9 -
extconf.rb
in gems/aws-crt/ext
4 -
Files With Most Units (Top 20)
File# lines# units
signer.rb
in gems/aws-sigv4/lib/aws-sigv4
245 19
platforms.rb
in gems/aws-crt/lib/aws-crt
43 7
managed_native.rb
in gems/aws-crt/lib/aws-crt
43 7
signing_config.rb
in gems/aws-crt/lib/aws-crt/auth
65 6
native.rb
in gems/aws-crt/lib/aws-crt
155 6
compile.rb
in gems/aws-crt/ext
66 5
errors.rb
in gems/aws-crt/lib/aws-crt
53 5
message.rb
in gems/aws-crt/lib/aws-crt/http
42 5
credentials.rb
in gems/aws-sigv4/lib/aws-sigv4
38 4
spec_helper.rb
in gems/aws-sigv4/spec
67 3
crc.rb
in gems/aws-crt/lib/aws-crt/checksums
20 2
credentials.rb
in gems/aws-crt/lib/aws-crt/auth
53 2
static_credentials_provider.rb
in gems/aws-crt/lib/aws-crt/auth
49 2
string_blob.rb
in gems/aws-crt/lib/aws-crt
27 2
event_loop_group.rb
in gems/aws-crt/lib/aws-crt/io
35 2
headers.rb
in gems/aws-crt/lib/aws-crt/http
25 2
spec_helper.rb
in gems/aws-crt/spec
20 2
errors.rb
in gems/aws-sigv4/lib/aws-sigv4
21 2
rake
release.rake
in tasks
78 1
signable.rb
in gems/aws-crt/lib/aws-crt/auth
15 1
Files With Long Lines (Top 3)

There are 3 files with lines longer than 120 characters. In total, there are 17 long lines.

File# lines# units# long lines
native.rb
in gems/aws-crt/lib/aws-crt
155 6 10
signing_config.rb
in gems/aws-crt/lib/aws-crt/auth
65 6 4
signer_spec.rb
in gems/aws-sigv4/spec
329 - 3