Repository Analysis

getzola/zola

A fast static site generator in a single binary with everything built-in. https://www.getzola.org

1.7 Likely human-written View on GitHub
1.7
Adjusted Score
1.7
Raw Score
100%
Time Factor
2026-05-28
Last Push
17,106
Stars
Rust
Language
55,235
Lines of Code
486
Files
80
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 0MEDIUM 1LOW 79

Pattern Findings

80 matches across 5 categories. Click a row to expand file-level details.

Over-Commented Block43 hits · 43 pts
SeverityFileLineSnippet
LOWdocs/content/documentation/content/page.md121# The section path will still be used.
LOWdocs/content/documentation/content/section.md61# Lower values have higher priority.
LOWdocs/content/documentation/content/section.md81
LOWdocs/content/documentation/content/section.md101# Useful for the same reason as `render` but when you don't want a 404 when
LOW…content/documentation/getting-started/configuration.md81# this limit is not set (the default).
LOW…content/documentation/getting-started/configuration.md141# For example, `...` into `…`, `"quote"` into `“curly”` etc
LOW…content/documentation/getting-started/configuration.md161# will result in the following generated HTML:
LOW…content/documentation/getting-started/configuration.md241# Whether to include the rendered content of the page/section in the index
LOW…content/documentation/getting-started/configuration.md261
LOWdocs/content/documentation/templates/pages-sections.md81components: Array<String>;
LOWdocs/content/themes/linkita/index.md421menu_i18n = false
LOWdocs/content/themes/linkita/index.md441
LOWdocs/content/themes/linkita/index.md461
LOWdocs/content/themes/linkita/index.md541
LOWdocs/content/themes/linkita/index.md681# No default value.
LOWdocs/content/themes/coast/index.md121# When set to "true", the generated HTML files are minified.
LOWdocs/content/themes/coffee/index.md121# When set to "true", the generated HTML files are minified.
LOWdocs/sass/site.scss21//@import url("syntax-theme-dark.css") (prefers-color-scheme: dark);
LOWcomponents/config/src/config/markup.rs141 /// CSS class to add to external links
LOWcomponents/markdown/src/markdown.rs41 Regex::new(r#"<sup class="footnote-reference"( id=\s*.*?)?><a href=\s*.*?>\s*.*?</a></sup>"#)
LOWcomponents/markdown/src/markdown.rs321 footnotes.sort_by_cached_key(|f| match f.first() {
LOWcomponents/markdown/src/markdown.rs341 //
LOWcomponents/content/src/page.rs41 pub ancestors: Vec<String>,
LOWcomponents/content/src/page.rs61 /// as summary
LOWcomponents/content/src/section.rs41 /// All direct pages of that section
LOWcomponents/content/src/types.rs1use serde::{Deserialize, Serialize};
LOWcomponents/content/src/front_matter/page.rs21 pub description: Option<String>,
LOWcomponents/content/src/front_matter/page.rs41 pub draft: bool,
LOWcomponents/content/src/front_matter/page.rs61 pub aliases: Vec<String>,
LOWcomponents/content/src/front_matter/section.rs21 /// Whether to sort by "date", "order", "weight" or "none". Defaults to `none`.
LOWcomponents/content/src/front_matter/section.rs41 pub paginate_path: String,
LOWcomponents/imageproc/tests/resize_image.rs421// "png.png",
LOWcomponents/imageproc/src/ops.rs1use errors::{Result, anyhow};
LOWcomponents/site/benches/load.rs41//}
LOWcomponents/site/benches/load.rs61// let mut site = Site::new(&path, &config_file).unwrap();
LOWcomponents/site/benches/load.rs81// path.push("benches");
LOWcomponents/site/benches/load.rs121 b.iter(|| site.load().unwrap());
LOWcomponents/site/benches/load.rs141// let mut site = Site::new(&path, &config_file).unwrap();
LOWcomponents/site/benches/load.rs161// path.push("benches");
LOWcomponents/templates/src/global_fns/helpers.rs1use std::borrow::Cow;
LOWcomponents/templates/src/global_fns/load_data.rs461 })
LOWcomponents/templates/src/global_fns/load_data.rs541/// <item>1</item>
LOWsrc/cmd/serve.rs1// Contains an embedded version of livereload-js 3.2.4
Fake / Example Data29 hits · 35 pts
SeverityFileLineSnippet
LOWdocs/content/documentation/templates/feeds/index.md35name, for example `"John Doe"`. While according to the
LOWdocs/content/themes/zola-theme-hikari/index.md54author_bio = "Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ex, pariatur!"
LOWdocs/content/themes/zola-theme-hikari/index.md54author_bio = "Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ex, pariatur!"
LOWdocs/content/themes/minimal-dark/index.md78author = "John Doe" # author. Will be puth in page metadata
LOWdocs/content/themes/minimal-dark/index.md106 "title":"Lorem Ipsum Event",
LOWdocs/content/themes/minimal-dark/index.md107 "body":"Lorem Ipsum is simply dummy text of the printing and typesetting industry.",
LOWdocs/content/themes/minimal-dark/index.md111 "title":"Lorem Ipsum event 2",
LOWdocs/content/themes/minimal-dark/index.md112 "body":"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry
LOWdocs/content/themes/radion/index.md202authors = ["John Smith", "Joe Schmoe", "Jane Doe"]
LOWdocs/content/themes/BelResume/index.md129title = "John Doe"
LOWdocs/content/themes/docsascode-theme/index.md101authors = ["John Doe"]
LOWdocs/content/themes/pico/index.md85author = "John Doe" # author. Will be puth in page metadata
LOWdocs/content/themes/pico/index.md99 "title":"Lorem Ipsum Event",
LOWdocs/content/themes/pico/index.md100 "body":"Lorem Ipsum is simply dummy text of the printing and typesetting industry.",
LOWdocs/content/themes/pico/index.md104 "title":"Lorem Ipsum event 2",
LOWdocs/content/themes/pico/index.md105 "body":"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry
LOWdocs/content/themes/anatole-zola/index.md169 author = "John Doe"
LOWdocs/content/themes/zolarwind/index.md302authors = ["Jane Doe"]
LOWdocs/content/themes/zolarwind/index.md322- **authors**: an optional array of all the post's authors, e.g. `["Jane Doe"]`.
LOWdocs/content/themes/zola-paper/index.md61title = "Lorem ipsum!"
LOWdocs/content/themes/zola-paper/index.md72Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc eu feugiat sapien. Aenean ligula nunc, laoreet id sem in,
LOWdocs/content/themes/zola-paper/index.md72Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc eu feugiat sapien. Aenean ligula nunc, laoreet id sem in,
LOWdocs/content/themes/particle/index.md54description = "A blog about lorem ipsum dolor sit amet"
LOWdocs/content/themes/particle/index.md54description = "A blog about lorem ipsum dolor sit amet"
LOWdocs/content/themes/particle/index.md57username = "Lorem Ipsum"
LOWdocs/content/themes/particle/index.md58user_description = "Anon Developer at Lorem Ipsum Dolor"
LOWdocs/content/themes/blow/index.md103name = "John Doe"
LOWcomponents/markdown/tests/markdown.rs3211. Lorem ipsum dolor sit amet
LOWcomponents/markdown/tests/markdown.rs3211. Lorem ipsum dolor sit amet
Verbosity Indicators5 hits · 10 pts
SeverityFileLineSnippet
LOWcomponents/markdown/src/lib.rs23 // Step 1: we render the MD shortcodes before rendering the markdown so they can get processed
LOWcomponents/markdown/src/lib.rs27 // Step 2: we render the markdown and the HTML markdown at the same time
LOWcomponents/markdown/src/markdown.rs312 // Step 2: retain only footnotes which was actually referenced
LOWcomponents/markdown/src/markdown.rs320 // Step 3: Sort footnotes in the order of their appearance
LOWcomponents/markdown/src/markdown.rs328 // Step 4: Add backreferences to footnotes
Slop Phrases2 hits · 3 pts
SeverityFileLineSnippet
LOWcomponents/content/src/library.rs309 // Don't forget to push the actual parent
LOWcomponents/site/tests/common.rs326 // Don't forget to remove / because
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippet
MEDIUMsrc/cmd/serve.rs549 // The first entry is ultimately to watch config.toml in a more robust manner on Linux when