A BPMN 2.0 rendering toolkit and web modeler.
This report summarizes scanner evidence for bpmn-io/bpmn-js, a JavaScript project with 9,716 GitHub stars. SynthScan examined 107,749 lines of code across 403 source files, recording 83 pattern matches distributed across 2 syntactic categories. The legacy adjusted pattern signal is 0.8 (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? 83 finding(s).
Are imports declared and package/API names verified? 0 finding(s).
Are wrappers, guards, and repeated structures necessary? 82 finding(s).
Which changes need focused human review? 83 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 83 distinct pattern matches across 2 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 | …/features/modeling/LoggingCroppingConnectionDocking.js | 10 | export default function LoggingCroppingConnectionDocking(injector) { | CODE |
| LOW | …ures/modeling/behavior/LayoutConnectionBehaviorSpec.js | 345 | function expectApproximateWaypoints(connection, expectedWaypoints) { | CODE |
| LOW | lib/util/AnnotationUtil.js | 44 | export function collectElementsAnnotations(elements) { | CODE |
| LOW | lib/util/DiUtil.js | 111 | export function hasEscalationEventDefinition(element) { | CODE |
| LOW | lib/util/DiUtil.js | 120 | export function hasCompensateEventDefinition(element) { | CODE |
| LOW | lib/features/drilldown/DrilldownBreadcrumbs.js | 151 | function getBusinessObjectParentChain(child) { | CODE |
| LOW | …pping/behavior/GridSnappingLayoutConnectionBehavior.js | 29 | export default function GridSnappingLayoutConnectionBehavior(eventBus, gridSnapping, modeling) { | CODE |
| LOW | …d-snapping/behavior/GridSnappingParticipantBehavior.js | 16 | export default function GridSnappingParticipantBehavior(canvas, eventBus, gridSnapping) { | CODE |
| LOW | …rid-snapping/behavior/GridSnappingAutoPlaceBehavior.js | 21 | export default function GridSnappingAutoPlaceBehavior(eventBus, gridSnapping, elementRegistry) { | CODE |
| LOW | …/distribute-elements/DistributeElementsMenuProvider.js | 28 | export default function DistributeElementsMenuProvider( | CODE |
| LOW | lib/features/modeling/BpmnUpdater.js | 215 | function updateConnectionWaypoints(e) { | CODE |
| LOW | lib/features/modeling/BpmnLayouter.js | 216 | function getMessageFlowManhattanOptions(source, target, layout) { | CODE |
| LOW | lib/features/modeling/BpmnLayouter.js | 223 | function getMessageFlowPreserveDocking(source, target) { | CODE |
| LOW | lib/features/modeling/BpmnLayouter.js | 255 | function getSubProcessPreserveDocking(source) { | CODE |
| LOW | lib/features/modeling/BpmnLayouter.js | 263 | function isCompensationAssociation(source, target) { | CODE |
| LOW | lib/features/modeling/BpmnLayouter.js | 297 | function isOppositeHorizontalOrientation(a, b) { | CODE |
| LOW | lib/features/modeling/BpmnLayouter.js | 305 | function isOppositeVerticalOrientation(a, b) { | CODE |
| LOW | lib/features/modeling/BpmnLayouter.js | 333 | function getBoundaryEventPreferredLayouts(source, target, end, layout) { | CODE |
| LOW | lib/features/modeling/BpmnLayouter.js | 362 | function getBoundaryEventLoopLayout(attachOrientation, attachedToSide, source, target, end, layout) { | CODE |
| LOW | lib/features/modeling/BpmnLayouter.js | 397 | function getBoundaryEventSourceLayout(attachOrientation, targetOrientation, attachedToSide, isHorizontal) { | CODE |
| LOW | lib/features/modeling/BpmnLayouter.js | 435 | function getBoundaryEventTargetLayout(attachOrientation, targetOrientation, attachedToSide, isHorizontal) { | CODE |
| LOW | …features/modeling/behavior/UnsetDefaultFlowBehavior.js | 22 | export default function DeleteSequenceFlowBehavior(eventBus, modeling) { | CODE |
| LOW | …es/modeling/behavior/ToggleElementCollapseBehaviour.js | 27 | export default function ToggleElementCollapseBehaviour( | CODE |
| LOW | lib/features/modeling/behavior/ResizeBehavior.js | 128 | export function getParticipantResizeConstraints(laneShape, resizeDirection, balanced) { | CODE |
| LOW | …modeling/behavior/RemoveEmbeddedLabelBoundsBehavior.js | 19 | export default function RemoveEmbeddedLabelBoundsBehavior(eventBus, modeling) { | CODE |
| LOW | …/features/modeling/behavior/SubProcessPlaneBehavior.js | 655 | function collectAnnotationElements(elements) { | CODE |
| LOW | …modeling/behavior/ToggleCollapseConnectionBehaviour.js | 31 | export default function ToggleCollapseConnectionBehaviour( | CODE |
| LOW | lib/features/modeling/behavior/DataStoreBehavior.js | 38 | function getFirstParticipantWithProcessRef() { | CODE |
| LOW | …ures/modeling/behavior/RootElementReferenceBehavior.js | 52 | export default function RootElementReferenceBehavior( | CODE |
| LOW | …ures/modeling/behavior/RootElementReferenceBehavior.js | 57 | function canHaveRootElementReference(element) { | CODE |
| LOW | …ures/modeling/behavior/RootElementReferenceBehavior.js | 74 | function getRootElementReferencePropertyName(eventDefinition) { | CODE |
| LOW | …eling/behavior/CategoryRootElementReferenceBehavior.js | 31 | export default function CategoryRootElementReferenceBehavior( | CODE |
| LOW | …eling/behavior/CategoryRootElementReferenceBehavior.js | 44 | function isCategoryValueReferenced(categoryValue, ignoredBusinessObject) { | CODE |
| LOW | …/behavior/SetCompensationActivityAfterPasteBehavior.js | 22 | export default function SetCompensationActivityAfterPasteBehavior(eventBus, modeling) { | CODE |
| LOW | …/behavior/SetCompensationActivityAfterPasteBehavior.js | 54 | function isCompensationBoundaryEvent(element) { | CODE |
| LOW | …/behavior/SetCompensationActivityAfterPasteBehavior.js | 59 | function isConnectedToCompensationBoundaryEvent(element) { | CODE |
| LOW | …s/modeling/behavior/UpdateCategoryValueRefsBehavior.js | 47 | export default function UpdateCategoryValueRefsBehavior(eventBus, modeling) { | CODE |
| LOW | lib/features/modeling/behavior/LabelBehavior.js | 145 | function getVisibleLabelAdjustment(event) { | CODE |
| LOW | …eatures/modeling/behavior/ReplaceConnectionBehavior.js | 26 | export default function ReplaceConnectionBehavior(eventBus, modeling, bpmnRules, injector) { | CODE |
| LOW | …eatures/modeling/behavior/ReplaceConnectionBehavior.js | 95 | function replaceReconnectedConnection(event) { | CODE |
| LOW | lib/features/modeling/behavior/SpaceToolBehavior.js | 85 | function getParticipantMinDimensions(participant, axis, start) { | CODE |
| LOW | …s/modeling/behavior/CompensateBoundaryEventBehavior.js | 21 | export default function CompensateBoundaryEventBehavior(eventBus, modeling, bpmnRules) { | CODE |
| LOW⚡ | …s/modeling/behavior/CompensateBoundaryEventBehavior.js | 132 | function handleReplacementPostExecuted(context) { | CODE |
| LOW⚡ | …s/modeling/behavior/CompensateBoundaryEventBehavior.js | 140 | function addIsForCompensationProperty(target) { | CODE |
| LOW⚡ | …s/modeling/behavior/CompensateBoundaryEventBehavior.js | 144 | function removeIsForCompensationProperty(target) { | CODE |
| LOW⚡ | …s/modeling/behavior/CompensateBoundaryEventBehavior.js | 148 | function removeDisallowedConnections(element) { | CODE |
| LOW | …s/modeling/behavior/CompensateBoundaryEventBehavior.js | 163 | function removeExistingAssociations(boundaryEvent, ignoredAssociations) { | CODE |
| LOW | …s/modeling/behavior/CompensateBoundaryEventBehavior.js | 183 | function removeIncomingCompensationAssociations(element) { | CODE |
| LOW | …s/modeling/behavior/CompensateBoundaryEventBehavior.js | 191 | function removeOutgoingSequenceFlows(element) { | CODE |
| LOW | …s/modeling/behavior/CompensateBoundaryEventBehavior.js | 215 | function isCompensationBoundaryEvent(element) { | CODE |
| LOW | …/modeling/behavior/AdaptiveLabelPositioningBehavior.js | 48 | export default function AdaptiveLabelPositioningBehavior(eventBus, modeling) { | CODE |
| LOW | …/modeling/behavior/AdaptiveLabelPositioningBehavior.js | 230 | function getTakenConnectionAlignments(element) { | CODE |
| LOW | …/modeling/behavior/AdaptiveLabelPositioningBehavior.js | 294 | function getApproximateOrientation(p0, p1) { | CODE |
| LOW | …atures/modeling/behavior/UpdateFlowNodeRefsBehavior.js | 43 | export default function UpdateFlowNodeRefsBehavior(eventBus, modeling) { | CODE |
| LOW | …eatures/modeling/behavior/CreateParticipantBehavior.js | 41 | export default function CreateParticipantBehavior(canvas, eventBus, modeling) { | CODE |
| LOW | …eatures/modeling/behavior/CreateParticipantBehavior.js | 104 | function getOrCreateCollaboration() { | CODE |
| LOW | …eatures/modeling/behavior/CreateParticipantBehavior.js | 223 | function getParticipantCreateConstraints(shape, childrenBBox) { | CODE |
| LOW | …eatures/modeling/behavior/RemoveParticipantBehavior.js | 18 | export default function RemoveParticipantBehavior(eventBus, modeling) { | CODE |
| LOW | …eatures/modeling/behavior/EventBasedGatewayBehavior.js | 16 | export default function EventBasedGatewayBehavior(eventBus, modeling) { | CODE |
| LOW | …ures/modeling/behavior/DataInputAssociationBehavior.js | 38 | export default function DataInputAssociationBehavior(eventBus, bpmnFactory) { | CODE |
| 22 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | lib/features/replace/ReplaceOptions.js | 121 | // businessObject: { instantiate: true, eventGatewayType: 'Exclusive' } | COMMENT |