Executive summary
The system holds an adequate standing with an overall health score of 65%, indicating a workable asset that carries real, manageable risk. While the codebase is stable and secure, its moderate maturity and hidden complexity create a velocity tax on every change. This is not a fragile system, but it is one where small inefficiencies compound into significant delays and costs over time.
The asset is medium-sized, comprising nearly 26,000 lines of production code and over 65,000 lines of tests. Rebuilding this logic from scratch would require roughly 0.7 person-years, costing approximately €110,000. The value tied up here is substantial, and the cost of changing it is amplified by the current state of the code. The composition suggests a well-structured application, but the underlying maintainability is where the true risk lies.
The most critical theme is the velocity tax imposed by code quality. Complexity and duplication average a moderate 6.3 out of 10, meaning every modification in weaker areas likely costs 4–10% more effort than in clean code. This is not a one-time penalty but a recurring drag on the ~142,000 lines the team changes annually. Ignoring this costs the equivalent of 15 to 90 engineer-days every year, a bill that arrives whether or not it is booked. Addressing the top-ranked fix pays for itself in one to two months, after which it becomes free value.
A second theme is maturity drift, where the system’s operational readiness outpaces its documented understanding. With a maturity score of 55%, the risk concentrates here: new teams may struggle to pick up the work, and decisions are not formally recorded. The README currently advertises Docker containerization that does not exist, signaling a gap between documentation and reality. This lack of clarity increases the bus factor risk and slows down onboarding, making the system harder to operate safely as the team evolves.
Genuinely good news is that the system is secure and production-ready. Security and performance scores are high, and the code is well-tested, providing a solid foundation for change. The architecture is sound, and there are no critical structural flaws. This stability allows the team to focus on maintenance and clarity without fearing immediate outages or security breaches.
Focus first on recording significant decisions in a single, discoverable location. This low-effort action breaks the cycle of undocumented context and pays for itself quickly by reducing the velocity tax. Reconciling the README with reality is a close second, ensuring that operational expectations match the actual deployment state. These steps offer the highest leverage, turning a workable system into a truly efficient one.
Raise Maturity 55 → 70 (the Healthy floor) ⇒ headline 65 → ~72.
New since the last scan (77+)
- D1 · animations.runMove (cyclomatic 56) packages/inferno-animation/src/animations.ts
- D1 · moveAnimations.prepareItems (cyclomatic 24) packages/inferno-animation/src/moveAnimations.ts
- D1 · moveAnimations.installMoveAnimations (cyclomatic 24) packages/inferno-animation/src/moveAnimations.ts
- D1 · animations.componentWillMove (cyclomatic 24) packages/inferno-animation/src/animations.ts
- D1 · moveAnimations.visit (cyclomatic 19) packages/inferno-animation/src/moveAnimations.ts
- D1 · index.options.createVNode (cyclomatic 16) packages/inferno-compat/src/index.ts
- D2 · animations.runMove (cognitive 72) packages/inferno-animation/src/animations.ts
- D2 · moveAnimations.prepareItems (cognitive 45) packages/inferno-animation/src/moveAnimations.ts
- D2 · moveAnimations.installMoveAnimations (cognitive 41) packages/inferno-animation/src/moveAnimations.ts
- D2 · animations.componentWillMove (cognitive 40) packages/inferno-animation/src/animations.ts
- D2 · moveAnimations.visit (cognitive 35) packages/inferno-animation/src/moveAnimations.ts
- D2 · moveAnimations.prepareOwner (cognitive 30) packages/inferno-animation/src/moveAnimations.ts
- D2 · animations._willDisappear (cognitive 21) packages/inferno-animation/src/animations.ts
- D2 · utils.releaseWait (cognitive 20) packages/inferno-animation/src/utils.ts
- D2 · moveAnimations.prepareRemoval (cognitive 20) packages/inferno-animation/src/moveAnimations.ts
- D2 · patching.patchChildren (cognitive 19) packages/inferno/src/DOM/patching.ts
- D2 · common.appendVNodeDOM (cognitive 17) packages/inferno/src/DOM/utils/common.ts
- D2 · index.options.createVNode (cognitive 16) packages/inferno-compat/src/index.ts
- D2 · patching.patchNonKeyedChildren (cognitive 16) packages/inferno/src/DOM/patching.ts
- D3 · FunctionTooLong: custom-uibench.initTests docs/uibench/custom-uibench.js
- D3 · MethodTooLong: RenderQueueStream.renderVNodeToQueue packages/inferno-server/src/renderToString.queuestream.ts
- D3 · FileTooLong: src/animations.ts packages/inferno-animation/src/animations.ts
- D3 · FunctionTooLong: renderToString.renderVNodeToString packages/inferno-server/src/renderToString.ts
- D3 · FileTooLong: animation-glitch/app.js docs/animation-glitch/app.js
- D3 · FileTooLong: uibench/custom-uibench.js docs/uibench/custom-uibench.js
- D3 · FunctionTooLong: props.patchProp packages/inferno/src/DOM/props.ts
- D3 · FunctionTooLong: animations.runMove packages/inferno-animation/src/animations.ts
- D3 · FunctionTooLong: patching.patchElement packages/inferno/src/DOM/patching.ts
- D5 · Off the main sequence: inferno-shared
- D6 · Low cohesion: ShuffleListWithAnimation (LCOM4 4) docs/animations/app.js
- D10 · No assertions: registerTransitionListener calls the callback for a div element packages/inferno-animation/__tests__/utils.spec.tsx
- D10 · No assertions: registerTransitionListener calls the callback when an IMG loads packages/inferno-animation/__tests__/utils.spec.tsx
- D10 · No assertions: should not crash in node cache when removing and re-adding a keyed child component packages/inferno-compat/__tests__/ReactMount.spec.jsx
- D10 · No assertions: Should not fail when nested components swap children via async setState from componentWillMount (github #117) packages/inferno-create-element/__tests__/components2b.spec.tsx
- D10 · No assertions: type checks a class component passed as the component prop packages/inferno-router/__tests__/Route.typings.spec.tsx
- D10 · No assertions: type checks a render prop that renders IRouteProps.component packages/inferno-router/__tests__/Route.typings.spec.tsx
- D10 · No assertions: Should ${test.name} (seed ${test.seed}) packages/inferno-server/__tests__/hydrate-reuse.fuzz.spec.server.tsx
- D10 · No assertions: Should hydrate and render the same DOM with shared and fresh vNodes, seed ${seed} packages/inferno-server/__tests__/hydrate-reuse.fuzz.spec.server.tsx
- D10 · No assertions: Should ${test.name} (seed ${test.seed}) packages/inferno/__tests__/vnode-reuse.fuzz.spec.tsx
- D10 · No assertions: Should render the same DOM with shared and fresh vNodes, seed ${seed} packages/inferno/__tests__/vnode-reuse.fuzz.spec.tsx
- D10 · No assertions: Should allow style as an object with dash-case keys packages/inferno/__tests__/types.spec.tsx
- D10 · No assertions: Should allow style as a string packages/inferno/__tests__/types.spec.tsx
- D10 · No assertions (empty test): preserves order for every five-item permutation and animation mask packages/inferno/__tests__/moveAnimations.spec.tsx
- D10 · No assertions (empty test): Should not fail when an opened dropdown is replaced by a component rendering null packages/inferno/__tests__/instancenull.spec.tsx
- D10 · No assertions (empty test): Should not fail when an opened dropdown is re-rendered with different props packages/inferno/__tests__/instancenull.spec.tsx
- D15 · Hotspot: packages/inferno-server/src/renderToString.queuestream.ts packages/inferno-server/src/renderToString.queuestream.ts
- D15 · Hotspot: packages/inferno-server/src/renderToString.ts packages/inferno-server/src/renderToString.ts
- D15 · Hotspot: packages/inferno/src/DOM/props.ts packages/inferno/src/DOM/props.ts
- D15 · Hotspot: packages/inferno-server/src/renderToString.stream.ts packages/inferno-server/src/renderToString.stream.ts
- D15 · Hotspot: packages/inferno/src/DOM/patching.ts packages/inferno/src/DOM/patching.ts
- D15 · Hotspot: packages/inferno/src/core/implementation.ts packages/inferno/src/core/implementation.ts
- D15 · Hotspot: packages/inferno/src/DOM/unmounting.ts packages/inferno/src/DOM/unmounting.ts
- D15 · Hotspot: packages/inferno-create-element/src/index.ts packages/inferno-create-element/src/index.ts
- D15 · Hotspot: packages/inferno/src/DOM/mounting.ts packages/inferno/src/DOM/mounting.ts
- D15 · Repeated repair: packages/inferno-server/src/utils.ts packages/inferno-server/src/utils.ts
- D15 · Repeated repair: packages/inferno/src/DOM/utils/common.ts packages/inferno/src/DOM/utils/common.ts
- D15 · Repeated repair: packages/inferno/src/DOM/rendering.ts packages/inferno/src/DOM/rendering.ts
- D29 · REDACTED
- R10 · Duplicated block with local edits (144 matched lines × 2 locations) packages/inferno-server/src/renderToString.queuestream.ts
- R10 · Duplicated block (28 lines × 2 locations) packages/inferno-server/src/renderToString.queuestream.ts
- R10 · Duplicated block (18 lines × 2 locations) packages/inferno/src/DOM/patching.ts
- R10 · Duplicated block (15 lines × 2 locations) packages/inferno/src/DOM/patching.ts
- R10 · Duplicated block (15 lines × 2 locations) packages/inferno/src/DOM/patching.ts
- R10 · Duplicated block (15 lines × 2 locations) packages/inferno/src/DOM/utils/common.ts
- R10 · Duplicated block (14 lines × 2 locations) packages/inferno-animation/src/utils.ts
- R10 · Duplicated block (12 lines × 2 locations) packages/inferno-server/src/renderToString.stream.ts
- R10 · Duplicated block (12 lines × 2 locations) packages/inferno-server/src/renderToString.ts
- R10 · Duplicated block (8 lines × 2 locations) packages/inferno-server/src/renderToString.stream.ts
- R2 · Complex function runMove (cyclomatic 57, cognitive 80) packages/inferno-animation/src/animations.ts
- R2 · Complex function unmount (cyclomatic 31, cognitive 65) packages/inferno/src/DOM/unmounting.ts
- R2 · Complex function h (cyclomatic 28, cognitive 37) packages/inferno-hyperscript/src/index.ts
- R2 · Complex function prepareItems (cyclomatic 24, cognitive 48) packages/inferno-animation/src/moveAnimations.ts
- R2 · Complex function componentWillMove (cyclomatic 24, cognitive 40) packages/inferno-animation/src/animations.ts
- R4 · No test reaches this file scripts/rollup/plugins/stream-stub.js
- R7 · Dead file (~173 LoC) scripts/rollup/build.js
- R7 · Dead file (~33 LoC) scripts/rollup/plugins/alias.js
- PF3 · Sync-over-async blocking scripts/bundle/bundle-size.js
Rebuild cost & value ~ Modeled — €36,000–€180,000
| Cost to rebuild | €36,000–€180,000 |
|---|---|
| Domain complexity | Standard |
| Quality factor | 0.9× (at 65% quality) |
| Size & shape | Medium · effort split not classified (source measured from disk; the effort-tier breakdown is a C#-only syntax walk) |
This codebase represents roughly ~0.7 person-years of build effort (about ~€110,000 to rebuild). Its weakest lens is Maturity at 55% — the part of that asset most exposed by the findings below.
Top priorities
Diagnosis — what's actually going on
Architecture — module dependency graph
Architecture — module dependency matrix
| depends on → | 1 packages.inferno-server.src.renderToString_queuestream | 2 packages.inferno-vnode-flags.src | 3 packages.inferno-server.src.renderToString_stream | 4 packages.inferno.src.core.types | 5 packages.inferno-animation.src.moveAnimations | 6 packages.inferno-mobx.src.observerWrap | 7 packages.inferno-server.src | 8 packages.inferno-test-utils.src | 9 packages.inferno.src.DOM.utils.common | 10 packages.inferno.src.core.component | 11 packages.inferno-animation.src.AnimatedAllComponent | 12 packages.inferno-animation.src.AnimatedComponent | 13 packages.inferno-animation.src.AnimatedMoveComponent | 14 packages.inferno-compat | 15 packages.inferno-compat.src | 16 packages.inferno-extras.src | 17 packages.inferno-hydrate | 18 packages.inferno-mobx.src | 19 packages.inferno-mobx.src.Provider | 20 packages.inferno-mobx.src.observer | 21 packages.inferno-redux.src.components.Provider | 22 packages.inferno-redux.src.components.connectAdvanced | 23 packages.inferno-router.src.HashRouter | 24 packages.inferno-router.src.Prompt | 25 packages.inferno-router.src.Route | 26 packages.inferno-test-utils.src.utils | 27 packages.inferno.src.DOM | 28 packages.inferno.src.DOM.utils | 29 packages.inferno.src.core | 30 docs.animation-glitch.app | 31 docs.animations-demo.app | 32 docs.animations.app | 33 packages.inferno-animation.src | 34 packages.inferno-router.src.Redirect | 35 packages.inferno-router.src.Router | 36 packages.inferno-router.src.BrowserRouter | 37 packages.inferno-router.src.MemoryRouter | 38 packages.inferno-router.src.StaticRouter | 39 packages.inferno-router.src.Switch | 40 packages.inferno-router.src |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 packages.inferno-server.src.renderToString_queuestream | ||||||||||||||||||||||||||||||||||||||||
| 2 packages.inferno-vnode-flags.src | ||||||||||||||||||||||||||||||||||||||||
| 3 packages.inferno-server.src.renderToString_stream | 1 | |||||||||||||||||||||||||||||||||||||||
| 4 packages.inferno.src.core.types | 2 | |||||||||||||||||||||||||||||||||||||||
| 5 packages.inferno-animation.src.moveAnimations | 1 | |||||||||||||||||||||||||||||||||||||||
| 6 packages.inferno-mobx.src.observerWrap | 1 | |||||||||||||||||||||||||||||||||||||||
| 7 packages.inferno-server.src | 1 | 2 | ||||||||||||||||||||||||||||||||||||||
| 8 packages.inferno-test-utils.src | 2 | |||||||||||||||||||||||||||||||||||||||
| 9 packages.inferno.src.DOM.utils.common | 1 | |||||||||||||||||||||||||||||||||||||||
| 10 packages.inferno.src.core.component | 3 | |||||||||||||||||||||||||||||||||||||||
| 11 packages.inferno-animation.src.AnimatedAllComponent | 2 | 1 | ||||||||||||||||||||||||||||||||||||||
| 12 packages.inferno-animation.src.AnimatedComponent | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 13 packages.inferno-animation.src.AnimatedMoveComponent | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 14 packages.inferno-compat | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 15 packages.inferno-compat.src | 2 | 2 | ||||||||||||||||||||||||||||||||||||||
| 16 packages.inferno-extras.src | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 17 packages.inferno-hydrate | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 18 packages.inferno-mobx.src | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 19 packages.inferno-mobx.src.Provider | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 20 packages.inferno-mobx.src.observer | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 21 packages.inferno-redux.src.components.Provider | 2 | 1 | ||||||||||||||||||||||||||||||||||||||
| 22 packages.inferno-redux.src.components.connectAdvanced | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 23 packages.inferno-router.src.HashRouter | 2 | 1 | ||||||||||||||||||||||||||||||||||||||
| 24 packages.inferno-router.src.Prompt | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 25 packages.inferno-router.src.Route | 1 | 1 | 4 | |||||||||||||||||||||||||||||||||||||
| 26 packages.inferno-test-utils.src.utils | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 27 packages.inferno.src.DOM | 2 | 4 | 4 | 1 | ||||||||||||||||||||||||||||||||||||
| 28 packages.inferno.src.DOM.utils | 1 | 4 | 2 | 1 | ||||||||||||||||||||||||||||||||||||
| 29 packages.inferno.src.core | 3 | 5 | 1 | |||||||||||||||||||||||||||||||||||||
| 30 docs.animation-glitch.app | 1 | 3 | 5 | |||||||||||||||||||||||||||||||||||||
| 31 docs.animations-demo.app | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 32 docs.animations.app | 5 | 2 | 1 | |||||||||||||||||||||||||||||||||||||
| 33 packages.inferno-animation.src | 2 | 1 | 2 | 1 | ||||||||||||||||||||||||||||||||||||
| 34 packages.inferno-router.src.Redirect | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 35 packages.inferno-router.src.Router | 2 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 36 packages.inferno-router.src.BrowserRouter | 1 | 2 | 1 | |||||||||||||||||||||||||||||||||||||
| 37 packages.inferno-router.src.MemoryRouter | 1 | 2 | 1 | |||||||||||||||||||||||||||||||||||||
| 38 packages.inferno-router.src.StaticRouter | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 39 packages.inferno-router.src.Switch | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 40 packages.inferno-router.src | 1 | 1 | 1 |
3→2 packages.inferno-server.src.renderToString_stream depends on packages.inferno-vnode-flags.src✕
- Type pairs
- 1 distinct (type in packages.inferno-server.src.renderToString_stream → type in packages.inferno-vnode-flags.src) reference.
- Which types
packages.inferno-server.src.renderToString_stream.RenderStream→packages.inferno-vnode-flags.src.ChildFlags
- Direction
- packages.inferno-server.src.renderToString_stream uses packages.inferno-vnode-flags.src. Changing packages.inferno-vnode-flags.src can break packages.inferno-server.src.renderToString_stream, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
4→2 packages.inferno.src.core.types depends on packages.inferno-vnode-flags.src✕
- Type pairs
- 2 distinct (type in packages.inferno.src.core.types → type in packages.inferno-vnode-flags.src) references.
- Which types
packages.inferno.src.core.types.VNode→packages.inferno-vnode-flags.src.ChildFlagspackages.inferno.src.core.types.VNode→packages.inferno-vnode-flags.src.VNodeFlags
- Direction
- packages.inferno.src.core.types uses packages.inferno-vnode-flags.src. Changing packages.inferno-vnode-flags.src can break packages.inferno.src.core.types, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
5→4 packages.inferno-animation.src.moveAnimations depends on packages.inferno.src.core.types✕
- Type pairs
- 1 distinct (type in packages.inferno-animation.src.moveAnimations → type in packages.inferno.src.core.types) reference.
- Which types
packages.inferno-animation.src.moveAnimations.MoveList→packages.inferno.src.core.types.VNode
- Direction
- packages.inferno-animation.src.moveAnimations uses packages.inferno.src.core.types. Changing packages.inferno.src.core.types can break packages.inferno-animation.src.moveAnimations, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
6→4 packages.inferno-mobx.src.observerWrap depends on packages.inferno.src.core.types✕
- Type pairs
- 1 distinct (type in packages.inferno-mobx.src.observerWrap → type in packages.inferno.src.core.types) reference.
- Which types
packages.inferno-mobx.src.observerWrap.InnerProperties→packages.inferno.src.core.types.VNode
- Direction
- packages.inferno-mobx.src.observerWrap uses packages.inferno.src.core.types. Changing packages.inferno.src.core.types can break packages.inferno-mobx.src.observerWrap, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
7→1 packages.inferno-server.src depends on packages.inferno-server.src.renderToString_queuestream✕
- Type pairs
- 1 distinct (type in packages.inferno-server.src → type in packages.inferno-server.src.renderToString_queuestream) reference.
- Which types
packages.inferno-server.src.renderToString.queuestream→packages.inferno-server.src.renderToString_queuestream.RenderQueueStream
- Direction
- packages.inferno-server.src uses packages.inferno-server.src.renderToString_queuestream. Changing packages.inferno-server.src.renderToString_queuestream can break packages.inferno-server.src, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
7→4 packages.inferno-server.src depends on packages.inferno.src.core.types✕
- Type pairs
- 2 distinct (type in packages.inferno-server.src → type in packages.inferno.src.core.types) references.
- Which types
packages.inferno-server.src.utils→packages.inferno.src.core.types.InfernoNodepackages.inferno-server.src.utils→packages.inferno.src.core.types.VNode
- Direction
- packages.inferno-server.src uses packages.inferno.src.core.types. Changing packages.inferno.src.core.types can break packages.inferno-server.src, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
8→4 packages.inferno-test-utils.src depends on packages.inferno.src.core.types✕
- Type pairs
- 2 distinct (type in packages.inferno-test-utils.src → type in packages.inferno.src.core.types) references.
- Which types
packages.inferno-test-utils.src.jest→packages.inferno.src.core.types.VNodepackages.inferno-test-utils.src.utils→packages.inferno.src.core.types.VNode
- Direction
- packages.inferno-test-utils.src uses packages.inferno.src.core.types. Changing packages.inferno.src.core.types can break packages.inferno-test-utils.src, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
9→4 packages.inferno.src.DOM.utils.common depends on packages.inferno.src.core.types✕
- Type pairs
- 1 distinct (type in packages.inferno.src.DOM.utils.common → type in packages.inferno.src.core.types) reference.
- Which types
packages.inferno.src.DOM.utils.common.MoveAnimationAdapter→packages.inferno.src.core.types.VNode
- Direction
- packages.inferno.src.DOM.utils.common uses packages.inferno.src.core.types. Changing packages.inferno.src.core.types can break packages.inferno.src.DOM.utils.common, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
10→4 packages.inferno.src.core.component depends on packages.inferno.src.core.types✕
- Type pairs
- 3 distinct (type in packages.inferno.src.core.component → type in packages.inferno.src.core.types) references.
- Which types
packages.inferno.src.core.component.Component→packages.inferno.src.core.types.IComponentpackages.inferno.src.core.component.Component→packages.inferno.src.core.types.InfernoNodepackages.inferno.src.core.component.Component→packages.inferno.src.core.types.VNode
- Direction
- packages.inferno.src.core.component uses packages.inferno.src.core.types. Changing packages.inferno.src.core.types can break packages.inferno.src.core.component, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
11→4 packages.inferno-animation.src.AnimatedAllComponent depends on packages.inferno.src.core.types✕
- Type pairs
- 2 distinct (type in packages.inferno-animation.src.AnimatedAllComponent → type in packages.inferno.src.core.types) references.
- Which types
packages.inferno-animation.src.AnimatedAllComponent.AnimatedAllComponent→packages.inferno.src.core.types.ParentDOMpackages.inferno-animation.src.AnimatedAllComponent.AnimationProp→packages.inferno.src.core.types.InfernoNode
- Direction
- packages.inferno-animation.src.AnimatedAllComponent uses packages.inferno.src.core.types. Changing packages.inferno.src.core.types can break packages.inferno-animation.src.AnimatedAllComponent, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
11→10 packages.inferno-animation.src.AnimatedAllComponent depends on packages.inferno.src.core.component✕
- Type pairs
- 1 distinct (type in packages.inferno-animation.src.AnimatedAllComponent → type in packages.inferno.src.core.component) reference.
- Which types
packages.inferno-animation.src.AnimatedAllComponent.AnimatedAllComponent→packages.inferno.src.core.component.Component
- Direction
- packages.inferno-animation.src.AnimatedAllComponent uses packages.inferno.src.core.component. Changing packages.inferno.src.core.component can break packages.inferno-animation.src.AnimatedAllComponent, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
12→4 packages.inferno-animation.src.AnimatedComponent depends on packages.inferno.src.core.types✕
- Type pairs
- 1 distinct (type in packages.inferno-animation.src.AnimatedComponent → type in packages.inferno.src.core.types) reference.
- Which types
packages.inferno-animation.src.AnimatedComponent.AnimationProp→packages.inferno.src.core.types.InfernoNode
- Direction
- packages.inferno-animation.src.AnimatedComponent uses packages.inferno.src.core.types. Changing packages.inferno.src.core.types can break packages.inferno-animation.src.AnimatedComponent, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
12→10 packages.inferno-animation.src.AnimatedComponent depends on packages.inferno.src.core.component✕
- Type pairs
- 1 distinct (type in packages.inferno-animation.src.AnimatedComponent → type in packages.inferno.src.core.component) reference.
- Which types
packages.inferno-animation.src.AnimatedComponent.AnimatedComponent→packages.inferno.src.core.component.Component
- Direction
- packages.inferno-animation.src.AnimatedComponent uses packages.inferno.src.core.component. Changing packages.inferno.src.core.component can break packages.inferno-animation.src.AnimatedComponent, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
13→4 packages.inferno-animation.src.AnimatedMoveComponent depends on packages.inferno.src.core.types✕
- Type pairs
- 1 distinct (type in packages.inferno-animation.src.AnimatedMoveComponent → type in packages.inferno.src.core.types) reference.
- Which types
packages.inferno-animation.src.AnimatedMoveComponent.AnimationProp→packages.inferno.src.core.types.InfernoNode
- Direction
- packages.inferno-animation.src.AnimatedMoveComponent uses packages.inferno.src.core.types. Changing packages.inferno.src.core.types can break packages.inferno-animation.src.AnimatedMoveComponent, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
13→10 packages.inferno-animation.src.AnimatedMoveComponent depends on packages.inferno.src.core.component✕
- Type pairs
- 1 distinct (type in packages.inferno-animation.src.AnimatedMoveComponent → type in packages.inferno.src.core.component) reference.
- Which types
packages.inferno-animation.src.AnimatedMoveComponent.AnimatedMoveComponent→packages.inferno.src.core.component.Component
- Direction
- packages.inferno-animation.src.AnimatedMoveComponent uses packages.inferno.src.core.component. Changing packages.inferno.src.core.component can break packages.inferno-animation.src.AnimatedMoveComponent, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
14→4 packages.inferno-compat depends on packages.inferno.src.core.types✕
- Type pairs
- 1 distinct (type in packages.inferno-compat → type in packages.inferno.src.core.types) reference.
- Which types
packages.inferno-compat.index→packages.inferno.src.core.types.VNode
- Direction
- packages.inferno-compat uses packages.inferno.src.core.types. Changing packages.inferno.src.core.types can break packages.inferno-compat, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
14→10 packages.inferno-compat depends on packages.inferno.src.core.component✕
- Type pairs
- 1 distinct (type in packages.inferno-compat → type in packages.inferno.src.core.component) reference.
- Which types
packages.inferno-compat.index→packages.inferno.src.core.component.Component
- Direction
- packages.inferno-compat uses packages.inferno.src.core.component. Changing packages.inferno.src.core.component can break packages.inferno-compat, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
15→4 packages.inferno-compat.src depends on packages.inferno.src.core.types✕
- Type pairs
- 2 distinct (type in packages.inferno-compat.src → type in packages.inferno.src.core.types) references.
- Which types
packages.inferno-compat.src.ContextProps→packages.inferno.src.core.types.InfernoNodepackages.inferno-compat.src.WrapperComponent→packages.inferno.src.core.types.InfernoNode
- Direction
- packages.inferno-compat.src uses packages.inferno.src.core.types. Changing packages.inferno.src.core.types can break packages.inferno-compat.src, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
15→10 packages.inferno-compat.src depends on packages.inferno.src.core.component✕
- Type pairs
- 2 distinct (type in packages.inferno-compat.src → type in packages.inferno.src.core.component) references.
- Which types
packages.inferno-compat.src.PureComponent→packages.inferno.src.core.component.Componentpackages.inferno-compat.src.WrapperComponent→packages.inferno.src.core.component.Component
- Direction
- packages.inferno-compat.src uses packages.inferno.src.core.component. Changing packages.inferno.src.core.component can break packages.inferno-compat.src, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
16→4 packages.inferno-extras.src depends on packages.inferno.src.core.types✕
- Type pairs
- 1 distinct (type in packages.inferno-extras.src → type in packages.inferno.src.core.types) reference.
- Which types
packages.inferno-extras.src.isDOMInsideVDOM→packages.inferno.src.core.types.VNode
- Direction
- packages.inferno-extras.src uses packages.inferno.src.core.types. Changing packages.inferno.src.core.types can break packages.inferno-extras.src, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
16→10 packages.inferno-extras.src depends on packages.inferno.src.core.component✕
- Type pairs
- 1 distinct (type in packages.inferno-extras.src → type in packages.inferno.src.core.component) reference.
- Which types
packages.inferno-extras.src.isDOMInsideVDOM→packages.inferno.src.core.component.Component
- Direction
- packages.inferno-extras.src uses packages.inferno.src.core.component. Changing packages.inferno.src.core.component can break packages.inferno-extras.src, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
17→4 packages.inferno-hydrate depends on packages.inferno.src.core.types✕
- Type pairs
- 1 distinct (type in packages.inferno-hydrate → type in packages.inferno.src.core.types) reference.
- Which types
packages.inferno-hydrate.index→packages.inferno.src.core.types.VNode
- Direction
- packages.inferno-hydrate uses packages.inferno.src.core.types. Changing packages.inferno.src.core.types can break packages.inferno-hydrate, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
17→9 packages.inferno-hydrate depends on packages.inferno.src.DOM.utils.common✕
- Type pairs
- 1 distinct (type in packages.inferno-hydrate → type in packages.inferno.src.DOM.utils.common) reference.
- Which types
packages.inferno-hydrate.index→packages.inferno.src.DOM.utils.common.AnimationQueues
- Direction
- packages.inferno-hydrate uses packages.inferno.src.DOM.utils.common. Changing packages.inferno.src.DOM.utils.common can break packages.inferno-hydrate, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
18→4 packages.inferno-mobx.src depends on packages.inferno.src.core.types✕
- Type pairs
- 1 distinct (type in packages.inferno-mobx.src → type in packages.inferno.src.core.types) reference.
- Which types
packages.inferno-mobx.src.observerWrap→packages.inferno.src.core.types.VNode
- Direction
- packages.inferno-mobx.src uses packages.inferno.src.core.types. Changing packages.inferno.src.core.types can break packages.inferno-mobx.src, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
18→6 packages.inferno-mobx.src depends on packages.inferno-mobx.src.observerWrap✕
- Type pairs
- 1 distinct (type in packages.inferno-mobx.src → type in packages.inferno-mobx.src.observerWrap) reference.
- Which types
packages.inferno-mobx.src.observerWrap→packages.inferno-mobx.src.observerWrap.InnerProperties
- Direction
- packages.inferno-mobx.src uses packages.inferno-mobx.src.observerWrap. Changing packages.inferno-mobx.src.observerWrap can break packages.inferno-mobx.src, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
19→4 packages.inferno-mobx.src.Provider depends on packages.inferno.src.core.types✕
- Type pairs
- 1 distinct (type in packages.inferno-mobx.src.Provider → type in packages.inferno.src.core.types) reference.
- Which types
packages.inferno-mobx.src.Provider.Provider→packages.inferno.src.core.types.InfernoNode
- Direction
- packages.inferno-mobx.src.Provider uses packages.inferno.src.core.types. Changing packages.inferno.src.core.types can break packages.inferno-mobx.src.Provider, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
19→10 packages.inferno-mobx.src.Provider depends on packages.inferno.src.core.component✕
- Type pairs
- 1 distinct (type in packages.inferno-mobx.src.Provider → type in packages.inferno.src.core.component) reference.
- Which types
packages.inferno-mobx.src.Provider.Provider→packages.inferno.src.core.component.Component
- Direction
- packages.inferno-mobx.src.Provider uses packages.inferno.src.core.component. Changing packages.inferno.src.core.component can break packages.inferno-mobx.src.Provider, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
20→4 packages.inferno-mobx.src.observer depends on packages.inferno.src.core.types✕
- Type pairs
- 1 distinct (type in packages.inferno-mobx.src.observer → type in packages.inferno.src.core.types) reference.
- Which types
packages.inferno-mobx.src.observer.Injector→packages.inferno.src.core.types.VNode
- Direction
- packages.inferno-mobx.src.observer uses packages.inferno.src.core.types. Changing packages.inferno.src.core.types can break packages.inferno-mobx.src.observer, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
20→10 packages.inferno-mobx.src.observer depends on packages.inferno.src.core.component✕
- Type pairs
- 1 distinct (type in packages.inferno-mobx.src.observer → type in packages.inferno.src.core.component) reference.
- Which types
packages.inferno-mobx.src.observer.Injector→packages.inferno.src.core.component.Component
- Direction
- packages.inferno-mobx.src.observer uses packages.inferno.src.core.component. Changing packages.inferno.src.core.component can break packages.inferno-mobx.src.observer, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
21→4 packages.inferno-redux.src.components.Provider depends on packages.inferno.src.core.types✕
- Type pairs
- 2 distinct (type in packages.inferno-redux.src.components.Provider → type in packages.inferno.src.core.types) references.
- Which types
packages.inferno-redux.src.components.Provider.Props→packages.inferno.src.core.types.InfernoNodepackages.inferno-redux.src.components.Provider.Provider→packages.inferno.src.core.types.InfernoNode
- Direction
- packages.inferno-redux.src.components.Provider uses packages.inferno.src.core.types. Changing packages.inferno.src.core.types can break packages.inferno-redux.src.components.Provider, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
21→10 packages.inferno-redux.src.components.Provider depends on packages.inferno.src.core.component✕
- Type pairs
- 1 distinct (type in packages.inferno-redux.src.components.Provider → type in packages.inferno.src.core.component) reference.
- Which types
packages.inferno-redux.src.components.Provider.Provider→packages.inferno.src.core.component.Component
- Direction
- packages.inferno-redux.src.components.Provider uses packages.inferno.src.core.component. Changing packages.inferno.src.core.component can break packages.inferno-redux.src.components.Provider, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
22→4 packages.inferno-redux.src.components.connectAdvanced depends on packages.inferno.src.core.types✕
- Type pairs
- 1 distinct (type in packages.inferno-redux.src.components.connectAdvanced → type in packages.inferno.src.core.types) reference.
- Which types
packages.inferno-redux.src.components.connectAdvanced.Connect→packages.inferno.src.core.types.InfernoNode
- Direction
- packages.inferno-redux.src.components.connectAdvanced uses packages.inferno.src.core.types. Changing packages.inferno.src.core.types can break packages.inferno-redux.src.components.connectAdvanced, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
22→10 packages.inferno-redux.src.components.connectAdvanced depends on packages.inferno.src.core.component✕
- Type pairs
- 1 distinct (type in packages.inferno-redux.src.components.connectAdvanced → type in packages.inferno.src.core.component) reference.
- Which types
packages.inferno-redux.src.components.connectAdvanced.Connect→packages.inferno.src.core.component.Component
- Direction
- packages.inferno-redux.src.components.connectAdvanced uses packages.inferno.src.core.component. Changing packages.inferno.src.core.component can break packages.inferno-redux.src.components.connectAdvanced, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
23→4 packages.inferno-router.src.HashRouter depends on packages.inferno.src.core.types✕
- Type pairs
- 2 distinct (type in packages.inferno-router.src.HashRouter → type in packages.inferno.src.core.types) references.
- Which types
packages.inferno-router.src.HashRouter.HashRouter→packages.inferno.src.core.types.VNodepackages.inferno-router.src.HashRouter.IHashRouterProps→packages.inferno.src.core.types.InfernoNode
- Direction
- packages.inferno-router.src.HashRouter uses packages.inferno.src.core.types. Changing packages.inferno.src.core.types can break packages.inferno-router.src.HashRouter, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
23→10 packages.inferno-router.src.HashRouter depends on packages.inferno.src.core.component✕
- Type pairs
- 1 distinct (type in packages.inferno-router.src.HashRouter → type in packages.inferno.src.core.component) reference.
- Which types
packages.inferno-router.src.HashRouter.HashRouter→packages.inferno.src.core.component.Component
- Direction
- packages.inferno-router.src.HashRouter uses packages.inferno.src.core.component. Changing packages.inferno.src.core.component can break packages.inferno-router.src.HashRouter, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
24→4 packages.inferno-router.src.Prompt depends on packages.inferno.src.core.types✕
- Type pairs
- 1 distinct (type in packages.inferno-router.src.Prompt → type in packages.inferno.src.core.types) reference.
- Which types
packages.inferno-router.src.Prompt.Prompt→packages.inferno.src.core.types.InfernoNode
- Direction
- packages.inferno-router.src.Prompt uses packages.inferno.src.core.types. Changing packages.inferno.src.core.types can break packages.inferno-router.src.Prompt, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
24→10 packages.inferno-router.src.Prompt depends on packages.inferno.src.core.component✕
- Type pairs
- 1 distinct (type in packages.inferno-router.src.Prompt → type in packages.inferno.src.core.component) reference.
- Which types
packages.inferno-router.src.Prompt.Prompt→packages.inferno.src.core.component.Component
- Direction
- packages.inferno-router.src.Prompt uses packages.inferno.src.core.component. Changing packages.inferno.src.core.component can break packages.inferno-router.src.Prompt, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
25→4 packages.inferno-router.src.Route depends on packages.inferno.src.core.types✕
- Type pairs
- 1 distinct (type in packages.inferno-router.src.Route → type in packages.inferno.src.core.types) reference.
- Which types
packages.inferno-router.src.Route.Route→packages.inferno.src.core.types.InfernoNode
- Direction
- packages.inferno-router.src.Route uses packages.inferno.src.core.types. Changing packages.inferno.src.core.types can break packages.inferno-router.src.Route, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
25→10 packages.inferno-router.src.Route depends on packages.inferno.src.core.component✕
- Type pairs
- 1 distinct (type in packages.inferno-router.src.Route → type in packages.inferno.src.core.component) reference.
- Which types
packages.inferno-router.src.Route.Route→packages.inferno.src.core.component.Component
- Direction
- packages.inferno-router.src.Route uses packages.inferno.src.core.component. Changing packages.inferno.src.core.component can break packages.inferno-router.src.Route, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
25→35 packages.inferno-router.src.Route depends on packages.inferno-router.src.Router cycle✕
- Type pairs
- 4 distinct (type in packages.inferno-router.src.Route → type in packages.inferno-router.src.Router) references.
- Which types
packages.inferno-router.src.Route.Match→packages.inferno-router.src.Router.TLoaderDatapackages.inferno-router.src.Route.Route→packages.inferno-router.src.Router.RouterContextpackages.inferno-router.src.Route.Route→packages.inferno-router.src.Router.TContextRouterpackages.inferno-router.src.Route.RouteState→packages.inferno-router.src.Router.TLoaderData
- Direction
- packages.inferno-router.src.Route uses packages.inferno-router.src.Router. Changing packages.inferno-router.src.Router can break packages.inferno-router.src.Route, not the reverse.
- Position
- Above the diagonal — a cycle. Neither module can be changed, tested or deployed independently until one of these dependencies goes.
26→4 packages.inferno-test-utils.src.utils depends on packages.inferno.src.core.types✕
- Type pairs
- 1 distinct (type in packages.inferno-test-utils.src.utils → type in packages.inferno.src.core.types) reference.
- Which types
packages.inferno-test-utils.src.utils.Wrapper→packages.inferno.src.core.types.InfernoNode
- Direction
- packages.inferno-test-utils.src.utils uses packages.inferno.src.core.types. Changing packages.inferno.src.core.types can break packages.inferno-test-utils.src.utils, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
26→10 packages.inferno-test-utils.src.utils depends on packages.inferno.src.core.component✕
- Type pairs
- 1 distinct (type in packages.inferno-test-utils.src.utils → type in packages.inferno.src.core.component) reference.
- Which types
packages.inferno-test-utils.src.utils.Wrapper→packages.inferno.src.core.component.Component
- Direction
- packages.inferno-test-utils.src.utils uses packages.inferno.src.core.component. Changing packages.inferno.src.core.component can break packages.inferno-test-utils.src.utils, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
27→2 packages.inferno.src.DOM depends on packages.inferno-vnode-flags.src✕
- Type pairs
- 2 distinct (type in packages.inferno.src.DOM → type in packages.inferno-vnode-flags.src) references.
- Which types
packages.inferno.src.DOM.patching→packages.inferno-vnode-flags.src.ChildFlagspackages.inferno.src.DOM.unmounting→packages.inferno-vnode-flags.src.VNodeFlags
- Direction
- packages.inferno.src.DOM uses packages.inferno-vnode-flags.src. Changing packages.inferno-vnode-flags.src can break packages.inferno.src.DOM, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
27→4 packages.inferno.src.DOM depends on packages.inferno.src.core.types✕
- Type pairs
- 4 distinct (type in packages.inferno.src.DOM → type in packages.inferno.src.core.types) references.
- Which types
packages.inferno.src.DOM.mounting→packages.inferno.src.core.types.VNodepackages.inferno.src.DOM.patching→packages.inferno.src.core.types.VNodepackages.inferno.src.DOM.rendering→packages.inferno.src.core.types.ParentDOMpackages.inferno.src.DOM.unmounting→packages.inferno.src.core.types.VNode
- Direction
- packages.inferno.src.DOM uses packages.inferno.src.core.types. Changing packages.inferno.src.core.types can break packages.inferno.src.DOM, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
27→9 packages.inferno.src.DOM depends on packages.inferno.src.DOM.utils.common✕
- Type pairs
- 4 distinct (type in packages.inferno.src.DOM → type in packages.inferno.src.DOM.utils.common) references.
- Which types
packages.inferno.src.DOM.mounting→packages.inferno.src.DOM.utils.common.AnimationQueuespackages.inferno.src.DOM.patching→packages.inferno.src.DOM.utils.common.AnimationQueuespackages.inferno.src.DOM.rendering→packages.inferno.src.DOM.utils.common.AnimationQueuespackages.inferno.src.DOM.unmounting→packages.inferno.src.DOM.utils.common.AnimationQueues
- Direction
- packages.inferno.src.DOM uses packages.inferno.src.DOM.utils.common. Changing packages.inferno.src.DOM.utils.common can break packages.inferno.src.DOM, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
27→10 packages.inferno.src.DOM depends on packages.inferno.src.core.component✕
- Type pairs
- 1 distinct (type in packages.inferno.src.DOM → type in packages.inferno.src.core.component) reference.
- Which types
packages.inferno.src.DOM.patching→packages.inferno.src.core.component.Component
- Direction
- packages.inferno.src.DOM uses packages.inferno.src.core.component. Changing packages.inferno.src.core.component can break packages.inferno.src.DOM, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
28→2 packages.inferno.src.DOM.utils depends on packages.inferno-vnode-flags.src✕
- Type pairs
- 1 distinct (type in packages.inferno.src.DOM.utils → type in packages.inferno-vnode-flags.src) reference.
- Which types
packages.inferno.src.DOM.utils.common→packages.inferno-vnode-flags.src.VNodeFlags
- Direction
- packages.inferno.src.DOM.utils uses packages.inferno-vnode-flags.src. Changing packages.inferno-vnode-flags.src can break packages.inferno.src.DOM.utils, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
28→4 packages.inferno.src.DOM.utils depends on packages.inferno.src.core.types✕
- Type pairs
- 4 distinct (type in packages.inferno.src.DOM.utils → type in packages.inferno.src.core.types) references.
- Which types
packages.inferno.src.DOM.utils.common→packages.inferno.src.core.types.InfernoNodepackages.inferno.src.DOM.utils.common→packages.inferno.src.core.types.VNodepackages.inferno.src.DOM.utils.componentUtil→packages.inferno.src.core.types.InfernoNodepackages.inferno.src.DOM.utils.componentUtil→packages.inferno.src.core.types.VNode
- Direction
- packages.inferno.src.DOM.utils uses packages.inferno.src.core.types. Changing packages.inferno.src.core.types can break packages.inferno.src.DOM.utils, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
28→9 packages.inferno.src.DOM.utils depends on packages.inferno.src.DOM.utils.common✕
- Type pairs
- 2 distinct (type in packages.inferno.src.DOM.utils → type in packages.inferno.src.DOM.utils.common) references.
- Which types
packages.inferno.src.DOM.utils.common→packages.inferno.src.DOM.utils.common.AnimationQueuespackages.inferno.src.DOM.utils.common→packages.inferno.src.DOM.utils.common.MoveAnimationAdapter
- Direction
- packages.inferno.src.DOM.utils uses packages.inferno.src.DOM.utils.common. Changing packages.inferno.src.DOM.utils.common can break packages.inferno.src.DOM.utils, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
28→10 packages.inferno.src.DOM.utils depends on packages.inferno.src.core.component✕
- Type pairs
- 1 distinct (type in packages.inferno.src.DOM.utils → type in packages.inferno.src.core.component) reference.
- Which types
packages.inferno.src.DOM.utils.componentUtil→packages.inferno.src.core.component.Component
- Direction
- packages.inferno.src.DOM.utils uses packages.inferno.src.core.component. Changing packages.inferno.src.core.component can break packages.inferno.src.DOM.utils, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
29→2 packages.inferno.src.core depends on packages.inferno-vnode-flags.src✕
- Type pairs
- 3 distinct (type in packages.inferno.src.core → type in packages.inferno-vnode-flags.src) references.
- Which types
packages.inferno.src.core.implementation→packages.inferno-vnode-flags.src.ChildFlagspackages.inferno.src.core.implementation→packages.inferno-vnode-flags.src.VNodeFlagspackages.inferno.src.core.validate→packages.inferno-vnode-flags.src.ChildFlags
- Direction
- packages.inferno.src.core uses packages.inferno-vnode-flags.src. Changing packages.inferno-vnode-flags.src can break packages.inferno.src.core, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
29→4 packages.inferno.src.core depends on packages.inferno.src.core.types✕
- Type pairs
- 5 distinct (type in packages.inferno.src.core → type in packages.inferno.src.core.types) references.
- Which types
packages.inferno.src.core.implementation→packages.inferno.src.core.types.InfernoNodepackages.inferno.src.core.implementation→packages.inferno.src.core.types.ParentDOMpackages.inferno.src.core.implementation→packages.inferno.src.core.types.VNodepackages.inferno.src.core.refs→packages.inferno.src.core.types.RefObjectpackages.inferno.src.core.validate→packages.inferno.src.core.types.VNode
- Direction
- packages.inferno.src.core uses packages.inferno.src.core.types. Changing packages.inferno.src.core.types can break packages.inferno.src.core, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
29→10 packages.inferno.src.core depends on packages.inferno.src.core.component✕
- Type pairs
- 1 distinct (type in packages.inferno.src.core → type in packages.inferno.src.core.component) reference.
- Which types
packages.inferno.src.core.component→packages.inferno.src.core.component.Component
- Direction
- packages.inferno.src.core uses packages.inferno.src.core.component. Changing packages.inferno.src.core.component can break packages.inferno.src.core, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
30→10 docs.animation-glitch.app depends on packages.inferno.src.core.component✕
- Type pairs
- 1 distinct (type in docs.animation-glitch.app → type in packages.inferno.src.core.component) reference.
- Which types
docs.animation-glitch.app.ClassWrapper→packages.inferno.src.core.component.Component
- Direction
- docs.animation-glitch.app uses packages.inferno.src.core.component. Changing packages.inferno.src.core.component can break docs.animation-glitch.app, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
30→11 docs.animation-glitch.app depends on packages.inferno-animation.src.AnimatedAllComponent✕
- Type pairs
- 3 distinct (type in docs.animation-glitch.app → type in packages.inferno-animation.src.AnimatedAllComponent) references.
- Which types
docs.animation-glitch.app.AllCard→packages.inferno-animation.src.AnimatedAllComponent.AnimatedAllComponentdocs.animation-glitch.app.Logo→packages.inferno-animation.src.AnimatedAllComponent.AnimatedAllComponentdocs.animation-glitch.app.Tile→packages.inferno-animation.src.AnimatedAllComponent.AnimatedAllComponent
- Direction
- docs.animation-glitch.app uses packages.inferno-animation.src.AnimatedAllComponent. Changing packages.inferno-animation.src.AnimatedAllComponent can break docs.animation-glitch.app, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
30→13 docs.animation-glitch.app depends on packages.inferno-animation.src.AnimatedMoveComponent✕
- Type pairs
- 5 distinct (type in docs.animation-glitch.app → type in packages.inferno-animation.src.AnimatedMoveComponent) references.
- Which types
docs.animation-glitch.app.AnimatedCard→packages.inferno-animation.src.AnimatedMoveComponent.AnimatedMoveComponentdocs.animation-glitch.app.AnimatedLi→packages.inferno-animation.src.AnimatedMoveComponent.AnimatedMoveComponentdocs.animation-glitch.app.Group→packages.inferno-animation.src.AnimatedMoveComponent.AnimatedMoveComponentdocs.animation-glitch.app.MoveCard→packages.inferno-animation.src.AnimatedMoveComponent.AnimatedMoveComponentdocs.animation-glitch.app.SvgCard→packages.inferno-animation.src.AnimatedMoveComponent.AnimatedMoveComponent
- Direction
- docs.animation-glitch.app uses packages.inferno-animation.src.AnimatedMoveComponent. Changing packages.inferno-animation.src.AnimatedMoveComponent can break docs.animation-glitch.app, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
31→10 docs.animations-demo.app depends on packages.inferno.src.core.component✕
- Type pairs
- 1 distinct (type in docs.animations-demo.app → type in packages.inferno.src.core.component) reference.
- Which types
docs.animations-demo.app.List→packages.inferno.src.core.component.Component
- Direction
- docs.animations-demo.app uses packages.inferno.src.core.component. Changing packages.inferno.src.core.component can break docs.animations-demo.app, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
31→12 docs.animations-demo.app depends on packages.inferno-animation.src.AnimatedComponent✕
- Type pairs
- 1 distinct (type in docs.animations-demo.app → type in packages.inferno-animation.src.AnimatedComponent) reference.
- Which types
docs.animations-demo.app.ListItem→packages.inferno-animation.src.AnimatedComponent.AnimatedComponent
- Direction
- docs.animations-demo.app uses packages.inferno-animation.src.AnimatedComponent. Changing packages.inferno-animation.src.AnimatedComponent can break docs.animations-demo.app, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
32→10 docs.animations.app depends on packages.inferno.src.core.component✕
- Type pairs
- 5 distinct (type in docs.animations.app → type in packages.inferno.src.core.component) references.
- Which types
docs.animations.app.List→packages.inferno.src.core.component.Componentdocs.animations.app.MixedList→packages.inferno.src.core.component.Componentdocs.animations.app.RerenderList→packages.inferno.src.core.component.Componentdocs.animations.app.ShuffleList→packages.inferno.src.core.component.Componentdocs.animations.app.ShuffleListWithAnimation→packages.inferno.src.core.component.Component
- Direction
- docs.animations.app uses packages.inferno.src.core.component. Changing packages.inferno.src.core.component can break docs.animations.app, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
32→12 docs.animations.app depends on packages.inferno-animation.src.AnimatedComponent✕
- Type pairs
- 2 distinct (type in docs.animations.app → type in packages.inferno-animation.src.AnimatedComponent) references.
- Which types
docs.animations.app.ListItem→packages.inferno-animation.src.AnimatedComponent.AnimatedComponentdocs.animations.app.SectionItem→packages.inferno-animation.src.AnimatedComponent.AnimatedComponent
- Direction
- docs.animations.app uses packages.inferno-animation.src.AnimatedComponent. Changing packages.inferno-animation.src.AnimatedComponent can break docs.animations.app, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
32→13 docs.animations.app depends on packages.inferno-animation.src.AnimatedMoveComponent✕
- Type pairs
- 1 distinct (type in docs.animations.app → type in packages.inferno-animation.src.AnimatedMoveComponent) reference.
- Which types
docs.animations.app.ListItemMoveAnim→packages.inferno-animation.src.AnimatedMoveComponent.AnimatedMoveComponent
- Direction
- docs.animations.app uses packages.inferno-animation.src.AnimatedMoveComponent. Changing packages.inferno-animation.src.AnimatedMoveComponent can break docs.animations.app, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
33→4 packages.inferno-animation.src depends on packages.inferno.src.core.types✕
- Type pairs
- 2 distinct (type in packages.inferno-animation.src → type in packages.inferno.src.core.types) references.
- Which types
packages.inferno-animation.src.animations→packages.inferno.src.core.types.ParentDOMpackages.inferno-animation.src.moveAnimations→packages.inferno.src.core.types.VNode
- Direction
- packages.inferno-animation.src uses packages.inferno.src.core.types. Changing packages.inferno.src.core.types can break packages.inferno-animation.src, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
33→5 packages.inferno-animation.src depends on packages.inferno-animation.src.moveAnimations✕
- Type pairs
- 1 distinct (type in packages.inferno-animation.src → type in packages.inferno-animation.src.moveAnimations) reference.
- Which types
packages.inferno-animation.src.moveAnimations→packages.inferno-animation.src.moveAnimations.MoveList
- Direction
- packages.inferno-animation.src uses packages.inferno-animation.src.moveAnimations. Changing packages.inferno-animation.src.moveAnimations can break packages.inferno-animation.src, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
33→9 packages.inferno-animation.src depends on packages.inferno.src.DOM.utils.common✕
- Type pairs
- 2 distinct (type in packages.inferno-animation.src → type in packages.inferno.src.DOM.utils.common) references.
- Which types
packages.inferno-animation.src.moveAnimations→packages.inferno.src.DOM.utils.common.AnimationQueuespackages.inferno-animation.src.moveAnimations→packages.inferno.src.DOM.utils.common.MoveAnimationAdapter
- Direction
- packages.inferno-animation.src uses packages.inferno.src.DOM.utils.common. Changing packages.inferno.src.DOM.utils.common can break packages.inferno-animation.src, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
33→15 packages.inferno-animation.src depends on packages.inferno-compat.src✕
- Type pairs
- 1 distinct (type in packages.inferno-animation.src → type in packages.inferno-compat.src) reference.
- Which types
packages.inferno-animation.src.utils→packages.inferno-compat.src.Event
- Direction
- packages.inferno-animation.src uses packages.inferno-compat.src. Changing packages.inferno-compat.src can break packages.inferno-animation.src, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
34→4 packages.inferno-router.src.Redirect depends on packages.inferno.src.core.types✕
- Type pairs
- 1 distinct (type in packages.inferno-router.src.Redirect → type in packages.inferno.src.core.types) reference.
- Which types
packages.inferno-router.src.Redirect.Redirect→packages.inferno.src.core.types.InfernoNode
- Direction
- packages.inferno-router.src.Redirect uses packages.inferno.src.core.types. Changing packages.inferno.src.core.types can break packages.inferno-router.src.Redirect, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
34→10 packages.inferno-router.src.Redirect depends on packages.inferno.src.core.component✕
- Type pairs
- 1 distinct (type in packages.inferno-router.src.Redirect → type in packages.inferno.src.core.component) reference.
- Which types
packages.inferno-router.src.Redirect.Redirect→packages.inferno.src.core.component.Component
- Direction
- packages.inferno-router.src.Redirect uses packages.inferno.src.core.component. Changing packages.inferno.src.core.component can break packages.inferno-router.src.Redirect, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
34→25 packages.inferno-router.src.Redirect depends on packages.inferno-router.src.Route✕
- Type pairs
- 1 distinct (type in packages.inferno-router.src.Redirect → type in packages.inferno-router.src.Route) reference.
- Which types
packages.inferno-router.src.Redirect.RedirectProps→packages.inferno-router.src.Route.Match
- Direction
- packages.inferno-router.src.Redirect uses packages.inferno-router.src.Route. Changing packages.inferno-router.src.Route can break packages.inferno-router.src.Redirect, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
35→4 packages.inferno-router.src.Router depends on packages.inferno.src.core.types✕
- Type pairs
- 2 distinct (type in packages.inferno-router.src.Router → type in packages.inferno.src.core.types) references.
- Which types
packages.inferno-router.src.Router.IRouterProps→packages.inferno.src.core.types.InfernoNodepackages.inferno-router.src.Router.Router→packages.inferno.src.core.types.InfernoNode
- Direction
- packages.inferno-router.src.Router uses packages.inferno.src.core.types. Changing packages.inferno.src.core.types can break packages.inferno-router.src.Router, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
35→10 packages.inferno-router.src.Router depends on packages.inferno.src.core.component✕
- Type pairs
- 1 distinct (type in packages.inferno-router.src.Router → type in packages.inferno.src.core.component) reference.
- Which types
packages.inferno-router.src.Router.Router→packages.inferno.src.core.component.Component
- Direction
- packages.inferno-router.src.Router uses packages.inferno.src.core.component. Changing packages.inferno.src.core.component can break packages.inferno-router.src.Router, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
35→25 packages.inferno-router.src.Router depends on packages.inferno-router.src.Route✕
- Type pairs
- 1 distinct (type in packages.inferno-router.src.Router → type in packages.inferno-router.src.Route) reference.
- Which types
packages.inferno-router.src.Router.Router→packages.inferno-router.src.Route.Match
- Direction
- packages.inferno-router.src.Router uses packages.inferno-router.src.Route. Changing packages.inferno-router.src.Route can break packages.inferno-router.src.Router, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
36→4 packages.inferno-router.src.BrowserRouter depends on packages.inferno.src.core.types✕
- Type pairs
- 1 distinct (type in packages.inferno-router.src.BrowserRouter → type in packages.inferno.src.core.types) reference.
- Which types
packages.inferno-router.src.BrowserRouter.BrowserRouter→packages.inferno.src.core.types.VNode
- Direction
- packages.inferno-router.src.BrowserRouter uses packages.inferno.src.core.types. Changing packages.inferno.src.core.types can break packages.inferno-router.src.BrowserRouter, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
36→10 packages.inferno-router.src.BrowserRouter depends on packages.inferno.src.core.component✕
- Type pairs
- 2 distinct (type in packages.inferno-router.src.BrowserRouter → type in packages.inferno.src.core.component) references.
- Which types
packages.inferno-router.src.BrowserRouter.BrowserRouter→packages.inferno.src.core.component.Componentpackages.inferno-router.src.BrowserRouter.IBrowserRouterProps→packages.inferno.src.core.component.Component
- Direction
- packages.inferno-router.src.BrowserRouter uses packages.inferno.src.core.component. Changing packages.inferno.src.core.component can break packages.inferno-router.src.BrowserRouter, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
36→35 packages.inferno-router.src.BrowserRouter depends on packages.inferno-router.src.Router✕
- Type pairs
- 1 distinct (type in packages.inferno-router.src.BrowserRouter → type in packages.inferno-router.src.Router) reference.
- Which types
packages.inferno-router.src.BrowserRouter.IBrowserRouterProps→packages.inferno-router.src.Router.TLoaderData
- Direction
- packages.inferno-router.src.BrowserRouter uses packages.inferno-router.src.Router. Changing packages.inferno-router.src.Router can break packages.inferno-router.src.BrowserRouter, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
37→4 packages.inferno-router.src.MemoryRouter depends on packages.inferno.src.core.types✕
- Type pairs
- 1 distinct (type in packages.inferno-router.src.MemoryRouter → type in packages.inferno.src.core.types) reference.
- Which types
packages.inferno-router.src.MemoryRouter.MemoryRouter→packages.inferno.src.core.types.VNode
- Direction
- packages.inferno-router.src.MemoryRouter uses packages.inferno.src.core.types. Changing packages.inferno.src.core.types can break packages.inferno-router.src.MemoryRouter, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
37→10 packages.inferno-router.src.MemoryRouter depends on packages.inferno.src.core.component✕
- Type pairs
- 2 distinct (type in packages.inferno-router.src.MemoryRouter → type in packages.inferno.src.core.component) references.
- Which types
packages.inferno-router.src.MemoryRouter.IMemoryRouterProps→packages.inferno.src.core.component.Componentpackages.inferno-router.src.MemoryRouter.MemoryRouter→packages.inferno.src.core.component.Component
- Direction
- packages.inferno-router.src.MemoryRouter uses packages.inferno.src.core.component. Changing packages.inferno.src.core.component can break packages.inferno-router.src.MemoryRouter, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
37→35 packages.inferno-router.src.MemoryRouter depends on packages.inferno-router.src.Router✕
- Type pairs
- 1 distinct (type in packages.inferno-router.src.MemoryRouter → type in packages.inferno-router.src.Router) reference.
- Which types
packages.inferno-router.src.MemoryRouter.IMemoryRouterProps→packages.inferno-router.src.Router.TLoaderData
- Direction
- packages.inferno-router.src.MemoryRouter uses packages.inferno-router.src.Router. Changing packages.inferno-router.src.Router can break packages.inferno-router.src.MemoryRouter, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
38→4 packages.inferno-router.src.StaticRouter depends on packages.inferno.src.core.types✕
- Type pairs
- 1 distinct (type in packages.inferno-router.src.StaticRouter → type in packages.inferno.src.core.types) reference.
- Which types
packages.inferno-router.src.StaticRouter.StaticRouter→packages.inferno.src.core.types.InfernoNode
- Direction
- packages.inferno-router.src.StaticRouter uses packages.inferno.src.core.types. Changing packages.inferno.src.core.types can break packages.inferno-router.src.StaticRouter, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
38→10 packages.inferno-router.src.StaticRouter depends on packages.inferno.src.core.component✕
- Type pairs
- 1 distinct (type in packages.inferno-router.src.StaticRouter → type in packages.inferno.src.core.component) reference.
- Which types
packages.inferno-router.src.StaticRouter.StaticRouter→packages.inferno.src.core.component.Component
- Direction
- packages.inferno-router.src.StaticRouter uses packages.inferno.src.core.component. Changing packages.inferno.src.core.component can break packages.inferno-router.src.StaticRouter, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
38→35 packages.inferno-router.src.StaticRouter depends on packages.inferno-router.src.Router✕
- Type pairs
- 1 distinct (type in packages.inferno-router.src.StaticRouter → type in packages.inferno-router.src.Router) reference.
- Which types
packages.inferno-router.src.StaticRouter.IStaticRouterProps→packages.inferno-router.src.Router.TLoaderData
- Direction
- packages.inferno-router.src.StaticRouter uses packages.inferno-router.src.Router. Changing packages.inferno-router.src.Router can break packages.inferno-router.src.StaticRouter, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
39→10 packages.inferno-router.src.Switch depends on packages.inferno.src.core.component✕
- Type pairs
- 1 distinct (type in packages.inferno-router.src.Switch → type in packages.inferno.src.core.component) reference.
- Which types
packages.inferno-router.src.Switch.Switch→packages.inferno.src.core.component.Component
- Direction
- packages.inferno-router.src.Switch uses packages.inferno.src.core.component. Changing packages.inferno.src.core.component can break packages.inferno-router.src.Switch, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
39→25 packages.inferno-router.src.Switch depends on packages.inferno-router.src.Route✕
- Type pairs
- 1 distinct (type in packages.inferno-router.src.Switch → type in packages.inferno-router.src.Route) reference.
- Which types
packages.inferno-router.src.Switch.Switch→packages.inferno-router.src.Route.IRouteProps
- Direction
- packages.inferno-router.src.Switch uses packages.inferno-router.src.Route. Changing packages.inferno-router.src.Route can break packages.inferno-router.src.Switch, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
39→35 packages.inferno-router.src.Switch depends on packages.inferno-router.src.Router✕
- Type pairs
- 1 distinct (type in packages.inferno-router.src.Switch → type in packages.inferno-router.src.Router) reference.
- Which types
packages.inferno-router.src.Switch.Switch→packages.inferno-router.src.Router.RouterContext
- Direction
- packages.inferno-router.src.Switch uses packages.inferno-router.src.Router. Changing packages.inferno-router.src.Router can break packages.inferno-router.src.Switch, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
40→4 packages.inferno-router.src depends on packages.inferno.src.core.types✕
- Type pairs
- 1 distinct (type in packages.inferno-router.src → type in packages.inferno.src.core.types) reference.
- Which types
packages.inferno-router.src.Link→packages.inferno.src.core.types.VNode
- Direction
- packages.inferno-router.src uses packages.inferno.src.core.types. Changing packages.inferno.src.core.types can break packages.inferno-router.src, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
40→35 packages.inferno-router.src depends on packages.inferno-router.src.Router✕
- Type pairs
- 1 distinct (type in packages.inferno-router.src → type in packages.inferno-router.src.Router) reference.
- Which types
packages.inferno-router.src.resolveLoaders→packages.inferno-router.src.Router.TLoaderData
- Direction
- packages.inferno-router.src uses packages.inferno-router.src.Router. Changing packages.inferno-router.src.Router can break packages.inferno-router.src, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
40→39 packages.inferno-router.src depends on packages.inferno-router.src.Switch✕
- Type pairs
- 1 distinct (type in packages.inferno-router.src → type in packages.inferno-router.src.Switch) reference.
- Which types
packages.inferno-router.src.Switch→packages.inferno-router.src.Switch.SwitchState
- Direction
- packages.inferno-router.src uses packages.inferno-router.src.Switch. Changing packages.inferno-router.src.Switch can break packages.inferno-router.src, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
At a glance — Code Health
At a glance — Architecture
At a glance — Maturity
At a glance — Readiness
At a glance — Security
At a glance — Performance
Security & Compliance — OWASP Top-10 mapping
| OWASP category | Findings | Severity |
|---|---|---|
| A03:2021 — Injection | 9 | High / Critical |
Roadmap
Begin by documenting key architectural decisions in a centralized location and reconciling the README to accurately reflect the project's current state, particularly regarding missing Docker files. Next, address the bus factor risk by resolving off-boarding concerns and add a clear testing section to the root README to guide users on running the test suite. Finally, migrate the remaining JavaScript and JSX files to TypeScript to improve type safety and reduce technical debt.
| Do this | Helps | Effort | Dimension |
|---|---|---|---|
| Resolve the 1 Off-boarding risk finding(s) in Bus Factor. | +8.0 pts | Low | Bus Factor |
| Record significant decisions one document per decision — dated, stating the context, the decision and its consequences — and keep them together wherever your design docs already live (a conventional `docs/adr/` tree, with each file named `NNNN-title` in whatever markup those docs already use, is the most discoverable form). | +9.6 pts | Medium | Architecture documentation |
| Reconcile the README with reality: README advertises Docker containerisation, but no Dockerfile/compose file exists. | +8.0 pts | Medium | Documentation accuracy |
| Add a 'Testing' section to the root README — how to run the test suite. | +7.5 pts | Medium | Documentation (README) |
| Resolve the 2 Documentation finding(s) in Documentation Quality — start with index.html (2). | +2.3 pts | Low | Documentation Quality |
| Migrate the remaining .js/.jsx files to TypeScript. | +2.6 pts | Medium | Type Safety |
| Split each oversized file along the responsibilities already in it, into smaller focused modules in the same package. | +2.5 pts | Medium | Large Files |
| Break down the listed branch-heavy functions; aim P95 cyclomatic ≤ 5. | +2.3 pts | Medium | Cyclomatic Complexity |
File quality
| File | Score | Band | Worst signal |
|---|---|---|---|
| REDACTED | 4.6 | Mixed | Static Analysis (SAST): Medium: REDACTED |
| REDACTED | 5.1 | Mixed | Static Analysis (SAST): High: REDACTED |
| packages/inferno-server/src/renderToString.queuestream.ts | 5.9 | Mixed | Cyclomatic Complexity: RenderQueueStream.renderVNodeToQueue (cyclomatic 63) |
| packages/inferno/src/DOM/unmounting.ts | 6.0 | Mixed | Explicit Debt: TodoComment |
| packages/inferno-redux/src/components/connectAdvanced.ts | 6.0 | Mixed | Explicit Debt: TodoComment |
| packages/inferno-mobx/src/observer.ts | 6.0 | Mixed | Explicit Debt: TodoComment |
| packages/inferno-server/src/renderToString.stream.ts | 6.3 | Mixed | Cyclomatic Complexity: RenderStream.renderElement (cyclomatic 28) |
| packages/inferno/__tests__/async-setstate.spec.tsx | 6.5 | Mixed | Explicit Debt: HackComment |
| packages/inferno-router/src/resolveLoaders.ts | 6.6 | Mixed | Explicit Debt: TodoComment |
| packages/inferno/src/DOM/events/delegation.ts | 6.7 | Mixed | Explicit Debt: TodoComment |
| packages/inferno-router/__tests__/Switch.spec.tsx | 6.7 | Mixed | Explicit Debt: TodoComment |
| packages/inferno/src/DOM/patching.ts | 7.0 | Mixed | Cyclomatic Complexity: patching.patchKeyedChildrenComplex (cyclomatic 41) |
| packages/inferno/__tests__/types.spec.tsx | 7.0 | Mixed | Test Quality: No assertions: Should render SFC jsx node |
| packages/inferno/__tests__/instancenull.spec.tsx | 7.0 | Mixed | Test Quality: No assertions (empty test): Should not fail when an opened dropdown is replaced by a component rendering null |
| packages/inferno-animation/src/moveAnimations.ts | 7.0 | Mixed | Cyclomatic Complexity: moveAnimations.prepareItems (cyclomatic 24) |
| packages/inferno-create-element/__tests__/createElementTyped.spec.tsx | 7.0 | Mixed | Test Quality: No assertions: Should render zero children |
| packages/inferno-animation/src/animations.ts | 7.0 | Mixed | Cyclomatic Complexity: animations.runMove (cyclomatic 56) |
| packages/inferno/src/core/validate.ts | 7.1 | Mixed | Cyclomatic Complexity: validate.validateVNodeElementChildren (cyclomatic 23) |
| packages/inferno-mobx/__tests__/types.spec.tsx | 7.1 | Mixed | Test Quality: No assertions: Should render SFC |
| packages/inferno/src/DOM/props.ts | 7.2 | Mixed | Cyclomatic Complexity: props.patchProp (cyclomatic 68) |
How the grades work
A definite problem that already costs you something and drags the score down: a missing authorisation check, a dependency with a known exploit, a build that does not reproduce. Failure here tends to cause failures elsewhere.
Likely wrong, but not failing yet. It degrades the codebase over a longer horizon and can cause failures elsewhere — not urgent this week, not something to carry for two years either.
Recorded, with no effect on how the codebase functions. Present so the survey is complete, not because it needs doing.
Something this survey could not settle from the outside, and which could be critical or serious. Either a control was required and no positive evidence of it exists in the repository — a backup job that nothing shows was ever restored from proves nothing about restores — or our own analysis could not run over that part of the tree. This is not a clean result. These are excluded from the score rather than awarded a pass, so the number on the cover neither rewards nor penalises them: if you act on this survey without resolving them, you carry that risk yourself. Each one is named under Limitations.
Methodology & how to trust this report
Watchdog is a deep, periodic assessment — run each sprint, monthly, or quarterly, taking the time to go wider and deeper than a quick check and surfacing in one coherent report what you'd otherwise piece together from a dozen separate tools. It scores deterministically: the same commit yields the same score, every run. 45 of 49 evaluated dimensions are computed purely by tools and static analysis (confidence 1.0); 4 documentation/naming judgement(s) are LLM-assisted and labelled advisory. Overall confidence is 0.8 — the weighted average across measured dimensions; it falls as more of the score leans on LLM-assisted judgement and rises when it's fully tool-backed.
What we checked — 49 dimensions across the health lenses
- Can you open the finding? Real findings cite a repo-relative file and line you can open at the cited line — never an absolute scratch path. Here, 310 of 325 do; the remainder are repo-wide signals — a dimension-level measurement, not a single line.
- Is there a tool behind the number? Every score below names the method that produced it — Roslyn, git, a scanner, or (for a handful of documentation/naming dimensions) an LLM labelled sampled · advisory — not a narrative.
- Does re-running give the same result? Run it again on the same commit and the score — and this report, byte for byte — is identical. A report whose numbers move between runs is describing the run, not the code.
Tools & methods
| Method | Backs | Version | Evaluator |
|---|---|---|---|
| Roslyn static analysis | Complexity, cohesion, coupling, dead code, API surface, layering | 5.3.0 | ✓ deterministic |
| Native secret scanner | Hardcoded secrets / credentials | 1.0.0 | ✓ deterministic |
| Watchdog duplication detector (in-process) | Code duplication | 1.0.0 | ✓ deterministic |
| Coverage (coverlet / dotnet-coverage) | Line & branch coverage | 10.0.400 | ✓ deterministic |
| NuGet / dotnet | Outdated, vulnerable & deprecated dependencies | 10.0.400 | ✓ deterministic |
| git / LibGit2Sharp | Churn hotspots, knowledge concentration, history | 2.43.0 · 0.31.0 | ✓ deterministic |
| gitleaks · semgrep · trivy | Secrets in history, SAST, CVEs, IaC & container, PII / GDPR | 1.86.0 · 0.69.3 | ✓ deterministic |
| LLM (sampled · advisory) | Documentation quality, ADR conformance, naming — sampled over a bounded sample; advisory, never a deterministic measurement | Local LLM | ◐ LLM · sampled · advisory |
Run transparency — what happened this run
- D8 Code Coverage — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Coverage NOT MEASURED: the JavaScript/TypeScript half could not be measured — the dependency install for the repository root failed in the analyzer sandbox (ERR_PNPM_BROKEN_LOCKFILE The lockfile at "pnpm-lock.yaml" is broken: expected a single document in the stream, but found more), so the suite never ran. Coverage is excluded from the score rather than counted as a near-zero. This is OUR limitation, not a defect in the repo — a coverage step in CI (`coverallsapp/github-action`) shows coverage is measured in your own CI. Commit the lcov/Cobertura report it produces and the real number is read on the next scan. You can widen what we reach: optional: commit the lcov/Cobertura report your CI produces, and the real number is read on the next scan.
- D11 Test Reliability — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Test reliability NOT MEASURED: the JavaScript/TypeScript suite could not be re-run in the analyzer sandbox — the dependency install for the repository root failed in the analyzer sandbox (ERR_PNPM_BROKEN_LOCKFILE The lockfile at "pnpm-lock.yaml" is broken: expected a single document in the stream, but found more), so the suite never ran. This is OUR limitation, not a defect in the repo — it is excluded from the score.
- D11 Test Reliability — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Test reliability for the jest suite in the repository root was NOT MEASURED: the dependency install for the repository root failed in the analyzer sandbox (ERR_PNPM_BROKEN_LOCKFILE The lockfile at "pnpm-lock.yaml" is broken: expected a single document in the stream, but found more), so the suite never ran. This is OUR limitation, not a defect in the repository, and the suite is excluded from the measurement rather than counted against it.
- D22 Internal API Consistency — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. D22 identifies the intentionally-exposed surface from `IsPackable` and `.Contracts` project names, MSBuild conventions read off the loaded project set. This target exposed no such projects, so the probe never ran; this says nothing about whether the repository has a public API. This repository commits no C#/VB source at all, so there was never an MSBuild project set to read these conventions off. That is OUR side and it is a COLLECTOR gap, not an environment fault: it declares a published package (packages/inferno-animation/package.json), but no published-package marker D22 reads admitted any project here, so this ecosystem's public API has no collector, and the remedy is to write one — no change to the scan image can close it.
- D32 Data Compliance (PII/GDPR) — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. `docs/build.js`, `packages/inferno-create-element/src/index.ts`, `packages/inferno-router/src/Route.ts`, `packages/inferno/src/core/component.ts`, `scripts/rollup/plugins/index.js` produced a parse error, so every rule in this engine's `gdpr.yml` was absent there. That absence is NOT a clean result: these rules detect personal data crossing a boundary into a log sink, a URL or browser storage, and a file that was never parsed cannot report any of the three. The rest of the tree analysed normally and its rows above stand; only these files are unaccounted for. You can widen what we reach: fix the syntax error (or exclude the file deliberately) and re-scan to cover it.
- D44 Platform End-of-Life — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This dimension reads a project's own statement about the platform it runs on: a TargetFramework in a .NET project file, a .nvmrc or .python-version, a capped requires-python, a Rust toolchain file or Cargo.toml rust-version, a .go-version, .java-version, .ruby-version, .tool-versions or .sdkmanrc, a go.mod go directive, a Maven or Gradle Java level or toolchain, a Gemfile's ruby directive, a mix.exs elixir requirement, a rebar.config minimum_otp_vsn, a pubspec.yaml SDK constraint, a build.sbt scalaVersion, or a framework major pinned by a dependency constraint. This repository carries none of them, so nothing about its platform was established. That is a gap in this analyzer's coverage, NOT a finding that the platform is supported — a language whose runtime is declared elsewhere (Package.swift, a Dockerfile) is simply not read here yet.
- AC1 Text alternatives — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This repository builds its DOM through a hyperscript-style factory — 959 call(s) across 20 script file(s) — which the static markup model cannot read, so none of those elements entered the population the accessibility cards score. That is a gap in this analyzer's frontend coverage, not a finding about this repository.
- AC2 Forms & labels — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This repository builds its DOM through a hyperscript-style factory — 959 call(s) across 20 script file(s) — which the static markup model cannot read, so none of those elements entered the population the accessibility cards score. That is a gap in this analyzer's frontend coverage, not a finding about this repository.
- AC3 Page structure — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This repository builds its DOM through a hyperscript-style factory — 959 call(s) across 20 script file(s) — which the static markup model cannot read, so none of those elements entered the population the accessibility cards score. That is a gap in this analyzer's frontend coverage, not a finding about this repository.
- AC4 Keyboard semantics — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This repository builds its DOM through a hyperscript-style factory — 959 call(s) across 20 script file(s) — which the static markup model cannot read, so none of those elements entered the population the accessibility cards score. That is a gap in this analyzer's frontend coverage, not a finding about this repository.
- AC5 ARIA correctness — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This repository builds its DOM through a hyperscript-style factory — 959 call(s) across 20 script file(s) — which the static markup model cannot read, so none of those elements entered the population the accessibility cards score. That is a gap in this analyzer's frontend coverage, not a finding about this repository.
- AC6 Visual & motion safety — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This repository builds its DOM through a hyperscript-style factory — 959 call(s) across 20 script file(s) — which the static markup model cannot read, so none of those elements entered the population the accessibility cards score. That is a gap in this analyzer's frontend coverage, not a finding about this repository.
- AC7 A11y enforcement — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This repository builds its DOM through a hyperscript-style factory — 959 call(s) across 20 script file(s) — which the static markup model cannot read, so none of those elements entered the population the accessibility cards score. That is a gap in this analyzer's frontend coverage, not a finding about this repository.
- AX1 Captive dependencies — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads Microsoft.Extensions.DependencyInjection registrations in C# and Spring beans in Java/Kotlin only, and this repository defines its own container in packages/inferno-mobx/src/observer.ts, whose lifetimes are not modelled yet, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- AX6 Interface segregation — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is computed over the public interfaces this run's compilations declare, and none was loaded, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- AXB1 Runtime evidence locked — no reproducible boot — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Subject: 1 markup document(s) — HTML, Razor, JSX, Vue, Svelte or server templates. The Runtime Evidence tier boots an app only via docker-compose, an Aspire AppHost, a Dockerfile, or an npm dev script. None was found, so no live runtime a11y/egress/header evidence was collected. You can widen what we reach: add a docker-compose.yml (or an Aspire AppHost) that brings the app up with its dependencies. Watchdog then boots it in an isolated sandbox and gathers real runtime evidence — you change nothing in your pipeline (no CI step, no SDK).
- C2 Access Controls — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These authorization controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks authorization controls.
- C3 Audit Trail — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These audit controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks audit controls.
- C4 Data Retention — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These retention controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks retention controls.
- C5 Data-Subject Rights — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These data-subject rights controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks data-subject rights controls.
- ED5 Idempotency — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check finds retry-prone mutations by walking the repository's declared types, and NONE was loaded on this run, so it had nothing to look at. That is a limit of the analyzer's reach — it reads .NET projects — not a finding that this repository has no command handlers or message consumers.
- GD1 Unfinished & placeholder code — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- IC1 Incompleteness & stubs — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- P5 DR & Backup — not measured this run — This is a true statement about the repository that carries nothing for its owner to act on, so it is reported here rather than as a defect in their code. No backup/snapshot/replication config, RTO/RPO or restore-procedure documentation was found — and no production persistence was detected either (no data-access packages, no data-store services, no database resources), so there is nothing in this repository whose loss a DR control would recover. If this system's data lives in a platform or ops repo we can't see, that's where the DR evidence belongs.
- X1 Async correctness — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X12 Unreachable branch — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X13 Undrained process stream — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X14 Bypassable address classification — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X15 Unvalidated length from an untrusted reader — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X16 Unfloored truncation loop — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X17 Uncapped recursion over a caller-supplied document — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X18 Disposal-pattern correctness — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X19 Unrestored process-global state — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X2 Cancellation propagation — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X20 Mistyped argument guard — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X21 Side-effecting pattern guard — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X22 Contradicted release guard — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X23 Unguarded diagnostic materialisation — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X27 Collection changed while being enumerated — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C# syntax, and Java and Rust source only, and no C# was loaded and no Java or Rust was found in this repository, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X28 Index access outside its own emptiness guard — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C# syntax, and Scala source only, and no C# was loaded and no Scala was found in this repository, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X3 Exception handling — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X30 Support guard that admits what it rejects — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C# syntax, and Scala source only, and no C# was loaded and no Scala was found in this repository, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X4 Structured logging — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X5 Nullable reference types — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is implemented over the C# syntax tree, and no C# was loaded on this run, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
Limitations & what we did not check
Watchdog assesses the repository exactly as committed, and only the repository. By design it does not reach outside the source tree: the live cloud account, the running CI/CD pipeline, the host's branch-protection and approval rules, the production configuration, or a restore actually exercised against a backup are all out of scope. That boundary is a feature, not a gap — a repo-relative, deterministic scan re-runs identically on any commit and every finding opens at a real file and line, where a live audit can neither be reproduced nor traced. The visible consequence is that controls which leave no in-repo evidence are reported as "not evidenced" and excluded from the score rather than awarded a number a static scan cannot justify.
Per-dimension blind spots
- D1 Cyclomatic Complexity: Cyclomatic complexity counts branches statically — it cannot tell an essential decision tree from accidental tangle, nor see complexity that lives in data or configuration (large switch-case token tables, DSL lexers/parsers, data-as-code rule tables) rather than control flow: a tokenizer's many single-character cases read as high complexity though each branch is trivial.
- D2 Cognitive Complexity: Cognitive-complexity heuristics approximate how hard code is to follow; genuine domain difficulty and well-named intent that eases reading are not captured.
- D3 God Classes: "God class" is sized by members and responsibilities visible in the type — a deliberately broad facade over a coherent subsystem can read the same as an accidental grab-bag. For front-end JS the file-length check is cohesion-aware (a single-responsibility module — one class/IIFE — earns a 3× threshold), but cohesion is approximated from top-level declarations, not true dependency structure.
- D5 Coupling: Coupling is measured between projects/assemblies — runtime coupling through DI, reflection, messaging or shared databases is invisible to a static reference graph.
- D6 Cohesion (LCOM4): LCOM4 cohesion is syntactic — it infers connectivity from which methods touch which fields/methods by name, not from real runtime behaviour or intent.
- D9 Test Distribution: The test-pyramid shape is inferred from project/folder naming and references, with a single test host bucketed per-file by its path tier and content signals — a suite that names tiers unconventionally and gives no per-file signal can still be mis-bucketed.
- D10 Test Quality: Assertion density is structural — it cannot tell a meaningful behavioural assertion from a trivial one, only that an assertion is present.
- D12 Dependency Hygiene: Dependency health reads manifests and lockfiles — a vulnerability in a vendored/copied dependency, or risk from how a dependency is actually used, is outside this view.
- D13 Secret Scanning: Secret detection is signature- and entropy-based on the current tree — a secret that does not match a known pattern, or one already rotated, will not be flagged (a clean scan is "nothing matched", not "no secrets exist").
- D14 License Compliance: License compatibility is checked against declared package metadata and a policy — mislabelled or missing license metadata, and obligations that depend on how you distribute, are not resolved here.
- D15 Churn × Complexity Hotspots: Churn hotspots come from git history — a freshly imported or squashed repository has no churn signal, and recent rewrites can mask a historically risky file.
- D16 Bus Factor: Bus-factor is a time-decayed model of commit attribution (who has recently, repeatedly worked a file), not comprehension — pairing, review and reading-without-committing spread knowledge it can't see; bot commits and shared accounts still distort it.
- D17 Explicit Debt: Acknowledged-debt signals (TODO/FIXME, suppressions, dead code) are textual — undocumented debt that nobody marked, and debt that lives in design rather than annotations, is invisible. Committed machine-written code (scaffolded migrations, designer/codegen output, generated stubs) is excluded — it is never the team's dead code to delete.
- D19 Documentation Quality: Documentation quality is judged by an LLM over a bounded sample of docs — it reads what is written, not whether the docs match the running system, and it is advisory, not a measurement. Its critique rows are drawn from a closed category vocabulary and each row means the same thing in every run, so two scans can be compared row by row; the SET that fires is still a sample, and does not repeat exactly. Measured on one frozen input, six scans at one engine SHA: 2-5 critique rows per scan, 8 distinct rows across the six, 3 of those 8 seen in only one scan. So a D19 row is evidence about the documentation, but a COUNT of D19 rows is not a quantity — never read a change in it as an improvement or a regression.
- D21 Naming Consistency: Naming quality is an LLM judgement over a bounded sample — it assesses clarity/consistency of the names it sees, not domain-correctness, and is advisory.
- D26 Project Cohesion: Project focus is sized from members/namespaces per project — a project that is broad by deliberate design reads the same as one that has sprawled.
- D28 Secrets (history): Secret-history scanning sweeps the git log for known patterns — a secret that predates the available history, or never matched a signature, is not found (clean means "nothing matched in the history we can see").
- D29 Static Analysis (SAST): SAST findings are pattern-based (semgrep) — it finds classes of bug it has rules for; logic flaws, auth/authorization gaps and issues needing runtime context are out of reach (and clean means "no rule matched").
- D30 Dependency Vulnerabilities: CVE matching depends on accurate package/version metadata and on the advisory databases — a vulnerability with no published advisory, or in code not declared as a dependency, is not seen. Coverage needs a RESOLVED graph: an unpinned requirements.txt, or a pom without a resolved build, yields partial coverage rather than a clean verdict. An ecosystem the analyzer cannot scan is reported as unmeasured, never as clean.
- D34 Knowledge Freshness: Freshness is decayed commit RECENCY, not comprehension — code read often but rarely committed reads as orphaned, and stable code that genuinely needs no changes is penalised the same as forgotten code; bot/squash commits distort it like the bus factor.
- D35 Change Coupling: Change coupling is co-change in COMMITS — files split across separate commits, or coupled only through a shared config/build step, read as uncoupled, and a sweeping commit (rename/format) is excluded so it doesn't couple everything. It shows that files change together, not WHY: a high coupling can be a healthy cohesive pair as readily as a hidden leak.
- D43 Malicious Dependencies: Only packages some vulnerability database has already NAMED as malicious are seen — a compromise published in the last hours, or never reported at all, is invisible here, and this dimension reading 10 is not evidence that a dependency is trustworthy. There is no typosquat or dependency-confusion analysis: a package nobody has reported is simply absent from the feeds. Coverage is the dependency scan's: an ecosystem that could not be scanned is disclosed as unmeasured, never as clean.
- AX10 Code composition: Role is inferred from namespace/folder convention, not semantics — a domain concept living in a folder named "Services" reads as application, and the split is lines-of-code, not business value. The business-logic-share score is a SOFT, FLOORED signal: it contributes to the Architecture lens but is floored at the Critical gate, so an infrastructure-heavy design (a gateway, an ETL, a driver) is legitimately low without being nuked to zero.
- M4 Documentation accuracy: Onboarding quality is an LLM read of the docs/setup present — it cannot run the onboarding or measure how long a real new joiner takes; the verdict is sampled and advisory.
- P6 Release Hygiene: Rollback/observability controls are inferred from repo artefacts (pipelines, dashboards-as-code) — controls configured in external tooling, with no in-repo trace, cannot be credited.
The LLM boundary
Dimensions
D1 · Cyclomatic Complexity
24 method(s) exceeded the cyclomatic complexity threshold of 15; the worst was props.patchProp at 68. A further 1 method(s) were over the threshold but excluded as flat dispatchers (a long switch/match over independent cases: many branches, almost no nesting), the largest being reactstyles.getNumberStyleValue at 35 — they are counted neither in the figure above nor in this dimension's score. 1 file carries no cyclomatic complexity row at all for this reason — every one of its over-threshold methods was excluded, so the exclusion is disclosed nowhere in the file itself: packages/inferno-compat/src/reactstyles.ts (reactstyles.getNumberStyleValue at 35). They are named here because the per-file figures other dimensions report are taken BEFORE this exclusion, so such a file can show a high maximum complexity elsewhere in this report and nothing here, with nothing to reconcile the two.
What to do
- Resolve the 1 props.patchProp (cyclomatic 68) finding(s) in Cyclomatic Complexity — start with props.ts. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 RenderQueueStream.renderVNodeToQueue (cyclomatic 63) finding(s) in Cyclomatic Complexity — start with renderToString.queuestream.ts. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 renderToString.renderVNodeToString (cyclomatic 58) finding(s) in Cyclomatic Complexity — start with renderToString.ts. — One of this dimension's main actionable groups (1 warning-level).
- Enforce Cyclomatic Complexity in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D2 · Cognitive Complexity
47 method(s) exceeded the cognitive complexity threshold of 15; the worst was RenderQueueStream.renderVNodeToQueue at 155.
What to do
- Resolve the 1 RenderQueueStream.renderVNodeToQueue (cognitive 155) finding(s) in Cognitive Complexity — start with renderToString.queuestream.ts. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 renderToString.renderVNodeToString (cognitive 136) finding(s) in Cognitive Complexity — start with renderToString.ts. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 patching.patchKeyedChildrenComplex (cognitive 126) finding(s) in Cognitive Complexity — start with patching.ts. — One of this dimension's main actionable groups (1 warning-level).
- Enforce Cognitive Complexity in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D3 · God Classes
15 over-large unit(s) detected — types, modules or files that carry too much.
What to do
- Resolve the 8 FunctionTooLong finding(s) in God Classes — start with patching.ts (3), custom-uibench.js, uibench.js. — One of this dimension's main actionable groups (8 warning-level).
- Resolve the 6 FileTooLong finding(s) in God Classes — start with types.ts, patching.ts, animations.ts. — One of this dimension's main actionable groups (6 warning-level).
- Resolve the 1 MethodTooLong finding(s) in God Classes — start with renderToString.queuestream.ts. — One of this dimension's main actionable groups (1 warning-level).
- Enforce God Classes in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D5 · Coupling
15 production modules (npm), 0 dependency cycle(s), 0 unstable depended-on module(s). Read from the build's own module declarations; 1 module(s) off the main sequence, with abstractness counted on 14 of the 15 (the rest declare no modelled class or interface, export only macros, or have no source directory of their own).
What to do
- Resolve the 1 Off the main sequence finding(s) in Coupling. — One of this dimension's main actionable groups (1 warning-level).
- Enforce Coupling in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D6 · Cohesion (LCOM4)
1 of 16 classes have LCOM4 above 3.
What to do
- Resolve the 1 Low cohesion finding(s) in Cohesion (LCOM4) — start with app.js. — One of this dimension's main actionable groups (1 warning-level).
- Enforce Cohesion (LCOM4) in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Verified — provenance only; does not change the score.
D9 · Test Distribution
2175 test methods: 2175 unit, 0 integration, 0 BDD, 0 e2e. The JavaScript/TypeScript suite contributes 2175 `it`/`test` case(s) across 178 test file(s) declaring at least one; its tier split is read from package names and paths only.
D10 · Test Quality
5 skipped (5 with a documented reason), 62 zero-assertion, no mocking-framework packages referenced (hand-written doubles or no mocking) across 2175 tests.
What to do
- Resolve the 3 No assertions (empty test) finding(s) in Test Quality — start with instancenull.spec.tsx (2), moveAnimations.spec.tsx. — One of this dimension's main actionable groups (3 issue-level).
- Resolve the 59 No assertions finding(s) in Test Quality — start with types.spec.tsx (24), createElementTyped.spec.tsx (8), validations.spec.tsx (3). — One of this dimension's main actionable groups (59 warning-level).
- Enforce Test Quality in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D12 · Dependency Hygiene
2 outdated direct production npm dependency(ies) of 19 graded, 0 pinning defect(s), across 17 package.json (15 of them the product) and 1 committed lockfile(s). Development dependencies are deliberately not graded: this dimension grades what SHIPS. Whether any of these packages is DEPRECATED or UNMAINTAINED is not graded — registry.npmjs.org's latest-version answer carries neither, and release age does not stand in for a maintenance status. Whether any is UNUSED is not graded either: that is a source question, and the frontend dependency lens (R8) answers it in this same run. Known CVEs in this dependency graph are D30's question, read from the manifest there.
D13 · Secret Scanning
Secret scan ran and found no leaked secrets.
D14 · License Compliance
0 of 19 shipped npm package(s) use a banned license. Licences were resolved from registry.npmjs.org over the 19 production dependency(ies) this repository's committed lockfile resolves, across 15 product package.json manifest(s). Its 106 `devDependencies` declaration(s) are excluded: a consumer installs none of them. ★ DEPTH: this is the DIRECT production set the lockfile resolves, NOT the transitive closure — only one of the four lock dialects this pass reads states a full graph, so a banned licence pulled in only by a dependency's OWN dependencies is outside this verdict, exactly as the JVM arm's declaration-site verdict is. ★ Each licence is the one the registry publishes for the package's CURRENT release rather than for the pinned version, which is the same caveat the Hex and RubyGems arms carry. This repository publishes itself under ISC / MIT, which is its own choice and is not judged here.
D15 · Churn × Complexity Hotspots
Top hotspots: packages/inferno-server/src/renderToString.queuestream.ts (13×63=819); packages/inferno-server/src/renderToString.ts (10×58=580); packages/inferno/src/DOM/props.ts (6×68=408) Repeated repair below the complexity floor: packages/inferno-server/src/utils.ts (9 of 9 changes were fixes); packages/inferno/src/DOM/utils/common.ts (3 of 4 changes were fixes); packages/inferno/src/DOM/rendering.ts (3 of 3 changes were fixes)
What to do
- Resolve the 9 Hotspot finding(s) in Churn × Complexity Hotspots — start with renderToString.queuestream.ts, renderToString.ts, props.ts. — One of this dimension's main actionable groups (9 warning-level).
- Resolve the 3 Repeated repair finding(s) in Churn × Complexity Hotspots — start with utils.ts, common.ts, rendering.ts. — One of this dimension's main actionable groups (3 warning-level).
D16 · Bus Factor
25 source file(s) have their living knowledge concentrated in one author (≥90% of recent, decayed contribution). The largest is packages/inferno/src/core/types.ts. Counted over 43 of the 129 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over.
What to do
- Resolve the 1 Off-boarding risk finding(s) in Bus Factor. — One of this dimension's main actionable groups (1 recommendation-level).
D17 · Explicit Debt
25 deducted task-comment markers across 16849 LoC (0.1/KLoC) → score 9.7. Task comments only: this repository's language is read without a compiler, so D17's suppression, dead-code and commented-out-code arms did not run and this score counts fewer marker kinds than a .NET repository's would.
What to do
- Resolve the 20 TodoComment finding(s) in Explicit Debt — start with resolveLoaders.ts (4), observer.ts (3), connectAdvanced.ts (2). — One of this dimension's main actionable groups (20 warning-level).
- Resolve the 5 HackComment finding(s) in Explicit Debt — start with async-setstate.spec.tsx (5). — One of this dimension's main actionable groups (5 warning-level).
- Enforce Explicit Debt in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D19 · Documentation Quality
The repository's root README is a clear overview of Inferno as an insanely fast React-like library for client and server rendering, with a detailed Features section describing runtime optimization goals (monomorphic VNode calls, JSX compilers) and the SWC plugin. It also links to architecture/Docs markdown files that cover every visible document in depth, so any missing section is not flagged against the root but against the outline. The READMEs for each package directory are focused on their own tier — demo/inferno-router-demo/README.md documents only the demo dir (not Inferno itself), and others like inferno-animation/readme.md are internal helper docs for that package, with no repository-level overview or installation guidance. The project is well documented: the READMEs for each package directory (inferno-test-utils, inferno-vnode-flags, and inferno) give an overview of what the directory provides plus install/usage examples. The root repository README gives a high-level description, installation, usage, contribution guidance, and licence; it also links to architecture/design docs (CI status badge, benchmarks, UI benchmarking), which are not clipped. A single HTML document (docs/index.html) is present but only the title ('Inferno Examples') appears in the visible portion, so its completeness cannot be assessed from this view alone.
D21 · Naming Consistency
0 naming inconsistencies across 0 sampled symbols.
D26 · Project Cohesion
2 of 18 build units (npm) flagged as possibly oversized/incoherent.
What to do
- Resolve the 1 Projects may be oversized for their cohesion finding(s) in Project Cohesion. — One of this dimension's main actionable groups (1 recommendation-level).
D28 · Secrets (history)
gitleaks scanned the full history AND the current working tree and found no secrets.
D29 · Static Analysis (SAST)
9 finding(s): 0 critical, 5 high, 4 medium, 0 low. semgrep hit a parse error in 5 file(s) — `docs/build.js` (line 11, line 12), `packages/inferno-create-element/src/index.ts` (line 26), `packages/inferno-router/src/Route.ts` (line 38), `packages/inferno/src/core/component.ts` (line 135), `scripts/rollup/plugins/index.js` (line 7, line 8) — so no absence of findings in the named regions is evidence of anything; rows reported elsewhere in those files are real. Fix the syntax error (or exclude the file deliberately) and re-scan to cover them.
What to do
- Resolve the 1 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED. — One of this dimension's main actionable groups (1 issue-level).
- Resolve the 1 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED. — One of this dimension's main actionable groups (1 issue-level).
- Resolve the 1 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED. — One of this dimension's main actionable groups (1 issue-level).
D30 · Dependency Vulnerabilities
No known-vulnerable dependencies in any ecosystem this repository declares.
D34 · Knowledge Freshness
3 of 43 significant source file(s) are orphaned — their living knowledge has decayed to nothing, so no one currently understands them. The largest is packages/inferno-redux/src/connect/selectorFactory.ts. Counted over 43 of the 129 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over.
D35 · Change Coupling
Strongest change-coupling: renderToString.stream.ts↔renderToString.ts 60%; renderToString.queuestream.ts↔renderToString.ts 58%
What to do
- Resolve the 2 Change coupling finding(s) in Change Coupling — start with renderToString.stream.ts, renderToString.queuestream.ts. — One of this dimension's main actionable groups (2 warning-level).
D43 · Malicious Dependencies
No dependency in any ecosystem this repository declares is published as malicious.
Frontend & cross-cutting dimensions
AX10 · Code composition
What to do
- The domain core is a small share of production code, but most of the rest matched no layer vocabulary at all — so this is not yet an anemic-domain finding. The namespace/path convention could not place that code, which makes the composition above a statement about the naming, not about the design. Name the layers (or check that the repository's conventions differ from the ones this check knows) before reading a thin domain into it.
AX3 · Project dependency cycles
AX4 · Dependency direction
AX8 · Test isolation
M1 · Documentation (README)
What to do
- Add a 'Testing' section to the root README — how to run the test suite.
- Add an 'Architecture' / 'How it works' section to the root README — the high-level shape.
- Add a README to the 3 of 18 project(s) that lack one — worth up to 0.3 pts.
M2 · Architecture documentation
- No Architecture Decision Records found — no conventional ADR directory, no numbered `NNNN-title` documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer.
- No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named `architecture` or `design` in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape — no `## Architecture` heading, no "architecture overview"/"high-level design" phrasing, no "the architecture is …" introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document — not evidence that nobody wrote the shape down.
What to do
- Record significant decisions one document per decision — dated, stating the context, the decision and its consequences — and keep them together wherever your design docs already live (a conventional `docs/adr/` tree, with each file named `NNNN-title` in whatever markup those docs already use, is the most discoverable form).
- Add a C4 context/container diagram (Structurizr, PlantUML or Mermaid) or an architecture.md overview.
M3 · Folder & project structure
M4 · Documentation accuracy
- README advertises Docker containerisation, but no Dockerfile/compose file exists — searched for: `dockerfile`, `docker-compose`, `compose.yaml`, `compose.yml`. Each was matched case- and separator-insensitively against file and directory NAMES anywhere in the tree, and against the CONTENTS of manifest files (package.json, *.csproj, *.props, *.slnx, *.yml, Dockerfile); the README's own prose never counts, so a claim is never refuted by merely being made. Nothing outside that search was read — a footprint living only in a submodule, in a file type not listed here, or under a name none of those terms matches is not seen, and this row is then wrong.
What to do
- Reconcile the README with reality: README advertises Docker containerisation, but no Dockerfile/compose file exists.
P1 · CI/CD gates
P10 · Library API & versioning
P3 · Security & performance tooling
What to do
- Dependabot is configured but does not watch `npm` — add that `package-ecosystem` entry to REDACTED so those dependencies get the same automatic update and advisory pressure as the ones it already covers.
- Add gitleaks/trufflehog in CI to block PRs that introduce committed secrets.
P6 · Release Hygiene
PF3 · Async & latency hygiene
- `printFileSizes` is async and calls readFileSync — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs. — scripts/bundle/bundle-size.js:21
What to do
- TypeScript/JavaScript: use the promise APIs (fs/promises, a promisified child_process.execFile, the async zlib/crypto functions) and await them instead of the *Sync variants.
R1 · Type Safety
- 224 typed · 102 plain JS — the untyped files are browser/jsfiddle-integration-babel7v3.js, jest.config-nodom.js, packages/inferno-animation/index.cjs, packages/inferno-clone-vnode/index.cjs, packages/inferno-compat/__tests__/ReactChildren.spec.jsx, packages/inferno-compat/__tests__/ReactComponent.spec.jsx (+96 more). tsconfig.json switches off noImplicitAny, noImplicitThis, so the typed files are only partly type-checked. 0 production file(s) opt out entirely with @ts-nocheck · 2 @ts-ignore suppression(s).
What to do
- Migrate the remaining .js/.jsx files to TypeScript.
R10 · Code Duplication
- packages/inferno-server/src/renderToString.queuestream.ts:115 · packages/inferno-server/src/renderToString.ts:37 — the two spans are one implementation copied and then locally edited — 817 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — packages/inferno-server/src/renderToString.queuestream.ts:115
- packages/inferno-compat/src/index.ts:394 · packages/inferno-compat/src/index.ts:490 — all 2 copies are in the same file, and what repeats is a LIST OF ENTRIES rather than behaviour — the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator's options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents. — packages/inferno-compat/src/index.ts:394
- packages/inferno/src/core/component.ts:205 · packages/inferno/src/core/types.ts:65 — the two spans are one implementation copied and then locally edited — 200 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — packages/inferno/src/core/component.ts:205
- packages/inferno-server/src/renderToString.queuestream.ts:146 · packages/inferno-server/src/renderToString.queuestream.ts:186 — all 2 copies are in the same file, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — packages/inferno-server/src/renderToString.queuestream.ts:146
- packages/inferno-router/src/BrowserRouter.ts:10 · packages/inferno-router/src/MemoryRouter.ts:10 — the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — packages/inferno-router/src/BrowserRouter.ts:10
- scripts/fakedom/build.js:67 · scripts/rollup/plugins/index.js:47 — the two spans are one implementation copied and then locally edited — 73 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — scripts/fakedom/build.js:67
- scripts/fakedom/libs/uibench.js:512 · scripts/fakedom/libs/uibench.js:617 — all 2 copies are in the same file, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — scripts/fakedom/libs/uibench.js:512
- packages/inferno/src/DOM/patching.ts:1259 · packages/inferno/src/DOM/patching.ts:1294 — all 2 copies are in the same file, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — packages/inferno/src/DOM/patching.ts:1259
- packages/inferno/src/DOM/patching.ts:1021 · packages/inferno/src/DOM/patching.ts:1047 — all 2 copies are in the same file, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — packages/inferno/src/DOM/patching.ts:1021
- packages/inferno/src/DOM/patching.ts:1168 · packages/inferno/src/DOM/patching.ts:1221 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. — packages/inferno/src/DOM/patching.ts:1168
- packages/inferno/src/DOM/utils/common.ts:237 · packages/inferno/src/DOM/utils/common.ts:267 — all 2 copies are in the same file, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — packages/inferno/src/DOM/utils/common.ts:237
- scripts/fakedom/libs/uibench.js:16 · scripts/fakedom/libs/uibench.js:89 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. — scripts/fakedom/libs/uibench.js:16
- scripts/fakedom/uibench-reactlike/app.js:58 · scripts/fakedom/uibench-reactlike/app.js:97 — all 2 copies are in the same file, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — scripts/fakedom/uibench-reactlike/app.js:58
- packages/inferno-animation/src/utils.ts:18 · packages/inferno-animation/src/utils.ts:33 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. — packages/inferno-animation/src/utils.ts:18
- packages/inferno-router/src/Switch.ts:73 · packages/inferno-router/src/Switch.ts:99 — the two spans are one implementation copied and then locally edited — 63 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — packages/inferno-router/src/Switch.ts:73
- packages/inferno-router/src/BrowserRouter.ts:12 · packages/inferno-router/src/HashRouter.ts:13 — the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — packages/inferno-router/src/BrowserRouter.ts:12
- packages/inferno-server/src/renderToString.stream.ts:102 · packages/inferno-server/src/renderToString.stream.ts:139 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. — packages/inferno-server/src/renderToString.stream.ts:102
- packages/inferno-server/src/renderToString.ts:77 · packages/inferno-server/src/renderToString.ts:90 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. — packages/inferno-server/src/renderToString.ts:77
- scripts/fakedom/libs/uibench.js:207 · scripts/fakedom/libs/uibench.js:234 — all 2 copies are in the same file, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — scripts/fakedom/libs/uibench.js:207
- packages/inferno-clone-vnode/src/index.ts:49 · packages/inferno-create-element/src/index.ts:45 — the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. — packages/inferno-clone-vnode/src/index.ts:49
- packages/inferno-router/src/StaticRouter.ts:55 · packages/inferno-router/src/StaticRouter.ts:65 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. — packages/inferno-router/src/StaticRouter.ts:55
- packages/inferno-server/src/renderToString.stream.ts:88 · packages/inferno-server/src/renderToString.stream.ts:173 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. — packages/inferno-server/src/renderToString.stream.ts:88
- packages/inferno-server/src/utils.ts:201 · packages/inferno/src/DOM/utils/componentUtil.ts:126 — the two spans are one implementation copied and then locally edited — 58 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — packages/inferno-server/src/utils.ts:201
- scripts/bundle/move-compiled.js:2 · scripts/bundle/move-typedefs.js:3 — the two spans are one implementation copied and then locally edited — 53 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — scripts/bundle/move-compiled.js:2
- scripts/fakedom/libs/uibench.js:297 · scripts/fakedom/libs/uibench.js:324 · scripts/fakedom/libs/uibench.js:348 — all 3 copies are in the same file, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — scripts/fakedom/libs/uibench.js:297
What to do
- Act on each finding's own remediation rather than one rule: the move depends on what recurs. Where the copies are executable blocks, give the shared part one home and call it from each site; where they are declarations, a listing, a specialisation already delegating to its base, or one shape repeated per entity, there is no call site and the move is a shared type, a generated set or a factory — sometimes there is nothing to extract.
R11 · Import Boundaries
- packages/inferno-redux/src/components/connectAdvanced.ts:1 imports inferno-vnode-flags, a package this repository publishes, but this package's own package.json does not list it in dependencies (or peer/optional dependencies) — it resolves only through the workspace link, so an installed copy of this package is missing it. Add it to this package's dependencies. — packages/inferno-redux/src/components/connectAdvanced.ts:1
- packages/inferno-router/src/Link.ts:10 imports inferno-shared, a package this repository publishes, but this package's own package.json does not list it in dependencies (or peer/optional dependencies) — it resolves only through the workspace link, so an installed copy of this package is missing it. Add it to this package's dependencies. — packages/inferno-router/src/Link.ts:10
- packages/inferno-router/src/Redirect.ts:7 imports inferno-shared, a package this repository publishes, but this package's own package.json does not list it in dependencies (or peer/optional dependencies) — it resolves only through the workspace link, so an installed copy of this package is missing it. Add it to this package's dependencies. — packages/inferno-router/src/Redirect.ts:7
- packages/inferno-router/src/Route.ts:5 imports inferno-shared, a package this repository publishes, but this package's own package.json does not list it in dependencies (or peer/optional dependencies) — it resolves only through the workspace link, so an installed copy of this package is missing it. Add it to this package's dependencies. — packages/inferno-router/src/Route.ts:5
- packages/inferno-router/src/Router.ts:2 imports inferno-shared, a package this repository publishes, but this package's own package.json does not list it in dependencies (or peer/optional dependencies) — it resolves only through the workspace link, so an installed copy of this package is missing it. Add it to this package's dependencies. — packages/inferno-router/src/Router.ts:2
- packages/inferno-router/src/StaticRouter.ts:11 imports inferno-shared, a package this repository publishes, but this package's own package.json does not list it in dependencies (or peer/optional dependencies) — it resolves only through the workspace link, so an installed copy of this package is missing it. Add it to this package's dependencies. — packages/inferno-router/src/StaticRouter.ts:11
- packages/inferno-router/src/Switch.ts:4 imports inferno-shared, a package this repository publishes, but this package's own package.json does not list it in dependencies (or peer/optional dependencies) — it resolves only through the workspace link, so an installed copy of this package is missing it. Add it to this package's dependencies. — packages/inferno-router/src/Switch.ts:4
- packages/inferno-router/src/locationUtils.ts:2 imports inferno-shared, a package this repository publishes, but this package's own package.json does not list it in dependencies (or peer/optional dependencies) — it resolves only through the workspace link, so an installed copy of this package is missing it. Add it to this package's dependencies. — packages/inferno-router/src/locationUtils.ts:2
- packages/inferno-router/src/resolveLoaders.ts:1 imports inferno-shared, a package this repository publishes, but this package's own package.json does not list it in dependencies (or peer/optional dependencies) — it resolves only through the workspace link, so an installed copy of this package is missing it. Add it to this package's dependencies. — packages/inferno-router/src/resolveLoaders.ts:1
- packages/inferno-router/src/withRouter.ts:11 imports inferno-shared, a package this repository publishes, but this package's own package.json does not list it in dependencies (or peer/optional dependencies) — it resolves only through the workspace link, so an installed copy of this package is missing it. Add it to this package's dependencies. — packages/inferno-router/src/withRouter.ts:11
What to do
- Fix the listed violations: declare the workspace packages these files import in the importing package's own package.json dependencies (10 rows) — those imports are already bare package specifiers, so the import statements do not change, only the manifest.
R2 · Cyclomatic Complexity
- patchProp has cyclomatic complexity 68 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth — arms side by side rather than stacked — and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — packages/inferno/src/DOM/props.ts:109
- renderVNodeToString has cyclomatic complexity 59 and cognitive complexity 147; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — packages/inferno-server/src/renderToString.ts:30
- renderVNodeToQueue has cyclomatic complexity 59 and cognitive complexity 141; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — packages/inferno-server/src/renderToString.queuestream.ts:102
- runMove has cyclomatic complexity 57 and cognitive complexity 80; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — packages/inferno-animation/src/animations.ts:1070
- patchKeyedChildrenComplex has cyclomatic complexity 41 and cognitive complexity 126; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — packages/inferno/src/DOM/patching.ts:1115
- createElement has cyclomatic complexity 34 and cognitive complexity 58; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — packages/inferno-create-element/src/index.ts:21
- unmount has cyclomatic complexity 31 and cognitive complexity 65; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — packages/inferno/src/DOM/unmounting.ts:28
- renderElement has cyclomatic complexity 29 and cognitive complexity 52; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — packages/inferno-server/src/renderToString.stream.ts:187
- h has cyclomatic complexity 28 and cognitive complexity 37; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — packages/inferno-hyperscript/src/index.ts:80
- patchElement has cyclomatic complexity 27 and cognitive complexity 53; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — packages/inferno/src/DOM/patching.ts:288
- prepareItems has cyclomatic complexity 24 and cognitive complexity 48; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — packages/inferno-animation/src/moveAnimations.ts:325
- normalizeChildren has cyclomatic complexity 24 and cognitive complexity 48; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — packages/inferno/src/core/implementation.ts:453
- componentWillMove has cyclomatic complexity 24 and cognitive complexity 40; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — packages/inferno-animation/src/animations.ts:668
- hydrateChildren has cyclomatic complexity 23 and cognitive complexity 54; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — packages/inferno-hydrate/src/index.ts:119
- validateChildFlags has cyclomatic complexity 23 and cognitive complexity 33; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — packages/inferno/src/core/validate.ts:235
- validateVNodeElementChildren has cyclomatic complexity 23 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth — arms side by side rather than stacked — and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — packages/inferno/src/core/validate.ts:154
- DEV_VALIDATE_KEYS has cyclomatic complexity 20 and cognitive complexity 36; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — packages/inferno/src/core/validate.ts:56
- (anonymous) has cyclomatic complexity 20 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth — arms side by side rather than stacked — and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. (×2) — packages/inferno/__tests__/error.spec.tsx:144, packages/inferno/__tests__/error.spec.tsx:301
What to do
- Break down the listed branch-heavy functions; aim P95 cyclomatic ≤ 5.
R3 · Large Files
What to do
- Split each oversized file along the responsibilities already in it, into smaller focused modules in the same package.
R4 · Test Coverage
- No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL — if neither does, no test reaches this one. (×24) — scripts/fakedom/libs/uibench.js, scripts/fakedom/uibench-reactlike/app.js, scripts/rollup/build.js, …
What to do
- Add tests that import the unreached modules (directly or through their public entry).
R6 · Tooling
R7 · Dead Code
- Unreachable from the 47 application, 4 tooling and 202 test entry point(s) detected in this repo. Gate removals on `pnpm run build` — an undetected custom entry would make these reachable.
- no import path from any entry point (47 application, 4 tooling, 202 test roots considered), and no other file in the scanned tree imports it — nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make (×18) — scripts/rollup/build.js, scripts/fakedom/build.js, packages/inferno-compat/lib/EventConstants.js, …
- no import path from any entry point (47 application, 4 tooling, 202 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (scripts/rollup/build.js) — every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it — scripts/rollup/plugins/index.js
- no import path from any entry point (47 application, 4 tooling, 202 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (scripts/rollup/plugins/index.js) — every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it — scripts/rollup/plugins/alias.js
- no import path from any entry point (47 application, 4 tooling, 202 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (scripts/bundle/move-typedefs.js) — every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it — scripts/bundle/read-files-in-dir.js
- Nothing imports this binding — it is safe to review for removal. (×2) — packages/inferno-animation/src/utils.ts:150, packages/inferno-server/src/utils.ts:57
What to do
- Delete the dead files and unused exports — every line is maintenance cost and rebuild-estimate inflation with zero runtime value.
R8 · Dependency Hygiene
- Declared in the root package.json but never imported anywhere in that package or its workspace members — no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it. (×2)
- Every import is type-only — move it to devDependencies. — packages/inferno/__tests__/styles.spec.tsx:2
What to do
- Remove unused dependencies, declare unlisted imports explicitly, and demote type-/test-only packages to devDependencies.
R9 · Circular Imports
- packages/inferno-router/src/Route.ts → packages/inferno-router/src/matchPath.ts → packages/inferno-router/src/Route.ts — packages/inferno-router/src/Route.ts
- packages/inferno-router/src/Router.ts → packages/inferno-router/src/resolveLoaders.ts → packages/inferno-router/src/Switch.ts → packages/inferno-router/src/Router.ts — packages/inferno-router/src/Router.ts
- packages/inferno/src/DOM/mounting.ts → packages/inferno/src/DOM/props.ts → packages/inferno/src/DOM/wrappers/processElement.ts → packages/inferno/src/DOM/wrappers/SelectWrapper.ts → packages/inferno/src/core/component.ts → packages/inferno/src/DOM/patching.ts → packages/inferno/src/DOM/mounting.ts (one verified cycle inside a mutually-dependent group of 8 files) — packages/inferno/src/DOM/mounting.ts
What to do
- Break each cycle by extracting the shared piece into a module both sides can import.
S1 · Web-Security Posture
- `https://cdn.jsdelivr.net/npm/chart.js` is executed by this page with no Subresource Integrity. Whoever can answer that request — the CDN, anyone who compromises it, anyone on the network path — runs arbitrary script in this page's origin, with its session. The URL also names no version, so it resolves to whatever that origin serves at fetch time — the executed bytes can change with nobody touching this repository. — scripts/fakedom/viewer.html:6
What to do
- Pin third-party scripts and verify them: name an exact version in the URL and add an `integrity="sha384-…"` hash alongside `crossorigin="anonymous"` (both are required — an integrity hash on a cross-origin script without `crossorigin` is not evaluated, it blocks the script). Where the vendor ships a continuously-updated loader and publishes no stable hash (tag managers, analytics, chat widgets), Subresource Integrity is not available: constrain it instead with a `Content-Security-Policy` that names the exact origins allowed to execute, and drop the script from the pages that do not need it. Where the page is shipped inside a package that others host, prefer vendoring the asset and serving it from the app’s own origin, so no consumer inherits a third-party dependency they did not choose.
X24 · Document value interpolated into markup unescaped
X25 · Inert configuration knob
X29 · Per-element action decided by a fixed element
Reference — by lens
| Lens | Score | Rating | Impact |
|---|---|---|---|
| Code Health | 70% | Adequate — gated by D2 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Architecture | 73% | Strong | Solid. |
| Maturity | 55% | Adequate — gated by M2 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Readiness | 85% | Strong | Solid. |
| Security | 82% | Adequate — gated by D29 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Performance | 85% | Strong | Strongest area. |
Unscored — 1 check(s) recorded observations but carry no score
- P12 CI test-gate honesty — 1 observation(s) recorded · Reported, not scored — this card publishes what the CI gate does with the test inventory rather than grading it. The findings above are its output.
Not evidenced — 5 control(s) we could not find positive evidence for
- C3 Audit Trail — Not assessed: these audit controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks audit controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
- C4 Data Retention — Not assessed: these retention controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks retention controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
- C5 Data-Subject Rights — Not assessed: these data-subject rights controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks data-subject rights controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
- P4 Deployment & Rollback — not evidenced — no deploy/rollback/approval signal in the repo; absence of evidence is not evidence of a manual release
- P5 DR & Backup — not evidenced — repo shows no backup/RTO/RPO controls; absence of evidence is not evidence of a working control
Not included — 77 check(s) not relevant to this codebase
- AC1 Text alternatives — Frontend markup is constructed programmatically — 959 DOM factory call(s) across 20 script file(s), which the static markup model cannot read — so accessibility is NOT MEASURED. Only 10 statically-readable DOM element(s) were found; this is a blind spot in the scan, not a small frontend.
- AC2 Forms & labels — Frontend markup is constructed programmatically — 959 DOM factory call(s) across 20 script file(s), which the static markup model cannot read — so accessibility is NOT MEASURED. Only 10 statically-readable DOM element(s) were found; this is a blind spot in the scan, not a small frontend.
- AC3 Page structure — Frontend markup is constructed programmatically — 959 DOM factory call(s) across 20 script file(s), which the static markup model cannot read — so accessibility is NOT MEASURED. Only 10 statically-readable DOM element(s) were found; this is a blind spot in the scan, not a small frontend.
- AC4 Keyboard semantics — Frontend markup is constructed programmatically — 959 DOM factory call(s) across 20 script file(s), which the static markup model cannot read — so accessibility is NOT MEASURED. Only 10 statically-readable DOM element(s) were found; this is a blind spot in the scan, not a small frontend.
- AC5 ARIA correctness — Frontend markup is constructed programmatically — 959 DOM factory call(s) across 20 script file(s), which the static markup model cannot read — so accessibility is NOT MEASURED. Only 10 statically-readable DOM element(s) were found; this is a blind spot in the scan, not a small frontend.
- AC6 Visual & motion safety — Frontend markup is constructed programmatically — 959 DOM factory call(s) across 20 script file(s), which the static markup model cannot read — so accessibility is NOT MEASURED. Only 10 statically-readable DOM element(s) were found; this is a blind spot in the scan, not a small frontend.
- AC7 A11y enforcement — Frontend markup is constructed programmatically — 959 DOM factory call(s) across 20 script file(s), which the static markup model cannot read — so accessibility is NOT MEASURED. Only 10 statically-readable DOM element(s) were found; this is a blind spot in the scan, not a small frontend.
- AX1 Captive dependencies — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- AX2 Stateful singletons — Not applicable: TypeScript/JavaScript runs each process's requests on one event loop, so no two requests write a shared object at the same instant (interleaving across an await is a different defect).
- AX5 Architecture & structure — not assessed — architecture style/structure is computed from a project graph (projects, types, module namespaces) that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- AX6 Interface segregation — not assessed — interface segregation is computed over a type surface that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- AX7 Slice cohesion — not applicable — not a vertical-slice architecture
- AX9 CQS / query purity — no CQRS query handlers detected — query purity is not applicable to this codebase
- AXB1 Runtime evidence locked — no reproducible boot — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- AXB2 Runtime readiness — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- C1 Data Protection — No personal data detected in a persisted data model — no PII-named field (email, firstName, dateOfBirth, phoneNumber, …) or stored credential on a TypeORM/MikroORM/sequelize-typescript/NestJS-Mongoose entity, a Mongoose schema, a Sequelize or Drizzle table, a Knex migration or a Prisma model — and no database or data-store client in the source either, so this repository keeps no data at rest for these controls to protect. If it does persist personal data (through a hosted backend configured outside this repository, for instance), the controls belong to wherever that data is stored.
- C2 Access Controls — Not assessed: these authorization controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks authorization controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
- D11 Test Reliability — Test reliability not measured — JavaScript/TypeScript suite did not run
- D18 Solution Shape — D18 scores the shape of a .NET solution; this repository has no .NET solution or project files, so the dimension does not apply.
- D20 ADR Quality — N/A — ADRs are expected on deployable products with a user-facing host, not consumed libraries; no ADR log is required here.
- D22 Internal API Consistency — The exposed public-API surface could not be collected — no C#/VB projects loaded.
- D23 Boundary Type-Coupling — No bounded-context organisation was detected either — neither a context-shaped layout nor 2+ sibling source directories each declaring an aggregate root. Declaring this codebase's bounded contexts (≥2) would let cross-boundary type coupling be assessed. Declare them in `.codehealth/config.yaml` at the repository root (create it if absent), mapping each context name to the module-path or namespace prefixes that belong to it — e.g. `architecture:` → `contexts:` → `Billing: ["src/billing", "Acme.Billing"]`, `Catalog: ["src/catalog", "Acme.Catalog"]`.
- D24 Comment Value — No inline comments to assess — comment value is not applicable here.
- D25 ADR Conformance — no ADRs to check
- D27 Navigability — symbol resolution incomplete — navigability not assessed
- D31 IaC & Container Security — No Infrastructure-as-Code or container manifests found (Dockerfile, Docker Compose, Terraform, Kubernetes/Helm, CloudFormation, ARM, Bicep, Ansible); nothing to scan.
- D32 Data Compliance (PII/GDPR) — 5 file(s) were not parsed by semgrep — the PII/GDPR ruleset never ran over them
- D36 Supply-chain Provenance & Signing — The CI pipeline builds and tests but publishes no released artifact — no package publish, container push, GitHub release or deployment step. Supply-chain provenance, signing and SBOM attest RELEASED artifacts, so there is nothing to attest here. Add them to the release pipeline when this repo starts shipping artifacts (a published package, a container image, a deployed service or a tagged release). Build integrity and workflow-token hygiene are reported below: they describe what the CI runs and the token it runs with, neither of which is affected by whether the pipeline ships an artifact.
- D37 Vulnerability-disclosure Policy — No vulnerability-disclosure policy file found (SECURITY.md/.markdown/.rst/.txt at root or under .github/.forgejo/.gitea/docs, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed.
- D39 IL Efficiency — D39 measures the IL emitted by a .NET build; this repository has no .NET solution or project files, so the dimension does not apply.
- D4 Code Duplication — This repository's production source (.ts, .tsx) is not read by D4's token comparison, which compares .NET source: duplication in it is measured by R10 Code Duplication, the frontend lens's card running the same clone algorithm over the JS/TS token stream. Not scored here — read the R10 card for this repository's duplication.
- D40 Network Egress Confinement — No Kubernetes/orchestration workloads found in the repository manifests; network egress policy is a cluster-native control that may live at the platform/firewall layer, so there is nothing to assess here.
- D41 Kernel & Syscall Confinement — No Kubernetes/orchestration workloads found in the repository manifests; seccomp/AppArmor/SELinux confinement is a workload-level control, so there is nothing to assess here.
- D42 Runtime Threat Enforcement — No Kubernetes/orchestration workloads found in the repository manifests; runtime threat-detection and admission-control policy are cluster-level controls, so there is nothing to assess here.
- D44 Platform End-of-Life — Platform end-of-life not assessed — this repository declares no platform this pass reads
- D7 Architectural Integrity — no checkable ADRs, and no project-reference graph for the cycle pass to read — so this dimension makes no claim about dependency cycles in either direction (where this repository's language has an import-cycle lens, cycles are reported there). Architectural integrity not assessed
- D8 Code Coverage — Coverage not measured — JavaScript/TypeScript suite
- DM1 Domain Modelling — not scored — this repository shows only 1 of the 3 signals this lens looks for (1 domain event(s); its domain events are published by services or handlers — no domain entity raises one)
- ED1 Event-Driven — not scored — this repository shows none of the 3 signals this lens looks for
- ED5 Idempotency — This check finds retry-prone mutations (command handlers and message/event consumers) by walking the repository's declared types, and none was loaded here, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- ES1 Event Sourcing — not scored — this repository shows none of the 3 signals this lens looks for
- GD1 Unfinished & placeholder code — no source files were read — this check reads C# syntax, and none was loaded for this repository. That is a limit of the analyzer, not a finding about your code.
- IC1 Incompleteness & stubs — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- P2 Observability — This repository's JavaScript/TypeScript source (18 module(s), 159 file(s) read) declares no entry point and bootstraps no server, and nothing here deploys a service — it is a library, run inside whatever hosts it, so production observability (structured logging, tracing/metrics, health checks) is N/A. If it grows a binary or a service, the dimension reactivates.
- P7 Outbound HTTP resilience — not applicable — no HTTP server, API framework or worker entry point was found in the JavaScript/TypeScript source, so there is no service whose uptime a failing dependency could take down
- P8 Schema migrations — no ORM, schema-migration tool or schema auto-create was found in this repository's dependency manifests or source, so there is no database schema for this check to judge
- P9 Domain vs controller coverage — no coverage report found on disk — produce a coverage report in a standard format (lcov — `jest --coverage --coverageReporters=lcovonly`) and commit it — a hosted scan measures a clone of the repository, so a report that exists only in a working tree, a CI runner's or your own, never reaches it; the artefact is commonly gitignored, so `git add -f` that one file (or un-ignore its path) and commit it alongside the code it measures, or wire coverage collection into CI, to enable this cross-layer check
- PF1 Benchmark discipline — Not applicable: no benchmark suite was found. This check searched for tinybench, mitata, benchmark.js, benny or vitest `bench(...)` calls in files that import them (or `*.bench.*` files), or one of those in a package.json, and for a `*benchmark*` script that this repository's CI runs. Benchmarks are credited as a bonus, so their absence is neither scored nor deducted.
- PF2 Allocation hygiene — Not applicable: TypeScript/JavaScript runs on a garbage-collected runtime that gives a program no allocation-control idiom to choose on a hot path — no pools, stack allocation or value types — so allocation awareness is not something this code can be rated on.
- R5 Dependency Freshness — uses a pnpm lockfile — dependency freshness not measured here; JS/npm CVEs are scored in D30 (Dependency Vulnerabilities), which answers every ecosystem
- SC1 Supply-chain hygiene — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X1 Async correctness — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X10 Duplicated predicate — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X12 Unreachable branch — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X13 Undrained process stream — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X14 Bypassable address classification — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X15 Unvalidated length from an untrusted reader — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X16 Unfloored truncation loop — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X17 Uncapped recursion over a caller-supplied document — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X18 Disposal-pattern correctness — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X19 Unrestored process-global state — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X2 Cancellation propagation — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X20 Mistyped argument guard — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X21 Side-effecting pattern guard — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X22 Contradicted release guard — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X23 Unguarded diagnostic materialisation — This check reads C# syntax; no C# was loaded for this repository, so it has nothing to report. That is a limit of the analyzer, not a finding about your code.
- X26 Unsynchronised callback handoff — Not applicable: this check looks for a collection written by a callback on one thread while the body waiting on it touches it on another, and in this repository's languages no collection is reachable from two threads at once. TypeScript/JavaScript runs every callback on the one thread that owns its objects: a callback runs only when the body waiting on it has yielded, never alongside it, and a worker thread receives a COPY of what it is sent. A SharedArrayBuffer carries raw bytes, never an Array, Map or Set, so no collection is reachable from two threads at once. Not a gap in the analyzer and not a finding about your code.
- X27 Collection changed while being enumerated — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X28 Index access outside its own emptiness guard — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X3 Exception handling — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X30 Support guard that admits what it rejects — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X32 Type resolved by simple name across every loaded assembly — This check is about how a .NET program searches the assemblies loaded into its process for a type, and this repository contains no .NET source, so there is nothing here for it to assess. Not a gap in the analyzer and not a finding about your code.
- X4 Structured logging — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X5 Nullable reference types — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X6 Hand-rolled structured-format parsing — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X7 Silent fallback defaults — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X9 Subsumed condition operand — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
Appendix A — Findings (grouped)
Critical — 11 finding(s)
- No assertions (empty test): preserves order for every five-item permutation and animation mask packages/inferno/__tests__/moveAnimations.spec.tsx:417
- No assertions (empty test): Should not fail when an opened dropdown is replaced by a component rendering null packages/inferno/__tests__/instancenull.spec.tsx:427
- No assertions (empty test): Should not fail when an opened dropdown is re-rendered with different props packages/inferno/__tests__/instancenull.spec.tsx:469
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Import cycle (2 files) packages/inferno-router/src/Route.ts
- Import cycle (3 files) packages/inferno-router/src/Router.ts
- Import cycle (6 files) packages/inferno/src/DOM/mounting.ts
Serious — 296 finding(s)
- No assertions: registerTransitionListener calls the callback for a div element packages/inferno-animation/__tests__/utils.spec.tsx:107
- No assertions: registerTransitionListener calls the callback when an IMG loads packages/inferno-animation/__tests__/utils.spec.tsx:141
- No assertions: should not crash in node cache when unmounting packages/inferno-compat/__tests__/ReactMount.spec.jsx:176
- No assertions: should not crash in node cache when removing and re-adding a keyed child component packages/inferno-compat/__tests__/ReactMount.spec.jsx:221
- No assertions: should not throw when updating an auxiliary component packages/inferno-compat/__tests__/ReactComponentLifeCycle.spec.jsx:192
- No assertions: Should not fail removing child of component node Github #1111 REDACTED:682
- No assertions: Should work with spread attributes packages/inferno-create-element/__tests__/events.spec.js:578
- No assertions: should not update when switching between null/undefined packages/inferno-create-element/__tests__/elements.spec.jsx:806
- No assertions: Should render zero children packages/inferno-create-element/__tests__/createElementTyped.spec.tsx:18
- No assertions: Should render null children packages/inferno-create-element/__tests__/createElementTyped.spec.tsx:23
- No assertions: Should render undefined children packages/inferno-create-element/__tests__/createElementTyped.spec.tsx:28
- No assertions: Should render one child packages/inferno-create-element/__tests__/createElementTyped.spec.tsx:33
- No assertions: Should render multiple children packages/inferno-create-element/__tests__/createElementTyped.spec.tsx:44
- No assertions: Should render array of children packages/inferno-create-element/__tests__/createElementTyped.spec.tsx:56
- No assertions: Should check component props packages/inferno-create-element/__tests__/createElementTyped.spec.tsx:66
- No assertions: Should check functional component props packages/inferno-create-element/__tests__/createElementTyped.spec.tsx:92
- No assertions: Should not fail when nested components swap children via async setState from componentWillMount (github #117) packages/inferno-create-element/__tests__/components2b.spec.tsx:70
- No assertions: should render a basic component with an element and components as children packages/inferno-create-element/__tests__/components1.spec.tsx:399
- No assertions: Should render SFC packages/inferno-mobx/__tests__/types.spec.tsx:20
- No assertions: Should be possible to return string from render SFC packages/inferno-mobx/__tests__/types.spec.tsx:29
- No assertions: Should be possible to return number from render SFC packages/inferno-mobx/__tests__/types.spec.tsx:38
- No assertions: Should not complain about onInput event.target packages/inferno-mobx/__tests__/types.spec.tsx:47
- No assertions: Should be possible to return null from render SFC packages/inferno-mobx/__tests__/types.spec.tsx:54
- No assertions: Should render Provider packages/inferno-mobx/__tests__/types.spec.tsx:63
- No assertions: should not attempt to notify unmounted child of state change packages/inferno-redux/__tests__/components/connect.spec.js:1057
- No test reaches this file scripts/fakedom/libs/uibench.js
- No test reaches this file scripts/fakedom/uibench-reactlike/app.js
- No test reaches this file scripts/rollup/build.js
- No test reaches this file scripts/fakedom/build.js
- No test reaches this file scripts/fakedom/uibench-reactlike/start.js
- No test reaches this file packages/inferno-compat/lib/EventConstants.js
- No test reaches this file scripts/rollup/plugins/index.js
- No test reaches this file scripts/bundle/bundle-size.js
- No test reaches this file scripts/fakedom/viewer.js
- No test reaches this file scripts/rollup/plugins/alias.js
- No test reaches this file packages/inferno-compat/lib/ReactTransitionEvents.js
- No test reaches this file scripts/bundle/move-typedefs.js
- No test reaches this file packages/inferno-compat/lib/ReactFragment.js
- No test reaches this file scripts/bundle/read-files-in-dir.js
- No test reaches this file packages/inferno-compat/lib/EventPluginUtils.js
- No test reaches this file browser/jsfiddle-integration-babel7v3.js
- No test reaches this file packages/inferno-compat/lib/ViewportMetrics.js
- No test reaches this file packages/inferno-compat/lib/shallowCompare.js
- No test reaches this file scripts/fakedom/libs/setup.js
- No test reaches this file scripts/bundle/move-compiled.js
- No test reaches this file scripts/rollup/plugins/stream-stub.js
- No test reaches this file packages/inferno-compat/lib/EventPluginHub.js
- No test reaches this file packages/inferno-compat/lib/SyntheticUIEvent.js
- No test reaches this file packages/inferno-compat/lib/EventPropagators.js
- TodoComment packages/inferno-create-element/__tests__/createElement.spec.ts:210
- TodoComment packages/inferno-mobx/src/observer.ts:181
- TodoComment packages/inferno-mobx/src/observer.ts:359
- TodoComment packages/inferno-mobx/src/observer.ts:472
- TodoComment packages/inferno-redux/src/connect/wrapMapToProps.ts:3
- TodoComment packages/inferno-redux/src/components/connectAdvanced.ts:116
- TodoComment packages/inferno-redux/src/components/connectAdvanced.ts:122
- TodoComment packages/inferno-router/__tests__/Switch.spec.tsx:432
- TodoComment packages/inferno-router/src/resolveLoaders.ts:75
- TodoComment packages/inferno-router/src/resolveLoaders.ts:170
- TodoComment packages/inferno-router/src/resolveLoaders.ts:244
- TodoComment packages/inferno-router/src/resolveLoaders.ts:206
- TodoComment packages/inferno-router/src/Router.ts:47
- TodoComment packages/inferno/__tests__/singlepatches.spec.tsx:403
- TodoComment packages/inferno/__tests__/forward-ref.spec.tsx:246
- TodoComment packages/inferno/__tests__/animationHooks.spec.tsx:1434
- TodoComment packages/inferno/src/DOM/unmounting.ts:68
- TodoComment packages/inferno/src/DOM/unmounting.ts:208
- TodoComment packages/inferno/src/DOM/events/delegation.ts:99
- TodoComment packages/inferno/src/core/refs.ts:11
- Boundary violation [package:undeclared-workspace-dep] packages/inferno-redux/src/components/connectAdvanced.ts:1
- Boundary violation [package:undeclared-workspace-dep] packages/inferno-router/src/Link.ts:10
- Boundary violation [package:undeclared-workspace-dep] packages/inferno-router/src/Redirect.ts:7
- Boundary violation [package:undeclared-workspace-dep] packages/inferno-router/src/Route.ts:5
- Boundary violation [package:undeclared-workspace-dep] packages/inferno-router/src/Router.ts:2
- Boundary violation [package:undeclared-workspace-dep] packages/inferno-router/src/StaticRouter.ts:11
- Boundary violation [package:undeclared-workspace-dep] packages/inferno-router/src/Switch.ts:4
- Boundary violation [package:undeclared-workspace-dep] packages/inferno-router/src/locationUtils.ts:2
- Boundary violation [package:undeclared-workspace-dep] packages/inferno-router/src/resolveLoaders.ts:1
- Boundary violation [package:undeclared-workspace-dep] packages/inferno-router/src/withRouter.ts:11
- Hotspot: packages/inferno-server/src/renderToString.queuestream.ts packages/inferno-server/src/renderToString.queuestream.ts:102
- Hotspot: packages/inferno-server/src/renderToString.ts packages/inferno-server/src/renderToString.ts:30
- Hotspot: packages/inferno/src/DOM/props.ts packages/inferno/src/DOM/props.ts:109
- Hotspot: packages/inferno-server/src/renderToString.stream.ts packages/inferno-server/src/renderToString.stream.ts:187
- Hotspot: packages/inferno/src/DOM/patching.ts packages/inferno/src/DOM/patching.ts:1115
- Hotspot: packages/inferno/src/core/implementation.ts packages/inferno/src/core/implementation.ts:453
- Hotspot: packages/inferno/src/DOM/unmounting.ts packages/inferno/src/DOM/unmounting.ts:28
- Hotspot: packages/inferno-create-element/src/index.ts packages/inferno-create-element/src/index.ts:21
- Hotspot: packages/inferno/src/DOM/mounting.ts packages/inferno/src/DOM/mounting.ts:189
- FunctionTooLong: custom-uibench.initTests docs/uibench/custom-uibench.js:552
- FunctionTooLong: uibench.initTests scripts/fakedom/libs/uibench.js:502
- FunctionTooLong: patching.patchKeyedChildrenComplex packages/inferno/src/DOM/patching.ts:1115
- FunctionTooLong: renderToString.renderVNodeToString packages/inferno-server/src/renderToString.ts:30
- FunctionTooLong: patching.patchChildren packages/inferno/src/DOM/patching.ts:531
- FunctionTooLong: props.patchProp packages/inferno/src/DOM/props.ts:109
- FunctionTooLong: animations.runMove packages/inferno-animation/src/animations.ts:1070
- FunctionTooLong: patching.patchElement packages/inferno/src/DOM/patching.ts:288
- FileTooLong: core/types.ts packages/inferno/src/core/types.ts
- FileTooLong: DOM/patching.ts packages/inferno/src/DOM/patching.ts
- FileTooLong: src/animations.ts packages/inferno-animation/src/animations.ts
- FileTooLong: animation-glitch/app.js docs/animation-glitch/app.js
- FileTooLong: libs/uibench.js scripts/fakedom/libs/uibench.js
- FileTooLong: uibench/custom-uibench.js docs/uibench/custom-uibench.js
- HackComment packages/inferno/__tests__/async-setstate.spec.tsx:80
- HackComment packages/inferno/__tests__/async-setstate.spec.tsx:235
- HackComment packages/inferno/__tests__/async-setstate.spec.tsx:306
- HackComment packages/inferno/__tests__/async-setstate.spec.tsx:430
- HackComment packages/inferno/__tests__/async-setstate.spec.tsx:498
- Duplicated block (15 lines × 2 locations) packages/inferno/src/DOM/patching.ts:1021
- Duplicated block (15 lines × 2 locations) packages/inferno/src/DOM/patching.ts:1168
- Duplicated block (15 lines × 2 locations) packages/inferno/src/DOM/utils/common.ts:237
- Duplicated block (15 lines × 2 locations) scripts/fakedom/libs/uibench.js:16
- Duplicated block (15 lines × 2 locations) scripts/fakedom/uibench-reactlike/app.js:58
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Repeated repair: packages/inferno-server/src/utils.ts packages/inferno-server/src/utils.ts:12
- Repeated repair: packages/inferno/src/DOM/utils/common.ts packages/inferno/src/DOM/utils/common.ts:224
- Repeated repair: packages/inferno/src/DOM/rendering.ts packages/inferno/src/DOM/rendering.ts:62
- Duplicated block (12 lines × 2 locations) packages/inferno-router/src/BrowserRouter.ts:12
- Duplicated block (12 lines × 2 locations) packages/inferno-server/src/renderToString.stream.ts:102
- Duplicated block (12 lines × 2 locations) packages/inferno-server/src/renderToString.ts:77
- Dead file (~1 LoC) packages/inferno-compat/lib/ReactCSSTransitionGroup.js
- Dead file (~1 LoC) packages/inferno-compat/lib/ReactMount.js
- Dead file (~1 LoC) packages/inferno-compat/lib/ReactTransitionGroup.js
- Change coupling: renderToString.stream.ts ↔ renderToString.ts packages/inferno-server/src/renderToString.stream.ts
- Change coupling: renderToString.queuestream.ts ↔ renderToString.ts packages/inferno-server/src/renderToString.queuestream.ts
- Duplicated block (9 lines × 2 locations) packages/inferno-clone-vnode/src/index.ts:49
- Duplicated block (9 lines × 2 locations) packages/inferno-router/src/StaticRouter.ts:55
- Complex function (anonymous) (cyclomatic 20, cognitive 19) packages/inferno/__tests__/error.spec.tsx:144
- Complex function (anonymous) (cyclomatic 20, cognitive 19) packages/inferno/__tests__/error.spec.tsx:301
- Dead file (~26 LoC) packages/inferno-compat/lib/ReactTransitionEvents.js
- Dead file (~26 LoC) scripts/bundle/move-typedefs.js
- Dead file (~14 LoC) browser/jsfiddle-integration-babel7v3.js
- Dead file (~14 LoC) packages/inferno-compat/lib/ViewportMetrics.js
- Dead file (~6 LoC) packages/inferno-compat/lib/EventPluginHub.js
- Dead file (~6 LoC) packages/inferno-compat/lib/SyntheticUIEvent.js
- props.patchProp (cyclomatic 68) packages/inferno/src/DOM/props.ts:109
- RenderQueueStream.renderVNodeToQueue (cyclomatic 63) packages/inferno-server/src/renderToString.queuestream.ts:102
- renderToString.renderVNodeToString (cyclomatic 58) packages/inferno-server/src/renderToString.ts:30
- animations.runMove (cyclomatic 56) packages/inferno-animation/src/animations.ts:1070
- patching.patchKeyedChildrenComplex (cyclomatic 41) packages/inferno/src/DOM/patching.ts:1115
- index.createElement (cyclomatic 34) packages/inferno-create-element/src/index.ts:21
- unmounting.unmount (cyclomatic 31) packages/inferno/src/DOM/unmounting.ts:28
- index.h (cyclomatic 28) packages/inferno-hyperscript/src/index.ts:80
- RenderStream.renderElement (cyclomatic 28) packages/inferno-server/src/renderToString.stream.ts:187
- patching.patchElement (cyclomatic 27) packages/inferno/src/DOM/patching.ts:288
- moveAnimations.prepareItems (cyclomatic 24) packages/inferno-animation/src/moveAnimations.ts:325
- moveAnimations.installMoveAnimations (cyclomatic 24) packages/inferno-animation/src/moveAnimations.ts:450
- animations.componentWillMove (cyclomatic 24) packages/inferno-animation/src/animations.ts:668
- implementation.normalizeChildren (cyclomatic 24) packages/inferno/src/core/implementation.ts:453
- index.hydrateChildren (cyclomatic 23) packages/inferno-hydrate/src/index.ts:119
- validate.validateVNodeElementChildren (cyclomatic 23) packages/inferno/src/core/validate.ts:154
- validate.validateChildFlags (cyclomatic 23) packages/inferno/src/core/validate.ts:235
- connectAdvanced.connectAdvanced (cyclomatic 22) packages/inferno-redux/src/components/connectAdvanced.ts:133
- validate.DEV_VALIDATE_KEYS (cyclomatic 20) packages/inferno/src/core/validate.ts:56
- patching.patchChildren (cyclomatic 20) packages/inferno/src/DOM/patching.ts:531
- moveAnimations.visit (cyclomatic 19) packages/inferno-animation/src/moveAnimations.ts:115
- patching.patchKeyedChildren (cyclomatic 17) packages/inferno/src/DOM/patching.ts:993
- mounting.mountElement (cyclomatic 17) packages/inferno/src/DOM/mounting.ts:189
- index.options.createVNode (cyclomatic 16) packages/inferno-compat/src/index.ts:248
- RenderQueueStream.renderVNodeToQueue (cognitive 155) packages/inferno-server/src/renderToString.queuestream.ts:102
- renderToString.renderVNodeToString (cognitive 136) packages/inferno-server/src/renderToString.ts:30
- patching.patchKeyedChildrenComplex (cognitive 126) packages/inferno/src/DOM/patching.ts:1115
- animations.runMove (cognitive 72) packages/inferno-animation/src/animations.ts:1070
- unmounting.unmount (cognitive 65) packages/inferno/src/DOM/unmounting.ts:28
- index.createElement (cognitive 58) packages/inferno-create-element/src/index.ts:21
- patching.patchElement (cognitive 53) packages/inferno/src/DOM/patching.ts:288
- implementation.normalizeChildren (cognitive 48) packages/inferno/src/core/implementation.ts:453
- RenderStream.renderElement (cognitive 46) packages/inferno-server/src/renderToString.stream.ts:187
- moveAnimations.prepareItems (cognitive 45) packages/inferno-animation/src/moveAnimations.ts:325
- index.hydrateChildren (cognitive 45) packages/inferno-hydrate/src/index.ts:119
- implementation._normalizeVNodes (cognitive 43) packages/inferno/src/core/implementation.ts:384
- moveAnimations.installMoveAnimations (cognitive 41) packages/inferno-animation/src/moveAnimations.ts:450
- animations.componentWillMove (cognitive 40) packages/inferno-animation/src/animations.ts:668
- validate.DEV_VALIDATE_KEYS (cognitive 36) packages/inferno/src/core/validate.ts:56
- moveAnimations.visit (cognitive 35) packages/inferno-animation/src/moveAnimations.ts:115
- index.h (cognitive 34) packages/inferno-hyperscript/src/index.ts:80
- validate.validateChildFlags (cognitive 33) packages/inferno/src/core/validate.ts:235
- moveAnimations.prepareOwner (cognitive 30) packages/inferno-animation/src/moveAnimations.ts:250
- ReactFragment.create (cognitive 27) packages/inferno-compat/lib/ReactFragment.js:4
- patching.patchKeyedChildren (cognitive 27) packages/inferno/src/DOM/patching.ts:993
- component.queueStateChanges (cognitive 27) packages/inferno/src/core/component.ts:18
- implementation.normalizeProps (cognitive 25) packages/inferno/src/core/implementation.ts:251
- index.validateNodeTree (cognitive 24) packages/inferno-utils/src/index.ts:11
- props.patchProp (cognitive 24) packages/inferno/src/DOM/props.ts:109
- componentUtil.createClassComponentInstance (cognitive 24) packages/inferno/src/DOM/utils/componentUtil.ts:63
- patching.lisAlgorithm (cognitive 23) packages/inferno/src/DOM/patching.ts:1327
- mounting.mountElement (cognitive 22) packages/inferno/src/DOM/mounting.ts:189
- rendering.renderInternal (cognitive 22) packages/inferno/src/DOM/rendering.ts:62
- animations._willDisappear (cognitive 21) packages/inferno-animation/src/animations.ts:397
- common.clearVNodeDOM (cognitive 21) packages/inferno/src/DOM/utils/common.ts:224
- utils.releaseWait (cognitive 20) packages/inferno-animation/src/utils.ts:594
- moveAnimations.prepareRemoval (cognitive 20) packages/inferno-animation/src/moveAnimations.ts:426
- connectAdvanced.connectAdvanced (cognitive 20) packages/inferno-redux/src/components/connectAdvanced.ts:133
- utils._getMaxTransitionDuration (cognitive 19) packages/inferno-animation/src/utils.ts:327
- index.cloneVNode (cognitive 19) packages/inferno-clone-vnode/src/index.ts:24
- observer.observer (cognitive 19) packages/inferno-mobx/src/observer.ts:281
- props.patchStyle (cognitive 19) packages/inferno/src/DOM/props.ts:42
- patching.patchChildren (cognitive 19) packages/inferno/src/DOM/patching.ts:531
- delegation.dispatchEvents (cognitive 18) packages/inferno/src/DOM/events/delegation.ts:106
- index.normalizeFormProps (cognitive 17) packages/inferno-compat/src/index.ts:188
- common.appendVNodeDOM (cognitive 17) packages/inferno/src/DOM/utils/common.ts:261
- index.options.createVNode (cognitive 16) packages/inferno-compat/src/index.ts:248
- validate.getTagName (cognitive 16) packages/inferno/src/core/validate.ts:13
- InputWrapper.applyValueInput (cognitive 16) packages/inferno/src/DOM/wrappers/InputWrapper.ts:30
- patching.patchNonKeyedChildren (cognitive 16) packages/inferno/src/DOM/patching.ts:928
- MethodTooLong: RenderQueueStream.renderVNodeToQueue packages/inferno-server/src/renderToString.queuestream.ts:102
- REDACTED
- REDACTED
- Off the main sequence: inferno-shared
- Low cohesion: ShuffleListWithAnimation (LCOM4 4) docs/animations/app.js:518
- Coverage collected but not gated
- Sync-over-async blocking scripts/bundle/bundle-size.js:21
- Type Safety
- Duplicated block with local edits (144 matched lines × 2 locations) packages/inferno-server/src/renderToString.queuestream.ts:115
- Duplicated block (43 lines × 2 locations) packages/inferno-compat/src/index.ts:394
- Duplicated block with local edits (31 matched lines × 2 locations) packages/inferno/src/core/component.ts:205
- Duplicated block (28 lines × 2 locations) packages/inferno-server/src/renderToString.queuestream.ts:146
- Duplicated block (27 lines × 2 locations) packages/inferno-router/src/BrowserRouter.ts:10
- Duplicated block with local edits (24 matched lines × 2 locations) scripts/fakedom/build.js:67
- Duplicated block (24 lines × 2 locations) scripts/fakedom/libs/uibench.js:512
- Duplicated block (18 lines × 2 locations) packages/inferno/src/DOM/patching.ts:1259
- Duplicated block (14 lines × 2 locations) packages/inferno-animation/src/utils.ts:18
- Duplicated block with local edits (13 matched lines × 2 locations) packages/inferno-router/src/Switch.ts:73
- Duplicated block (10 lines × 2 locations) scripts/fakedom/libs/uibench.js:207
- Duplicated block (8 lines × 2 locations) packages/inferno-server/src/renderToString.stream.ts:88
- Duplicated block with local edits (8 matched lines × 2 locations) packages/inferno-server/src/utils.ts:201
- Duplicated block with local edits (6 matched lines × 2 locations) scripts/bundle/move-compiled.js:2
- Duplicated block (6 lines × 3 locations) scripts/fakedom/libs/uibench.js:297
- Complex function patchProp (cyclomatic 68, cognitive 24) packages/inferno/src/DOM/props.ts:109
- Complex function renderVNodeToString (cyclomatic 59, cognitive 147) packages/inferno-server/src/renderToString.ts:30
- Complex function renderVNodeToQueue (cyclomatic 59, cognitive 141) packages/inferno-server/src/renderToString.queuestream.ts:102
- Complex function runMove (cyclomatic 57, cognitive 80) packages/inferno-animation/src/animations.ts:1070
- Complex function patchKeyedChildrenComplex (cyclomatic 41, cognitive 126) packages/inferno/src/DOM/patching.ts:1115
- Complex function createElement (cyclomatic 34, cognitive 58) packages/inferno-create-element/src/index.ts:21
- Complex function unmount (cyclomatic 31, cognitive 65) packages/inferno/src/DOM/unmounting.ts:28
- Complex function renderElement (cyclomatic 29, cognitive 52) packages/inferno-server/src/renderToString.stream.ts:187
- Complex function h (cyclomatic 28, cognitive 37) packages/inferno-hyperscript/src/index.ts:80
- Complex function patchElement (cyclomatic 27, cognitive 53) packages/inferno/src/DOM/patching.ts:288
- Complex function prepareItems (cyclomatic 24, cognitive 48) packages/inferno-animation/src/moveAnimations.ts:325
- Complex function normalizeChildren (cyclomatic 24, cognitive 48) packages/inferno/src/core/implementation.ts:453
- Complex function componentWillMove (cyclomatic 24, cognitive 40) packages/inferno-animation/src/animations.ts:668
- Complex function hydrateChildren (cyclomatic 23, cognitive 54) packages/inferno-hydrate/src/index.ts:119
- Complex function validateChildFlags (cyclomatic 23, cognitive 33) packages/inferno/src/core/validate.ts:235
- Complex function validateVNodeElementChildren (cyclomatic 23, cognitive 12) packages/inferno/src/core/validate.ts:154
- Complex function DEV_VALIDATE_KEYS (cyclomatic 20, cognitive 36) packages/inferno/src/core/validate.ts:56
- Dead file (~173 LoC) scripts/rollup/build.js
- Dead file (~117 LoC) scripts/fakedom/build.js
- Dead file (~81 LoC) packages/inferno-compat/lib/EventConstants.js
- Dead file (~73 LoC) scripts/rollup/plugins/index.js
- Dead file (~44 LoC) scripts/fakedom/viewer.js
- Dead file (~33 LoC) scripts/rollup/plugins/alias.js
- Dead file (~23 LoC) packages/inferno-compat/lib/ReactFragment.js
- Dead file (~21 LoC) scripts/bundle/read-files-in-dir.js
- Dead file (~20 LoC) packages/inferno-compat/lib/EventPluginUtils.js
- Dead file (~13 LoC) packages/inferno-compat/lib/shallowCompare.js
- Dead file (~9 LoC) scripts/bundle/move-compiled.js
- Dead file (~4 LoC) packages/inferno-compat/lib/EventPropagators.js
- Unused dependency 'coveralls-next'
- Unused dependency 'perf-monitor'
- Third-party script without Subresource Integrity scripts/fakedom/viewer.html:6
Minor — 11 finding(s)
- Documentation: no project overview docs/index.html
- Documentation: no architecture or design documentation docs/index.html
- Off-boarding risk: anonymized user #1
- Projects may be oversized for their cohesion
- Orphaned files with no living knowledge
- No ADRs
- No architecture diagram/doc
- README/code drift
- Unused export 'solve' packages/inferno-animation/src/utils.ts:150
- Unused export 'getCssPropertyName' packages/inferno-server/src/utils.ts:57
- Type-only dependency 'csstype' in production deps packages/inferno/__tests__/styles.spec.tsx:2
Minor — 7 finding(s)
- Skipped (documented): (unnamed test) packages/inferno-create-element/__tests__/events.spec.js:27
- Skipped (documented): (unnamed test) packages/inferno-create-element/__tests__/elements.spec.jsx:875
- Skipped (documented): (unnamed test) packages/inferno-server/__tests__/creation-stream.spec.server.ts:22
- Skipped (documented): (unnamed test) packages/inferno/__tests__/fragments.spec.tsx:1204
- Skipped (documented): (unnamed test) packages/inferno/__tests__/formelements.spec.tsx:178
- Outdated (npm): path-to-regexp
- Outdated (npm): selenium-webdriver
Appendix B — Reproduction & audit trail
| Dimension | Tool | Version | Command | Findings | Raw output |
|---|---|---|---|---|---|
| D28 · Secrets (history) | gitleaks | — | gitleaks detect --no-banner --config /opt/gitleaks-rules/watchdog-gitleaks.toml --report-format json --report-path /tmp/watchdog-gitleaks-5e6adf3f52184758a5556bb3684d9e2d/history.json --exit-code 0 --source . | 0 | artifacts/raw/gitleaks-history.json |
| D28 · Secrets (history) | gitleaks | — | gitleaks detect --no-git --no-banner --config /opt/gitleaks-rules/watchdog-gitleaks.toml --report-format json --report-path /tmp/watchdog-gitleaks-5e6adf3f52184758a5556bb3684d9e2d/tree.json --exit-code 0 --source . | 0 | artifacts/raw/gitleaks-tree.json |
| D29 · Static Analysis (SAST) | semgrep | — | semgrep --config /opt/semgrep-rules/security-audit.yml --config /opt/semgrep-rules/owasp-top-ten.yml --config /opt/semgrep-rules/watchdog-sast.yml --json --quiet --timeout 10 --timeout-threshold 3 --metrics off . | 9 | artifacts/raw/semgrep.json |
| D30 · Dependency Vulnerabilities | trivy | — | trivy fs --scanners vuln --format json --quiet --severity CRITICAL,HIGH,MEDIUM,LOW --skip-dirs **/bin/** --skip-dirs **/obj/** . --skip-db-update | 0 | artifacts/raw/trivy-fs.json |
| D31 · IaC & Container Security | trivy | — | trivy: not applicable — No Infrastructure-as-Code or container manifests found (Dockerfile, Docker Compose, Terraform, Kubernetes/Helm, CloudFormation, ARM, Bicep, Ansible); nothing to scan. | 0 | — |
| D32 · Data Compliance (PII/GDPR) | semgrep | — | semgrep: not applicable — No personal data was found crossing a boundary the PII/GDPR ruleset checks — nothing written to a log or console sink, placed in a URL or query string, or persisted to browser storage. That is a clean result for the LEAK surface only: this ruleset detects personal data escaping, it does not inventory the personal data a repository holds, so it is not evidence that this repository has no personal-data surface. The personal-data map (Appendix C) and the C1-C5 compliance cards are what speak to that. semgrep could not parse 5 file(s) — `docs/build.js`, `packages/inferno-create-element/src/index.ts`, `packages/inferno-router/src/Route.ts`, `packages/inferno/src/core/component.ts`, `scripts/rollup/plugins/index.js` — so the PII/GDPR sweep did not cover the unparsed regions of them; rows reported elsewhere in those files are real. | 0 | — |
| D37 · Vulnerability-disclosure Policy | disclosure | — | disclosure: not applicable — No vulnerability-disclosure policy file found (SECURITY.md/.markdown/.rst/.txt at root or under .github/.forgejo/.gitea/docs, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed. | 0 | — |
| D40 · Network Egress Confinement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; network egress policy is a cluster-native control that may live at the platform/firewall layer, so there is nothing to assess here. | 0 | — |
| D41 · Kernel & Syscall Confinement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; seccomp/AppArmor/SELinux confinement is a workload-level control, so there is nothing to assess here. | 0 | — |
| D42 · Runtime Threat Enforcement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; runtime threat-detection and admission-control policy are cluster-level controls, so there is nothing to assess here. | 0 | — |
| D43 · Malicious Dependencies | trivy | — | trivy fs --scanners vuln --format json --quiet --severity CRITICAL,HIGH,MEDIUM,LOW --skip-dirs **/bin/** --skip-dirs **/obj/** . --skip-db-update | 0 | artifacts/raw/trivy-fs.json |