Repository Analysis

jekyll/jekyll

:globe_with_meridians: Jekyll is a blog-aware static site generator in Ruby

4.7 Likely human-written View on GitHub
4.7
Adjusted Score
4.7
Raw Score
100%
Time Factor
2026-04-22
Last Push
51,466
Stars
Ruby
Language
49,170
Lines of Code
480
Files
145
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 1MEDIUM 33LOW 111

Pattern Findings

145 matches across 8 categories. Click a row to expand file-level details.

Decorative Section Separators19 hits · 62 pts
SeverityFileLineSnippet
MEDIUM.rubocop.yml1# -----------------------------------------------------------------------------
MEDIUM.rubocop.yml7# -----------------------------------------------------------------------------
MEDIUM.rubocop.yml38# =======================
MEDIUM.rubocop.yml41# ----------------------------------------
MEDIUM.rubocop.yml50# ----------------------------------------
MEDIUM.rubocop.yml97# ----------------------------------------
MEDIUM.rubocop.yml210# ----------------------------------------
MEDIUM.rubocop.yml248# ----------------------------------------
MEDIUM.rubocop.yml321# ----------------------------------------
MEDIUM.rubocop.yml335# ----------------------------------------
MEDIUM.rubocop.yml380# ----------------------------------------
MEDIUM.rubocop.yml395# ----------------------------------------
MEDIUMbenchmark/conditional_liquid.rb76# ------------------------------------------------------------------------
MEDIUMbenchmark/conditional_liquid.rb92# ------------------------------------------------------------------------
MEDIUMrake/task_utils/rubocop_config_formatter.rb33 # -----------------------------------------------------------------------------
MEDIUMrake/task_utils/rubocop_config_formatter.rb39 # -----------------------------------------------------------------------------
MEDIUMrake/task_utils/rubocop_config_formatter.rb60 # =======================
MEDIUMdocs/_data/jekyll_filters.yml2# ---------------------------------------------------------------------------------------
MEDIUMdocs/_data/jekyll_filters.yml17# ---------------------------------------------------------------------------------------
Over-Commented Block60 hits · 60 pts
SeverityFileLineSnippet
LOW.rubocop_todo.yml1# This configuration was generated by
LOWbenchmark/schwartzian_transform.rb1#!/usr/bin/env ruby
LOWtest/helper.rb101 # file `test/source/symlink-test/symlinked-file-outside-source` but errors out since the linked
LOWdocs/_data/jekyll_filters.yml1#
LOWrubocop/jekyll/assert_equal_literal_actual.rb1# frozen_string_literal: true
LOW.github/workflows/codeql.yml41 # Prefix the list here with "+" to use these queries and those in the config file.
LOW.github/workflows/spelling.yml1name: Spell Check
LOW.github/workflows/spelling.yml21#
LOWlib/jekyll.rb141
LOWlib/site_template/_config.yml1# Welcome to Jekyll!
LOWlib/site_template/_config.yml41#
LOWlib/jekyll/convertible.rb1# frozen_string_literal: true
LOWlib/jekyll/static_file.rb141 # and additionally removes any multiple periods in the string.
LOWlib/jekyll/filters.rb41 ).convert(input)
LOWlib/jekyll/filters.rb61 # See Utils.slugify for more detail.
LOWlib/jekyll/filters.rb81 # CGI escape a string for use in a URL. Replaces any special characters
LOWlib/jekyll/filters.rb101 #
LOWlib/jekyll/filters.rb141 # word "and" for the last one.
LOWlib/jekyll/filters.rb161 "#{array[0...-1].join(", ")}, #{connector} #{array[-1]}"
LOWlib/jekyll/filters.rb221 end
LOWlib/jekyll/filters.rb281
LOWlib/jekyll/log_adapter.rb61 # topic - the topic of the message, e.g. "Configuration file", "Deprecation", etc.
LOWlib/jekyll/log_adapter.rb81 # topic - the topic of the message, e.g. "Configuration file", "Deprecation", etc.
LOWlib/jekyll/log_adapter.rb121 #
LOWlib/jekyll/excerpt.rb101 # the first two new lines:
LOWlib/jekyll/excerpt.rb121 #
LOWlib/jekyll/document.rb21
LOWlib/jekyll/document.rb81
LOWlib/jekyll/document.rb141 # The "cleaned" relative path is the relative path without the extname
LOWlib/jekyll/document.rb321
LOWlib/jekyll/path_manager.rb1# frozen_string_literal: true
LOWlib/jekyll/frontmatter_defaults.rb141 collections_dir = @site.config["collections_dir"]
LOWlib/jekyll/frontmatter_defaults.rb161 end
LOWlib/jekyll/plugin.rb41 # set the priority.
LOWlib/jekyll/collection.rb121 end
LOWlib/jekyll/collection.rb161
LOWlib/jekyll/reader.rb81
LOWlib/jekyll/reader.rb121 # Retrieve all the static files from the current directory,
LOWlib/jekyll/url.rb1# frozen_string_literal: true
LOWlib/jekyll/url.rb121 end
LOWlib/jekyll/url.rb141 # segment = *pchar
LOWlib/jekyll/utils.rb21 def titleize_slug(slug)
LOWlib/jekyll/utils.rb121 end
LOWlib/jekyll/utils.rb161 # cased - whether to replace all uppercase letters with their
LOWlib/jekyll/utils.rb181 #
LOWlib/jekyll/utils.rb221 slug.downcase! unless cased
LOWlib/jekyll/utils.rb241 # # => "/:basename/"
LOWlib/jekyll/utils.rb261 else
LOWlib/jekyll/utils.rb281 # # => ["path/.", "path/..", "path/file1"]
LOWlib/jekyll/site.rb241
LOWlib/jekyll/site.rb281 @site_data ||= (config["data"] || data)
LOWlib/jekyll/filters/date_filters.rb1# frozen_string_literal: true
LOWlib/jekyll/filters/date_filters.rb21 # Format a date in long format e.g. "27 January 2011".
LOWlib/jekyll/filters/date_filters.rb41 #
LOWlib/jekyll/drops/drop.rb101 list.reject! { |item| item.end_with?("=") }
LOWlib/jekyll/drops/drop.rb221 # Returns a Hash ready for JSON generation.
LOWlib/jekyll/converters/markdown.rb61 #
LOWlib/jekyll/utils/internet.rb1# frozen_string_literal: true
LOWlib/jekyll/commands/new.rb61 # Internal: Gets the filename of the sample post to be created
LOWlib/jekyll/readers/post_reader.rb21 # Read all the files in <source>/<dir>/_posts and create a new Document
Self-Referential Comments13 hits · 39 pts
SeverityFileLineSnippet
MEDIUMlib/jekyll/plugin_manager.rb7 # Create an instance of this class.
MEDIUMlib/jekyll/document.rb34 # Create a new Document.
MEDIUMlib/jekyll/document.rb143 # This method is useful when building the URL of the document.
MEDIUMlib/jekyll/document.rb315 # Create a Liquid-understandable version of this Document.
MEDIUMlib/jekyll/frontmatter_defaults.rb4 # This class handles custom defaults for YAML frontmatter settings.
MEDIUMlib/jekyll/collection.rb8 # Create a new Collection.
MEDIUMlib/jekyll/reader.rb174 # Create a single PostReader instance to retrieve drafts and posts from all valid
MEDIUMlib/jekyll/command.rb36 # Create a full Jekyll configuration with the options passed in as overrides
MEDIUMlib/jekyll/drops/drop.rb106 # Create a new Drop
MEDIUMlib/jekyll/commands/build.rb7 # Create the Mercenary command for the Jekyll CLI for this Command
MEDIUMlib/jekyll/commands/serve/servlet.rb8 # This class is used to determine if the Servlet should modify a served file
MEDIUMlib/jekyll/readers/page_reader.rb13 # Create a new `Jekyll::Page` object for each entry in a given array.
MEDIUMlib/jekyll/readers/static_file_reader.rb13 # Create a new StaticFile object for every entry in a given list of basenames.
Hyper-Verbose Identifiers27 hits · 27 pts
SeverityFileLineSnippet
LOWbenchmark/schwartzian_transform.rb33def sort_by_property_directly(docs, meta_key)
LOWtest/test_document.rb18 def setup_document_with_dates(filename)
LOWtest/test_tag_highlight.rb6 def render_content_with_text_to_highlight(code)
LOWtest/test_tag_highlight.rb29 def highlight_block_with_markup(markup)
LOWtest/test_static_file.rb24 def setup_static_file_with_collection(base, dir, name, metadata)
LOWtest/test_static_file.rb31 def setup_static_file_with_defaults(base, dir, name, defaults)
LOWtest/test_tag_link.rb6 def render_content_with_collection(content, collection_label)
LOWtest/test_theme_assets_reader.rb14 def assert_file_with_relative_path(haystack, relative_path)
LOWtest/test_theme_assets_reader.rb20 def refute_file_with_relative_path(haystack, relative_path)
LOWrubocop/jekyll/assert_equal_literal_actual.rb111 def replace_based_on_line_length(first_expression, second_expression)
LOWrubocop/jekyll/assert_equal_literal_actual.rb124 def replace_hash_with_variable(first_expression, second_expression)
LOWrubocop/jekyll/assert_equal_literal_actual.rb136 def replace_array_with_variable(first_expression, second_expression)
LOWlib/jekyll/filters.rb400 def compare_property_vs_target(property, target)
LOWlib/jekyll/external.rb54 def require_with_graceful_fail(names)
LOWlib/jekyll/excerpt.rb167 def extract_markdown_link_reference_definitions(head, tail)
LOWlib/jekyll/reader.rb200 def conditionally_generate_entry(entry_path, container, reader)
LOWlib/jekyll/utils.rb70 def pluralized_array_from_hash(hash, singular_key, plural_key)
LOWlib/jekyll/utils.rb349 def replace_character_sequence_with_hyphen(string, mode: "default")
LOWlib/jekyll/renderer.rb200 def add_regenerator_dependencies(layout)
LOWlib/jekyll/command.rb41 def configuration_from_options(options)
LOWlib/jekyll/command.rb90 def process_with_graceful_fail(cmd, options, *klass)
LOWlib/jekyll/configuration.rb100 def get_config_value_with_override(config_key, override)
LOWlib/jekyll/tags/highlight.rb93 def line_highlighter_formatter(formatter)
LOWlib/jekyll/tags/include.rb131 def add_include_to_dependency(site, path, context)
LOWlib/jekyll/tags/include.rb236 def add_include_to_dependency(inclusion, context)
LOWlib/jekyll/commands/doctor.rb60 def deprecated_relative_permalinks(site)
LOWlib/jekyll/commands/serve/servlet.rb187 def conditionally_inject_charset(res)
Fake / Example Data15 hits · 18 pts
SeverityFileLineSnippet
LOWbenchmark/conditional_liquid.rb15Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce auctor libero at
LOWbenchmark/conditional_liquid.rb15Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce auctor libero at
LOWbenchmark/conditional_liquid.rb27Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce auctor libero at
LOWbenchmark/conditional_liquid.rb27Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce auctor libero at
LOWbenchmark/conditional_liquid.rb32ligula, {% if author == "Jane Doe" %} at finibus eros laoreet id. {% else %}
LOWbenchmark/conditional_liquid.rb40Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce auctor libero at
LOWbenchmark/conditional_liquid.rb40Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce auctor libero at
LOWbenchmark/conditional_liquid.rb62 "author" => "John Doe",
LOWtest/test_page_without_a_file.rb37 %w(lorem ipsum) => "lorem/ipsum",
LOWtest/test_page_without_a_file.rb117 "author" => "John Doe",
LOWtest/test_page_without_a_file.rb127 assert_equal "John Doe", @page.data["author"]
LOWtest/test_page_without_a_file.rb157 @page.content = "Lorem ipsum dolor sit amet"
LOWtest/test_page_without_a_file.rb157 @page.content = "Lorem ipsum dolor sit amet"
LOWlib/theme_template/example/index.html5Lorem ipsum dolor sit amet, quo id prima corrumpit pertinacia, id ius dolor dolores, an veri pertinax explicari mea. Aga
LOWlib/theme_template/example/index.html5Lorem ipsum dolor sit amet, quo id prima corrumpit pertinacia, id ius dolor dolores, an veri pertinax explicari mea. Aga
Redundant / Tautological Comments9 hits · 16 pts
SeverityFileLineSnippet
LOWlib/jekyll/regenerator.rb133 # Check if metadata has been disabled
LOWlib/jekyll/entry_filter.rb37 # Check if the current entry is explicitly included and cache the result
LOWlib/jekyll/entry_filter.rb80 # Check if a file is a symlink.
LOWlib/jekyll/entry_filter.rb89 # Check if given path is outside of current site's configured source directory.
LOWlib/jekyll/entry_filter.rb95 # Check if an entry matches a specific pattern.
LOWlib/jekyll/excerpt.rb54 # Check if excerpt includes a string
LOWlib/jekyll/cache.rb120 # Check if `key` already exists in this cache
LOWlib/jekyll/drops/drop.rb174 # Check if key exists in Drop
LOWlib/jekyll/commands/serve.rb302 # Add SSL to the stack if the user triggers --enable-ssl and they
Synthetic Comment Markers1 hit · 8 pts
SeverityFileLineSnippet
HIGHlib/jekyll/commands/serve.rb269 # Keep in our area with a thread or detach the server as requested
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippet
MEDIUMlib/jekyll/filters.rb380 # We also utilize the Schwartzian transform to make this more efficient.