Generate diagrams from textual description
This report summarizes scanner evidence for plantuml/plantuml, a Java project with 13,390 GitHub stars. SynthScan examined 617,132 lines of code across 4134 source files, recording 752 pattern matches distributed across 13 syntactic categories. The legacy adjusted pattern signal is 2.2 (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? 662 finding(s).
Are imports declared and package/API names verified? 74 finding(s).
Are wrappers, guards, and repeated structures necessary? 24 finding(s).
Which changes need focused human review? 752 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 752 distinct pattern matches across 13 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 |
|---|---|---|---|---|
| CRITICAL⚡ | src/test/resources/vega/vega.json | 290 | "net.sourceforge.plantuml.crash.CrashDiagram.checkFinalError(CrashDiagram.java)", | CODE |
| CRITICAL⚡ | src/test/resources/vega/vega.json | 291 | "net.sourceforge.plantuml.command.PSystemCommandFactory.finalizeDiagram(PSystemCommandFactory.java)", | CODE |
| CRITICAL⚡ | src/test/resources/vega/vega.json | 292 | "net.sourceforge.plantuml.command.PSystemCommandFactory.createSystem(PSystemCommandFactory.java)", | CODE |
| CRITICAL⚡ | src/test/resources/vega/vega.json | 293 | "net.sourceforge.plantuml.command.PSystemCommandFactory.createSystem(PSystemCommandFactory.java)", | CODE |
| CRITICAL⚡ | src/test/resources/vega/vega.json | 310 | "net.sourceforge.plantuml.crash.CommandSelectCrash.executeArg(CommandSelectCrash.java)", | CODE |
| CRITICAL⚡ | src/test/resources/vega/vega.json | 311 | "net.sourceforge.plantuml.crash.CommandSelectCrash.executeArg(CommandSelectCrash.java)", | CODE |
| CRITICAL⚡ | src/test/resources/vega/vega.json | 312 | "net.sourceforge.plantuml.command.UBrexSingleLineCommand2.execute(UBrexSingleLineCommand2.java)", | CODE |
| CRITICAL⚡ | src/test/resources/vega/vega.json | 313 | "net.sourceforge.plantuml.command.ProtectedCommand.execute(ProtectedCommand.java)", | CODE |
| CRITICAL⚡ | src/test/resources/vega/vega.json | 314 | "net.sourceforge.plantuml.core.AbstractDiagram.executeCommand(AbstractDiagram.java)", | CODE |
| CRITICAL⚡ | src/test/resources/vega/vega.json | 315 | "net.sourceforge.plantuml.command.PSystemCommandFactory.executeFewLines(PSystemCommandFactory.java)", | CODE |
| CRITICAL⚡ | src/test/resources/vega/vega.json | 316 | "net.sourceforge.plantuml.command.PSystemCommandFactory.createSystem(PSystemCommandFactory.java)", | CODE |
| CRITICAL⚡ | src/test/resources/vega/vega.json | 317 | "net.sourceforge.plantuml.command.PSystemCommandFactory.createSystem(PSystemCommandFactory.java)", | CODE |
| CRITICAL⚡ | src/test/resources/vega/vega.json | 2514 | "net.sourceforge.plantuml.packetdiag.PacketDiagram.adjustIndicators(PacketDiagram.java)", | CODE |
| CRITICAL⚡ | src/test/resources/vega/vega.json | 2515 | "net.sourceforge.plantuml.packetdiag.PacketDiagram.build(PacketDiagram.java)", | CODE |
| CRITICAL⚡ | src/test/resources/vega/vega.json | 2516 | "net.sourceforge.plantuml.packetdiag.PacketDiagram.checkFinalError(PacketDiagram.java)", | CODE |
| CRITICAL⚡ | src/test/resources/vega/vega.json | 2517 | "net.sourceforge.plantuml.command.PSystemCommandFactory.finalizeDiagram(PSystemCommandFactory.java)", | CODE |
| CRITICAL⚡ | src/test/resources/vega/vega.json | 2518 | "net.sourceforge.plantuml.command.PSystemCommandFactory.createSystem(PSystemCommandFactory.java)", | CODE |
| CRITICAL⚡ | src/test/resources/vega/vega.json | 2519 | "net.sourceforge.plantuml.command.PSystemCommandFactory.createSystem(PSystemCommandFactory.java)", | CODE |
| CRITICAL⚡ | src/test/resources/vega/vega.json | 2622 | "net.sourceforge.plantuml.packetdiag.PacketDiagram.adjustIndicators(PacketDiagram.java)", | CODE |
| CRITICAL⚡ | src/test/resources/vega/vega.json | 2623 | "net.sourceforge.plantuml.packetdiag.PacketDiagram.build(PacketDiagram.java)", | CODE |
| CRITICAL⚡ | src/test/resources/vega/vega.json | 2624 | "net.sourceforge.plantuml.packetdiag.PacketDiagram.checkFinalError(PacketDiagram.java)", | CODE |
| CRITICAL⚡ | src/test/resources/vega/vega.json | 2625 | "net.sourceforge.plantuml.command.PSystemCommandFactory.finalizeDiagram(PSystemCommandFactory.java)", | CODE |
| CRITICAL⚡ | src/test/resources/vega/vega.json | 2626 | "net.sourceforge.plantuml.command.PSystemCommandFactory.createSystem(PSystemCommandFactory.java)", | CODE |
| CRITICAL⚡ | src/test/resources/vega/vega.json | 2627 | "net.sourceforge.plantuml.command.PSystemCommandFactory.createSystem(PSystemCommandFactory.java)", | CODE |
| CRITICAL | src/test/resources/vega/vega.json | 271 | "net.sourceforge.plantuml.crash.CrashDiagram.getTextBlock(CrashDiagram.java)", | CODE |
| CRITICAL | src/test/resources/vega/vega.json | 412 | "org.junit.jupiter.api.Assertions.assertFalse(Assertions.java)", | CODE |
| CRITICAL | src/test/resources/vega/vega.json | 2481 | "net.sourceforge.plantuml.core.TextBlockExporter.calculateFinalDimension(TextBlockExporter.java)", | CODE |
| CRITICAL | src/test/resources/vega/vega.json | 2482 | "net.sourceforge.plantuml.core.TextBlockExporter.exportTo(TextBlockExporter.java)", | CODE |
| CRITICAL | src/test/resources/vega/vega.json | 2502 | "net.sourceforge.plantuml.packetdiag.PacketDiagram.remainder(PacketDiagram.java)", | CODE |
| CRITICAL | src/test/resources/vega/vega.json | 2610 | "net.sourceforge.plantuml.packetdiag.PacketDiagram.remainder(PacketDiagram.java)", | CODE |
| CRITICAL | src/test/resources/vega/vega.json | 2888 | "net.sourceforge.plantuml.core.TextBlockExporter.calculateFinalDimension(TextBlockExporter.java)", | CODE |
| CRITICAL | src/test/resources/vega/vega.json | 2889 | "net.sourceforge.plantuml.core.TextBlockExporter.exportTo(TextBlockExporter.java)", | CODE |
| CRITICAL | …orge/plantuml/style/StyleLoaderParseStyleTextTest.java | 50 | * {@code new net.sourceforge.plantuml.style.parser.StyleParser(counter).parse(lines)} -- the | COMMENT |
| CRITICAL | …ceforge/plantuml/style/parser/LevelConstraintTest.java | 117 | assertThrows(IllegalArgumentException.class, new org.junit.jupiter.api.function.Executable() { | CODE |
| CRITICAL | …ceforge/plantuml/style/parser/LevelConstraintTest.java | 123 | assertThrows(IllegalArgumentException.class, new org.junit.jupiter.api.function.Executable() { | CODE |
| CRITICAL | …/net/sourceforge/plantuml/svg/parser/SvgSaxParser.java | 494 | net.sourceforge.plantuml.klimt.UPath path = net.sourceforge.plantuml.klimt.UPath.none(); | CODE |
| CRITICAL | …/net/sourceforge/plantuml/svg/parser/SvgSaxParser.java | 538 | net.sourceforge.plantuml.klimt.UPath path = net.sourceforge.plantuml.klimt.UPath.none(); | CODE |
| CRITICAL | …/net/sourceforge/plantuml/svg/parser/SvgSaxParser.java | 606 | net.sourceforge.plantuml.klimt.UPath path = net.sourceforge.plantuml.klimt.UPath.none(); | CODE |
| CRITICAL | …n/java/net/sourceforge/plantuml/security/SImageIO.java | 67 | final String base64 = new String(net.sourceforge.plantuml.utils.Base64Coder.encode(pngBytes)); | CODE |
| CRITICAL | …n/java/net/sourceforge/plantuml/brotli/Dictionary.java | 45 | net.sourceforge.plantuml.brotli.DictionaryData.init(); | CODE |
| CRITICAL⚡ | …java/net/sourceforge/plantuml/chart/ChartRenderer.java | 1257 | final net.sourceforge.plantuml.klimt.shape.UEllipse circle = net.sourceforge.plantuml.klimt.shape.UEllipse.build(size | CODE |
| CRITICAL⚡ | …java/net/sourceforge/plantuml/chart/ChartRenderer.java | 1261 | final net.sourceforge.plantuml.klimt.shape.URectangle square = net.sourceforge.plantuml.klimt.shape.URectangle.build( | CODE |
| CRITICAL⚡ | …java/net/sourceforge/plantuml/chart/ChartRenderer.java | 1265 | final net.sourceforge.plantuml.klimt.shape.UPolygon triangle = new net.sourceforge.plantuml.klimt.shape.UPolygon(); | CODE |
| CRITICAL | …java/net/sourceforge/plantuml/chart/ChartRenderer.java | 1374 | final net.sourceforge.plantuml.klimt.shape.UPolygon arrowhead = new net.sourceforge.plantuml.klimt.shape.UPolygon( | CODE |
| CRITICAL | …java/net/sourceforge/plantuml/chart/ChartRenderer.java | 1402 | final net.sourceforge.plantuml.klimt.shape.UPolygon arrowhead = new net.sourceforge.plantuml.klimt.shape.UPolygon( | CODE |
| CRITICAL | …n/java/net/sourceforge/plantuml/style/StyleLoader.java | 97 | * replacement for {@code new net.sourceforge.plantuml.style.parser.StyleParser(counter).parse(lines)}, | COMMENT |
| CRITICAL | …va/net/sourceforge/plantuml/svek/DotStringFactory.java | 295 | return net.sourceforge.plantuml.teavm.js.GraphVizEngineJs.renderDotToSvg(dotString); | CODE |
| CRITICAL | …va/net/sourceforge/plantuml/svek/DotStringFactory.java | 628 | return net.sourceforge.plantuml.klimt.shape.DotPath.fromBeziers(beziers); | CODE |
| CRITICAL | src/main/java/net/atmp/CucaDiagram.java | 475 | maker = (TeaVM.isC() || this.isUseSmetana() || net.sourceforge.plantuml.teavm.js.GraphVizEngineJs.vizMissingFallback( | CODE |
| CRITICAL | src/main/java/net/atmp/CucaDiagram.java | 490 | && net.sourceforge.plantuml.teavm.js.GraphVizEngineJs.isAvailable() == false) | CODE |
| CRITICAL | src/main/java/gen/lib/cgraph/graph__c.java | 143 | g.clos.state.id = (__ptr__) g.clos.disc.id.open.exe(zz, g, arg_disc); | CODE |
| CRITICAL | src/main/java/gen/lib/cgraph/mem__c.java | 144 | // mem = (__ptr__) g.clos.disc.mem.alloc.exe(g.clos.state.mem, size); | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | teavm-wasm.sh | 1 | #!/bin/bash | COMMENT |
| LOW | tools/create_sprites.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | tools/create_sprites.sh | 21 | # | COMMENT |
| LOW | tools/browser-test/check-smetana.js | 1 | 'use strict'; | COMMENT |
| LOW | tools/browser-test/check-file-loader.js | 1 | 'use strict'; | COMMENT |
| LOW | tools/browser-test/check-file-loader.js | 21 | // delivered file that contains the include, so relative names resolve | COMMENT |
| LOW | tools/browser-test/check-file-loader.js | 41 | // | COMMENT |
| LOW | tools/browser-test/check-viz-fallback.js | 1 | 'use strict'; | COMMENT |
| LOW | tools/browser-test/check-stdlib-loader.js | 1 | 'use strict'; | COMMENT |
| LOW | tools/browser-test/check-stdlib-loader.js | 21 | // never asked for it. This is what lets a page that imports the engine | COMMENT |
| LOW | tools/browser-test/check-background.js | 1 | 'use strict'; | COMMENT |
| LOW | tools/browser-test/check-resource-rounds.js | 1 | 'use strict'; | COMMENT |
| LOW | tools/browser-test/check-viz-missing.js | 1 | 'use strict'; | COMMENT |
| LOW | tools/browser-test/check-render-queue.js | 1 | 'use strict'; | COMMENT |
| LOW | tools/perf-bench/bench.js | 1 | 'use strict'; | COMMENT |
| LOW | tools/teavm-coroutines/check_no_coroutines.py | 21 | # TeaVM always emits its own java.lang.Object.monitorEnter() as a coroutine, | COMMENT |
| LOW | plantuml-mcp-js/server.js | 1 | #!/usr/bin/env node | COMMENT |
| LOW | plantuml-mcp-js/server.js | 21 | import { z } from "zod"; | COMMENT |
| LOW | plantuml-mcp-js/server.js | 61 | // `engine.js` (produced by the `npmPackage` Gradle task). | COMMENT |
| LOW | .github/scripts/test-summary.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | …net/sourceforge/plantuml/klimt/font/FontStackTest.java | 21 | FontStack stack = FontStack.build("foo"); | COMMENT |
| LOW | …net/sourceforge/plantuml/klimt/font/FontStackTest.java | 41 | // @Test | COMMENT |
| LOW | …net/sourceforge/plantuml/klimt/font/UFontFaceTest.java | 201 | // void toLegacyStylePreservesBold() { | COMMENT |
| LOW | …ceforge/plantuml/style/parser/MergedStyleNodeTest.java | 121 | compositeTitle.getProperties().put(PName.FontSize, PrioritizedValue.light("999", Integer.MAX_VALUE)); | COMMENT |
| LOW | …sourceforge/plantuml/style/parser/StyleParserTest.java | 21 | // read a bare "Prop:value;Prop:value;" list straight at its Context's still-empty root, | COMMENT |
| LOW | …urceforge/plantuml/cli/RunRenderCrashExitCodeTest.java | 21 | // exit code, so PlantUML exited 0 while quietly writing a stack trace image instead of the | COMMENT |
| LOW | …eforge/plantuml/gantt/ngm/math/LoadIntegratorTest.java | 361 | // 2024-04-04T00:00(Thu) - 2024-04-05T00:00(Fri): load 1 | COMMENT |
| LOW | …eforge/plantuml/gantt/ngm/math/LoadIntegratorTest.java | 401 | LocalDateTime start = integrator.computeStart(end); | COMMENT |
| LOW | …t/sourceforge/plantuml/gantt/ngm/math/SegmentTest.java | 101 | COMMENT | |
| LOW | …t/sourceforge/plantuml/gantt/ngm/math/SegmentTest.java | 121 | // | COMMENT |
| LOW | …t/sourceforge/plantuml/gantt/ngm/math/SegmentTest.java | 301 | // | COMMENT |
| LOW | …lantuml/gantt/ngm/math/LoadIntegratorCombinedTest.java | 41 | // // Zero functions | COMMENT |
| LOW | …lantuml/gantt/ngm/math/LoadIntegratorCombinedTest.java | 81 | COMMENT | |
| LOW | …lantuml/gantt/ngm/math/LoadIntegratorCombinedTest.java | 141 | // 2024-08-08T00:00(Thu) - 2024-08-09T00:00(Fri): load 3/5 | COMMENT |
| LOW | …lantuml/gantt/ngm/math/LoadIntegratorCombinedTest.java | 181 | // Combined: Mon-Thu at 125% except July 4 | COMMENT |
| LOW | …lantuml/gantt/ngm/math/LoadIntegratorCombinedTest.java | 221 | COMMENT | |
| LOW | …lantuml/gantt/ngm/math/LoadIntegratorCombinedTest.java | 281 | LoadIntegrator integrator = new LoadIntegrator(combined, totalLoad); | COMMENT |
| LOW | …lantuml/gantt/ngm/math/LoadIntegratorCombinedTest.java | 361 | LocalDateTime end = integrator.computeEnd(start); | COMMENT |
| LOW | …lantuml/gantt/ngm/math/LoadIntegratorCombinedTest.java | 441 | LocalDateTime end = integrator.computeEnd(start); | COMMENT |
| LOW | …lantuml/gantt/ngm/math/LoadIntegratorCombinedTest.java | 501 | // 2024-12-23T00:00(Mon) - 2024-12-24T00:00(Tue): load 0 - shutdown | COMMENT |
| LOW | src/test/java/test/vega/SvgCleaner.java | 61 | // "//@x1", | COMMENT |
| LOW | src/test/java/test/vega/VegaTest.java | 41 | // against them, set the VEGA_FORCE_WRITE environment variable to "true" | COMMENT |
| LOW | src/test/java/com/plantuml/ubrex/SimpleTest.java | 21 | assertEquals("hello", cut.match(TextNavigator.build("hello world")).getAcceptedMatch()); | COMMENT |
| LOW | src/test/java/com/plantuml/ubrex/SimpleTest.java | 41 | // | COMMENT |
| LOW | src/test/java/com/plantuml/ubrex/SimpleTest.java | 61 | // | COMMENT |
| LOW | src/test/java/com/plantuml/ubrex/RangeTest.java | 41 | // cut.addPattern("he"); | COMMENT |
| LOW | src/test/java/com/plantuml/ubrex/RangeTest.java | 61 | // | COMMENT |
| LOW | src/test/java/com/plantuml/ubrex/RangeTest.java | 81 | // // For input "dou", no match should be found (since 'd' is not in the range | COMMENT |
| LOW | src/main/teavm/web/GITHUB_INTEGRATION.md | 321 | // path: the local file name the directive asks for, after variables are | COMMENT |
| LOW | src/main/teavm/web-wasm/plantuml-wasm.js | 1 | // plantuml-wasm.js -- EXPERIMENTAL Wasm GC flavour of plantuml.js | COMMENT |
| LOW | src/main/teavm/web-wasm/plantuml-wasm.js | 21 | // elements waiting for a render() show that message, and the next call loads a | COMMENT |
| LOW | src/main/java/net/sourceforge/plantuml/StringUtils.java | 321 | public static boolean isCJK(char c) { | COMMENT |
| LOW | src/main/java/net/sourceforge/plantuml/StringUtils.java | 341 | // final int len = s.length(); | COMMENT |
| LOW | src/main/java/net/sourceforge/plantuml/StringUtils.java | 361 | // } | COMMENT |
| LOW | src/main/java/net/sourceforge/plantuml/StringUtils.java | 381 | public static boolean isDiagramCacheable(String uml) { | COMMENT |
| LOW | src/main/java/net/sourceforge/plantuml/StringUtils.java | 401 | //// if (uml.startsWith("@startuml\ncheckversion")) { | COMMENT |
| LOW | src/main/java/net/sourceforge/plantuml/StringUtils.java | 501 | } | COMMENT |
| LOW | …ain/java/net/sourceforge/plantuml/NewpagedDiagram.java | 161 | for (UgDiagram d : diagrams) { | COMMENT |
| LOW | …ain/java/net/sourceforge/plantuml/BlockUmlBuilder.java | 61 | public final class BlockUmlBuilder implements DefinitionsContainer { | COMMENT |
| LOW | …/main/java/net/sourceforge/plantuml/TitledDiagram.java | 341 | return getHeader(); | COMMENT |
| 515 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …ge/plantuml/klimt/drawing/g2d/ExtendedGeneralPath.java | 198 | // Step 1 : Compute (x1, y1) | COMMENT |
| LOW⚡ | …ge/plantuml/klimt/drawing/g2d/ExtendedGeneralPath.java | 219 | // Step 2 : Compute (cx1, cy1) | COMMENT |
| LOW⚡ | …ge/plantuml/klimt/drawing/g2d/ExtendedGeneralPath.java | 229 | // Step 3 : Compute (cx, cy) from (cx1, cy1) | COMMENT |
| LOW⚡ | …ge/plantuml/klimt/drawing/g2d/ExtendedGeneralPath.java | 237 | // Step 4 : Compute the angleStart (angle1) and the angleExtent (dangle) | COMMENT |
| LOW⚡ | …et/sourceforge/plantuml/openiconic/StringDecipher.java | 50 | // Step 1: Skip any separator characters (whitespace or commas) | COMMENT |
| LOW⚡ | …et/sourceforge/plantuml/openiconic/StringDecipher.java | 57 | // Step 2: If the next character is a command letter (e.g. M, L, C...), isolate | COMMENT |
| LOW⚡ | …et/sourceforge/plantuml/openiconic/StringDecipher.java | 67 | // Step 3: Handle optional sign for the mantissa | COMMENT |
| LOW⚡ | …et/sourceforge/plantuml/openiconic/StringDecipher.java | 72 | // Step 4: Read mantissa (digits with optional dot, only one allowed) | COMMENT |
| LOW | …et/sourceforge/plantuml/openiconic/StringDecipher.java | 92 | // Step 5: Optionally parse scientific notation (e.g. 1.2e-3) | COMMENT |
| LOW⚡ | …et/sourceforge/plantuml/openiconic/StringDecipher.java | 112 | // Step 6: Store the parsed numeric token | COMMENT |
| LOW⚡ | …et/sourceforge/plantuml/openiconic/StringDecipher.java | 115 | // Step 7: Move forward in the input | COMMENT |
| LOW⚡ | …t/sourceforge/plantuml/png/quant/QuantifyPacked28.java | 69 | // Step 1: Create destination image | COMMENT |
| LOW⚡ | …t/sourceforge/plantuml/png/quant/QuantifyPacked28.java | 79 | // Step 2: Extract pixels | COMMENT |
| LOW⚡ | …t/sourceforge/plantuml/png/quant/QuantifyPacked28.java | 89 | // Step 3: Compress pixels in place | COMMENT |
| LOW | …t/sourceforge/plantuml/png/quant/QuantifyPacked28.java | 100 | // Step 4: Write to destination | COMMENT |
| LOW | …va/net/sourceforge/plantuml/png/quant/Quantify555.java | 140 | // Step 1: Extract pixels | COMMENT |
| LOW | …va/net/sourceforge/plantuml/png/quant/Quantify555.java | 151 | // Step 2: Fill Cube555 structures with frequency counts | COMMENT |
| LOW | …va/net/sourceforge/plantuml/png/quant/Quantify555.java | 189 | // Step 3: Build the final indexed image | COMMENT |
| LOW | …va/net/sourceforge/plantuml/png/quant/Quantify555.java | 226 | // Step 1: Build the palette from all non-empty cubes | COMMENT |
| LOW⚡ | …va/net/sourceforge/plantuml/png/quant/Quantify555.java | 247 | // Step 2: Create output indexed image | COMMENT |
| LOW⚡ | …va/net/sourceforge/plantuml/png/quant/Quantify555.java | 251 | // Step 3: Replace each pixel in the source with its palette index | COMMENT |
| LOW⚡ | …java/net/sourceforge/plantuml/openpdf/PdfGraphics.java | 900 | // Step 1: compute (x1', y1') in the rotated coordinate system. | COMMENT |
| LOW⚡ | …java/net/sourceforge/plantuml/openpdf/PdfGraphics.java | 906 | // Step 2: if the radii are too small to reach both endpoints, scale them | COMMENT |
| LOW⚡ | …java/net/sourceforge/plantuml/openpdf/PdfGraphics.java | 915 | // Step 3: center (cx', cy') in the rotated system. | COMMENT |
| LOW⚡ | …java/net/sourceforge/plantuml/openpdf/PdfGraphics.java | 931 | // Step 4: center (cx, cy) in the original system. | COMMENT |
| LOW⚡ | …java/net/sourceforge/plantuml/openpdf/PdfGraphics.java | 937 | // Step 5: start angle theta1 and sweep deltaTheta. | COMMENT |
| LOW | …java/net/sourceforge/plantuml/openpdf/PdfGraphics.java | 950 | // Step 6: split sweep into <= 90 degree slices and approximate each | COMMENT |
| LOW⚡ | …/plantuml/com/google/zxing/qrcode/encoder/Encoder.java | 90 | // Step 1: Choose the mode (encoding). | COMMENT |
| LOW⚡ | …/plantuml/com/google/zxing/qrcode/encoder/Encoder.java | 93 | // Step 2: Append "bytes" into "dataBits" in appropriate encoding. | COMMENT |
| LOW⚡ | …/plantuml/com/google/zxing/qrcode/encoder/Encoder.java | 96 | // Step 3: Initialize QR code that can contain "dataBits". | COMMENT |
| LOW⚡ | …/plantuml/com/google/zxing/qrcode/encoder/Encoder.java | 100 | // Step 4: Build another bit vector that contains header and data. | COMMENT |
| LOW⚡ | …/plantuml/com/google/zxing/qrcode/encoder/Encoder.java | 117 | // Step 5: Terminate the bits properly. | COMMENT |
| LOW⚡ | …/plantuml/com/google/zxing/qrcode/encoder/Encoder.java | 120 | // Step 6: Interleave data bits with error correction code. | COMMENT |
| LOW⚡ | …/plantuml/com/google/zxing/qrcode/encoder/Encoder.java | 125 | // Step 7: Choose the mask pattern and set to "qrCode". | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …ge/plantuml/klimt/drawing/g2d/ExtendedGeneralPath.java | 198 | // Step 1 : Compute (x1, y1) | COMMENT |
| LOW⚡ | …ge/plantuml/klimt/drawing/g2d/ExtendedGeneralPath.java | 219 | // Step 2 : Compute (cx1, cy1) | COMMENT |
| LOW⚡ | …ge/plantuml/klimt/drawing/g2d/ExtendedGeneralPath.java | 229 | // Step 3 : Compute (cx, cy) from (cx1, cy1) | COMMENT |
| LOW⚡ | …ge/plantuml/klimt/drawing/g2d/ExtendedGeneralPath.java | 237 | // Step 4 : Compute the angleStart (angle1) and the angleExtent (dangle) | COMMENT |
| LOW⚡ | …et/sourceforge/plantuml/openiconic/StringDecipher.java | 50 | // Step 1: Skip any separator characters (whitespace or commas) | COMMENT |
| LOW⚡ | …et/sourceforge/plantuml/openiconic/StringDecipher.java | 57 | // Step 2: If the next character is a command letter (e.g. M, L, C...), isolate | COMMENT |
| LOW⚡ | …et/sourceforge/plantuml/openiconic/StringDecipher.java | 67 | // Step 3: Handle optional sign for the mantissa | COMMENT |
| LOW⚡ | …et/sourceforge/plantuml/openiconic/StringDecipher.java | 72 | // Step 4: Read mantissa (digits with optional dot, only one allowed) | COMMENT |
| LOW | …et/sourceforge/plantuml/openiconic/StringDecipher.java | 92 | // Step 5: Optionally parse scientific notation (e.g. 1.2e-3) | COMMENT |
| LOW⚡ | …et/sourceforge/plantuml/openiconic/StringDecipher.java | 112 | // Step 6: Store the parsed numeric token | COMMENT |
| LOW⚡ | …et/sourceforge/plantuml/openiconic/StringDecipher.java | 115 | // Step 7: Move forward in the input | COMMENT |
| LOW⚡ | …t/sourceforge/plantuml/png/quant/QuantifyPacked28.java | 69 | // Step 1: Create destination image | COMMENT |
| LOW⚡ | …t/sourceforge/plantuml/png/quant/QuantifyPacked28.java | 79 | // Step 2: Extract pixels | COMMENT |
| LOW⚡ | …t/sourceforge/plantuml/png/quant/QuantifyPacked28.java | 89 | // Step 3: Compress pixels in place | COMMENT |
| LOW | …t/sourceforge/plantuml/png/quant/QuantifyPacked28.java | 100 | // Step 4: Write to destination | COMMENT |
| LOW | …va/net/sourceforge/plantuml/png/quant/Quantify555.java | 140 | // Step 1: Extract pixels | COMMENT |
| LOW | …va/net/sourceforge/plantuml/png/quant/Quantify555.java | 151 | // Step 2: Fill Cube555 structures with frequency counts | COMMENT |
| LOW | …va/net/sourceforge/plantuml/png/quant/Quantify555.java | 189 | // Step 3: Build the final indexed image | COMMENT |
| LOW | …va/net/sourceforge/plantuml/png/quant/Quantify555.java | 226 | // Step 1: Build the palette from all non-empty cubes | COMMENT |
| LOW⚡ | …va/net/sourceforge/plantuml/png/quant/Quantify555.java | 247 | // Step 2: Create output indexed image | COMMENT |
| LOW⚡ | …va/net/sourceforge/plantuml/png/quant/Quantify555.java | 251 | // Step 3: Replace each pixel in the source with its palette index | COMMENT |
| LOW⚡ | …java/net/sourceforge/plantuml/openpdf/PdfGraphics.java | 900 | // Step 1: compute (x1', y1') in the rotated coordinate system. | COMMENT |
| LOW⚡ | …java/net/sourceforge/plantuml/openpdf/PdfGraphics.java | 906 | // Step 2: if the radii are too small to reach both endpoints, scale them | COMMENT |
| LOW⚡ | …java/net/sourceforge/plantuml/openpdf/PdfGraphics.java | 915 | // Step 3: center (cx', cy') in the rotated system. | COMMENT |
| LOW⚡ | …java/net/sourceforge/plantuml/openpdf/PdfGraphics.java | 931 | // Step 4: center (cx, cy) in the original system. | COMMENT |
| LOW⚡ | …java/net/sourceforge/plantuml/openpdf/PdfGraphics.java | 937 | // Step 5: start angle theta1 and sweep deltaTheta. | COMMENT |
| LOW | …java/net/sourceforge/plantuml/openpdf/PdfGraphics.java | 950 | // Step 6: split sweep into <= 90 degree slices and approximate each | COMMENT |
| LOW⚡ | …/plantuml/com/google/zxing/qrcode/encoder/Encoder.java | 90 | // Step 1: Choose the mode (encoding). | COMMENT |
| LOW⚡ | …/plantuml/com/google/zxing/qrcode/encoder/Encoder.java | 93 | // Step 2: Append "bytes" into "dataBits" in appropriate encoding. | COMMENT |
| LOW⚡ | …/plantuml/com/google/zxing/qrcode/encoder/Encoder.java | 96 | // Step 3: Initialize QR code that can contain "dataBits". | COMMENT |
| LOW⚡ | …/plantuml/com/google/zxing/qrcode/encoder/Encoder.java | 100 | // Step 4: Build another bit vector that contains header and data. | COMMENT |
| LOW⚡ | …/plantuml/com/google/zxing/qrcode/encoder/Encoder.java | 117 | // Step 5: Terminate the bits properly. | COMMENT |
| LOW⚡ | …/plantuml/com/google/zxing/qrcode/encoder/Encoder.java | 120 | // Step 6: Interleave data bits with error correction code. | COMMENT |
| LOW⚡ | …/plantuml/com/google/zxing/qrcode/encoder/Encoder.java | 125 | // Step 7: Choose the mask pattern and set to "qrCode". | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tools/vega-c/run_vega_c.py | 87 | # --------------------------------------------------------------------------- | STRING |
| MEDIUM | tools/vega-c/run_vega_c.py | 89 | # --------------------------------------------------------------------------- | STRING |
| MEDIUM | tools/vega-c/run_vega_c.py | 153 | # --------------------------------------------------------------------------- | STRING |
| MEDIUM | tools/vega-c/run_vega_c.py | 155 | # --------------------------------------------------------------------------- | STRING |
| MEDIUM | tools/vega-c/run_vega_c.py | 289 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/vega-c/run_vega_c.py | 291 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/vega-c/run_vega_c.py | 457 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/vega-c/run_vega_c.py | 459 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | .github/scripts/test-summary.sh | 16 | # ── Aggregate JUnit counters ──────────────────────────────────────── | COMMENT |
| MEDIUM | .github/scripts/test-summary.sh | 33 | # ── Console output ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | .github/scripts/test-summary.sh | 46 | # ── GitHub Job Summary ────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | .github/scripts/test-summary.sh | 76 | # ── Annotations ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | .github/scripts/test-summary.sh | 84 | # ── Vega test summary ────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | .github/scripts/test-summary.sh | 94 | # ── Vega markdown summary on GitHub Job Summary ──────────────────── | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …forge/plantuml/yaml/parser/YamlParserWithJsonTest.java | 181 | " author: 'John Doe'" // | CODE |
| LOW | …forge/plantuml/yaml/parser/YamlParserWithJsonTest.java | 196 | assertEquals("John Doe", info.get("author").asString()); | CODE |
| LOW | …forge/plantuml/yaml/parser/YamlParserWithJsonTest.java | 210 | " author: 'John Doe'", // | CODE |
| LOW | …forge/plantuml/yaml/parser/YamlParserWithJsonTest.java | 212 | " street: '123 Main St'", // | CODE |
| LOW | …forge/plantuml/yaml/parser/YamlParserWithJsonTest.java | 233 | assertEquals("John Doe", info.get("author").asString()); | CODE |
| LOW | …forge/plantuml/yaml/parser/YamlParserWithJsonTest.java | 235 | assertEquals("123 Main St", address.get("street").asString()); | CODE |
| LOW | …forge/plantuml/yaml/parser/YamlParserWithJsonTest.java | 255 | " author: 'John Doe'", // | CODE |
| LOW | …forge/plantuml/yaml/parser/YamlParserWithJsonTest.java | 257 | " street: '123 Main St'", // | CODE |
| LOW | …forge/plantuml/yaml/parser/YamlParserWithJsonTest.java | 279 | assertEquals("John Doe", info.get("author").asString()); | CODE |
| LOW | …forge/plantuml/yaml/parser/YamlParserWithJsonTest.java | 281 | assertEquals("123 Main St", address.get("street").asString()); | CODE |
| LOW | …t/sourceforge/plantuml/yaml/parser/YamlParserTest.java | 180 | " author: 'John Doe'" | CODE |
| LOW | …t/sourceforge/plantuml/yaml/parser/YamlParserTest.java | 194 | assertEquals("John Doe", info.getMapValue("author").getValue()); | CODE |
| LOW | …t/sourceforge/plantuml/yaml/parser/YamlParserTest.java | 208 | " author: 'John Doe'", | CODE |
| LOW | …t/sourceforge/plantuml/yaml/parser/YamlParserTest.java | 210 | " street: '123 Main St'", | CODE |
| LOW | …t/sourceforge/plantuml/yaml/parser/YamlParserTest.java | 228 | assertEquals("John Doe", info.getMapValue("author").getValue()); | CODE |
| LOW | …t/sourceforge/plantuml/yaml/parser/YamlParserTest.java | 229 | assertEquals("123 Main St", address.getMapValue("street").getValue()); | CODE |
| LOW | …t/sourceforge/plantuml/yaml/parser/YamlParserTest.java | 249 | " author: 'John Doe'", | CODE |
| LOW | …t/sourceforge/plantuml/yaml/parser/YamlParserTest.java | 251 | " street: '123 Main St'", | CODE |
| LOW | …t/sourceforge/plantuml/yaml/parser/YamlParserTest.java | 270 | assertEquals("John Doe", info.getMapValue("author").getValue()); | CODE |
| LOW | …t/sourceforge/plantuml/yaml/parser/YamlParserTest.java | 271 | assertEquals("123 Main St", address.getMapValue("street").getValue()); | CODE |
| LOW | …net/sourceforge/plantuml/yaml/parser/YamlLineTest.java | 57 | assertEquals("John Doe", yamlLine.getValue()); | CODE |
| LOW | …in/java/net/sourceforge/plantuml/json/JsonHandler.java | 43 | * ["lorem ipsum"] | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/generate-char-width-table.html | 36 | function measureAdvanceOneUnicodeBlock(unicodeBlock, fontFamily, fontSize) { | CODE |
| LOW | tools/lib/browser-cli.js | 36 | function parseNamedEnginesAndOptions(argv, defaults) { | CODE |
| LOW | src/main/teavm/web/main.js | 175 | function updateLivePreviewLocation(state) { | CODE |
| LOW | src/main/resources/svg/default.js | 2 | function escapeForCssAttributeSelector(entityName) { | CODE |
| LOW | src/main/resources/svg/sequencediagram.js | 24 | function disableFloatingHeaderDueToError() { | CODE |
| LOW | src/main/resources/svg/sequencediagram.js | 70 | function createFloatingHeaderToggleButton(header) { | CODE |
| LOW | src/main/resources/svg/sequencediagram.js | 105 | function updateFloatingHeaderPosition(floatingHeaderElement) { | CODE |
| LOW | src/main/resources/svg/sequencediagram.js | 158 | function handleParticipantFilterClick(clickedParticipantElem) { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .github/workflows/perf-bench.yml | 46 | # The harness always comes from the branch the workflow runs on, so old commits can be | COMMENT |
| MEDIUM | .github/workflows/perf-bench.yml | 47 | # benchmarked with the current harness. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | src/test/java/zdev/IntermediateTest_0000.java | 22 | Here is a simple example: | CODE |
| MEDIUM | src/test/java/zdev/Test_0.java | 22 | Here is a simple example: | CODE |
| LOW | …sourceforge/plantuml/argon2/algorithm/FillSegment.java | 72 | /* Don't forget to generate the first block of addresses: */ | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/teavm-coroutines/check_no_coroutines.py | 71 | CODE | |
| LOW | tools/vega-c/run_vega_c.py | 176 | CODE | |
| LOW | tools/vega-c/run_vega_c.py | 389 | CODE | |
| LOW | tools/vega-c/run_vega_c.py | 473 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/vega-c/run_vega_c.py | 255 | except Exception: | CODE |
| LOW | tools/vega-c/run_vega_c.py | 521 | except Exception as e: # a bug of this script must not stop the whole run | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | src/main/teavm/stdlib/archimate.min.js | 6 | window.PLANTUML_STDLIB.archimate["_examples_/archimate_deployment"]="!include <archimate/Archimate>;skinparam defaultFon | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …java/net/sourceforge/plantuml/teavm/js/UGraphicJs.java | 163 | // TODO: implement comment support | COMMENT |