Repository Analysis

fluent/fluentd

Fluentd: Unified Logging Layer (project under CNCF)

4.8 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of fluent/fluentd, a Ruby project with 13,556 GitHub stars. SynthScan v2.0 examined 113,316 lines of code across 474 source files, recording 511 pattern matches distributed across 10 syntactic categories. The overall adjusted score of 4.8 places this repository in the Likely human-written band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

4.8
Adjusted Score
4.8
Raw Score
100%
Time Factor
2026-07-14
Last Push
13.6K
Stars
Ruby
Language
113.3K
Lines of Code
474
Files
511
Pattern Hits
2026-07-14
Scan Date
0.00
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 0HIGH 0MEDIUM 11LOW 500

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 511 distinct pattern matches across 10 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Over-Commented Block265 hits · 265 pts
SeverityFileLineSnippetContext
LOWtest/test_configdsl.rb1require_relative 'helper'COMMENT
LOWtest/config/test_configurable.rb101 ary + [@nodes, @description1, @description2, @description3]COMMENT
LOWtest/plugin/test_in_tail.rb3121 # This reproduces the case where the notify to TailWatcher comes before the new file for the pathCOMMENT
LOWtest/plugin/test_in_tail.rb3321 Fluent::FileWrapper.open("#{@tmp_dir}/tail.txt0", "ab") {|f| f.puts "file1 log2"}COMMENT
LOWtest/plugin/test_buffer.rb881 # Write 42 events in 1 event stream, last one is for triggering `ShouldRetry`COMMENT
LOWtest/plugin/test_buffer.rb941 # Write 42 events in 1 event stream, last one is for triggering `ShouldRetry`COMMENT
LOWtest/scripts/fluent/plugin/out_test.rb1#COMMENT
LOWtest/scripts/fluent/plugin/out_test2.rb1#COMMENT
LOW.github/workflows/scorecards.yml41 # - you want to enable the Branch-Protection check on a *public* repository, orCOMMENT
LOWlib/fluent/counter.rb1#COMMENT
LOWlib/fluent/match.rb1#COMMENT
LOWlib/fluent/match.rb81 escape = trueCOMMENT
LOWlib/fluent/output.rb1#COMMENT
LOWlib/fluent/timezone.rb1#COMMENT
LOWlib/fluent/timezone.rb41 # such as PST and JST are not supported intentionally.COMMENT
LOWlib/fluent/plugin_id.rb1#COMMENT
LOWlib/fluent/fluent_log_event_router.rb1#COMMENT
LOWlib/fluent/source_only_buffer_agent.rb1#COMMENT
LOWlib/fluent/label.rb1#COMMENT
LOWlib/fluent/input.rb1#COMMENT
LOWlib/fluent/agent.rb1#COMMENT
LOWlib/fluent/static_config_analysis.rb1#COMMENT
LOWlib/fluent/filter.rb1#COMMENT
LOWlib/fluent/root_agent.rb1#COMMENT
LOWlib/fluent/root_agent.rb21require 'fluent/label'COMMENT
LOWlib/fluent/process.rb1#COMMENT
LOWlib/fluent/system_config.rb1#COMMENT
LOWlib/fluent/plugin.rb1#COMMENT
LOWlib/fluent/output_chain.rb1#COMMENT
LOWlib/fluent/parser.rb1#COMMENT
LOWlib/fluent/tls.rb1#COMMENT
LOWlib/fluent/engine.rb1#COMMENT
LOWlib/fluent/rpc.rb1#COMMENT
LOWlib/fluent/capability.rb1#COMMENT
LOWlib/fluent/winsvc.rb1#COMMENT
LOWlib/fluent/ext_monitor_require.rb1#COMMENT
LOWlib/fluent/daemonizer.rb1#COMMENT
LOWlib/fluent/variable_store.rb1#COMMENT
LOWlib/fluent/test.rb1#COMMENT
LOWlib/fluent/registry.rb1#COMMENT
LOWlib/fluent/msgpack_factory.rb1#COMMENT
LOWlib/fluent/supervisor.rb1#COMMENT
LOWlib/fluent/win32api.rb1#COMMENT
LOWlib/fluent/unique_id.rb1#COMMENT
LOWlib/fluent/configurable.rb1#COMMENT
LOWlib/fluent/clock.rb1#COMMENT
LOWlib/fluent/config.rb1#COMMENT
LOWlib/fluent/env.rb1#COMMENT
LOWlib/fluent/version.rb1#COMMENT
LOWlib/fluent/error.rb1#COMMENT
LOWlib/fluent/event_router.rb1#COMMENT
LOWlib/fluent/event_router.rb21COMMENT
LOWlib/fluent/mixin.rb1#COMMENT
LOWlib/fluent/log.rb1#COMMENT
LOWlib/fluent/log.rb101 # ERROR = 3COMMENT
LOWlib/fluent/time.rb1#COMMENT
LOWlib/fluent/event.rb1#COMMENT
LOWlib/fluent/plugin_helper.rb1#COMMENT
LOWlib/fluent/formatter.rb1#COMMENT
LOWlib/fluent/file_wrapper.rb1#COMMENT
205 more matches not shown…
Hyper-Verbose Identifiers164 hits · 169 pts
SeverityFileLineSnippetContext
LOWtasks/backport.rb18def append_additional_arguments(commands)CODE
LOWtest/test_formatter.rb237 def test_config_params_with_customized_delimiters(data)CODE
LOWtest/test_formatter.rb288 def test_format_with_empty_fields(data)CODE
LOWtest/test_formatter.rb300 def test_config_params_with_fields(data)CODE
LOWtest/test_supervisor.rb490 def test_fluentsigdump_get_path_with_pid(data)CODE
LOWtest/test_supervisor.rb569 def test_invalid_rpc_endpoint(data)CODE
LOWtest/test_supervisor.rb760 def test_logger_with_rotate_age_and_rotate_size(rotate_age)CODE
LOWtest/test_supervisor.rb973 def test_zero_downtime_restart((daemonize, wait_success, wait_sleep, restart_canceled))CODE
LOWtest/test_event.rb8 def assert_duplicated_records(es1, es2)CODE
LOWtest/test_log.rb85 def test_output_with_serverengine_loglevel(data)CODE
LOWtest/test_log.rb150 def test_output_with_block_with_serverengine_loglevel(data)CODE
LOWtest/test_log.rb214 def test_execute_block_with_serverengine_loglevel(data)CODE
LOWtest/test_log.rb290 def test_backtrace_with_serverengine_loglevel(data)CODE
LOWtest/plugin_helper/test_server.rb957 def create_server_pair_signed_by_self(cert_path, private_key_path, passphrase)CODE
LOWtest/plugin_helper/test_server.rb963 def create_ca_pair_signed_by_self(cert_path, private_key_path, passphrase)CODE
LOWtest/plugin_helper/test_server.rb968 def create_server_pair_signed_by_ca(ca_cert_path, ca_key_path, ca_key_passphrase, cert_path, private_key_path, passphrCODE
LOWtest/plugin_helper/test_server.rb974 def create_server_pair_chained_with_root_ca(ca_cert_path, ca_key_path, ca_key_passphrase, cert_path, private_key_path,CODE
LOWtest/plugin_helper/test_service_discovery.rb11 def service_discovery_create_manager(title, configurations:, load_balancer: nil, custom_build_method: nil, interval:CODE
LOWtest/plugin_helper/data/cert/generate_cert.rb41def create_server_pair_signed_by_self(cert_path, private_key_path, passphrase)CODE
LOWtest/plugin_helper/data/cert/generate_cert.rb47def create_ca_pair_signed_by_self(cert_path, private_key_path, passphrase)CODE
LOWtest/plugin_helper/data/cert/generate_cert.rb53def create_server_pair_signed_by_ca(ca_cert_path, ca_key_path, ca_key_passphrase, cert_path, private_key_path, passphrasCODE
LOWtest/plugin_helper/data/cert/generate_cert.rb87def create_cert_pair_chained_with_root_ca(ca_cert_path, ca_key_path, ca_key_passphrase, cert_path, private_key_path, pasCODE
LOWtest/compat/test_parser.rb86 def test_regexp_parser_config(options)CODE
LOWtest/config/assertions.rb17 def assert_text_parsed_as_json(expected, actual)CODE
LOWtest/config/test_config_parser.rb231 def test_rejects_at_prefix_in_the_parameter_name(data)CODE
LOWtest/config/test_config_parser.rb244 def test_not_reject_at_prefix_in_the_parameter_name(data)CODE
LOWtest/plugin/test_formatter_csv.rb42 def test_config_params_with_customized_delimiters(data)CODE
LOWtest/plugin/test_formatter_csv.rb106 def test_format_with_empty_fields(data)CODE
LOWtest/plugin/test_formatter_csv.rb116 def test_config_params_with_fields(data)CODE
LOWtest/plugin/test_in_syslog.rb61 def test_configure_resolve_hostname(param)CODE
LOWtest/plugin/test_in_syslog.rb252 def test_msg_size_with_severity_key(param_name)CODE
LOWtest/plugin/test_in_syslog.rb410 def compare_unmatched_lines_test_result(events, tests, options = {})CODE
LOWtest/plugin/test_base.rb157 def assert_system_config_workers_value(data)CODE
LOWtest/plugin/test_in_tail.rb490 def test_emit_with_read_lines_limit(data)CODE
LOWtest/plugin/test_in_tail.rb530 def test_emit_with_read_bytes_limit_per_second(data)CODE
LOWtest/plugin/test_in_tail.rb595 def test_emit_with_read_bytes_limit_per_second(data)CODE
LOWtest/plugin/test_in_tail.rb728 def test_emit_with_read_from_head(data)CODE
LOWtest/plugin/test_in_tail.rb754 def test_emit_without_watch_timer(data)CODE
LOWtest/plugin/test_in_tail.rb812 def test_emit_with_disable_stat_watcher(data)CODE
LOWtest/plugin/test_in_tail.rb929 def test_rotate_file_with_read_from_head(data)CODE
LOWtest/plugin/test_in_tail.rb938 def test_rotate_file_with_open_on_every_update(data)CODE
LOWtest/plugin/test_in_tail.rb947 def test_rotate_file_with_write_old(data)CODE
LOWtest/plugin/test_in_tail.rb969 def test_rotate_file_with_write_old_and_no_new_file(data)CODE
LOWtest/plugin/test_in_tail.rb1281 def test_multiline_with_emit_unmatched_lines_true(data)CODE
LOWtest/plugin/test_in_tail.rb1338 def test_multiline_with_flush_interval(data)CODE
LOWtest/plugin/test_in_tail.rb1372 def test_multiline_encoding_of_flushed_record(data)CODE
LOWtest/plugin/test_in_tail.rb1435 def test_multiline_with_multiple_formats(data)CODE
LOWtest/plugin/test_in_tail.rb1476 def test_multilinelog_with_multiple_paths(data)CODE
LOWtest/plugin/test_in_tail.rb1521 def test_multiline_without_firstline(data)CODE
LOWtest/plugin/test_in_tail.rb2712 def test_lines_collected_with_no_throttling(data)CODE
LOWtest/plugin/test_formatter_json.rb55 def test_format_with_symbolic_record(data)CODE
LOWtest/plugin/test_in_forward.rb1315 def execute_test_with_source_hostname_key(*keys, &block)CODE
LOWtest/plugin/test_parser_json.rb88 def test_parse_with_duplicated_key(data)CODE
LOWtest/plugin/test_parser_json.rb110 def test_parse_with_large_float(data)CODE
LOWtest/plugin/test_parser_json.rb144 def test_parse_with_colon_string(data)CODE
LOWtest/plugin/test_parser_json.rb152 def test_parse_with_invalid_time(data)CODE
LOWtest/plugin/test_parser_json.rb171 def test_parse_with_keep_time_key(data)CODE
LOWtest/plugin/test_parser_json.rb187 def test_parse_with_keep_time_key_without_time_format(data)CODE
LOWtest/plugin/test_parser_json.rb232 def test_parse_io_warns_on_truncated_stream(data)CODE
LOWtest/plugin/test_parser_json.rb260 def test_parse_io_does_not_warn_on_complete_stream(data)CODE
104 more matches not shown…
Fake / Example Data62 hits · 62 pts
SeverityFileLineSnippetContext
LOWtest/config/test_yaml_parser.rb23 $id: dummy_idCODE
LOWtest/config/test_yaml_parser.rb31 assert_equal('dummy_id', config.elements[0]['@id'])CODE
LOWtest/plugin/test_output_as_buffered.rb1400 dummy_data = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxCODE
LOWtest/plugin/test_output_as_buffered.rb1402 ["test.tag.1", event_time('2016-04-13 14:03:21 +0900'), {"data" => dummy_data, "name" => "xxx", "service" => "a"CODE
LOWtest/plugin/test_output_as_buffered.rb1403 ["test.tag.2", event_time('2016-04-13 14:03:23 +0900'), {"data" => dummy_data, "name" => "yyy", "service" => "a"CODE
LOWtest/plugin/test_output_as_buffered.rb1404 ["test.tag.1", event_time('2016-04-13 14:03:29 +0900'), {"data" => dummy_data, "name" => "xxx", "service" => "a"CODE
LOWtest/plugin/test_output_as_buffered.rb1405 ["test.tag.1", event_time('2016-04-13 14:03:30 +0900'), {"data" => dummy_data, "name" => "xxx", "service" => "a"CODE
LOWtest/plugin/test_output_as_buffered.rb1406 ["test.tag.1", event_time('2016-04-13 14:03:33 +0900'), {"data" => dummy_data, "name" => "xxx", "service" => "a"CODE
LOWtest/plugin/test_output_as_buffered.rb1407 ["test.tag.1", event_time('2016-04-13 14:03:38 +0900'), {"data" => dummy_data, "name" => "xxx", "service" => "b"CODE
LOWtest/plugin/test_output_as_buffered.rb1408 ["test.tag.1", event_time('2016-04-13 14:03:43 +0900'), {"data" => dummy_data, "name" => "xxx", "service" => "a"CODE
LOWtest/plugin/test_output_as_buffered.rb1409 ["test.tag.1", event_time('2016-04-13 14:03:49 +0900'), {"data" => dummy_data, "name" => "xxx", "service" => "b"CODE
LOWtest/plugin/test_output_as_buffered.rb1410 ["test.tag.2", event_time('2016-04-13 14:03:51 +0900'), {"data" => dummy_data, "name" => "yyy", "service" => "a"CODE
LOWtest/plugin/test_output_as_buffered.rb1411 ["test.tag.1", event_time('2016-04-13 14:04:00 +0900'), {"data" => dummy_data, "name" => "xxx", "service" => "a"CODE
LOWtest/plugin/test_output_as_buffered.rb1412 ["test.tag.2", event_time('2016-04-13 14:04:01 +0900'), {"data" => dummy_data, "name" => "yyy", "service" => "a"CODE
LOWtest/plugin/test_output_as_buffered.rb1489 dummy_data = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxCODE
LOWtest/plugin/test_output_as_buffered.rb1491 ["test.tag.1", event_time('2016-04-13 14:03:21 +0900'), {"data" => dummy_data, "name" => "xxx", "service" => "a"CODE
LOWtest/plugin/test_output_as_buffered.rb1492 ["test.tag.2", event_time('2016-04-13 14:03:23 +0900'), {"data" => dummy_data, "name" => "yyy", "service" => "a"CODE
LOWtest/plugin/test_output_as_buffered.rb1493 ["test.tag.1", event_time('2016-04-13 14:03:29 +0900'), {"data" => dummy_data, "name" => "xxx", "service" => "a"CODE
LOWtest/plugin/test_output_as_buffered.rb1494 ["test.tag.1", event_time('2016-04-13 14:03:30 +0900'), {"data" => dummy_data, "name" => "xxx", "service" => "a"CODE
LOWtest/plugin/test_output_as_buffered.rb1495 ["test.tag.1", event_time('2016-04-13 14:03:33 +0900'), {"data" => dummy_data, "name" => "xxx", "service" => "a"CODE
LOWtest/plugin/test_output_as_buffered.rb1496 ["test.tag.1", event_time('2016-04-13 14:03:38 +0900'), {"data" => dummy_data, "name" => "xxx", "service" => "b"CODE
LOWtest/plugin/test_output_as_buffered.rb1497 ["test.tag.1", event_time('2016-04-13 14:03:43 +0900'), {"data" => dummy_data, "name" => "xxx", "service" => "a"CODE
LOWtest/plugin/test_output_as_buffered.rb1498 ["test.tag.1", event_time('2016-04-13 14:03:49 +0900'), {"data" => dummy_data, "name" => "xxx", "service" => "b"CODE
LOWtest/plugin/test_output_as_buffered.rb1499 ["test.tag.2", event_time('2016-04-13 14:03:51 +0900'), {"data" => dummy_data, "name" => "yyy", "service" => "a"CODE
LOWtest/plugin/test_output_as_buffered.rb1500 ["test.tag.1", event_time('2016-04-13 14:04:00 +0900'), {"data" => dummy_data, "name" => "xxx", "service" => "a"CODE
LOWtest/plugin/test_output_as_buffered.rb1501 ["test.tag.2", event_time('2016-04-13 14:04:01 +0900'), {"data" => dummy_data, "name" => "yyy", "service" => "a"CODE
LOWtest/plugin/test_output_as_buffered.rb1646 dummy_data = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxCODE
LOWtest/plugin/test_output_as_buffered.rb1648 ["test.tag.1", event_time('2016-04-13 14:03:21 +0900'), {"data" => dummy_data, "name" => "xxx", "service" => "a"CODE
LOWtest/plugin/test_output_as_buffered.rb1649 ["test.tag.2", event_time('2016-04-13 14:03:23 +0900'), {"data" => dummy_data, "name" => "yyy", "service" => "a"CODE
LOWtest/plugin/test_output_as_buffered.rb1650 ["test.tag.1", event_time('2016-04-13 14:03:29 +0900'), {"data" => dummy_data, "name" => "xxx", "service" => "a"CODE
LOWtest/plugin/test_output_as_buffered.rb1651 ["test.tag.1", event_time('2016-04-13 14:03:30 +0900'), {"data" => dummy_data, "name" => "xxx", "service" => "a"CODE
LOWtest/plugin/test_output_as_buffered.rb1652 ["test.tag.1", event_time('2016-04-13 14:03:33 +0900'), {"data" => dummy_data, "name" => "xxx", "service" => "a"CODE
LOWtest/plugin/test_output_as_buffered.rb1653 ["test.tag.1", event_time('2016-04-13 14:03:38 +0900'), {"data" => dummy_data, "name" => "xxx", "service" => "b"CODE
LOWtest/plugin/test_output_as_buffered.rb1654 ["test.tag.1", event_time('2016-04-13 14:03:43 +0900'), {"data" => dummy_data, "name" => "xxx", "service" => "a"CODE
LOWtest/plugin/test_output_as_buffered.rb1655 ["test.tag.1", event_time('2016-04-13 14:03:49 +0900'), {"data" => dummy_data, "name" => "xxx", "service" => "b"CODE
LOWtest/plugin/test_output_as_buffered.rb1656 ["test.tag.2", event_time('2016-04-13 14:03:51 +0900'), {"data" => dummy_data, "name" => "yyy", "service" => "a"CODE
LOWtest/plugin/test_output_as_buffered.rb1657 ["test.tag.1", event_time('2016-04-13 14:04:00 +0900'), {"data" => dummy_data, "name" => "xxx", "service" => "a"CODE
LOWtest/plugin/test_output_as_buffered.rb1658 ["test.tag.2", event_time('2016-04-13 14:04:01 +0900'), {"data" => dummy_data, "name" => "yyy", "service" => "a"CODE
LOWtest/plugin/test_output_as_buffered.rb1765 dummy_data = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxCODE
LOWtest/plugin/test_output_as_buffered.rb1767 ["test.tag.1", event_time('2016-04-13 14:03:21 +0900'), {"data" => dummy_data, "name" => "xxx", "service" => "a"CODE
LOWtest/plugin/test_output_as_buffered.rb1768 ["test.tag.2", event_time('2016-04-13 14:03:23 +0900'), {"data" => dummy_data, "name" => "yyy", "service" => "a"CODE
LOWtest/plugin/test_output_as_buffered.rb1769 ["test.tag.1", event_time('2016-04-13 14:03:29 +0900'), {"data" => dummy_data, "name" => "xxx", "service" => "a"CODE
LOWtest/plugin/test_output_as_buffered.rb1770 ["test.tag.1", event_time('2016-04-13 14:03:30 +0900'), {"data" => dummy_data, "name" => "xxx", "service" => "a"CODE
LOWtest/plugin/test_output_as_buffered.rb1771 ["test.tag.1", event_time('2016-04-13 14:03:33 +0900'), {"data" => dummy_data, "name" => "xxx", "service" => "a"CODE
LOWtest/plugin/test_output_as_buffered.rb1772 ["test.tag.1", event_time('2016-04-13 14:03:38 +0900'), {"data" => dummy_data, "name" => "xxx", "service" => "b"CODE
LOWtest/plugin/test_output_as_buffered.rb1773 ["test.tag.1", event_time('2016-04-13 14:03:43 +0900'), {"data" => dummy_data, "name" => "xxx", "service" => "a"CODE
LOWtest/plugin/test_output_as_buffered.rb1774 ["test.tag.1", event_time('2016-04-13 14:03:49 +0900'), {"data" => dummy_data, "name" => "xxx", "service" => "b"CODE
LOWtest/plugin/test_output_as_buffered.rb1775 ["test.tag.2", event_time('2016-04-13 14:03:51 +0900'), {"data" => dummy_data, "name" => "yyy", "service" => "a"CODE
LOWtest/plugin/test_output_as_buffered.rb1776 ["test.tag.1", event_time('2016-04-13 14:04:00 +0900'), {"data" => dummy_data, "name" => "xxx", "service" => "a"CODE
LOWtest/plugin/test_output_as_buffered.rb1777 ["test.tag.2", event_time('2016-04-13 14:04:01 +0900'), {"data" => dummy_data, "name" => "yyy", "service" => "a"CODE
LOWtest/plugin/test_output_as_buffered.rb1926 dummy_data = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxCODE
LOWtest/plugin/test_output_as_buffered.rb1928 ["test.tag.1", event_time('2016-04-13 14:03:21 +0900'), {"data" => dummy_data, "name" => "xxx", "service" => "a"CODE
LOWtest/plugin/test_output_as_buffered.rb1929 ["test.tag.2", event_time('2016-04-13 14:03:23 +0900'), {"data" => dummy_data, "name" => "yyy", "service" => "a"CODE
LOWtest/plugin/test_output_as_buffered.rb1930 ["test.tag.1", event_time('2016-04-13 14:03:29 +0900'), {"data" => dummy_data, "name" => "xxx", "service" => "a"CODE
LOWtest/plugin/test_output_as_buffered.rb1931 ["test.tag.1", event_time('2016-04-13 14:03:30 +0900'), {"data" => dummy_data, "name" => "xxx", "service" => "a"CODE
LOWtest/plugin/test_output_as_buffered.rb1932 ["test.tag.1", event_time('2016-04-13 14:03:33 +0900'), {"data" => dummy_data, "name" => "xxx", "service" => "a"CODE
LOWtest/plugin/test_output_as_buffered.rb1933 ["test.tag.1", event_time('2016-04-13 14:03:38 +0900'), {"data" => dummy_data, "name" => "xxx", "service" => "b"CODE
LOWtest/plugin/test_output_as_buffered.rb1934 ["test.tag.1", event_time('2016-04-13 14:03:43 +0900'), {"data" => dummy_data, "name" => "xxx", "service" => "a"CODE
LOWtest/plugin/test_output_as_buffered.rb1935 ["test.tag.1", event_time('2016-04-13 14:03:49 +0900'), {"data" => dummy_data, "name" => "xxx", "service" => "b"CODE
LOWtest/plugin/test_output_as_buffered.rb1936 ["test.tag.2", event_time('2016-04-13 14:03:51 +0900'), {"data" => dummy_data, "name" => "yyy", "service" => "a"CODE
2 more matches not shown…
Self-Referential Comments8 hits · 24 pts
SeverityFileLineSnippetContext
MEDIUMlib/fluent/timezone.rb98 # Create a formatter for a timezone and optionally a format.COMMENT
MEDIUMlib/fluent/fluent_log_event_router.rb35 # This class is for handling fluentd's inner logCOMMENT
MEDIUMlib/fluent/supervisor.rb998 # This method is the only method to set signal handlers in Fluentd worker process.COMMENT
MEDIUMlib/fluent/log.rb72 # Create a unique path for each process.COMMENT
MEDIUMlib/fluent/time.rb115 # This method is called many time. so call Process.clock_gettime directly instead of Fluent::Clock.real_nowCOMMENT
MEDIUMlib/fluent/plugin/buf_file_single.rb134 # This method is called only when multi worker is configuredCOMMENT
MEDIUMlib/fluent/plugin/buf_file.rb113 # This method is called only when multi worker is configuredCOMMENT
MEDIUMlib/fluent/plugin/in_tail/position_file.rb94 # This method is similar to #compact but it tries to get less lock to avoid a lock contentionCOMMENT
Decorative Section Separators2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMlib/fluent/plugin/in_http.rb508 # ==========COMMENT
MEDIUMlib/fluent/plugin/in_http.rb520 # =================COMMENT
Redundant / Tautological Comments3 hits · 4 pts
SeverityFileLineSnippetContext
LOWtasks/benchmark.rb36 # Output the results with markdown formatCOMMENT
LOWtest/plugin/test_out_http.rb196 # Check if an exception is raised on not JSON format useCOMMENT
LOWlib/fluent/plugin/output.rb882 # Check if the number of parent directory components (../) has increased due to variable substitutionCOMMENT
AI Slop Vocabulary2 hits · 4 pts
SeverityFileLineSnippetContext
MEDIUMlib/fluent/compat/file_util.rb35 # Check file is writable in conjunction with mkdir_p(dirname(path))COMMENT
LOWlib/fluent/plugin/in_tail.rb377 # When file is not created yet, Dir.glob returns an empty array. So just add when path is static.COMMENT
TODO Padding2 hits · 3 pts
SeverityFileLineSnippetContext
LOWtest/config/test_yaml_parser.rb511 # TODO: Fix exceptionCOMMENT
LOWlib/fluent/plugin_helper/socket.rb39 # TODO: implement connection pool for specified hostCOMMENT
Slop Phrases2 hits · 2 pts
SeverityFileLineSnippetContext
LOWtest/command/test_fluentd.rb1568 sleep 5 # make sure to flush each chunk (1s flush interval for 1chunk)CODE
LOWlib/fluent/fluent_log_event_router.rb130 # to make sure to emit all log events into router, before shutting downCOMMENT
Structural Annotation Overuse1 hit · 2 pts
SeverityFileLineSnippetContext
LOWlib/fluent/plugin/buffer.rb547 # NOTE: The following line might cause data race depending on Ruby implementations except CRubyCOMMENT