QuestPDF is a modern library for PDF document generation. Its fluent C# API lets you design complex layouts with clean, readable code. Create documents using a flexible, component-based approach.
This report summarizes scanner evidence for QuestPDF/QuestPDF, a C# project with 14,217 GitHub stars. SynthScan examined 60,333 lines of code across 511 source files, recording 95 pattern matches distributed across 4 syntactic categories. The legacy adjusted pattern signal is 1.7 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 82 finding(s).
Are imports declared and package/API names verified? 13 finding(s).
Are wrappers, guards, and repeated structures necessary? 0 finding(s).
Which changes need focused human review? 95 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 95 distinct pattern matches across 4 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. 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 configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/dotnet/library/QuestPDF.UnitTests/PdfInspector.cs | 101 | /// <summary> | COMMENT |
| LOW | src/dotnet/library/QuestPDF/Settings.cs | 21 | /// </summary> | COMMENT |
| LOW | src/dotnet/library/QuestPDF/Settings.cs | 41 | /// </summary> | COMMENT |
| LOW | src/dotnet/library/QuestPDF/Settings.cs | 61 | /// <para>Disabled by default. Before version 2026.9.0, this setting was enabled by default.</para> | COMMENT |
| LOW | …otnet/library/QuestPDF/Skia/Text/SkParagraphBuilder.cs | 61 | /// Align the top edge of the placeholder with the baseline specified in | COMMENT |
| LOW | src/dotnet/library/QuestPDF/Drawing/FontManager.cs | 101 | } | COMMENT |
| LOW | src/dotnet/library/QuestPDF/Drawing/FontManager.cs | 181 | COMMENT | |
| LOW | src/dotnet/library/QuestPDF/Fluent/RowExtensions.cs | 101 | { | COMMENT |
| LOW | src/dotnet/library/QuestPDF/Fluent/TableExtensions.cs | 21 | /// <summary> | COMMENT |
| LOW | src/dotnet/library/QuestPDF/Fluent/TableExtensions.cs | 241 | /// <summary> | COMMENT |
| LOW | src/dotnet/library/QuestPDF/Fluent/DocumentOperation.cs | 21 | /// </summary> | COMMENT |
| LOW | src/dotnet/library/QuestPDF/Fluent/DocumentOperation.cs | 41 | /// Useful for repeating certain pages of the overlay or underlay file across multiple pages of the output. | COMMENT |
| LOW | src/dotnet/library/QuestPDF/Fluent/DocumentOperation.cs | 61 | /// </summary> | COMMENT |
| LOW | src/dotnet/library/QuestPDF/Fluent/DocumentOperation.cs | 81 | public string? Key { get; set; } | COMMENT |
| LOW | src/dotnet/library/QuestPDF/Fluent/DocumentOperation.cs | 101 | COMMENT | |
| LOW | src/dotnet/library/QuestPDF/Fluent/DocumentOperation.cs | 121 | /// </summary> | COMMENT |
| LOW | …c/dotnet/library/QuestPDF/Fluent/SemanticExtensions.cs | 101 | return container.SemanticTag("NonStruct", language: language); | COMMENT |
| LOW | …c/dotnet/library/QuestPDF/Fluent/SemanticExtensions.cs | 241 | #region Table | COMMENT |
| LOW | src/dotnet/library/QuestPDF/Fluent/ElementExtensions.cs | 141 | /// .Height(100) | COMMENT |
| LOW | src/dotnet/library/QuestPDF/Fluent/ElementExtensions.cs | 161 | /// <a href="https://www.questpdf.com/api-reference/show-once.html">Learn more</a> | COMMENT |
| LOW | src/dotnet/library/QuestPDF/Fluent/ElementExtensions.cs | 181 | /// <example> | COMMENT |
| LOW | src/dotnet/library/QuestPDF/Fluent/ElementExtensions.cs | 201 | public static IContainer ShowEntire(this IContainer element) | COMMENT |
| LOW | src/dotnet/library/QuestPDF/Fluent/ElementExtensions.cs | 241 | /// If it spans multiple pages, all subsequent pages are rendered as usual without restriction. | COMMENT |
| LOW | src/dotnet/library/QuestPDF/Fluent/ElementExtensions.cs | 401 | COMMENT | |
| LOW | src/dotnet/library/QuestPDF/Fluent/ElementExtensions.cs | 461 | COMMENT | |
| LOW | src/dotnet/library/QuestPDF/Fluent/PaddingExtensions.cs | 21 | /// <para>For positive values, adds empty space around its content.</para> | COMMENT |
| LOW | src/dotnet/library/QuestPDF/Fluent/PaddingExtensions.cs | 41 | return element.Padding(left: value, right: value); | COMMENT |
| LOW | src/dotnet/library/QuestPDF/Fluent/PaddingExtensions.cs | 81 | /// <para>For positive values, adds empty space to the left of its content.</para> | COMMENT |
| LOW | src/dotnet/library/QuestPDF/Fluent/ScaleExtensions.cs | 61 | /// <summary> | COMMENT |
| LOW | …dotnet/library/QuestPDF/Fluent/DecorationExtensions.cs | 61 | return container.DebugPointer(DebugPointerType.ElementStructure, "Content"); | COMMENT |
| LOW | …dotnet/library/QuestPDF/Fluent/DecorationExtensions.cs | 141 | } | COMMENT |
| LOW | src/dotnet/library/QuestPDF/Fluent/ShrinkExtensions.cs | 21 | } | COMMENT |
| LOW | …/library/QuestPDF/Fluent/DynamicComponentExtensions.cs | 1 | using QuestPDF.Elements; | COMMENT |
| LOW | …/library/QuestPDF/Fluent/DynamicComponentExtensions.cs | 21 | { | COMMENT |
| LOW | src/dotnet/library/QuestPDF/Fluent/PageExtensions.cs | 41 | COMMENT | |
| LOW | src/dotnet/library/QuestPDF/Fluent/PageExtensions.cs | 141 | #endregion | COMMENT |
| LOW | …otnet/library/QuestPDF/Fluent/MultiColumnExtensions.cs | 21 | /// <remarks> | COMMENT |
| LOW | …otnet/library/QuestPDF/Fluent/MultiColumnExtensions.cs | 41 | COMMENT | |
| LOW | src/dotnet/library/QuestPDF/Fluent/OffsetExtensions.cs | 21 | /// Moves content along the horizontal axis. | COMMENT |
| LOW | src/dotnet/library/QuestPDF/Fluent/LineExtensions.cs | 81 | /// </summary> | COMMENT |
| LOW | src/dotnet/library/QuestPDF/Fluent/TextExtensions.cs | 321 | /// <summary> | COMMENT |
| LOW | src/dotnet/library/QuestPDF/Fluent/TextExtensions.cs | 341 | return PageNumber(x => x.CurrentPage + 1 - x.GetLocation(sectionName)?.PageStart); | COMMENT |
| LOW | …/dotnet/library/QuestPDF/Fluent/StyledBoxExtensions.cs | 241 | #region Border Style | COMMENT |
| LOW | src/dotnet/library/QuestPDF/Fluent/ImageExtensions.cs | 101 | COMMENT | |
| LOW | src/dotnet/library/QuestPDF/Fluent/ImageExtensions.cs | 161 | COMMENT | |
| LOW | src/dotnet/library/QuestPDF/Elements/RepeatContent.cs | 61 | COMMENT | |
| LOW | src/dotnet/library/QuestPDF/Elements/Dynamic.cs | 161 | internal int ImageTargetDpi { get; set; } | COMMENT |
| LOW | src/dotnet/library/QuestPDF/Elements/Dynamic.cs | 181 | /// </remarks> | COMMENT |
| LOW | …tnet/library/QuestPDF/Infrastructure/BoxShadowStyle.cs | 1 | using System; | COMMENT |
| LOW | …tnet/library/QuestPDF/Infrastructure/BoxShadowStyle.cs | 21 | public float OffsetY { get; set; } | COMMENT |
| LOW | …ary/QuestPDF/Infrastructure/ImageGenerationSettings.cs | 1 | namespace QuestPDF.Infrastructure | COMMENT |
| LOW | …ary/QuestPDF/Infrastructure/ImageGenerationSettings.cs | 21 | /// <example> | COMMENT |
| LOW | …t/library/QuestPDF/Infrastructure/AspectRatioOption.cs | 1 | using QuestPDF.Fluent; | COMMENT |
| LOW | …t/library/QuestPDF/Infrastructure/AspectRatioOption.cs | 21 | FitHeight, | COMMENT |
| LOW | src/dotnet/library/QuestPDF/Infrastructure/IElement.cs | 1 | namespace QuestPDF.Infrastructure | COMMENT |
| LOW | src/dotnet/library/QuestPDF/Infrastructure/FontInfo.cs | 1 | namespace QuestPDF.Infrastructure; | COMMENT |
| LOW | …et/library/QuestPDF/Infrastructure/DocumentMetadata.cs | 21 | public string? Subject { get; set; } | COMMENT |
| LOW | …t/library/QuestPDF/Infrastructure/IDynamicComponent.cs | 41 | public IElement Content { get; set; } | COMMENT |
| LOW | …t/library/QuestPDF/Infrastructure/IDynamicComponent.cs | 61 | /// </summary> | COMMENT |
| LOW | …t/library/QuestPDF/Infrastructure/IDynamicComponent.cs | 81 | /// Represents the component's current state. | COMMENT |
| 16 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …ry/QuestPDF.DocumentationExamples/AlignmentExamples.cs | 28 | .Text("Lorem ipsum"); | CODE |
| LOW | …/QuestPDF.DocumentationExamples/ConstrainedExamples.cs | 31 | .Text("Lorem ipsum"); | CODE |
| LOW | …/QuestPDF.DocumentationExamples/ConstrainedExamples.cs | 36 | .Text("dolor sit amet"); | CODE |
| LOW | …y/QuestPDF.DocumentationExamples/ScaleToFitExamples.cs | 25 | const string text = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod | CODE |
| LOW | …y/QuestPDF.DocumentationExamples/ScaleToFitExamples.cs | 25 | const string text = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod | CODE |
| LOW | src/dotnet/library/QuestPDF/Helpers/Placeholders.cs | 22 | "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod " + | CODE |
| LOW | src/dotnet/library/QuestPDF/Helpers/Placeholders.cs | 22 | "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod " + | CODE |
| LOW | src/dotnet/library/QuestPDF/Helpers/Placeholders.cs | 73 | /// Returns the commonly used 'Lorem ipsum dolor sit amet' placeholder text. | COMMENT |
| LOW | src/dotnet/library/QuestPDF/Helpers/Placeholders.cs | 73 | /// Returns the commonly used 'Lorem ipsum dolor sit amet' placeholder text. | COMMENT |
| LOW | …onformanceTests/Table/TableWithVerticalHeadersTests.cs | 50 | table.Cell().Element(CellStyle).Text("Jane Doe"); | CODE |
| LOW | …formanceTests/Table/TableWithHorizontalHeadersTests.cs | 37 | table.Cell().Element(CellStyle).Text("Jane Doe"); | CODE |
| LOW | …ckage-tests/QuestPDF.PackageTests.Shared/TestRunner.cs | 53 | column.Item().Text("Lorem ipsum dolor sit amet"); | CODE |
| LOW | …ckage-tests/QuestPDF.PackageTests.Shared/TestRunner.cs | 53 | column.Item().Text("Lorem ipsum dolor sit amet"); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …y/QuestPDF.DocumentationExamples/StopPagingExamples.cs | 12 | const string bookDescription = "\"Master Modern C# Development\" is a comprehensive guide that takes you from th | CODE |
| MEDIUM | …y/QuestPDF.DocumentationExamples/StopPagingExamples.cs | 12 | const string bookDescription = "\"Master Modern C# Development\" is a comprehensive guide that takes you from th | CODE |
| MEDIUM | src/dotnet/library/QuestPDF/Fluent/SvgExtensions.cs | 49 | /// The image resizes itself to utilize all available space, preserving its aspect ratio. | COMMENT |
| MEDIUM | src/dotnet/library/QuestPDF/Fluent/ImageExtensions.cs | 104 | /// The image resizes itself to utilize all available space, preserving its aspect ratio. | COMMENT |
| MEDIUM | …net/library/QuestPDF/Infrastructure/IMergedDocument.cs | 59 | /// Consolidates the content from every document, creating a continuous seamless one. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | src/dotnet/library/QuestPDF/Resources/Documentation.xml | 276 | It's worth noting that different fonts may render text with distinct visual sizes, even when assigned the sa | CODE |