awslabs / logstash-output-amazon_es
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 18 files with 2,503 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 4 medium size files (1,406 lines of codeclsfd_ftr_w_mp_ins)
    • 5 small files (752 lines of code)
    • 9 very small files (345 lines of code)
0% | 0% | 56% | 30% | 13%
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% | 56% | 30% | 12%
gemspec0% | 0% | 0% | 0% | 100%
TXT0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
lib/logstash/outputs/amazon_es0% | 0% | 73% | 17% | 8%
spec/unit/outputs0% | 0% | 91% | 0% | 8%
lib/logstash/outputs/amazon_es/http_client0% | 0% | 77% | 22% | 0%
spec/unit/outputs/elasticsearch0% | 0% | 0% | 89% | 10%
spec/unit0% | 0% | 0% | 100% | 0%
spec/unit/outputs/elasticsearch/http_client0% | 0% | 0% | 66% | 33%
lib/logstash/outputs0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
spec0% | 0% | 0% | 0% | 100%
Longest Files (Top 18)
File# lines# units
elasticsearch_spec.rb
in spec/unit/outputs
500 -
pool.rb
in lib/logstash/outputs/amazon_es/http_client
364 42
http_client.rb
in lib/logstash/outputs/amazon_es
281 27
common.rb
in lib/logstash/outputs/amazon_es
261 19
http_client_spec.rb
in spec/unit/outputs/elasticsearch
189 -
http_client_builder_spec.rb
in spec/unit
168 -
pool_spec.rb
in spec/unit/outputs/elasticsearch/http_client
158 -
http_client_builder.rb
in lib/logstash/outputs/amazon_es
133 5
manticore_adapter.rb
in lib/logstash/outputs/amazon_es/http_client
104 7
manticore_adapter_spec.rb
in spec/unit/outputs/elasticsearch/http_client
81 -
amazon_es.rb
in lib/logstash/outputs
69 2
error_whitelist_spec.rb
in spec/unit/outputs
49 -
common_configs.rb
in lib/logstash/outputs/amazon_es
35 1
template_manager.rb
in lib/logstash/outputs/amazon_es
31 5
es_spec_helper.rb
in spec
25 3
logstash-output-amazon_es.gemspec
in root
23 -
template_manager_spec.rb
in spec/unit/outputs/elasticsearch
23 -
TXT
NOTICE.TXT
in root
9 -
Files With Most Units (Top 9)
File# lines# units
pool.rb
in lib/logstash/outputs/amazon_es/http_client
364 42
http_client.rb
in lib/logstash/outputs/amazon_es
281 27
common.rb
in lib/logstash/outputs/amazon_es
261 19
manticore_adapter.rb
in lib/logstash/outputs/amazon_es/http_client
104 7
template_manager.rb
in lib/logstash/outputs/amazon_es
31 5
http_client_builder.rb
in lib/logstash/outputs/amazon_es
133 5
es_spec_helper.rb
in spec
25 3
amazon_es.rb
in lib/logstash/outputs
69 2
common_configs.rb
in lib/logstash/outputs/amazon_es
35 1
Files With Long Lines (Top 13)

There are 13 files with lines longer than 120 characters. In total, there are 35 long lines.

File# lines# units# long lines
common.rb
in lib/logstash/outputs/amazon_es
261 19 6
pool.rb
in lib/logstash/outputs/amazon_es/http_client
364 42 5
http_client.rb
in lib/logstash/outputs/amazon_es
281 27 4
manticore_adapter.rb
in lib/logstash/outputs/amazon_es/http_client
104 7 3
common_configs.rb
in lib/logstash/outputs/amazon_es
35 1 3
http_client_builder.rb
in lib/logstash/outputs/amazon_es
133 5 3
pool_spec.rb
in spec/unit/outputs/elasticsearch/http_client
158 - 3
elasticsearch_spec.rb
in spec/unit/outputs
500 - 3
template_manager.rb
in lib/logstash/outputs/amazon_es
31 5 1
logstash-output-amazon_es.gemspec
in root
23 - 1
es_spec_helper.rb
in spec
25 3 1
manticore_adapter_spec.rb
in spec/unit/outputs/elasticsearch/http_client
81 - 1
http_client_spec.rb
in spec/unit/outputs/elasticsearch
189 - 1