Executive summary
apache/incubator-seata scores 44 out of 100, but it is rated At risk while a critical security finding is open; the score itself is unchanged.
The weakest lens counts most in the score, and here that is Accessibility, which scores 29 and is rated Weak. Its Keyboard semantics dimension scores 1 out of 10, and until that reaches 4, Accessibility can't be rated higher than Adequate. The first actions are to resolve the 2 Leaked secret finding(s) in REDACTED Scanning and to make custom controls keyboard-operable (role + tabindex + key handler), drop positive tabindex, and give anchors a real href, and if Accessibility rose to 70, the score would rise from 44 to about 56.
79 findings are critical: 48 in Static Analysis (SAST), ten in Dependency Vulnerabilities, five in IaC & Container Security, five in Secrets (history), two in Change Coupling, two in Dependency Hygiene, two in REDACTED Scanning, two in Text alternatives, one in Dependency direction, one in Keyboard semantics and one in License Compliance.
Watchdog couldn't measure 18 dimensions in this code, among them Cyclomatic Complexity, Cognitive Complexity and Code Duplication, so they are left out of the score. The product code is 270,211 lines, which would take an estimated 2.6 person-years, around €380,000, to rebuild.
If Accessibility rose from 29 to 70, the lowest score rated Strong, the score would rise from 44 to about 56.
New since the last survey: 50 findings
- REDACTED Scanning · REDACTED
- REDACTED Scanning · REDACTED
- Secrets (history) · REDACTED
- Secrets (history) · REDACTED
- Static Analysis (SAST) · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Supply-chain Provenance & Signing · REDACTED
- Supply-chain Provenance & Signing · REDACTED
- Supply-chain Provenance & Signing · REDACTED
- Supply-chain Provenance & Signing · REDACTED
- Supply-chain Provenance & Signing · REDACTED
- Supply-chain Provenance & Signing · REDACTED
- Supply-chain Provenance & Signing · REDACTED
- Supply-chain Provenance & Signing · REDACTED
- Supply-chain Provenance & Signing · REDACTED
- Visual & motion safety · Focus outline removed in CSS without a :focus replacement saga/seata-saga-statemachine-designer/src/index.css
- Visual & motion safety · Focus outline removed in CSS without a :focus replacement console/src/main/resources/static/console-fe/src/components/Header/index.scss
- Visual & motion safety · Focus outline removed in CSS without a :focus replacement console/src/main/resources/static/console-fe/public/css/bootstrap.css
- Visual & motion safety · Focus outline removed in CSS without a :focus replacement console/src/main/resources/static/console-fe/public/css/bootstrap.css
- Visual & motion safety · Focus outline removed in CSS without a :focus replacement console/src/main/resources/static/console-fe/public/css/bootstrap.css
- Visual & motion safety · Focus outline removed in CSS without a :focus replacement console/src/main/resources/static/console-fe/public/css/bootstrap.css
- Visual & motion safety · Focus outline removed in CSS without a :focus replacement console/src/main/resources/static/console-fe/public/css/bootstrap.css
- Visual & motion safety · Focus outline removed in CSS without a :focus replacement console/src/main/resources/static/console-fe/public/css/bootstrap.css
- Visual & motion safety · Focus outline removed in CSS without a :focus replacement console/src/main/resources/static/console-fe/public/css/bootstrap.css
- Visual & motion safety · Focus outline removed in CSS without a :focus replacement console/src/main/resources/static/console-fe/public/css/bootstrap.css
- Visual & motion safety · Focus outline removed in CSS without a :focus replacement console/src/main/resources/static/console-fe/public/css/console1412.css
- Visual & motion safety · Focus outline removed in CSS without a :focus replacement console/src/main/resources/static/console-fe/public/css/console1412.css
- Visual & motion safety · Focus outline removed in CSS without a :focus replacement console/src/main/resources/static/console-fe/public/css/console1412.css
- Visual & motion safety · Focus outline removed in CSS without a :focus replacement console/src/main/resources/static/console-fe/public/css/console1412.css
- Visual & motion safety · Focus outline removed in CSS without a :focus replacement console/src/main/resources/static/console-fe/public/css/console1412.css
- Visual & motion safety · Focus outline removed in CSS without a :focus replacement console/src/main/resources/static/console-fe/public/css/console1412.css
- Visual & motion safety · Focus outline removed in CSS without a :focus replacement console/src/main/resources/static/console-fe/public/css/console1412.css
- Visual & motion safety · Focus outline removed in CSS without a :focus replacement console/src/main/resources/static/console-fe/public/css/console1412.css
- Visual & motion safety · Focus outline removed in CSS without a :focus replacement console/src/main/resources/static/console-fe/public/css/console1412.css
- Visual & motion safety · Focus outline removed in CSS without a :focus replacement console/src/main/resources/static/console-fe/public/css/console1412.css
- Visual & motion safety · Animation without a prefers-reduced-motion guard console/src/main/resources/static/console-fe/public/css/bootstrap.css
- Visual & motion safety · Animation without a prefers-reduced-motion guard console/src/main/resources/static/console-fe/public/css/bootstrap.css
- Visual & motion safety · Animation without a prefers-reduced-motion guard console/src/main/resources/static/console-fe/public/css/bootstrap.css
- Visual & motion safety · Animation without a prefers-reduced-motion guard console/src/main/resources/static/console-fe/public/css/bootstrap.css
- Visual & motion safety · Animation without a prefers-reduced-motion guard console/src/main/resources/static/console-fe/public/css/bootstrap.css
- Visual & motion safety · Animation without a prefers-reduced-motion guard console/src/main/resources/static/console-fe/public/css/console1412.css
- Visual & motion safety · Animation without a prefers-reduced-motion guard console/src/main/resources/static/console-fe/public/css/console1412.css
- Visual & motion safety · Animation without a prefers-reduced-motion guard console/src/main/resources/static/console-fe/public/css/console1412.css
- Visual & motion safety · Animation without a prefers-reduced-motion guard console/src/main/resources/static/console-fe/public/css/console1412.css
- Visual & motion safety · Animation without a prefers-reduced-motion guard console/src/main/resources/static/console-fe/public/css/console1412.css
- Visual & motion safety · Animation without a prefers-reduced-motion guard console/src/main/resources/static/console-fe/public/css/font-awesome.css
- Visual & motion safety · Animation without a prefers-reduced-motion guard console/src/main/resources/static/console-fe/public/css/font-awesome.css
- Visual & motion safety · Animation without a prefers-reduced-motion guard console/src/main/resources/static/console-fe/src/layout/style.ts
Fixed since the last survey: 84 findings
- Dependency Vulnerabilities · High CVE: [GHSA redacted] REDACTED
- Dependency Vulnerabilities · Medium CVE: [GHSA redacted] REDACTED
- Knowledge Freshness · Orphaned knowledge sqlparser/seata-sqlparser-antlr/src/main/java/org/apache/seata/sqlparser/antlr/mysql/parser/MySqlParser.java
- Knowledge Freshness · Orphaned knowledge sqlparser/seata-sqlparser-antlr/src/main/java/org/apache/seata/sqlparser/antlr/mysql/parser/MySqlLexer.java
- Knowledge Freshness · Orphaned knowledge sqlparser/seata-sqlparser-antlr/src/main/java/org/apache/seata/sqlparser/antlr/mysql/parser/MySqlParserListener.java
- Knowledge Freshness · Orphaned knowledge sqlparser/seata-sqlparser-antlr/src/main/java/org/apache/seata/sqlparser/antlr/mysql/parser/MySqlParserBaseListener.java
- Knowledge Freshness · Orphaned knowledge sqlparser/seata-sqlparser-antlr/src/main/java/org/apache/seata/sqlparser/antlr/mysql/parser/MySqlParserBaseVisitor.java
- Knowledge Freshness · Orphaned knowledge sqlparser/seata-sqlparser-antlr/src/main/java/org/apache/seata/sqlparser/antlr/mysql/parser/MySqlParserVisitor.java
- Knowledge Freshness · Orphaned knowledge rm-datasource/src/main/java/org/apache/seata/rm/datasource/sql/handler/oscar/OscarEscapeHandler.java
- Knowledge Freshness · Orphaned knowledge saga/seata-saga-spring/src/main/java/org/apache/seata/saga/engine/store/db/DbAndReportTcStateLogStore.java
- Knowledge Freshness · Orphaned knowledge saga/seata-saga-engine/src/main/java/org/apache/seata/saga/engine/impl/ProcessCtrlStateMachineEngine.java
- Knowledge Freshness · Orphaned knowledge common/src/main/java/org/apache/seata/common/util/ReflectionUtil.java
- Knowledge Freshness · Orphaned knowledge rm-datasource/src/main/java/org/apache/seata/rm/datasource/sql/handler/mysql/MySQLEscapeHandler.java
- Knowledge Freshness · Orphaned knowledge serializer/seata-serializer-protobuf/src/main/java/org/apache/seata/serializer/protobuf/manager/ProtobufConvertManager.java
- Knowledge Freshness · Orphaned knowledge test-suite/seata-benchmark-cli/src/main/java/org/apache/seata/benchmark/executor/SagaModeExecutor.java
- Knowledge Freshness · Orphaned knowledge core/src/main/java/org/apache/seata/core/rpc/processor/server/ServerOnRequestProcessor.java
- Knowledge Freshness · Orphaned knowledge rm-datasource/src/main/java/org/apache/seata/rm/datasource/sql/handler/sqlserver/SqlServerEscapeHandler.java
- Supply-chain Provenance & Signing REDACTED
- Supply-chain Provenance & Signing REDACTED
- Import Boundaries · Boundary violation [package:test-suite-dependency] saga/seata-saga-statemachine-designer/src/modeling/SagaFactory.js
- Import Boundaries · Boundary violation [package:test-suite-dependency] saga/seata-saga-statemachine-designer/src/modeling/SagaFactory.js
- Import Boundaries · Boundary violation [package:test-suite-dependency] saga/seata-saga-statemachine-designer/src/modeling/SagaFactory.js
- Import Boundaries · Boundary violation [package:test-suite-dependency] saga/seata-saga-statemachine-designer/src/modeling/SagaFactory.js
- Import Boundaries · Boundary violation [package:test-suite-dependency] saga/seata-saga-statemachine-designer/src/modeling/SagaFactory.js
- Import Boundaries · Boundary violation [package:test-suite-dependency] saga/seata-saga-statemachine-designer/src/modeling/SagaFactory.js
- Import Boundaries · Boundary violation [package:test-suite-dependency] saga/seata-saga-statemachine-designer/src/modeling/SagaFactory.js
- Import Boundaries · Boundary violation [package:test-suite-dependency] saga/seata-saga-statemachine-designer/src/modeling/SagaFactory.js
- Import Boundaries · Boundary violation [package:test-suite-dependency] saga/seata-saga-statemachine-designer/src/modeling/SagaFactory.js
- Import Boundaries · Boundary violation [package:test-suite-dependency] saga/seata-saga-statemachine-designer/src/modeling/SagaFactory.js
- Import Boundaries · Boundary violation [package:test-suite-dependency] saga/seata-saga-statemachine-designer/src/modeling/SagaFactory.js
- Import Boundaries · Boundary violation [package:third-party-deep-import] saga/seata-saga-statemachine-designer/src/modeling/SagaRules.js
- Import Boundaries · Boundary violation [package:third-party-deep-import] saga/seata-saga-statemachine-designer/src/modeling/SagaRules.js
- Import Boundaries · Boundary violation [package:third-party-deep-import] saga/seata-saga-statemachine-designer/src/modeling/index.js
- Import Boundaries · Boundary violation [package:third-party-deep-import] saga/seata-saga-statemachine-designer/src/modeling/index.js
- Import Boundaries · Boundary violation [package:third-party-deep-import] saga/seata-saga-statemachine-designer/src/modeling/index.js
- Import Boundaries · Boundary violation [package:third-party-deep-import] saga/seata-saga-statemachine-designer/src/modeling/index.js
- Import Boundaries · Boundary violation [package:third-party-deep-import] saga/seata-saga-statemachine-designer/src/properties-panel/PropertiesPanelRenderer.js
- Import Boundaries · Boundary violation [package:third-party-deep-import] saga/seata-saga-statemachine-designer/src/providers/ContextPadProvider.js
- Import Boundaries · Boundary violation [package:test-suite-dependency] saga/seata-saga-statemachine-designer/src/providers/PaletteProvider.js
- Import Boundaries · Boundary violation [package:test-suite-dependency] saga/seata-saga-statemachine-designer/src/providers/PaletteProvider.js
- Import Boundaries · Boundary violation [package:test-suite-dependency] saga/seata-saga-statemachine-designer/src/providers/PaletteProvider.js
- Import Boundaries · Boundary violation [package:test-suite-dependency] saga/seata-saga-statemachine-designer/src/providers/PaletteProvider.js
- Import Boundaries · Boundary violation [package:test-suite-dependency] saga/seata-saga-statemachine-designer/src/providers/PaletteProvider.js
- Import Boundaries · Boundary violation [package:test-suite-dependency] saga/seata-saga-statemachine-designer/src/providers/PaletteProvider.js
- Import Boundaries · Boundary violation [package:test-suite-dependency] saga/seata-saga-statemachine-designer/src/providers/PaletteProvider.js
- Import Boundaries · Boundary violation [package:test-suite-dependency] saga/seata-saga-statemachine-designer/src/providers/PaletteProvider.js
- Import Boundaries · Boundary violation [package:test-suite-dependency] saga/seata-saga-statemachine-designer/src/providers/PaletteProvider.js
- Import Boundaries · Boundary violation [package:third-party-deep-import] saga/seata-saga-statemachine-designer/src/render/Renderer.js
- Import Boundaries · Boundary violation [package:third-party-deep-import] saga/seata-saga-statemachine-designer/src/render/Renderer.js
- Import Boundaries · Boundary violation [package:third-party-deep-import] saga/seata-saga-statemachine-designer/src/render/Renderer.js
- Import Boundaries · Boundary violation [package:third-party-deep-import] saga/seata-saga-statemachine-designer/src/render/TextRenderer.js
- Test Coverage · No test reaches this file saga/seata-saga-statemachine-designer/src/properties-panel/provider/properties/BaseTextArea.js
- Test Coverage · No test reaches this file console/src/main/resources/static/console-fe/src/utils/common.ts
- Test Coverage · No test reaches this file console/src/main/resources/static/console-fe/src/components/Page/PageHeader.tsx
- Test Coverage · No test reaches this file console/src/main/resources/static/console-fe/src/service/clusterManager.ts
- Test Coverage · No test reaches this file console/src/main/resources/static/console-fe/src/index.tsx
- Test Coverage · No test reaches this file console/src/main/resources/static/console-fe/src/reducers/base.ts
- Test Coverage · No test reaches this file saga/seata-saga-statemachine-designer/src/index.js
- Test Coverage · No test reaches this file saga/seata-saga-statemachine-designer/src/layout/behavior/AttachCatchBehavior.js
- Test Coverage · No test reaches this file console/src/main/resources/static/console-fe/src/layout/index.tsx
- Test Coverage · No test reaches this file console/src/main/resources/static/console-fe/src/layout/style.ts
- Test Coverage · No test reaches this file saga/seata-saga-statemachine-designer/src/properties-panel/provider/properties/NameProps.js
- Test Coverage · No test reaches this file saga/seata-saga-statemachine-designer/src/properties-panel/provider/properties/CommentProps.js
- Test Coverage · No test reaches this file console/src/main/resources/static/console-fe/src/components/Page/Page.tsx
- Test Coverage · No test reaches this file saga/seata-saga-statemachine-designer/src/properties-panel/provider/properties/VersionProps.js
- Test Coverage · No test reaches this file console/src/main/resources/static/console-fe/src/contants/index.ts
- Test Coverage · No test reaches this file saga/seata-saga-statemachine-designer/src/control/index.js
- Test Coverage · No test reaches this file saga/seata-saga-statemachine-designer/src/properties-panel/PanelPlaceholderProvider.js
- Test Coverage · No test reaches this file saga/seata-saga-statemachine-designer/src/properties-panel/PanelHeaderProvider.js
- Test Coverage · No test reaches this file console/src/main/resources/static/console-fe/src/utils/cookie.ts
- Test Coverage · No test reaches this file console/src/main/resources/static/console-fe/src/router.tsx
- Test Coverage · No test reaches this file console/src/main/resources/static/console-fe/src/utils/localstorage.ts
- Test Coverage · No test reaches this file console/src/main/resources/static/console-fe/src/components/Page/index.ts
- Test Coverage · No test reaches this file console/src/main/resources/static/console-fe/src/service/login.ts
- Test Coverage · No test reaches this file console/src/main/resources/static/console-fe/src/service/overview.ts
- Test Coverage · No test reaches this file console/src/main/resources/static/console-fe/src/components/Page/PageContent.tsx
- Test Coverage · No test reaches this file console/src/main/resources/static/console-fe/src/service/base.ts
- Test Coverage · No test reaches this file console/src/main/resources/static/console-fe/src/pages/GlobalLockInfo/index.ts
- Test Coverage · No test reaches this file console/src/main/resources/static/console-fe/src/pages/Login/index.ts
- Test Coverage · No test reaches this file console/src/main/resources/static/console-fe/src/pages/TransactionInfo/index.ts
- Test Coverage · No test reaches this file console/src/main/resources/static/console-fe/src/utils/requestV2.ts
- Test Coverage · No test reaches this file console/src/main/resources/static/console-fe/src/pages/Overview/index.ts
- Test Coverage · No test reaches this file console/src/main/resources/static/console-fe/src/components/Header/index.ts
- Test Coverage · No test reaches this file console/src/main/resources/static/console-fe/src/components/Iframe/index.ts
Rebuild cost: about €380,000 · Estimate
| Cost to rebuild | €130,000 to €640,000, for 2,110 to 6,692 hours of work, about 2.6 person-years for 1 to 5 engineers |
|---|---|
| Difficulty of the problem | Standard, judged from the kind of software and how it is built. Code that solves a harder problem, such as payments or medical bookings, costs more per line to write. |
| Quality factor | ×0.7 at a score of 44. Better code takes more work to write, so the factor is ×1.0 at a score of 70, lower below it and higher above it. |
| Size | Large: 270,211 lines of product code |
Top priorities
Diagnosis: what the measurements show together
Architecture — module dependency graph
Architecture: which parts of the code depend on which
| uses → | 1 console.src.main.resources.static.console-fe.src.app | 2 console.src.main.resources.static.console-fe.src.components.Header.Header | 3 console.src.main.resources.static.console-fe.src.components.Iframe.Iframe | 4 console.src.main.resources.static.console-fe.src.components.Page.Page | 5 console.src.main.resources.static.console-fe.src.components.Page.PageContent | 6 console.src.main.resources.static.console-fe.src.components.Page.PageHeader | 7 console.src.main.resources.static.console-fe.src.layout | 8 console.src.main.resources.static.console-fe.src.pages.ClusterManager | 9 console.src.main.resources.static.console-fe.src.pages.ClusterManager.ClusterManager | 10 console.src.main.resources.static.console-fe.src.pages.GlobalLockInfo | 11 console.src.main.resources.static.console-fe.src.reducers.base | 12 console.src.main.resources.static.console-fe.src.reducers.locale | 13 console.src.main.resources.static.console-fe.src.reducers.login | 14 console.src.main.resources.static.console-fe.src.reducers.overview | 15 saga.seata-saga-statemachine-designer.src.spec | 16 console.src.main.resources.static.console-fe.src.reducers | 17 saga.seata-saga-statemachine-designer.src.spec.StateMachine | 18 saga.seata-saga-statemachine-designer.src.spec.style.Edge | 19 saga.seata-saga-statemachine-designer.src.spec.style.EdgeStyle | 20 saga.seata-saga-statemachine-designer.src.spec.style.Node | 21 saga.seata-saga-statemachine-designer.src.spec.style.NodeStyle | 22 console.src.main.resources.static.console-fe.src | 23 console.src.main.resources.static.console-fe.src.components.Header | 24 console.src.main.resources.static.console-fe.src.pages.Login | 25 console.src.main.resources.static.console-fe.src.pages.Overview | 26 saga.seata-saga-statemachine-designer.src.spec.Catch | 27 saga.seata-saga-statemachine-designer.src.spec.StartState | 28 saga.seata-saga-statemachine-designer.src.spec.State | 29 saga.seata-saga-statemachine-designer.src.spec.Transition | 30 saga.seata-saga-statemachine-designer.src.spec.Choice | 31 saga.seata-saga-statemachine-designer.src.spec.ChoiceEntry | 32 saga.seata-saga-statemachine-designer.src.spec.Compensation | 33 saga.seata-saga-statemachine-designer.src.spec.CompensationTrigger | 34 saga.seata-saga-statemachine-designer.src.spec.ExceptionMatch | 35 saga.seata-saga-statemachine-designer.src.spec.Fail | 36 saga.seata-saga-statemachine-designer.src.spec.Succeed | 37 saga.seata-saga-statemachine-designer.src.spec.TaskState | 38 saga.seata-saga-statemachine-designer.src.spec.ScriptTask | 39 saga.seata-saga-statemachine-designer.src.spec.ServiceTask | 40 saga.seata-saga-statemachine-designer.src.spec.SubStateMachine |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 console.src.main.resources.static.console-fe.src.app | ||||||||||||||||||||||||||||||||||||||||
| 2 console.src.main.resources.static.console-fe.src.components.Header.Header | ||||||||||||||||||||||||||||||||||||||||
| 3 console.src.main.resources.static.console-fe.src.components.Iframe.Iframe | ||||||||||||||||||||||||||||||||||||||||
| 4 console.src.main.resources.static.console-fe.src.components.Page.Page | ||||||||||||||||||||||||||||||||||||||||
| 5 console.src.main.resources.static.console-fe.src.components.Page.PageContent | ||||||||||||||||||||||||||||||||||||||||
| 6 console.src.main.resources.static.console-fe.src.components.Page.PageHeader | ||||||||||||||||||||||||||||||||||||||||
| 7 console.src.main.resources.static.console-fe.src.layout | ||||||||||||||||||||||||||||||||||||||||
| 8 console.src.main.resources.static.console-fe.src.pages.ClusterManager | ||||||||||||||||||||||||||||||||||||||||
| 9 console.src.main.resources.static.console-fe.src.pages.ClusterManager.ClusterManager | ||||||||||||||||||||||||||||||||||||||||
| 10 console.src.main.resources.static.console-fe.src.pages.GlobalLockInfo | ||||||||||||||||||||||||||||||||||||||||
| 11 console.src.main.resources.static.console-fe.src.reducers.base | ||||||||||||||||||||||||||||||||||||||||
| 12 console.src.main.resources.static.console-fe.src.reducers.locale | ||||||||||||||||||||||||||||||||||||||||
| 13 console.src.main.resources.static.console-fe.src.reducers.login | ||||||||||||||||||||||||||||||||||||||||
| 14 console.src.main.resources.static.console-fe.src.reducers.overview | ||||||||||||||||||||||||||||||||||||||||
| 15 saga.seata-saga-statemachine-designer.src.spec | ||||||||||||||||||||||||||||||||||||||||
| 16 console.src.main.resources.static.console-fe.src.reducers | 1 | 1 | 1 | 1 | ||||||||||||||||||||||||||||||||||||
| 17 saga.seata-saga-statemachine-designer.src.spec.StateMachine | 1 | |||||||||||||||||||||||||||||||||||||||
| 18 saga.seata-saga-statemachine-designer.src.spec.style.Edge | 1 | |||||||||||||||||||||||||||||||||||||||
| 19 saga.seata-saga-statemachine-designer.src.spec.style.EdgeStyle | 1 | |||||||||||||||||||||||||||||||||||||||
| 20 saga.seata-saga-statemachine-designer.src.spec.style.Node | 1 | |||||||||||||||||||||||||||||||||||||||
| 21 saga.seata-saga-statemachine-designer.src.spec.style.NodeStyle | 1 | |||||||||||||||||||||||||||||||||||||||
| 22 console.src.main.resources.static.console-fe.src | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 23 console.src.main.resources.static.console-fe.src.components.Header | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 24 console.src.main.resources.static.console-fe.src.pages.Login | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 25 console.src.main.resources.static.console-fe.src.pages.Overview | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 26 saga.seata-saga-statemachine-designer.src.spec.Catch | 1 | |||||||||||||||||||||||||||||||||||||||
| 27 saga.seata-saga-statemachine-designer.src.spec.StartState | 1 | |||||||||||||||||||||||||||||||||||||||
| 28 saga.seata-saga-statemachine-designer.src.spec.State | 1 | |||||||||||||||||||||||||||||||||||||||
| 29 saga.seata-saga-statemachine-designer.src.spec.Transition | 1 | |||||||||||||||||||||||||||||||||||||||
| 30 saga.seata-saga-statemachine-designer.src.spec.Choice | 1 | |||||||||||||||||||||||||||||||||||||||
| 31 saga.seata-saga-statemachine-designer.src.spec.ChoiceEntry | 1 | |||||||||||||||||||||||||||||||||||||||
| 32 saga.seata-saga-statemachine-designer.src.spec.Compensation | 1 | |||||||||||||||||||||||||||||||||||||||
| 33 saga.seata-saga-statemachine-designer.src.spec.CompensationTrigger | 1 | |||||||||||||||||||||||||||||||||||||||
| 34 saga.seata-saga-statemachine-designer.src.spec.ExceptionMatch | 1 | |||||||||||||||||||||||||||||||||||||||
| 35 saga.seata-saga-statemachine-designer.src.spec.Fail | 1 | |||||||||||||||||||||||||||||||||||||||
| 36 saga.seata-saga-statemachine-designer.src.spec.Succeed | 1 | |||||||||||||||||||||||||||||||||||||||
| 37 saga.seata-saga-statemachine-designer.src.spec.TaskState | 1 | |||||||||||||||||||||||||||||||||||||||
| 38 saga.seata-saga-statemachine-designer.src.spec.ScriptTask | 1 | |||||||||||||||||||||||||||||||||||||||
| 39 saga.seata-saga-statemachine-designer.src.spec.ServiceTask | 1 | |||||||||||||||||||||||||||||||||||||||
| 40 saga.seata-saga-statemachine-designer.src.spec.SubStateMachine | 1 |
16→11 console.src.main.resources.static.console-fe.src.reducers uses console.src.main.resources.static.console-fe.src.reducers.base✕
- Connections
- 1 pair of types, where a type in console.src.main.resources.static.console-fe.src.reducers uses a type in console.src.main.resources.static.console-fe.src.reducers.base.
- The types involved
console.src.main.resources.static.console-fe.src.reducers.GlobalStateModel→console.src.main.resources.static.console-fe.src.reducers.base.BaseStateModel
- Direction
- console.src.main.resources.static.console-fe.src.reducers uses console.src.main.resources.static.console-fe.src.reducers.base, so a change to console.src.main.resources.static.console-fe.src.reducers.base can break console.src.main.resources.static.console-fe.src.reducers, while a change to console.src.main.resources.static.console-fe.src.reducers can't break console.src.main.resources.static.console-fe.src.reducers.base.
- Position
- Below the diagonal: console.src.main.resources.static.console-fe.src.reducers uses a module listed above it, which is the healthy direction.
16→12 console.src.main.resources.static.console-fe.src.reducers uses console.src.main.resources.static.console-fe.src.reducers.locale✕
- Connections
- 1 pair of types, where a type in console.src.main.resources.static.console-fe.src.reducers uses a type in console.src.main.resources.static.console-fe.src.reducers.locale.
- The types involved
console.src.main.resources.static.console-fe.src.reducers.GlobalStateModel→console.src.main.resources.static.console-fe.src.reducers.locale.LocaleStateModel
- Direction
- console.src.main.resources.static.console-fe.src.reducers uses console.src.main.resources.static.console-fe.src.reducers.locale, so a change to console.src.main.resources.static.console-fe.src.reducers.locale can break console.src.main.resources.static.console-fe.src.reducers, while a change to console.src.main.resources.static.console-fe.src.reducers can't break console.src.main.resources.static.console-fe.src.reducers.locale.
- Position
- Below the diagonal: console.src.main.resources.static.console-fe.src.reducers uses a module listed above it, which is the healthy direction.
16→13 console.src.main.resources.static.console-fe.src.reducers uses console.src.main.resources.static.console-fe.src.reducers.login✕
- Connections
- 1 pair of types, where a type in console.src.main.resources.static.console-fe.src.reducers uses a type in console.src.main.resources.static.console-fe.src.reducers.login.
- The types involved
console.src.main.resources.static.console-fe.src.reducers.GlobalStateModel→console.src.main.resources.static.console-fe.src.reducers.login.LoginStateModel
- Direction
- console.src.main.resources.static.console-fe.src.reducers uses console.src.main.resources.static.console-fe.src.reducers.login, so a change to console.src.main.resources.static.console-fe.src.reducers.login can break console.src.main.resources.static.console-fe.src.reducers, while a change to console.src.main.resources.static.console-fe.src.reducers can't break console.src.main.resources.static.console-fe.src.reducers.login.
- Position
- Below the diagonal: console.src.main.resources.static.console-fe.src.reducers uses a module listed above it, which is the healthy direction.
16→14 console.src.main.resources.static.console-fe.src.reducers uses console.src.main.resources.static.console-fe.src.reducers.overview✕
- Connections
- 1 pair of types, where a type in console.src.main.resources.static.console-fe.src.reducers uses a type in console.src.main.resources.static.console-fe.src.reducers.overview.
- The types involved
console.src.main.resources.static.console-fe.src.reducers.GlobalStateModel→console.src.main.resources.static.console-fe.src.reducers.overview.OverviewStateModel
- Direction
- console.src.main.resources.static.console-fe.src.reducers uses console.src.main.resources.static.console-fe.src.reducers.overview, so a change to console.src.main.resources.static.console-fe.src.reducers.overview can break console.src.main.resources.static.console-fe.src.reducers, while a change to console.src.main.resources.static.console-fe.src.reducers can't break console.src.main.resources.static.console-fe.src.reducers.overview.
- Position
- Below the diagonal: console.src.main.resources.static.console-fe.src.reducers uses a module listed above it, which is the healthy direction.
17→15 saga.seata-saga-statemachine-designer.src.spec.StateMachine uses saga.seata-saga-statemachine-designer.src.spec✕
- Connections
- 1 pair of types, where a type in saga.seata-saga-statemachine-designer.src.spec.StateMachine uses a type in saga.seata-saga-statemachine-designer.src.spec.
- The types involved
saga.seata-saga-statemachine-designer.src.spec.StateMachine.StateMachine→saga.seata-saga-statemachine-designer.src.spec.BaseSpec
- Direction
- saga.seata-saga-statemachine-designer.src.spec.StateMachine uses saga.seata-saga-statemachine-designer.src.spec, so a change to saga.seata-saga-statemachine-designer.src.spec can break saga.seata-saga-statemachine-designer.src.spec.StateMachine, while a change to saga.seata-saga-statemachine-designer.src.spec.StateMachine can't break saga.seata-saga-statemachine-designer.src.spec.
- Position
- Below the diagonal: saga.seata-saga-statemachine-designer.src.spec.StateMachine uses a module listed above it, which is the healthy direction.
18→15 saga.seata-saga-statemachine-designer.src.spec.style.Edge uses saga.seata-saga-statemachine-designer.src.spec✕
- Connections
- 1 pair of types, where a type in saga.seata-saga-statemachine-designer.src.spec.style.Edge uses a type in saga.seata-saga-statemachine-designer.src.spec.
- The types involved
saga.seata-saga-statemachine-designer.src.spec.style.Edge.Edge→saga.seata-saga-statemachine-designer.src.spec.BaseSpec
- Direction
- saga.seata-saga-statemachine-designer.src.spec.style.Edge uses saga.seata-saga-statemachine-designer.src.spec, so a change to saga.seata-saga-statemachine-designer.src.spec can break saga.seata-saga-statemachine-designer.src.spec.style.Edge, while a change to saga.seata-saga-statemachine-designer.src.spec.style.Edge can't break saga.seata-saga-statemachine-designer.src.spec.
- Position
- Below the diagonal: saga.seata-saga-statemachine-designer.src.spec.style.Edge uses a module listed above it, which is the healthy direction.
19→15 saga.seata-saga-statemachine-designer.src.spec.style.EdgeStyle uses saga.seata-saga-statemachine-designer.src.spec✕
- Connections
- 1 pair of types, where a type in saga.seata-saga-statemachine-designer.src.spec.style.EdgeStyle uses a type in saga.seata-saga-statemachine-designer.src.spec.
- The types involved
saga.seata-saga-statemachine-designer.src.spec.style.EdgeStyle.EdgeStyle→saga.seata-saga-statemachine-designer.src.spec.BaseSpec
- Direction
- saga.seata-saga-statemachine-designer.src.spec.style.EdgeStyle uses saga.seata-saga-statemachine-designer.src.spec, so a change to saga.seata-saga-statemachine-designer.src.spec can break saga.seata-saga-statemachine-designer.src.spec.style.EdgeStyle, while a change to saga.seata-saga-statemachine-designer.src.spec.style.EdgeStyle can't break saga.seata-saga-statemachine-designer.src.spec.
- Position
- Below the diagonal: saga.seata-saga-statemachine-designer.src.spec.style.EdgeStyle uses a module listed above it, which is the healthy direction.
20→15 saga.seata-saga-statemachine-designer.src.spec.style.Node uses saga.seata-saga-statemachine-designer.src.spec✕
- Connections
- 1 pair of types, where a type in saga.seata-saga-statemachine-designer.src.spec.style.Node uses a type in saga.seata-saga-statemachine-designer.src.spec.
- The types involved
saga.seata-saga-statemachine-designer.src.spec.style.Node.Node→saga.seata-saga-statemachine-designer.src.spec.BaseSpec
- Direction
- saga.seata-saga-statemachine-designer.src.spec.style.Node uses saga.seata-saga-statemachine-designer.src.spec, so a change to saga.seata-saga-statemachine-designer.src.spec can break saga.seata-saga-statemachine-designer.src.spec.style.Node, while a change to saga.seata-saga-statemachine-designer.src.spec.style.Node can't break saga.seata-saga-statemachine-designer.src.spec.
- Position
- Below the diagonal: saga.seata-saga-statemachine-designer.src.spec.style.Node uses a module listed above it, which is the healthy direction.
21→15 saga.seata-saga-statemachine-designer.src.spec.style.NodeStyle uses saga.seata-saga-statemachine-designer.src.spec✕
- Connections
- 1 pair of types, where a type in saga.seata-saga-statemachine-designer.src.spec.style.NodeStyle uses a type in saga.seata-saga-statemachine-designer.src.spec.
- The types involved
saga.seata-saga-statemachine-designer.src.spec.style.NodeStyle.NodeStyle→saga.seata-saga-statemachine-designer.src.spec.BaseSpec
- Direction
- saga.seata-saga-statemachine-designer.src.spec.style.NodeStyle uses saga.seata-saga-statemachine-designer.src.spec, so a change to saga.seata-saga-statemachine-designer.src.spec can break saga.seata-saga-statemachine-designer.src.spec.style.NodeStyle, while a change to saga.seata-saga-statemachine-designer.src.spec.style.NodeStyle can't break saga.seata-saga-statemachine-designer.src.spec.
- Position
- Below the diagonal: saga.seata-saga-statemachine-designer.src.spec.style.NodeStyle uses a module listed above it, which is the healthy direction.
22→1 console.src.main.resources.static.console-fe.src uses console.src.main.resources.static.console-fe.src.app✕
- Connections
- 1 pair of types, where a type in console.src.main.resources.static.console-fe.src uses a type in console.src.main.resources.static.console-fe.src.app.
- The types involved
console.src.main.resources.static.console-fe.src.app→console.src.main.resources.static.console-fe.src.app.StateToPropsType
- Direction
- console.src.main.resources.static.console-fe.src uses console.src.main.resources.static.console-fe.src.app, so a change to console.src.main.resources.static.console-fe.src.app can break console.src.main.resources.static.console-fe.src, while a change to console.src.main.resources.static.console-fe.src can't break console.src.main.resources.static.console-fe.src.app.
- Position
- Below the diagonal: console.src.main.resources.static.console-fe.src uses a module listed above it, which is the healthy direction.
22→16 console.src.main.resources.static.console-fe.src uses console.src.main.resources.static.console-fe.src.reducers✕
- Connections
- 1 pair of types, where a type in console.src.main.resources.static.console-fe.src uses a type in console.src.main.resources.static.console-fe.src.reducers.
- The types involved
console.src.main.resources.static.console-fe.src.app→console.src.main.resources.static.console-fe.src.reducers.GlobalStateModel
- Direction
- console.src.main.resources.static.console-fe.src uses console.src.main.resources.static.console-fe.src.reducers, so a change to console.src.main.resources.static.console-fe.src.reducers can break console.src.main.resources.static.console-fe.src, while a change to console.src.main.resources.static.console-fe.src can't break console.src.main.resources.static.console-fe.src.reducers.
- Position
- Below the diagonal: console.src.main.resources.static.console-fe.src uses a module listed above it, which is the healthy direction.
23→1 console.src.main.resources.static.console-fe.src.components.Header uses console.src.main.resources.static.console-fe.src.app✕
- Connections
- 1 pair of types, where a type in console.src.main.resources.static.console-fe.src.components.Header uses a type in console.src.main.resources.static.console-fe.src.app.
- The types involved
console.src.main.resources.static.console-fe.src.components.Header.Header→console.src.main.resources.static.console-fe.src.app.StateToPropsType
- Direction
- console.src.main.resources.static.console-fe.src.components.Header uses console.src.main.resources.static.console-fe.src.app, so a change to console.src.main.resources.static.console-fe.src.app can break console.src.main.resources.static.console-fe.src.components.Header, while a change to console.src.main.resources.static.console-fe.src.components.Header can't break console.src.main.resources.static.console-fe.src.app.
- Position
- Below the diagonal: console.src.main.resources.static.console-fe.src.components.Header uses a module listed above it, which is the healthy direction.
23→16 console.src.main.resources.static.console-fe.src.components.Header uses console.src.main.resources.static.console-fe.src.reducers✕
- Connections
- 1 pair of types, where a type in console.src.main.resources.static.console-fe.src.components.Header uses a type in console.src.main.resources.static.console-fe.src.reducers.
- The types involved
console.src.main.resources.static.console-fe.src.components.Header.Header→console.src.main.resources.static.console-fe.src.reducers.GlobalStateModel
- Direction
- console.src.main.resources.static.console-fe.src.components.Header uses console.src.main.resources.static.console-fe.src.reducers, so a change to console.src.main.resources.static.console-fe.src.reducers can break console.src.main.resources.static.console-fe.src.components.Header, while a change to console.src.main.resources.static.console-fe.src.components.Header can't break console.src.main.resources.static.console-fe.src.reducers.
- Position
- Below the diagonal: console.src.main.resources.static.console-fe.src.components.Header uses a module listed above it, which is the healthy direction.
24→13 console.src.main.resources.static.console-fe.src.pages.Login uses console.src.main.resources.static.console-fe.src.reducers.login✕
- Connections
- 1 pair of types, where a type in console.src.main.resources.static.console-fe.src.pages.Login uses a type in console.src.main.resources.static.console-fe.src.reducers.login.
- The types involved
console.src.main.resources.static.console-fe.src.pages.Login.Login→console.src.main.resources.static.console-fe.src.reducers.login.LoginStateModel
- Direction
- console.src.main.resources.static.console-fe.src.pages.Login uses console.src.main.resources.static.console-fe.src.reducers.login, so a change to console.src.main.resources.static.console-fe.src.reducers.login can break console.src.main.resources.static.console-fe.src.pages.Login, while a change to console.src.main.resources.static.console-fe.src.pages.Login can't break console.src.main.resources.static.console-fe.src.reducers.login.
- Position
- Below the diagonal: console.src.main.resources.static.console-fe.src.pages.Login uses a module listed above it, which is the healthy direction.
24→16 console.src.main.resources.static.console-fe.src.pages.Login uses console.src.main.resources.static.console-fe.src.reducers✕
- Connections
- 1 pair of types, where a type in console.src.main.resources.static.console-fe.src.pages.Login uses a type in console.src.main.resources.static.console-fe.src.reducers.
- The types involved
console.src.main.resources.static.console-fe.src.pages.Login.Login→console.src.main.resources.static.console-fe.src.reducers.GlobalStateModel
- Direction
- console.src.main.resources.static.console-fe.src.pages.Login uses console.src.main.resources.static.console-fe.src.reducers, so a change to console.src.main.resources.static.console-fe.src.reducers can break console.src.main.resources.static.console-fe.src.pages.Login, while a change to console.src.main.resources.static.console-fe.src.pages.Login can't break console.src.main.resources.static.console-fe.src.reducers.
- Position
- Below the diagonal: console.src.main.resources.static.console-fe.src.pages.Login uses a module listed above it, which is the healthy direction.
25→1 console.src.main.resources.static.console-fe.src.pages.Overview uses console.src.main.resources.static.console-fe.src.app✕
- Connections
- 1 pair of types, where a type in console.src.main.resources.static.console-fe.src.pages.Overview uses a type in console.src.main.resources.static.console-fe.src.app.
- The types involved
console.src.main.resources.static.console-fe.src.pages.Overview.Overview→console.src.main.resources.static.console-fe.src.app.StateToPropsType
- Direction
- console.src.main.resources.static.console-fe.src.pages.Overview uses console.src.main.resources.static.console-fe.src.app, so a change to console.src.main.resources.static.console-fe.src.app can break console.src.main.resources.static.console-fe.src.pages.Overview, while a change to console.src.main.resources.static.console-fe.src.pages.Overview can't break console.src.main.resources.static.console-fe.src.app.
- Position
- Below the diagonal: console.src.main.resources.static.console-fe.src.pages.Overview uses a module listed above it, which is the healthy direction.
25→16 console.src.main.resources.static.console-fe.src.pages.Overview uses console.src.main.resources.static.console-fe.src.reducers✕
- Connections
- 1 pair of types, where a type in console.src.main.resources.static.console-fe.src.pages.Overview uses a type in console.src.main.resources.static.console-fe.src.reducers.
- The types involved
console.src.main.resources.static.console-fe.src.pages.Overview.Overview→console.src.main.resources.static.console-fe.src.reducers.GlobalStateModel
- Direction
- console.src.main.resources.static.console-fe.src.pages.Overview uses console.src.main.resources.static.console-fe.src.reducers, so a change to console.src.main.resources.static.console-fe.src.reducers can break console.src.main.resources.static.console-fe.src.pages.Overview, while a change to console.src.main.resources.static.console-fe.src.pages.Overview can't break console.src.main.resources.static.console-fe.src.reducers.
- Position
- Below the diagonal: console.src.main.resources.static.console-fe.src.pages.Overview uses a module listed above it, which is the healthy direction.
26→20 saga.seata-saga-statemachine-designer.src.spec.Catch uses saga.seata-saga-statemachine-designer.src.spec.style.Node✕
- Connections
- 1 pair of types, where a type in saga.seata-saga-statemachine-designer.src.spec.Catch uses a type in saga.seata-saga-statemachine-designer.src.spec.style.Node.
- The types involved
saga.seata-saga-statemachine-designer.src.spec.Catch.Catch→saga.seata-saga-statemachine-designer.src.spec.style.Node.Node
- Direction
- saga.seata-saga-statemachine-designer.src.spec.Catch uses saga.seata-saga-statemachine-designer.src.spec.style.Node, so a change to saga.seata-saga-statemachine-designer.src.spec.style.Node can break saga.seata-saga-statemachine-designer.src.spec.Catch, while a change to saga.seata-saga-statemachine-designer.src.spec.Catch can't break saga.seata-saga-statemachine-designer.src.spec.style.Node.
- Position
- Below the diagonal: saga.seata-saga-statemachine-designer.src.spec.Catch uses a module listed above it, which is the healthy direction.
27→20 saga.seata-saga-statemachine-designer.src.spec.StartState uses saga.seata-saga-statemachine-designer.src.spec.style.Node✕
- Connections
- 1 pair of types, where a type in saga.seata-saga-statemachine-designer.src.spec.StartState uses a type in saga.seata-saga-statemachine-designer.src.spec.style.Node.
- The types involved
saga.seata-saga-statemachine-designer.src.spec.StartState.StartState→saga.seata-saga-statemachine-designer.src.spec.style.Node.Node
- Direction
- saga.seata-saga-statemachine-designer.src.spec.StartState uses saga.seata-saga-statemachine-designer.src.spec.style.Node, so a change to saga.seata-saga-statemachine-designer.src.spec.style.Node can break saga.seata-saga-statemachine-designer.src.spec.StartState, while a change to saga.seata-saga-statemachine-designer.src.spec.StartState can't break saga.seata-saga-statemachine-designer.src.spec.style.Node.
- Position
- Below the diagonal: saga.seata-saga-statemachine-designer.src.spec.StartState uses a module listed above it, which is the healthy direction.
28→20 saga.seata-saga-statemachine-designer.src.spec.State uses saga.seata-saga-statemachine-designer.src.spec.style.Node✕
- Connections
- 1 pair of types, where a type in saga.seata-saga-statemachine-designer.src.spec.State uses a type in saga.seata-saga-statemachine-designer.src.spec.style.Node.
- The types involved
saga.seata-saga-statemachine-designer.src.spec.State.State→saga.seata-saga-statemachine-designer.src.spec.style.Node.Node
- Direction
- saga.seata-saga-statemachine-designer.src.spec.State uses saga.seata-saga-statemachine-designer.src.spec.style.Node, so a change to saga.seata-saga-statemachine-designer.src.spec.style.Node can break saga.seata-saga-statemachine-designer.src.spec.State, while a change to saga.seata-saga-statemachine-designer.src.spec.State can't break saga.seata-saga-statemachine-designer.src.spec.style.Node.
- Position
- Below the diagonal: saga.seata-saga-statemachine-designer.src.spec.State uses a module listed above it, which is the healthy direction.
29→18 saga.seata-saga-statemachine-designer.src.spec.Transition uses saga.seata-saga-statemachine-designer.src.spec.style.Edge✕
- Connections
- 1 pair of types, where a type in saga.seata-saga-statemachine-designer.src.spec.Transition uses a type in saga.seata-saga-statemachine-designer.src.spec.style.Edge.
- The types involved
saga.seata-saga-statemachine-designer.src.spec.Transition.Transition→saga.seata-saga-statemachine-designer.src.spec.style.Edge.Edge
- Direction
- saga.seata-saga-statemachine-designer.src.spec.Transition uses saga.seata-saga-statemachine-designer.src.spec.style.Edge, so a change to saga.seata-saga-statemachine-designer.src.spec.style.Edge can break saga.seata-saga-statemachine-designer.src.spec.Transition, while a change to saga.seata-saga-statemachine-designer.src.spec.Transition can't break saga.seata-saga-statemachine-designer.src.spec.style.Edge.
- Position
- Below the diagonal: saga.seata-saga-statemachine-designer.src.spec.Transition uses a module listed above it, which is the healthy direction.
30→28 saga.seata-saga-statemachine-designer.src.spec.Choice uses saga.seata-saga-statemachine-designer.src.spec.State✕
- Connections
- 1 pair of types, where a type in saga.seata-saga-statemachine-designer.src.spec.Choice uses a type in saga.seata-saga-statemachine-designer.src.spec.State.
- The types involved
saga.seata-saga-statemachine-designer.src.spec.Choice.Choice→saga.seata-saga-statemachine-designer.src.spec.State.State
- Direction
- saga.seata-saga-statemachine-designer.src.spec.Choice uses saga.seata-saga-statemachine-designer.src.spec.State, so a change to saga.seata-saga-statemachine-designer.src.spec.State can break saga.seata-saga-statemachine-designer.src.spec.Choice, while a change to saga.seata-saga-statemachine-designer.src.spec.Choice can't break saga.seata-saga-statemachine-designer.src.spec.State.
- Position
- Below the diagonal: saga.seata-saga-statemachine-designer.src.spec.Choice uses a module listed above it, which is the healthy direction.
31→29 saga.seata-saga-statemachine-designer.src.spec.ChoiceEntry uses saga.seata-saga-statemachine-designer.src.spec.Transition✕
- Connections
- 1 pair of types, where a type in saga.seata-saga-statemachine-designer.src.spec.ChoiceEntry uses a type in saga.seata-saga-statemachine-designer.src.spec.Transition.
- The types involved
saga.seata-saga-statemachine-designer.src.spec.ChoiceEntry.ChoiceEntry→saga.seata-saga-statemachine-designer.src.spec.Transition.Transition
- Direction
- saga.seata-saga-statemachine-designer.src.spec.ChoiceEntry uses saga.seata-saga-statemachine-designer.src.spec.Transition, so a change to saga.seata-saga-statemachine-designer.src.spec.Transition can break saga.seata-saga-statemachine-designer.src.spec.ChoiceEntry, while a change to saga.seata-saga-statemachine-designer.src.spec.ChoiceEntry can't break saga.seata-saga-statemachine-designer.src.spec.Transition.
- Position
- Below the diagonal: saga.seata-saga-statemachine-designer.src.spec.ChoiceEntry uses a module listed above it, which is the healthy direction.
32→29 saga.seata-saga-statemachine-designer.src.spec.Compensation uses saga.seata-saga-statemachine-designer.src.spec.Transition✕
- Connections
- 1 pair of types, where a type in saga.seata-saga-statemachine-designer.src.spec.Compensation uses a type in saga.seata-saga-statemachine-designer.src.spec.Transition.
- The types involved
saga.seata-saga-statemachine-designer.src.spec.Compensation.Compensation→saga.seata-saga-statemachine-designer.src.spec.Transition.Transition
- Direction
- saga.seata-saga-statemachine-designer.src.spec.Compensation uses saga.seata-saga-statemachine-designer.src.spec.Transition, so a change to saga.seata-saga-statemachine-designer.src.spec.Transition can break saga.seata-saga-statemachine-designer.src.spec.Compensation, while a change to saga.seata-saga-statemachine-designer.src.spec.Compensation can't break saga.seata-saga-statemachine-designer.src.spec.Transition.
- Position
- Below the diagonal: saga.seata-saga-statemachine-designer.src.spec.Compensation uses a module listed above it, which is the healthy direction.
33→28 saga.seata-saga-statemachine-designer.src.spec.CompensationTrigger uses saga.seata-saga-statemachine-designer.src.spec.State✕
- Connections
- 1 pair of types, where a type in saga.seata-saga-statemachine-designer.src.spec.CompensationTrigger uses a type in saga.seata-saga-statemachine-designer.src.spec.State.
- The types involved
saga.seata-saga-statemachine-designer.src.spec.CompensationTrigger.CompensationTrigger→saga.seata-saga-statemachine-designer.src.spec.State.State
- Direction
- saga.seata-saga-statemachine-designer.src.spec.CompensationTrigger uses saga.seata-saga-statemachine-designer.src.spec.State, so a change to saga.seata-saga-statemachine-designer.src.spec.State can break saga.seata-saga-statemachine-designer.src.spec.CompensationTrigger, while a change to saga.seata-saga-statemachine-designer.src.spec.CompensationTrigger can't break saga.seata-saga-statemachine-designer.src.spec.State.
- Position
- Below the diagonal: saga.seata-saga-statemachine-designer.src.spec.CompensationTrigger uses a module listed above it, which is the healthy direction.
34→29 saga.seata-saga-statemachine-designer.src.spec.ExceptionMatch uses saga.seata-saga-statemachine-designer.src.spec.Transition✕
- Connections
- 1 pair of types, where a type in saga.seata-saga-statemachine-designer.src.spec.ExceptionMatch uses a type in saga.seata-saga-statemachine-designer.src.spec.Transition.
- The types involved
saga.seata-saga-statemachine-designer.src.spec.ExceptionMatch.ExceptionMatch→saga.seata-saga-statemachine-designer.src.spec.Transition.Transition
- Direction
- saga.seata-saga-statemachine-designer.src.spec.ExceptionMatch uses saga.seata-saga-statemachine-designer.src.spec.Transition, so a change to saga.seata-saga-statemachine-designer.src.spec.Transition can break saga.seata-saga-statemachine-designer.src.spec.ExceptionMatch, while a change to saga.seata-saga-statemachine-designer.src.spec.ExceptionMatch can't break saga.seata-saga-statemachine-designer.src.spec.Transition.
- Position
- Below the diagonal: saga.seata-saga-statemachine-designer.src.spec.ExceptionMatch uses a module listed above it, which is the healthy direction.
35→28 saga.seata-saga-statemachine-designer.src.spec.Fail uses saga.seata-saga-statemachine-designer.src.spec.State✕
- Connections
- 1 pair of types, where a type in saga.seata-saga-statemachine-designer.src.spec.Fail uses a type in saga.seata-saga-statemachine-designer.src.spec.State.
- The types involved
saga.seata-saga-statemachine-designer.src.spec.Fail.Fail→saga.seata-saga-statemachine-designer.src.spec.State.State
- Direction
- saga.seata-saga-statemachine-designer.src.spec.Fail uses saga.seata-saga-statemachine-designer.src.spec.State, so a change to saga.seata-saga-statemachine-designer.src.spec.State can break saga.seata-saga-statemachine-designer.src.spec.Fail, while a change to saga.seata-saga-statemachine-designer.src.spec.Fail can't break saga.seata-saga-statemachine-designer.src.spec.State.
- Position
- Below the diagonal: saga.seata-saga-statemachine-designer.src.spec.Fail uses a module listed above it, which is the healthy direction.
36→28 saga.seata-saga-statemachine-designer.src.spec.Succeed uses saga.seata-saga-statemachine-designer.src.spec.State✕
- Connections
- 1 pair of types, where a type in saga.seata-saga-statemachine-designer.src.spec.Succeed uses a type in saga.seata-saga-statemachine-designer.src.spec.State.
- The types involved
saga.seata-saga-statemachine-designer.src.spec.Succeed.Succeed→saga.seata-saga-statemachine-designer.src.spec.State.State
- Direction
- saga.seata-saga-statemachine-designer.src.spec.Succeed uses saga.seata-saga-statemachine-designer.src.spec.State, so a change to saga.seata-saga-statemachine-designer.src.spec.State can break saga.seata-saga-statemachine-designer.src.spec.Succeed, while a change to saga.seata-saga-statemachine-designer.src.spec.Succeed can't break saga.seata-saga-statemachine-designer.src.spec.State.
- Position
- Below the diagonal: saga.seata-saga-statemachine-designer.src.spec.Succeed uses a module listed above it, which is the healthy direction.
37→28 saga.seata-saga-statemachine-designer.src.spec.TaskState uses saga.seata-saga-statemachine-designer.src.spec.State✕
- Connections
- 1 pair of types, where a type in saga.seata-saga-statemachine-designer.src.spec.TaskState uses a type in saga.seata-saga-statemachine-designer.src.spec.State.
- The types involved
saga.seata-saga-statemachine-designer.src.spec.TaskState.TaskState→saga.seata-saga-statemachine-designer.src.spec.State.State
- Direction
- saga.seata-saga-statemachine-designer.src.spec.TaskState uses saga.seata-saga-statemachine-designer.src.spec.State, so a change to saga.seata-saga-statemachine-designer.src.spec.State can break saga.seata-saga-statemachine-designer.src.spec.TaskState, while a change to saga.seata-saga-statemachine-designer.src.spec.TaskState can't break saga.seata-saga-statemachine-designer.src.spec.State.
- Position
- Below the diagonal: saga.seata-saga-statemachine-designer.src.spec.TaskState uses a module listed above it, which is the healthy direction.
38→37 saga.seata-saga-statemachine-designer.src.spec.ScriptTask uses saga.seata-saga-statemachine-designer.src.spec.TaskState✕
- Connections
- 1 pair of types, where a type in saga.seata-saga-statemachine-designer.src.spec.ScriptTask uses a type in saga.seata-saga-statemachine-designer.src.spec.TaskState.
- The types involved
saga.seata-saga-statemachine-designer.src.spec.ScriptTask.ScriptTask→saga.seata-saga-statemachine-designer.src.spec.TaskState.TaskState
- Direction
- saga.seata-saga-statemachine-designer.src.spec.ScriptTask uses saga.seata-saga-statemachine-designer.src.spec.TaskState, so a change to saga.seata-saga-statemachine-designer.src.spec.TaskState can break saga.seata-saga-statemachine-designer.src.spec.ScriptTask, while a change to saga.seata-saga-statemachine-designer.src.spec.ScriptTask can't break saga.seata-saga-statemachine-designer.src.spec.TaskState.
- Position
- Below the diagonal: saga.seata-saga-statemachine-designer.src.spec.ScriptTask uses a module listed above it, which is the healthy direction.
39→37 saga.seata-saga-statemachine-designer.src.spec.ServiceTask uses saga.seata-saga-statemachine-designer.src.spec.TaskState✕
- Connections
- 1 pair of types, where a type in saga.seata-saga-statemachine-designer.src.spec.ServiceTask uses a type in saga.seata-saga-statemachine-designer.src.spec.TaskState.
- The types involved
saga.seata-saga-statemachine-designer.src.spec.ServiceTask.ServiceTask→saga.seata-saga-statemachine-designer.src.spec.TaskState.TaskState
- Direction
- saga.seata-saga-statemachine-designer.src.spec.ServiceTask uses saga.seata-saga-statemachine-designer.src.spec.TaskState, so a change to saga.seata-saga-statemachine-designer.src.spec.TaskState can break saga.seata-saga-statemachine-designer.src.spec.ServiceTask, while a change to saga.seata-saga-statemachine-designer.src.spec.ServiceTask can't break saga.seata-saga-statemachine-designer.src.spec.TaskState.
- Position
- Below the diagonal: saga.seata-saga-statemachine-designer.src.spec.ServiceTask uses a module listed above it, which is the healthy direction.
40→37 saga.seata-saga-statemachine-designer.src.spec.SubStateMachine uses saga.seata-saga-statemachine-designer.src.spec.TaskState✕
- Connections
- 1 pair of types, where a type in saga.seata-saga-statemachine-designer.src.spec.SubStateMachine uses a type in saga.seata-saga-statemachine-designer.src.spec.TaskState.
- The types involved
saga.seata-saga-statemachine-designer.src.spec.SubStateMachine.SubStateMachine→saga.seata-saga-statemachine-designer.src.spec.TaskState.TaskState
- Direction
- saga.seata-saga-statemachine-designer.src.spec.SubStateMachine uses saga.seata-saga-statemachine-designer.src.spec.TaskState, so a change to saga.seata-saga-statemachine-designer.src.spec.TaskState can break saga.seata-saga-statemachine-designer.src.spec.SubStateMachine, while a change to saga.seata-saga-statemachine-designer.src.spec.SubStateMachine can't break saga.seata-saga-statemachine-designer.src.spec.TaskState.
- Position
- Below the diagonal: saga.seata-saga-statemachine-designer.src.spec.SubStateMachine uses a module listed above it, which is the healthy direction.
At a glance — Code Health
At a glance — Architecture
At a glance — Maturity
At a glance — Readiness
At a glance — Security
At a glance — Accessibility
At a glance — Performance
Security & Compliance — OWASP Top-10 mapping
| OWASP category | Findings | Severity |
|---|---|---|
| A05:2025 — Injection | 76 | High / Critical |
| A02:2025 — Security Misconfiguration | 66 | High / Critical |
| A03:2025 — Software Supply Chain Failures | 27 | High / Critical |
| A07:2025 — Authentication Failures | 8 | High / Critical |
Roadmap
First, ensure all custom controls are fully keyboard-operable and anchors have valid links to improve navigation. Next, enhance visual safety by maintaining visible focus styles, respecting reduced motion preferences, and fixing low-contrast colors. Additionally, provide appropriate text alternatives for all images, media, and interactive elements to support screen readers. Finally, address the two leaked secrets in the configuration and add tests for currently unreached production modules to secure the codebase and improve reliability.
| Do this | Helps | Effort | Dimension |
|---|---|---|---|
| Resolve the 2 Leaked secret finding(s) in REDACTED Scanning — start with REDACTED (2). | +3.3 pts | Low | REDACTED Scanning |
| Make custom controls keyboard-operable (role + tabindex + key handler), drop positive tabindex, and give anchors a real href. | +5.9 pts | Medium | Keyboard semantics |
| Keep a visible focus style (don't remove the outline without a replacement), guard animation with prefers-reduced-motion, and raise low-contrast colour pairs to at least 4.5:1. | +5.9 pts | Medium | Visual & motion safety |
| Resolve the 1 Banned license finding(s) in License Compliance. | +2.1 pts | Low | License Compliance |
| Add a text alternative — alt on images (alt="" for purely decorative ones), a title or aria-label on meaningful svg, an aria-label or inner fallback content on canvas, and a captions <track> on video. | +4.1 pts | Medium | Text alternatives |
| Add tests that import the unreached modules (directly or through their public entry). | +2.9 pts | Medium | Test Coverage |
| Declare <html lang>, a document <title> and a <main> landmark, keep headings in order, leave zoom enabled, title iframes and drop meta-refresh. | +2.4 pts | Medium | Page structure |
| Accessibility linting is already configured — assert with your test runner's axe binding (jest-axe, vitest-axe, cypress-axe or @axe-core/playwright) in tests, then gate axe/pa11y/Lighthouse in CI. | +1.8 pts | Medium | A11y enforcement |
File quality
| File | Score | Band | Worst signal |
|---|---|---|---|
| REDACTED | 0.5 | Slop | Secrets (history): High secret: REDACTED |
| REDACTED | 0.5 | Slop | Static Analysis (SAST): High: REDACTED |
| REDACTED | 1.6 | Slop | IaC & Container Security: High IaC: REDACTED |
| REDACTED | 1.7 | Slop | IaC & Container Security: High IaC: REDACTED |
| REDACTED | 2.1 | Slop | Static Analysis (SAST): High: REDACTED |
| REDACTED | 2.3 | Slop | Static Analysis (SAST): High: REDACTED |
| REDACTED | 2.3 | Slop | Static Analysis (SAST): High: REDACTED |
| REDACTED | 2.5 | Slop | Static Analysis (SAST): High: REDACTED |
| REDACTED | 2.7 | Slop | Static Analysis (SAST): High: REDACTED |
| REDACTED | 3.7 | Slop | Static Analysis (SAST): High: REDACTED |
| REDACTED | 3.7 | Slop | Static Analysis (SAST): High: REDACTED |
| REDACTED | 3.7 | Slop | Static Analysis (SAST): High: REDACTED |
| REDACTED | 3.7 | Slop | IaC & Container Security: High IaC: REDACTED |
| REDACTED | 3.7 | Slop | IaC & Container Security: High IaC: REDACTED |
| REDACTED | 4.8 | Mixed | Static Analysis (SAST): High: REDACTED |
| REDACTED | 5.1 | Mixed | Static Analysis (SAST): High: REDACTED |
| REDACTED | 5.8 | Mixed | REDACTED Scanning: Leaked secret: REDACTED |
| REDACTED | 6.3 | Mixed | Static Analysis (SAST): Medium: REDACTED |
| config/seata-config-core/src/main/java/org/apache/seata/config/FileConfiguration.java | 6.9 | Mixed | Explicit Debt: TodoComment |
| REDACTED | 7.2 | Mixed | Secrets (history): REDACTED: REDACTED |
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. 78 of 81 evaluated dimensions are computed purely by tools and static analysis (confidence 1.0); 3 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 — 81 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, 1028 of 1053 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 · checkov | Secrets in history, SAST, CVEs, IaC & container, PII / GDPR | 1.86.0 · 0.69.3 · 3.2.533 | ✓ 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
- D1 Cyclomatic Complexity — 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. Most of this repository's production source (.java, .lua) had no cyclomatic complexity computed for it: no method bodies were exposed for those file kinds by any language model this pass could load.
- D2 Cognitive Complexity — 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. Most of this repository's production source (.java, .lua) had no cognitive complexity computed for it: no method bodies were exposed for those file kinds by any language model this pass could load.
- D4 Code Duplication — 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. Most of this repository's production source (.java, .lua) was not read by duplication detection: no source of those file kinds was exposed to the token comparison by any language model this pass could load. Duplication in .ts, .tsx is measured by R10 Code Duplication and is not part of this gap.
- D9 Test Distribution — 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 distribution NOT SCORED: this repository's production source spans more than one ecosystem, and the test-pyramid census cannot read the .java test suite(s) — so the pyramid was not measured for the repository as a whole. The suites we could count came back with 66 test method(s) (66 unit, 0 integration, 0 BDD, 0 e2e), but that is a shape for one part of the product and we do not publish a partial pyramid as if it were complete. This is OUR limitation, not a defect in the repo — test distribution is excluded from the score rather than counted.
- D10 Test Quality — measured, with a gap in what it reached — Watchdog measured this, but not all of it. What it did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. The 66 test(s) behind this row are the ones the JavaScript/TypeScript census could read, and this repository also carries at least 1,312 test source file(s) (.java) that it cannot: it reads JavaScript/TypeScript test declarations off disk, so a JUnit/pytest-style suite is invisible to it. Skipped tests, zero-assertion tests and the other quality signals on this row are UNMEASURED in that suite — their absence from the counts above is a gap in this analyzer's language coverage, not a finding that those tests are sound.
- 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 install for console/src/main/resources/static/console-fe/test/ left no `c8` binary under node_modules, so the suite could not be launched. 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 mocha suite in console/src/main/resources/static/console-fe/test/ was NOT MEASURED: the install for console/src/main/resources/static/console-fe/test/ left no `c8` binary under node_modules, so the suite could not be launched. This is OUR limitation, not a defect in the repository, and the suite is excluded from the measurement rather than counted against it.
- D12 Dependency Hygiene — 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's dependency manifests WERE read and their pinning discipline assessed; what went unanswered is the currency half, because repository.apache.org — the registry that answers it — was asked and did not reply (the build stopped because repository.apache.org, a repository this project declares, refused it with HTTP 403 — what this scan's egress allowlist returns for a host that is not on it; 64 dependencies were resolved and graded first, but the graph is partial so the result is reported and not scored). This is OUR side and it is an ENVIRONMENT fault, not a missing collector: the collector exists and ran. An HTTP 403 here is what this scan's egress allowlist returns for a host that is not on it, so the remedy is to add repository.apache.org to the allowlist and re-run — not to build anything.
- D15 Churn × Complexity Hotspots — 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. A hotspot is churn × complexity. Churn was measured (30128 line(s) across the 90-day window), but no complexity could be computed for .java, .lua, which is most of this repository's production code — so every churned file would score as complexity 0 and the hotspot list would be empty no matter how tangled the code is. Not scored — this is a gap in the analysis run, not a finding about this repository.
- 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. A language sidecar this run needed FAILED, so the code model the non-MSBuild public-API collector reads was never built — this is a DEGRADED run, not a settled gap, and the surface may well be collectable on a re-run: The Java sidecar STALLED after 210s — no output for 180s — so its process tree was killed and the Java code model degraded to null.
- D26 Project Cohesion — 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. Project size and spread are measured over build units (a .NET project, a Maven or Gradle module, an npm, Deno or JSR package, a Go module, a Cargo crate, a Python, Composer, Bundler, RubyGems, Mix, rebar3, sbt, SwiftPM or pub package, an OTP application, an Xcode project or XcodeGen spec, or a checkout that declares no build at all) whose source a code model reads. This repository's production source is in a language no model reads, or in units whose build tool D26 does not recognise. That is a gap in this analyzer's language reach — not a finding that the repository's projects are cohesive.
- D27 Navigability — 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's reader does not cover the language this repository's product is written in, so it had nothing of the product to read. That is a gap in this analyzer's language reach — not a finding about this repository.
- D41 Kernel & Syscall Confinement — measured, with a gap in what it reached — Watchdog measured this, but not all of it. What it did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. Script/server/helm/seata-server/templates/deployment.yaml:19 did not read as a pod spec (a templated manifest such as Helm's that is not YAML until rendered, or a workload whose pod spec this check does not locate), so the seccomp/AppArmor profile in force there was not judged and no row about them can appear on this card.
- AXR1 Runtime accessibility — 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. Render strategy: boot via REDACTED (REDACTED). docker build failed (exit 1) — DEPRECATED: The legacy builder is deprecated and will be removed in a future release. Install the buildx component to build images with BuildKit: https://docs.docker.com/go/bui…; runtime evidence skipped.
- C1 Data Protection — 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 personal data 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 personal data controls.
- 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.
- 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 reads C# syntax, F#, JavaScript/TypeScript, Dart, Ruby and Scala source only, and this repository's Java, Kotlin, Python, lua is most of its product and is not read 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.
- IC1 Incompleteness & stubs — measured, with a gap in what it reached — Watchdog measured this, but not all of it. What it did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. 10 further occurrence(s) are not listed individually; the score already reflects all 50.
- 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.
- R11 Import Boundaries — measured, with a gap in what it reached — Watchdog measured this, but not all of it. What it did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. 32 further occurrence(s) are not listed individually; the score already reflects all 72.
- R4 Test Coverage — measured, with a gap in what it reached — Watchdog measured this, but not all of it. What it did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. 33 further occurrence(s) are not listed individually; the score already reflects all 73.
- S1 Web-Security Posture — 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 web-security 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 web-security controls.
- X4 Structured logging — measured, with a gap in what it reached — Watchdog measured this, but not all of it. What it did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. 64 further occurrence(s) are not listed individually; the score already reflects all 104.
- Production source was not modelled — run is Degraded — No code model read .java, .lua, so the complexity, duplication and architecture dimensions were scored over a minority of this repository rather than its product, and dimensions that abstained did so for want of a model rather than for want of findings. The grade is NOT representative of this repository; diagnostics.md records the exact cause. The Java sidecar STALLED after 210s — no output for 180s — so its process tree was killed and the Java code model degraded to null.
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
- 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.
- D10 Test Quality: Assertion density is structural — it cannot tell a meaningful behavioural assertion from a trivial one, only that an assertion is present.
- D13 REDACTED Scanning: REDACTED 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.
- 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.
- D20 ADR Quality: ADR quality is an LLM read of the decision records present — it cannot know about decisions made and never recorded, and its verdict is sampled and advisory.
- 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.
- 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.
- D31 IaC & Container Security: IaC scanning checks Dockerfiles/Terraform/Kubernetes against best-practice rules — it cannot see the live cloud account, runtime configuration, or drift between the committed config and what is actually deployed.
- 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.
- D40 Network Egress Confinement: Egress confinement is read from committed Kubernetes manifests — a policy applied out-of-band (cluster-default deny, a service mesh, or a cloud firewall/security group off-repo) is invisible, and a present NetworkPolicy is declared config, not proof the cluster admission-controller actually enforces it at runtime.
- D41 Kernel & Syscall Confinement: Syscall/MAC confinement is read from committed manifests — a profile applied by a cluster-wide PodSecurity default or a mutating webhook off-repo isn't seen, and a declared seccomp/AppArmor profile is config presence, not proof the node's kernel actually loaded and enforced it.
- 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.
- D44 Platform End-of-Life: The support table is FROZEN, so it goes out of date by losing RECALL: a release that ended support after the table was written is missed until the table is refreshed, and this dimension reading 10 is not evidence that a platform is current. Only platforms the repository DECLARES in a place this pass reads are seen — a runtime named only in a REDACTED (D31's subject), in a CI workflow (D29's), or in a file this pass does not parse (go.mod, a Gemfile ruby directive) is invisible here, which is why a repository declaring none of them abstains rather than scoring. Only frameworks with a PUBLISHED support policy are tracked: React, Flask and Express publish none, so their age cannot be judged and their absence from a report is not a statement that they are supported.
- AC1 Text alternatives: Alt-text is detected structurally — the scan sees that an alternative EXISTS, not whether it meaningfully describes the image, and decorative-vs-missing is judged by attribute shape; runtime-injected images and a non-role=img decorative svg are out of scope. This is accessibility readiness, never a WCAG conformance claim.
- AC2 Forms & labels: Label association is read from static markup — a label wired up at runtime (JS-set aria-labelledby, framework-injected ids) reads as missing, a present label says nothing about whether its text is correct. A known UI-library field component (e.g. a JSX <TextField>) is now checked conservatively — flagged only when it carries NO label/aria-label/aria-labelledby/id/name — but wrapper/context-labelled libraries (Chakra/Radix FormControl+FormLabel) aren't statically visible (possible false positive) and non-JSX lowercased components are still skipped. A click handler on a plain element is now asked for a name too (it is a control the author declared), but the subtree test that answers it is deliberately generous: any DYNAMIC text expression in the subtree counts as a name, so an icon chosen by a ternary ({cond ? <IconA/> : <IconB/>}) reads as named, and a glyph component from a library the icon-import list does not know still names its parent. A clean result is "no unlabelled control found", not a labelling proof.
- AC3 Page structure: Page structure is read from the static markup tree — landmarks, headings and lang injected at runtime aren't seen, heading ORDER is checked structurally (not against the rendered visual hierarchy), and lang/title/main fire only on full documents, never partials, and the data-table check sees header-cell presence (a <th> exists), not whether each header correctly associates with its cells. Static readiness, not conformance.
- AC4 Keyboard semantics: Keyboard semantics are inferred from markup attributes — interactivity wired purely in script, focus managed at runtime, and component-level handlers are invisible. A clean result means "no static keyboard-trap shape", not a keyboard-operability proof.
- AC6 Visual & motion safety: Contrast and motion safety are PARTIAL by construction — literal colours (hex/rgb/hsl/named) in inline styles, in-repo <style> blocks, in-repo .css files, var() tokens, Tailwind neutral utilities and CSS-in-JS top-level declarations are read (same-rule/same-element colour+background pairs only); computed/runtime/theme colour, external-CDN stylesheets, CSS-in-JS dynamic (${…}) and nested-selector colours, cross-element pairs and image contrast stay out of reach, so a clean result is bounded by what the static CSS itself shows.
- AC7 A11y enforcement: Enforcement is scored from in-repo config/CI evidence only — an a11y gate enforced in external tooling with no in-repo trace can't be credited, and a configured linter is presence, not proof the rules actually run or block a merge.
- 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.
- P4 Deployment & Rollback: Approval/branch-protection rules live in repository settings the scan cannot see — only their in-repo evidence (config files, workflows) is checked, so a control enforced purely in the host's settings reads as "not evidenced".
- 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
D5 · Coupling
90 production modules (Maven+npm), 0 dependency cycle(s), 4 unstable depended-on module(s). Read from the build's own module declarations; 0 module(s) off the main sequence, with abstractness counted on 2 of the 90 (the rest declare no modelled class or interface, export only macros, declare types in source no model reads, or have no source directory of their own).
What to do
- Resolve the 1 Unstable project io.seata finding(s) in Coupling. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 Unstable project org.apache.seata finding(s) in Coupling. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 Unstable project seata-config-all 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)
0 of 2 classes have LCOM4 above 3.
D10 · Test Quality
0 skipped, 65 zero-assertion, no mocking-framework packages referenced (hand-written doubles or no mocking) across 66 tests (1 harness-style project(s) excluded from the assertion penalty). Measured on the JavaScript/TypeScript suite only — at least 1,312 test source file(s) (.java) went unread, so its test quality is unmeasured and is not in these counts.
D13 · REDACTED Scanning
1 secret(s) detected.
What to do
- Resolve the 2 Leaked secret finding(s) in REDACTED Scanning — start with REDACTED (2). — One of this dimension's main actionable groups (2 issue-level).
- Enforce REDACTED Scanning in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D14 · License Compliance
1 of 24 declared JVM dependency artifact(s) use a banned license. Licences were resolved from the POMs Maven Central publishes, over the coordinates this repository's 107 Maven/Gradle manifest(s) declare with a version resolvable from the manifest itself — the same declaration-site closure this analysis reads for dependency currency. The JVM has no lockfile a checkout is guaranteed to carry, so this is deliberately NOT the transitive closure. 569 further coordinate(s) are declared with no version at the declaration site — inherited from a parent POM, a BOM or an unresolved Gradle version reference — and are NOT graded: this verdict covers what the checkout pins, not the full transitive graph.
What to do
- Resolve the 1 Banned license finding(s) in License Compliance. — One of this dimension's main actionable groups (1 issue-level).
- Enforce License Compliance in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Verified — provenance only; does not change the score.
D16 · Bus Factor
6 source file(s) have their living knowledge concentrated in one author (≥90% of recent, decayed contribution). The largest is REDACTED. Counted over 915 of the 1743 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over.
D17 · Explicit Debt
26 deducted task-comment markers across 270211 LoC (0.0/KLoC) → score 10.0. 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 22 TodoComment finding(s) in Explicit Debt — start with FileConfiguration.java (3), StateMachineDBMockServerTests.java, KingbaseUndoUpdateExecutor.java. — One of this dimension's main actionable groups (22 warning-level).
- Resolve the 4 FixmeComment finding(s) in Explicit Debt — start with ResourceManagerXA.java (2), StateMachineAsyncTests.java, StateMachineDBTests.java. — One of this dimension's main actionable groups (4 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 gives a strong overview of Apache Seata (incubating) as a distributed transaction solution for microservices and includes links to build/codecov/license/maven badges. It also documents the compatible/README.md compatibility module, metrics/, tcc/, saga/, script/config-center/, test-suite/benchmark-cli/, and server/src/main/resources directories with detailed descriptions of each. The READMEs are well-structured with a TOC and full outlines for every documented directory, so all sections present in any document are judged presentable rather than missing. The repository's READMEs are mostly per-directory manifests for test/resources/, console-fe/, and core/java/ directories rather than the root project. The root README is thin but present; it states what the repository is (a Graal-based substrate VM toolchain) and mentions installation, usage, contribution, and license. However, each of the READMEs under src/main/resources/static/console-fe/test/ and others is a directory README documenting its own files rather than the project as a whole.
What to do
- Improve Documentation Quality — currently 7.4/10. — The repository's root README gives a strong overview of Apache Seata (incubating) as a distributed transaction solution for microservices and includes links to build/codecov/license/maven badges. It also documents the compatible/README.md compatibility module, metrics/, tcc/, saga/, script/config-center/, test-suite/benchmark-cli/, and server/src/main/resources directories with detailed descriptions of each. The READMEs are well-structured with a TOC and full outlines for every documented directory, so all sections present in any document are judged presentable rather than missing. The repository's READMEs are mostly per-directory manifests for test/resources/, console-fe/, and core/java/ directories rather than the root project. The root README is thin but present; it states what the repository is (a Graal-based substrate VM toolchain) and mentions installation, usage, contribution, and license. However, each of the READMEs under src/main/resources/static/console-fe/test/ and others is a directory README documenting its own files rather than the project as a whole.
D20 · ADR Quality
No architecture decision records were found.
What to do
- Resolve the 1 No ADRs found finding(s) in ADR Quality. — One of this dimension's main actionable groups (1 recommendation-level).
D21 · Naming Consistency
0 naming inconsistencies across 0 sampled symbols.
D28 · Secrets (history)
5 finding(s): 0 critical, 5 high, 0 medium, 0 low. Remediation for historically-committed secrets is credential rotation — they remain in history regardless of later deletion.
What to do
- Resolve the 3 REDACTED finding(s) in Secrets (history) — start with REDACTED (2), REDACTED. — One of this dimension's main actionable groups (3 issue-level).
- Resolve the 2 High secret finding(s) in Secrets (history) — start with REDACTED (2). — One of this dimension's main actionable groups (2 issue-level).
- Resolve the 1 Rotate the exposed credentials finding(s) in Secrets (history). — One of this dimension's main actionable groups (1 recommendation-level).
D29 · Static Analysis (SAST)
76 finding(s): 0 critical, 48 high, 17 medium, 11 low. 44 unpinned-GitHub-Actions row(s) are reported here but scored by D36 (supply-chain provenance), which measures that posture as `pinned_actions` — one pinning decision is charged once, not once per lens. semgrep hit a parse error in 4 file(s) — `mvnw` (lines 195–196), `REDACTED`, `script/server/helm/seata-server/templates/service.yaml`, `sqlparser/seata-sqlparser-antlr/src/main/java/org/apache/seata/sqlparser/antlr/mysql/parser/MySqlLexer.java` — 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. Separately, one or more rules could not re-parse an embedded snippet in 6 file(s) (e.g. a workflow `run:` block read as shell). Those files WERE scanned and their other rows are unaffected; only those rules' view of those snippets is missing.
What to do
- Resolve the 2 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED (2). — One of this dimension's main actionable groups (2 issue-level).
- Resolve the 2 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED, REDACTED. — One of this dimension's main actionable groups (2 issue-level).
- No action in Static Analysis (SAST) — all 44 REDACTED finding(s) are reported here at file:line but scored by D36 (supply-chain provenance), so none is charged to this dimension. — One of this dimension's main actionable groups (44 issue-level, 0 of them charged here).
D30 · Dependency Vulnerabilities
14 finding(s): 2 critical, 8 high, 4 medium, 0 low. npm was read by osv-scanner from this repository's lockfiles; its second reader, trivy, did not complete (the scanner produced no output at all, so no dependency was actually scanned). Over the 463 advisory/package pairs measured with both, osv-scanner reported every vulnerable npm install trivy did, so the npm reading stands.
What to do
- Resolve the 7 High CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (7). — One of this dimension's main actionable groups (7 issue-level).
- Resolve the 2 Critical CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (2). — One of this dimension's main actionable groups (2 issue-level).
- Resolve the 1 High vulnerability finding(s) in Dependency Vulnerabilities — start with REDACTED. — One of this dimension's main actionable groups (1 issue-level).
D31 · IaC & Container Security
66 finding(s): 0 critical, 5 high, 37 medium, 24 low.
What to do
- Resolve the 37 Medium IaC finding(s) in IaC & Container Security — start with REDACTED (28), REDACTED (7), REDACTED (2). — One of this dimension's main actionable groups (37 warning-level).
- Resolve the 24 Low IaC finding(s) in IaC & Container Security — start with REDACTED (13), REDACTED (6), REDACTED (5). — One of this dimension's main actionable groups (24 recommendation-level).
- Resolve the 5 High IaC finding(s) in IaC & Container Security — start with REDACTED (2), REDACTED, REDACTED. — One of this dimension's main actionable groups (5 issue-level).
D34 · Knowledge Freshness
460 of 915 significant source file(s) are orphaned — their living knowledge has decayed to nothing, so no one currently understands them. The largest is sqlparser/seata-sqlparser-antlr/src/main/java/org/apache/seata/sqlparser/antlr/mysql/parser/MySqlParser.java. Counted over 915 of the 1743 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 457 Orphaned file finding(s) in Knowledge Freshness — start with ProcessCtrlStateMachineEngine.java (2), DefaultStateMachineConfig.java (2), ActionContextUtil.java (2). — One of this dimension's main actionable groups (457 recommendation-level).
- Resolve the 3 Most significant orphaned file finding(s) in Knowledge Freshness — start with MySqlParser.java, MySqlLexer.java, MySqlParserListener.java. — One of this dimension's main actionable groups (3 recommendation-level).
- Resolve the 1 Concentrated knowledge decay finding(s) in Knowledge Freshness. — One of this dimension's main actionable groups (1 recommendation-level).
D35 · Change Coupling
Strongest change-coupling: RedisRegistryServiceImpl.java↔SofaRegistryServiceImpl.java 77%; EtcdRegistryServiceImpl.java↔SofaRegistryServiceImpl.java 69%; EtcdRegistryServiceImpl.java↔RedisRegistryServiceImpl.java 62%
What to do
- Resolve the 2 Boundary-crossing change coupling finding(s) in Change Coupling — start with NamingManager.java, NamingserverRegistryServiceImpl.java. — One of this dimension's main actionable groups (2 issue-level).
- Resolve the 2 Change-coupling hub finding(s) in Change Coupling — start with SofaRegistryServiceImpl.java, ConsulRegistryServiceImpl.java. — One of this dimension's main actionable groups (2 warning-level).
- Resolve the 1 Change coupling finding(s) in Change Coupling — start with EtcdRegistryServiceImpl.java. — One of this dimension's main actionable groups (1 warning-level).
D36 · Supply-chain Provenance & Signing
1/4 supply-chain integrity signals present (provenance, signing, SBOM, pinned actions).
What to do
- Resolve the 3 REDACTED finding(s) in Supply-chain Provenance & Signing — start with REDACTED, REDACTED, REDACTED. — One of this dimension's main actionable groups (3 warning-level).
- Resolve the 3 REDACTED finding(s) in Supply-chain Provenance & Signing — start with REDACTED, REDACTED, REDACTED. — One of this dimension's main actionable groups (3 warning-level).
- Resolve the 3 REDACTED finding(s) in Supply-chain Provenance & Signing — start with REDACTED, REDACTED, REDACTED. — One of this dimension's main actionable groups (3 warning-level).
D37 · Vulnerability-disclosure Policy
A vulnerability-disclosure policy (SECURITY.md) is published with a reporting contact.
D40 · Network Egress Confinement
0/2 network-egress controls present (network policy, egress restriction).
What to do
- Resolve the 1 No network policy finding(s) in Network Egress Confinement. — One of this dimension's main actionable groups (1 recommendation-level).
D41 · Kernel & Syscall Confinement
0/1 workload(s) run every container under a seccomp profile; 0/1 declare an AppArmor/SELinux profile.
What to do
- Resolve the 1 No seccomp profile finding(s) in Kernel & Syscall Confinement — start with REDACTED. — One of this dimension's main actionable groups (1 recommendation-level).
D43 · Malicious Dependencies
No dependency in any ecosystem this repository declares is published as malicious. npm was read by osv-scanner from this repository's lockfiles; its second reader, trivy, did not complete (the scanner produced no output at all, so no dependency was actually scanned). Over the 463 advisory/package pairs measured with both, osv-scanner reported every vulnerable npm install trivy did, so the npm reading stands.
D44 · Platform End-of-Life
0 end-of-life runtime(s) and 1 end-of-life framework(s), read from 7 platform declaration(s) and 40 dependency declaration(s). This dimension reads what the repository says about ITSELF — a pinned target framework, a version file, a capped requires-python, a Rust toolchain pin, a framework major a constraint cannot move off. A FLOOR is deliberately never charged: `requires-python = ">=3.8"` states what the package SUPPORTS, not what it runs on, and a well-maintained library declares exactly that while running its own CI on a current release. The end-of-life facts are FROZEN and dated, so this dimension needs no network and answers identically inside a closed scan fence; as the table ages it loses recall and never precision, because a statement about support that ended in the past cannot become false. The OS layer of a container image is D31's question and the toolchain a CI workflow installs is D29's; this row is neither.
What to do
- Resolve the 1 End-of-life framework finding(s) in Platform End-of-Life — start with pom.xml. — One of this dimension's main actionable groups (1 warning-level).
Frontend & cross-cutting dimensions
AC1 · Text alternatives
- An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt — alt="" if it's purely decorative. (×2) — console/src/main/resources/static/console-fe/src/pages/Login/Login.tsx:89, saga/seata-saga-statemachine-designer/src/index.html:36
What to do
- Add a text alternative — alt on images (alt="" for purely decorative ones), a title or aria-label on meaningful svg, an aria-label or inner fallback content on canvas, and a captions <track> on video.
AC2 · Forms & labels
AC3 · Page structure
- No <main> (or role="main") means no "skip to content" target and a weaker landmark map. This document's body is only the mount point <div id="root">, so there is no content here to wrap — render the <main> from the component mounted into it. — console/src/main/resources/static/console-fe/public/index.html:19
- No <main> (or role="main") means no "skip to content" target and a weaker landmark map. Wrap the primary content in <main>. — saga/seata-saga-statemachine-designer/src/index.html:19
What to do
- Declare <html lang>, a document <title> and a <main> landmark, keep headings in order, leave zoom enabled, title iframes and drop meta-refresh.
AC4 · Keyboard semantics
- A click handler on a plain element isn't keyboard-operable. Use a <button>, or add role + tabIndex={0} + a key handler. — console/src/main/resources/static/console-fe/src/components/Header/Header.tsx:132
What to do
- Make custom controls keyboard-operable (role + tabindex + key handler), drop positive tabindex, and give anchors a real href.
AC6 · Visual & motion safety
- `.dropdown-menu > .active > a, .dropdown-menu > .active > a:hover, .dropdown-menu > .active > a:focus` sets color: #ffffff on background-color: #428bca — 3.6:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them. — console/src/main/resources/static/console-fe/public/css/bootstrap.css:3585
- `.pagination li a:hover` sets color: #FFF on background-color: #28B5D6 — 2.4:1, below the 4.5:1 WCAG AA minimum for normal text. This is a MINIFIED, build-generated sheet — editing the literal here is undone by the next vendor drop or rebuild, so override the rule in your own stylesheet (or fix it upstream / in the source the bundle is built from). — console/src/main/resources/static/console-fe/public/css/console1412.css:17
- `.io-control-list button` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible. — saga/seata-saga-statemachine-designer/src/index.css:66
- `.markdown-body .anchor:focus` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible. — console/src/main/resources/static/console-fe/src/components/Header/index.scss:739
- `.btn.active` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible. — console/src/main/resources/static/console-fe/public/css/bootstrap.css:2298
- `.dropdown-toggle:focus` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible. — console/src/main/resources/static/console-fe/public/css/bootstrap.css:3530
- `.dropdown-menu > .active > a` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible. — console/src/main/resources/static/console-fe/public/css/bootstrap.css:3589
- `.open > a` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible. — console/src/main/resources/static/console-fe/public/css/bootstrap.css:3612
- `.btn-group > .btn:focus` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible. — console/src/main/resources/static/console-fe/public/css/bootstrap.css:3684
- `.btn-group.open .dropdown-toggle` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible. — console/src/main/resources/static/console-fe/public/css/bootstrap.css:3765
- `.modal-content` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible. — console/src/main/resources/static/console-fe/public/css/bootstrap.css:5991
- `.carousel-control:focus` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible. — console/src/main/resources/static/console-fe/public/css/bootstrap.css:6436
- `.console-number-spinner .console-number-spinner-action button` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible. — console/src/main/resources/static/console-fe/public/css/console1412.css:17
- `.aliyun-console-topbar a:focus` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible. — console/src/main/resources/static/console-fe/public/css/console1412.css:17
- `.aliyun-console-topbar-search .topbar-search-ask:focus` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible. — console/src/main/resources/static/console-fe/public/css/console1412.css:17
- `.aliyun-console-topbar-search-v1_3_21 .topbar-search-dropdown input` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible. — console/src/main/resources/static/console-fe/public/css/console1412.css:17
- `.c-texttrimmer-box:focus` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible. — console/src/main/resources/static/console-fe/public/css/console1412.css:17
- `.console-search .console-search-ask .console-search-ask-input:focus` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible. — console/src/main/resources/static/console-fe/public/css/console1412.css:17
- `.list-selector .selector-box .inner-wrap .inner-head input:focus` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible. — console/src/main/resources/static/console-fe/public/css/console1412.css:17
- `.feedback-container .feedback .feedback-content textarea` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible. — console/src/main/resources/static/console-fe/public/css/console1412.css:17
- `.feedback-container .feedback .submit-btn` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible. — console/src/main/resources/static/console-fe/public/css/console1412.css:17
- `.console-tag-select .console-tag-dropdown .dropdown-menu li.tag-active a` sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible. — console/src/main/resources/static/console-fe/public/css/console1412.css:17
- `.collapsing` moves (`transition: height 0.35s ease`) and nothing reads prefers-reduced-motion for it — no @media (prefers-reduced-motion) rule for this element, no reset this project loads — so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce. — console/src/main/resources/static/console-fe/public/css/bootstrap.css:2689
- `.progress-bar` moves (`transition: width 0.6s ease`) and nothing reads prefers-reduced-motion for it — no @media (prefers-reduced-motion) rule for this element, no reset this project loads — so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce. — console/src/main/resources/static/console-fe/public/css/bootstrap.css:5440
- `.progress.active .progress-bar` moves (`animation: progress-bar-stripes 2s linear infinite`) and nothing reads prefers-reduced-motion for it — no @media (prefers-reduced-motion) rule for this element, no reset this project loads — so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce. — console/src/main/resources/static/console-fe/public/css/bootstrap.css:5451
- `.modal.fade .modal-dialog` moves (`transition: transform 0.3s ease-out`) and nothing reads prefers-reduced-motion for it — no @media (prefers-reduced-motion) rule for this element, no reset this project loads — so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce. — console/src/main/resources/static/console-fe/public/css/bootstrap.css:5969
- `.carousel-inner > .item` moves (`transition: 0.6s ease-in-out left`) and nothing reads prefers-reduced-motion for it — no @media (prefers-reduced-motion) rule for this element, no reset this project loads — so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce. — console/src/main/resources/static/console-fe/public/css/bootstrap.css:6353
- `.viewFramework-sidebar .sidebar-nav .sidebar-title-icon` moves (`transition: transform 0.12s`) and nothing reads prefers-reduced-motion for it — no @media (prefers-reduced-motion) rule for this element, no reset this project loads — so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce. — console/src/main/resources/static/console-fe/public/css/console1412.css:17
- `.console-onoff .onoff-handle` moves (`transition: background-position 0.2s ease`) and nothing reads prefers-reduced-motion for it — no @media (prefers-reduced-motion) rule for this element, no reset this project loads — so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce. — console/src/main/resources/static/console-fe/public/css/console1412.css:17
- `.console-onoff .onoff-loading` moves (`transition: background-position 0.2s ease`) and nothing reads prefers-reduced-motion for it — no @media (prefers-reduced-motion) rule for this element, no reset this project loads — so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce. — console/src/main/resources/static/console-fe/public/css/console1412.css:17
- `.aliyun-console-topbar .icon-arrow-down` moves (`transition: transform 0.2s, vertical-align 0.2s`) and nothing reads prefers-reduced-motion for it — no @media (prefers-reduced-motion) rule for this element, no reset this project loads — so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce. — console/src/main/resources/static/console-fe/public/css/console1412.css:17
- `.console-topbar-new .console-topbar-btn .caret` moves (`transition: transform 0.3s`) and nothing reads prefers-reduced-motion for it — no @media (prefers-reduced-motion) rule for this element, no reset this project loads — so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce. — console/src/main/resources/static/console-fe/public/css/console1412.css:17
- `.fa-spin` moves (`animation: fa-spin 2s infinite linear`) and nothing reads prefers-reduced-motion for it — no @media (prefers-reduced-motion) rule for this element, no reset this project loads — so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce. — console/src/main/resources/static/console-fe/public/css/font-awesome.css:111
- `.fa-pulse` moves (`animation: fa-spin 1s infinite steps(8)`) and nothing reads prefers-reduced-motion for it — no @media (prefers-reduced-motion) rule for this element, no reset this project loads — so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce. — console/src/main/resources/static/console-fe/public/css/font-awesome.css:115
- `div` moves (`transition: width 0.3s ease-in-out 0s, min-width 0.3s ease-in-out 0s`) and nothing reads prefers-reduced-motion for it — no @media (prefers-reduced-motion) rule for this element, no reset this project loads — so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce. — console/src/main/resources/static/console-fe/src/layout/style.ts:32
What to do
- Keep a visible focus style (don't remove the outline without a replacement), guard animation with prefers-reduced-motion, and raise low-contrast colour pairs to at least 4.5:1.
AC7 · A11y enforcement
- An a11y linter is configured (Documented) but there's no automated a11y test or CI gate. Add your test runner's axe binding (jest-axe, vitest-axe, cypress-axe or @axe-core/playwright) to verify at runtime, then gate it in CI. What was searched, so you can tell an absence from a miss: the 15 markup file(s) this pass actually assessed, the linter configuration checked in beside them, and this repository's test and CI files — matched by name against the accessibility checkers this dimension carries. An audit run outside the repository, a hosted scanner, or a check whose name is not one of those, is not seen here.
What to do
- Accessibility linting is already configured — assert with your test runner's axe binding (jest-axe, vitest-axe, cypress-axe or @axe-core/playwright) in tests, then gate axe/pa11y/Lighthouse in CI.
AX1 · Captive dependencies
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
- `seata-metrics-core` is a Domain project but references `seata-metrics-api`, a Web project. The clean-architecture rule is that dependencies point INWARD — the domain/application core must not depend on outer layers (infrastructure/web). Invert it: define the abstraction in the inner layer and implement it in the outer one.
What to do
- Keep dependencies pointing inward: domain/application define interfaces, infrastructure/web implement them (Dependency Inversion).
AX8 · Test isolation
IC1 · Incompleteness & stubs
- `add` throws an exception whose message says it isn't finished — a not-implemented stub wearing an ordinary exception. Implement it or remove it. — rm-datasource/src/main/java/org/apache/seata/rm/datasource/sql/struct/TableRecords.java:332
- `getTableMeta` throws an exception whose message says it isn't finished — a not-implemented stub wearing an ordinary exception. Implement it or remove it. — rm-datasource/src/main/java/org/apache/seata/rm/datasource/sql/struct/TableRecords.java:337
- A test is skipped/ignored — coverage that looks present but never runs. Re-enable it or delete it so the green run means something. (×38) — core/src/test/java/org/apache/seata/core/rpc/processor/client/ClientOnResponseProcessorTest.java:98, discovery/seata-discovery-core/src/test/java/org/apache/seata/discovery/loadbalance/LoadBalanceFactoryTest.java:51, discovery/seata-discovery-core/src/test/java/org/apache/seata/discovery/loadbalance/LoadBalanceFactoryTest.java:72, …
What to do
- Finish or delete the unfinished stubs (functions that throw "not implemented", or whose body is empty or a bare constant) — they are dead surface that looks live.
- Clear the softer debt: re-enable or delete @Disabled/@Ignore tests, decide whether each empty method or UnsupportedOperationException is deliberate (and say so in a comment), and replace @SuppressWarnings("all") with targeted, justified suppressions.
M1 · Documentation (README)
- 196 code files changed in the last 6 months but the README was not touched — it may no longer reflect the system.
What to do
- Explain in the README how to run the tests. Add a section called Testing to the README in the repository's top folder, saying how to run the test suite.
- Add a README to the 102 of 108 project(s) that lack one — worth up to 1.9 pts.
- Review the README against recent changes; refresh the parts that drifted.
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.
What to do
- Record your significant design decisions. Write one short document per decision, giving its date, the situation, the decision and its consequences, and keep them together with your other design documents. A docs/adr folder with each file named by number and title is the easiest place to find them.
M3 · Folder & project structure
M4 · Documentation accuracy
- server/src/main/resources/README-zh.md names `zk-params.txt`, but no file or folder `zk-params.txt` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — server/src/main/resources/README-zh.md:42
- server/src/main/resources/README-zh.md names `REDACTED`, but no file or folder `REDACTED` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — server/src/main/resources/README-zh.md:43
- server/src/main/resources/README.md names `REDACTED`, but no file or folder `REDACTED` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — server/src/main/resources/README.md:43
What to do
- Reconcile the README with reality: server/src/main/resources/README-zh.md names `zk-params.txt`, but no file or folder `zk-params.txt` exists; server/src/main/resources/README-zh.md names `REDACTED`, but no file or folder `REDACTED` exists; server/src/main/resources/README.md names `REDACTED`, but no file or folder `REDACTED` exists.
P1 · CI/CD gates
P10 · Library API & versioning
P2 · Observability
- Only 48/49 runnable modules use logging (modules with no entry point or server are excluded — they are libraries a runnable module hosts). Silent: `spring/seata-spring-autoconfigure/seata-spring-autoconfigure-server`.
What to do
- Extend structured logging to the remaining runnable modules so everything you run is diagnosable in production.
P3 · Security & performance tooling
What to do
- Enable Dependabot/Renovate or a dependency-review gate.
- Add gitleaks/trufflehog in CI to block PRs that introduce committed secrets.
P4 · Deployment & Rollback
What to do
- Add an approval/environment gate (required reviewers / protection rules) before production promotion.
P6 · Release Hygiene
P7 · Outbound HTTP resilience
PF2 · Allocation hygiene
What to do
- Raise allocation-aware density on the hot paths — currently 172 use(s) across 283,428 production line(s) (~0.6/1k). More of the idioms below on the allocation-heavy paths climbs this toward 10.
- Java: on hot paths, work through buffer views (ByteBuffer/LongBuffer slices, MemorySegment) instead of copies, avoid boxing with primitive collections (fastutil, Eclipse Collections, HPPC, Trove), presize collections and StringBuilders, and pool expensive buffers (Netty's pooled allocator, commons-pool).
- Kotlin: on hot paths, use primitive arrays (IntArray, LongArray …) and @JvmInline value classes instead of boxed values, primitive collections (androidx.collection, fastutil) instead of boxed ones, and presize collections and StringBuilders.
PF3 · Async & latency hygiene
R1 · Type Safety
- 44 typed · 63 plain JS — the untyped files are saga/seata-saga-statemachine-designer/src/Editor.js, saga/seata-saga-statemachine-designer/src/control/ExportControl.js, saga/seata-saga-statemachine-designer/src/control/ImportControl.js, saga/seata-saga-statemachine-designer/src/control/index.js, saga/seata-saga-statemachine-designer/src/index.js, saga/seata-saga-statemachine-designer/src/layout/Layouter.js (+57 more). 0 production file(s) opt out entirely with @ts-nocheck · 3 @ts-ignore suppression(s).
What to do
- Migrate the remaining .js/.jsx files to TypeScript.
R10 · Code Duplication
- 11 duplicated blocks under console/src/main/resources/static/console-fe/src/pages/ have copies in at least two of the sibling directories ClusterManager, GlobalLockInfo, Login, Overview, TransactionInfo — 10 of them are reported below, and 1 is counted here but not reported individually: those copies match on shape but no longer clear R10's bar for an individually reported row — either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 11 and which does not depend on how exactly each block's copies still match. That concentration is one structural fact, not 11 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module — a common library every sibling imports — rather than 11 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on. — console/src/main/resources/static/console-fe/src/pages/GlobalLockInfo/GlobalLockInfo.tsx:379
- console/src/main/resources/static/console-fe/src/pages/GlobalLockInfo/GlobalLockInfo.tsx:379 · REDACTED:1097 — 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. — console/src/main/resources/static/console-fe/src/pages/GlobalLockInfo/GlobalLockInfo.tsx:379
- console/src/main/resources/static/console-fe/src/pages/GlobalLockInfo/GlobalLockInfo.tsx:326 · REDACTED:1055 — 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. — console/src/main/resources/static/console-fe/src/pages/GlobalLockInfo/GlobalLockInfo.tsx:326
- REDACTED:657 · REDACTED:821 — 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. — REDACTED:657
- saga/seata-saga-statemachine-designer/src/properties-panel/provider/properties/BaseText.js:24 · saga/seata-saga-statemachine-designer/src/properties-panel/provider/properties/BaseTextArea.js:24 — the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. — saga/seata-saga-statemachine-designer/src/properties-panel/provider/properties/BaseText.js:24
- REDACTED:594 · REDACTED:630 — 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. — REDACTED:594
- console/src/main/resources/static/console-fe/src/pages/GlobalLockInfo/GlobalLockInfo.tsx:212 · REDACTED:468 — 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. — console/src/main/resources/static/console-fe/src/pages/GlobalLockInfo/GlobalLockInfo.tsx:212
- console/src/main/resources/static/console-fe/src/pages/ClusterManager/ClusterManager.tsx:98 · REDACTED:359 — 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. — console/src/main/resources/static/console-fe/src/pages/ClusterManager/ClusterManager.tsx:98
- console/src/main/resources/static/console-fe/src/pages/GlobalLockInfo/GlobalLockInfo.tsx:139 · REDACTED:391 — 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. — console/src/main/resources/static/console-fe/src/pages/GlobalLockInfo/GlobalLockInfo.tsx:139
- REDACTED:1247 · REDACTED:1319 · REDACTED:1369 — 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. — REDACTED:1247
- console/src/main/resources/static/console-fe/src/service/transactionInfo.ts:176 · console/src/main/resources/static/console-fe/src/service/transactionInfo.ts:195 · console/src/main/resources/static/console-fe/src/service/transactionInfo.ts:214 · console/src/main/resources/static/console-fe/src/service/transactionInfo.ts:233 — all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites — resolving only two of them leaves the rest to drift apart the first time one is edited. — console/src/main/resources/static/console-fe/src/service/transactionInfo.ts:176
- console/src/main/resources/static/console-fe/src/pages/GlobalLockInfo/GlobalLockInfo.tsx:441 · REDACTED:1190 — 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. — console/src/main/resources/static/console-fe/src/pages/GlobalLockInfo/GlobalLockInfo.tsx:441
- console/src/main/resources/static/console-fe/src/service/transactionInfo.ts:65 · console/src/main/resources/static/console-fe/src/service/transactionInfo.ts:83 · console/src/main/resources/static/console-fe/src/service/transactionInfo.ts:100 · console/src/main/resources/static/console-fe/src/service/transactionInfo.ts:117 · +2 more site(s) not listed — all 6 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. — console/src/main/resources/static/console-fe/src/service/transactionInfo.ts:65
- console/src/main/resources/static/console-fe/src/service/transactionInfo.ts:74 · console/src/main/resources/static/console-fe/src/service/transactionInfo.ts:91 · console/src/main/resources/static/console-fe/src/service/transactionInfo.ts:108 · console/src/main/resources/static/console-fe/src/service/transactionInfo.ts:125 · +2 more site(s) not listed — all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites — resolving only two of them leaves the rest to drift apart the first time one is edited. — console/src/main/resources/static/console-fe/src/service/transactionInfo.ts:74
- REDACTED:524 · REDACTED:540 — 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. — REDACTED:524
- saga/seata-saga-statemachine-designer/src/render/Renderer.js:514 · saga/seata-saga-statemachine-designer/src/render/Renderer.js:533 — all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct — and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal's entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins — a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are. — saga/seata-saga-statemachine-designer/src/render/Renderer.js:514
- REDACTED:715 · REDACTED:734 — 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. — REDACTED:715
- REDACTED:783 · REDACTED:809 · REDACTED:854 — 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. — REDACTED:783
- REDACTED:983 · REDACTED:1008 — 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. — REDACTED:983
- REDACTED:1228 · REDACTED:1297 — 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. — REDACTED:1228
- console/src/main/resources/static/console-fe/src/service/globalLockInfo.ts:43 · console/src/main/resources/static/console-fe/src/service/transactionInfo.ts:61 — the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. — console/src/main/resources/static/console-fe/src/service/globalLockInfo.ts:43
- console/src/main/resources/static/console-fe/src/service/globalLockInfo.ts:60 · console/src/main/resources/static/console-fe/src/service/transactionInfo.ts:168 · console/src/main/resources/static/console-fe/src/service/transactionInfo.ts:187 · console/src/main/resources/static/console-fe/src/service/transactionInfo.ts:206 · +1 more site(s) not listed — the 5 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. — console/src/main/resources/static/console-fe/src/service/globalLockInfo.ts:60
- console/src/main/resources/static/console-fe/src/pages/GlobalLockInfo/GlobalLockInfo.tsx:301 · REDACTED:619 · REDACTED:654 · REDACTED:676 · +7 more site(s) not listed — 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. — console/src/main/resources/static/console-fe/src/pages/GlobalLockInfo/GlobalLockInfo.tsx:301
- saga/seata-saga-statemachine-designer/src/render/Renderer.js:358 · saga/seata-saga-statemachine-designer/src/render/Renderer.js:371 — 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. — saga/seata-saga-statemachine-designer/src/render/Renderer.js:358
- REDACTED:1303 · REDACTED:1356 — 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. — REDACTED:1303
- console/src/main/resources/static/console-fe/src/service/clusterManager.ts:41 · console/src/main/resources/static/console-fe/src/service/transactionInfo.ts:252 — 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. — console/src/main/resources/static/console-fe/src/service/clusterManager.ts:41
- console/src/main/resources/static/console-fe/src/pages/ClusterManager/ClusterManager.tsx:254 · REDACTED:1249 · REDACTED:1321 · REDACTED:1371 — the 4 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. — console/src/main/resources/static/console-fe/src/pages/ClusterManager/ClusterManager.tsx:254
- REDACTED:567 · REDACTED:758 — 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. — REDACTED:567
- console/src/main/resources/static/console-fe/src/pages/ClusterManager/ClusterManager.tsx:263 · console/src/main/resources/static/console-fe/src/pages/GlobalLockInfo/GlobalLockInfo.tsx:399 · console/src/main/resources/static/console-fe/src/pages/GlobalLockInfo/GlobalLockInfo.tsx:410 · REDACTED:1125 · +1 more site(s) not listed — the 3 copies are spread across 3 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. — console/src/main/resources/static/console-fe/src/pages/ClusterManager/ClusterManager.tsx:263
- console/src/main/resources/static/console-fe/src/service/transactionInfo.ts:248 · console/src/main/resources/static/console-fe/src/service/transactionInfo.ts:256 — 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. — console/src/main/resources/static/console-fe/src/service/transactionInfo.ts:248
- console/src/main/resources/static/console-fe/src/pages/ClusterManager/ClusterManager.tsx:140 · console/src/main/resources/static/console-fe/src/pages/GlobalLockInfo/GlobalLockInfo.tsx:215 · REDACTED:471 — the 3 copies are spread across 3 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. — console/src/main/resources/static/console-fe/src/pages/ClusterManager/ClusterManager.tsx:140
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
- saga/seata-saga-statemachine-designer/src/Editor.js:23 imports diagram-js/lib/features/align-elements, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead. — saga/seata-saga-statemachine-designer/src/Editor.js:23
- saga/seata-saga-statemachine-designer/src/Editor.js:24 imports diagram-js/lib/features/attach-support, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead. — saga/seata-saga-statemachine-designer/src/Editor.js:24
- saga/seata-saga-statemachine-designer/src/Editor.js:25 imports diagram-js/lib/features/auto-scroll, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead. — saga/seata-saga-statemachine-designer/src/Editor.js:25
- saga/seata-saga-statemachine-designer/src/Editor.js:26 imports diagram-js/lib/features/bendpoints, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead. — saga/seata-saga-statemachine-designer/src/Editor.js:26
- saga/seata-saga-statemachine-designer/src/Editor.js:27 imports diagram-js/lib/features/connect, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead. — saga/seata-saga-statemachine-designer/src/Editor.js:27
- saga/seata-saga-statemachine-designer/src/Editor.js:28 imports diagram-js/lib/features/context-pad, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead. — saga/seata-saga-statemachine-designer/src/Editor.js:28
- saga/seata-saga-statemachine-designer/src/Editor.js:29 imports diagram-js/lib/features/connection-preview, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead. — saga/seata-saga-statemachine-designer/src/Editor.js:29
- saga/seata-saga-statemachine-designer/src/Editor.js:30 imports diagram-js/lib/features/create, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead. — saga/seata-saga-statemachine-designer/src/Editor.js:30
- saga/seata-saga-statemachine-designer/src/Editor.js:31 imports diagram-js/lib/features/editor-actions, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead. — saga/seata-saga-statemachine-designer/src/Editor.js:31
- saga/seata-saga-statemachine-designer/src/Editor.js:32 imports diagram-js/lib/features/grid-snapping, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead. — saga/seata-saga-statemachine-designer/src/Editor.js:32
- saga/seata-saga-statemachine-designer/src/Editor.js:33 imports diagram-js/lib/features/keyboard, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead. — saga/seata-saga-statemachine-designer/src/Editor.js:33
- saga/seata-saga-statemachine-designer/src/Editor.js:34 imports diagram-js/lib/navigation/keyboard-move, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead. — saga/seata-saga-statemachine-designer/src/Editor.js:34
- saga/seata-saga-statemachine-designer/src/Editor.js:35 imports diagram-js/lib/features/keyboard-move-selection, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead. — saga/seata-saga-statemachine-designer/src/Editor.js:35
- saga/seata-saga-statemachine-designer/src/Editor.js:36 imports diagram-js/lib/features/lasso-tool, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead. — saga/seata-saga-statemachine-designer/src/Editor.js:36
- saga/seata-saga-statemachine-designer/src/Editor.js:37 imports diagram-js/lib/navigation/movecanvas, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead. — saga/seata-saga-statemachine-designer/src/Editor.js:37
- saga/seata-saga-statemachine-designer/src/Editor.js:38 imports diagram-js/lib/features/move, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead. — saga/seata-saga-statemachine-designer/src/Editor.js:38
- saga/seata-saga-statemachine-designer/src/Editor.js:39 imports diagram-js/lib/features/outline, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead. — saga/seata-saga-statemachine-designer/src/Editor.js:39
- saga/seata-saga-statemachine-designer/src/Editor.js:40 imports diagram-js/lib/features/palette, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead. — saga/seata-saga-statemachine-designer/src/Editor.js:40
- saga/seata-saga-statemachine-designer/src/Editor.js:41 imports diagram-js/lib/features/resize, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead. — saga/seata-saga-statemachine-designer/src/Editor.js:41
- saga/seata-saga-statemachine-designer/src/Editor.js:42 imports diagram-js/lib/features/rules, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead. — saga/seata-saga-statemachine-designer/src/Editor.js:42
- saga/seata-saga-statemachine-designer/src/Editor.js:43 imports diagram-js/lib/features/selection, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead. — saga/seata-saga-statemachine-designer/src/Editor.js:43
- saga/seata-saga-statemachine-designer/src/Editor.js:44 imports diagram-js/lib/features/snapping, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead. — saga/seata-saga-statemachine-designer/src/Editor.js:44
- saga/seata-saga-statemachine-designer/src/Editor.js:45 imports diagram-js/lib/navigation/zoomscroll, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead. — saga/seata-saga-statemachine-designer/src/Editor.js:45
- saga/seata-saga-statemachine-designer/src/layout/Layouter.js:20 imports diagram-js/lib/layout/BaseLayouter, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead. — saga/seata-saga-statemachine-designer/src/layout/Layouter.js:20
- saga/seata-saga-statemachine-designer/src/layout/Layouter.js:22 imports diagram-js/lib/layout/LayoutUtil, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead. — saga/seata-saga-statemachine-designer/src/layout/Layouter.js:22
- saga/seata-saga-statemachine-designer/src/layout/behavior/AttachCatchBehavior.js:20 imports diagram-js/lib/command/CommandInterceptor, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead. — saga/seata-saga-statemachine-designer/src/layout/behavior/AttachCatchBehavior.js:20
- saga/seata-saga-statemachine-designer/src/layout/behavior/LayoutConnectionBehavior.js:20 imports diagram-js/lib/command/CommandInterceptor, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead. — saga/seata-saga-statemachine-designer/src/layout/behavior/LayoutConnectionBehavior.js:20
- saga/seata-saga-statemachine-designer/src/layout/behavior/LayoutConnectionBehavior.js:22 imports diagram-js/lib/layout/LayoutUtil, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead. — saga/seata-saga-statemachine-designer/src/layout/behavior/LayoutConnectionBehavior.js:22
- saga/seata-saga-statemachine-designer/src/layout/behavior/LayoutUpdateBehavior.js:22 imports diagram-js/lib/command/CommandInterceptor, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead. — saga/seata-saga-statemachine-designer/src/layout/behavior/LayoutUpdateBehavior.js:22
- saga/seata-saga-statemachine-designer/src/layout/behavior/ReplaceConnectionBehavior.js:20 imports diagram-js/lib/command/CommandInterceptor, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead. — saga/seata-saga-statemachine-designer/src/layout/behavior/ReplaceConnectionBehavior.js:20
- saga/seata-saga-statemachine-designer/src/layout/index.js:18 imports diagram-js/lib/layout/CroppingConnectionDocking, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead. — saga/seata-saga-statemachine-designer/src/layout/index.js:18
- saga/seata-saga-statemachine-designer/src/modeling/ElementFactory.js:22 imports diagram-js/lib/core/ElementFactory, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead. — saga/seata-saga-statemachine-designer/src/modeling/ElementFactory.js:22
- saga/seata-saga-statemachine-designer/src/modeling/Modeling.js:21 imports diagram-js/lib/features/modeling/Modeling, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead. — saga/seata-saga-statemachine-designer/src/modeling/Modeling.js:21
- saga/seata-saga-statemachine-designer/src/modeling/SagaExporter.js:19 imports saga/seata-saga-statemachine-designer/src/spec/StateMachine.js, a module inside the test suite — test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on. — saga/seata-saga-statemachine-designer/src/modeling/SagaExporter.js:19
- saga/seata-saga-statemachine-designer/src/modeling/SagaExporter.js:20 imports saga/seata-saga-statemachine-designer/src/spec/StartState.js, a module inside the test suite — test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on. — saga/seata-saga-statemachine-designer/src/modeling/SagaExporter.js:20
- saga/seata-saga-statemachine-designer/src/modeling/SagaExporter.js:21 imports saga/seata-saga-statemachine-designer/src/spec/State.js, a module inside the test suite — test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on. — saga/seata-saga-statemachine-designer/src/modeling/SagaExporter.js:21
- saga/seata-saga-statemachine-designer/src/modeling/SagaExporter.js:22 imports saga/seata-saga-statemachine-designer/src/spec/style/Edge.js, a module inside the test suite — test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on. — saga/seata-saga-statemachine-designer/src/modeling/SagaExporter.js:22
- saga/seata-saga-statemachine-designer/src/modeling/SagaFactory.js:18 imports saga/seata-saga-statemachine-designer/src/spec/Transition.js, a module inside the test suite — test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on. — saga/seata-saga-statemachine-designer/src/modeling/SagaFactory.js:18
- saga/seata-saga-statemachine-designer/src/modeling/SagaFactory.js:19 imports saga/seata-saga-statemachine-designer/src/spec/StateMachine.js, a module inside the test suite — test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on. — saga/seata-saga-statemachine-designer/src/modeling/SagaFactory.js:19
- saga/seata-saga-statemachine-designer/src/modeling/SagaFactory.js:20 imports saga/seata-saga-statemachine-designer/src/spec/ServiceTask.js, a module inside the test suite — test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on. — saga/seata-saga-statemachine-designer/src/modeling/SagaFactory.js:20
What to do
- Fix the listed violations: import through the target package's declared public entry rather than a deep path into its internals or a relative path into its directory (45 rows); move the shared test helper into a source directory production code may depend on (27 rows).
R2 · Cyclomatic Complexity
- parseEdge has cyclomatic complexity 24 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. — saga/seata-saga-statemachine-designer/src/modeling/SagaExporter.js:42
- is has cyclomatic complexity 17 and cognitive complexity 9; 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. — saga/seata-saga-statemachine-designer/src/utils/index.js:61
- loadNamespaces has cyclomatic complexity 14 and cognitive complexity 21; 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. — console/src/main/resources/static/console-fe/src/pages/GlobalLockInfo/GlobalLockInfo.tsx:103
- (anonymous) has cyclomatic complexity 13 and cognitive complexity 29; 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. — saga/seata-saga-statemachine-designer/src/modeling/SagaImporter.js:130
- (anonymous) has cyclomatic complexity 12 and cognitive complexity 21; 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. — saga/seata-saga-statemachine-designer/src/spec/style/Node.js:337
- searchFilterOnChange has cyclomatic complexity 11 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 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. (×2) — console/src/main/resources/static/console-fe/src/pages/GlobalLockInfo/GlobalLockInfo.tsx:215, REDACTED:471
- layoutConnection has cyclomatic complexity 11 and cognitive complexity 10; 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. — saga/seata-saga-statemachine-designer/src/layout/Layouter.js:42
What to do
- Break down the listed branch-heavy functions; aim P95 cyclomatic ≤ 5.
R3 · Large Files
- REDACTED has 1371 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — REDACTED:1
- saga/seata-saga-statemachine-designer/src/render/Renderer.js has 575 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — saga/seata-saga-statemachine-designer/src/render/Renderer.js:1
- console/src/main/resources/static/console-fe/src/pages/GlobalLockInfo/GlobalLockInfo.tsx has 448 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — console/src/main/resources/static/console-fe/src/pages/GlobalLockInfo/GlobalLockInfo.tsx:1
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. (×40) — REDACTED:1, saga/seata-saga-statemachine-designer/src/render/Renderer.js:1, console/src/main/resources/static/console-fe/src/pages/GlobalLockInfo/GlobalLockInfo.tsx:1, …
What to do
- Add tests that import the unreached modules (directly or through their public entry).
R5 · Dependency Freshness
What to do
- Bump outdated dependencies to current versions to limit upgrade debt.
R6 · Tooling
- test ✓ · lint ✓ · typecheck ✗ — read from this repository's package.json scripts and corroborated against its CI workflows. A script counts when its name or command matches the step: `test` for the suite, `lint` or `prettier` for linting, `typecheck`/`type-check`/`tsc` for type checking. ✗ therefore means no script or CI step under those names was found, NOT that the step is absent from your pipeline — a task invoked by a runner this check does not read, or named something else entirely, is not seen and is worth confirming before acting on a cross. A ✓ means the wiring is DECLARED — a script or CI step under those names exists. It is not a statement that the step passes, or that it runs at all: nothing here installs a dependency or executes a suite.
What to do
- Add `tsc --noEmit` as package.json scripts and run them in CI.
R7 · Dead Code
- This top-level declaration is not exported and its name occurs nowhere else in its module — not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it. (×2) — console/src/main/resources/static/console-fe/test/sample/configurationManagement.spec.js:758, console/src/main/resources/static/console-fe/test/sample/configurationManagement.spec.js:776
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
- Imported but not declared in any reachable package.json — installs work only by hoisting accident. (×2) — console/src/main/resources/static/console-fe/src/reducers/locale.ts:18, console/src/main/resources/static/console-fe/src/service/clusterManager.ts:19
- Declared in console/src/main/resources/static/console-fe/test/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.
What to do
- Remove unused dependencies, declare unlisted imports explicitly, and demote type-/test-only packages to devDependencies.
R9 · Circular Imports
X1 · Async correctness
X12 · Unreachable branch
X13 · Undrained process stream
X14 · Bypassable address classification
X15 · Unvalidated length from an untrusted reader
- `clazzNameLength` is read from the bytes being parsed at line 69 (`getInt`), then used to size a `new byte[]` at line 70 — and nowhere in its scope is `clazzNameLength` bounded from above — compared to a limit, clamped, or checked against the input that remains (a zero or sign test, or the loop that counts up to it, bounds nothing). Whoever wrote those bytes therefore chooses the allocation directly: a 32-bit length asks for up to 2 GiB before a single byte of the payload is known to exist, which either exhausts the heap with an `OutOfMemoryError` or, negative, throws `NegativeArraySizeException` out of a parser whose failure path was written for malformed input, not for hostile input. Bound `clazzNameLength` against the bytes actually remaining and a maximum the format allows before allocating. — serializer/seata-serializer-protobuf/src/main/java/org/apache/seata/serializer/protobuf/ProtobufSerializer.java:70
- `iLen` is read from the bytes being parsed at line 105 (`getInt`), then used to size a `new byte[]` at line 107 — and nowhere in its scope is `iLen` bounded from above — compared to a limit, clamped, or checked against the input that remains (a zero or sign test, or the loop that counts up to it, bounds nothing). Whoever wrote those bytes therefore chooses the allocation directly: a 32-bit length asks for up to 2 GiB before a single byte of the payload is known to exist, which either exhausts the heap with an `OutOfMemoryError` or, negative, throws `NegativeArraySizeException` out of a parser whose failure path was written for malformed input, not for hostile input. Bound `iLen` against the bytes actually remaining and a maximum the format allows before allocating. — serializer/seata-serializer-seata/src/main/java/org/apache/seata/serializer/seata/protocol/transaction/BranchReportRequestCodec.java:107
- `iLen` is read from the bytes being parsed at line 111 (`getInt`), then used to size a `new byte[]` at line 113 — and nowhere in its scope is `iLen` bounded from above — compared to a limit, clamped, or checked against the input that remains (a zero or sign test, or the loop that counts up to it, bounds nothing). Whoever wrote those bytes therefore chooses the allocation directly: a 32-bit length asks for up to 2 GiB before a single byte of the payload is known to exist, which either exhausts the heap with an `OutOfMemoryError` or, negative, throws `NegativeArraySizeException` out of a parser whose failure path was written for malformed input, not for hostile input. Bound `iLen` against the bytes actually remaining and a maximum the format allows before allocating. — serializer/seata-serializer-seata/src/main/java/org/apache/seata/serializer/seata/protocol/transaction/BranchRegisterRequestCodec.java:113
- `applicationDataLen` is read from the bytes being parsed at line 118 (`getInt`), then used to size a `new byte[]` at line 120 — and nowhere in its scope is `applicationDataLen` bounded from above — compared to a limit, clamped, or checked against the input that remains (a zero or sign test, or the loop that counts up to it, bounds nothing). Whoever wrote those bytes therefore chooses the allocation directly: a 32-bit length asks for up to 2 GiB before a single byte of the payload is known to exist, which either exhausts the heap with an `OutOfMemoryError` or, negative, throws `NegativeArraySizeException` out of a parser whose failure path was written for malformed input, not for hostile input. Bound `applicationDataLen` against the bytes actually remaining and a maximum the format allows before allocating. — serializer/seata-serializer-seata/src/main/java/org/apache/seata/serializer/seata/protocol/transaction/BranchRegisterRequestCodec.java:120
- `xidLen` is read from the bytes being parsed at line 797 (`getInt`), then used to size a `new byte[]` at line 799 — and nowhere in its scope is `xidLen` bounded from above — compared to a limit, clamped, or checked against the input that remains (a zero or sign test, or the loop that counts up to it, bounds nothing). Whoever wrote those bytes therefore chooses the allocation directly: a 32-bit length asks for up to 2 GiB before a single byte of the payload is known to exist, which either exhausts the heap with an `OutOfMemoryError` or, negative, throws `NegativeArraySizeException` out of a parser whose failure path was written for malformed input, not for hostile input. Bound `xidLen` against the bytes actually remaining and a maximum the format allows before allocating. — server/src/main/java/org/apache/seata/server/session/GlobalSession.java:799
- `applicationDataLen` is read from the bytes being parsed at line 803 (`getInt`), then used to size a `new byte[]` at line 805 — and nowhere in its scope is `applicationDataLen` bounded from above — compared to a limit, clamped, or checked against the input that remains (a zero or sign test, or the loop that counts up to it, bounds nothing). Whoever wrote those bytes therefore chooses the allocation directly: a 32-bit length asks for up to 2 GiB before a single byte of the payload is known to exist, which either exhausts the heap with an `OutOfMemoryError` or, negative, throws `NegativeArraySizeException` out of a parser whose failure path was written for malformed input, not for hostile input. Bound `applicationDataLen` against the bytes actually remaining and a maximum the format allows before allocating. — server/src/main/java/org/apache/seata/server/session/GlobalSession.java:805
- `resourceLen` is read from the bytes being parsed at line 504 (`getInt`), then used to size a `new byte[]` at line 506 — and nowhere in its scope is `resourceLen` bounded from above — compared to a limit, clamped, or checked against the input that remains (a zero or sign test, or the loop that counts up to it, bounds nothing). Whoever wrote those bytes therefore chooses the allocation directly: a 32-bit length asks for up to 2 GiB before a single byte of the payload is known to exist, which either exhausts the heap with an `OutOfMemoryError` or, negative, throws `NegativeArraySizeException` out of a parser whose failure path was written for malformed input, not for hostile input. Bound `resourceLen` against the bytes actually remaining and a maximum the format allows before allocating. — server/src/main/java/org/apache/seata/server/session/BranchSession.java:506
- `lockKeyLen` is read from the bytes being parsed at line 510 (`getInt`), then used to size a `new byte[]` at line 512 — and nowhere in its scope is `lockKeyLen` bounded from above — compared to a limit, clamped, or checked against the input that remains (a zero or sign test, or the loop that counts up to it, bounds nothing). Whoever wrote those bytes therefore chooses the allocation directly: a 32-bit length asks for up to 2 GiB before a single byte of the payload is known to exist, which either exhausts the heap with an `OutOfMemoryError` or, negative, throws `NegativeArraySizeException` out of a parser whose failure path was written for malformed input, not for hostile input. Bound `lockKeyLen` against the bytes actually remaining and a maximum the format allows before allocating. — server/src/main/java/org/apache/seata/server/session/BranchSession.java:512
- `applicationDataLen` is read from the bytes being parsed at line 530 (`getInt`), then used to size a `new byte[]` at line 532 — and nowhere in its scope is `applicationDataLen` bounded from above — compared to a limit, clamped, or checked against the input that remains (a zero or sign test, or the loop that counts up to it, bounds nothing). Whoever wrote those bytes therefore chooses the allocation directly: a 32-bit length asks for up to 2 GiB before a single byte of the payload is known to exist, which either exhausts the heap with an `OutOfMemoryError` or, negative, throws `NegativeArraySizeException` out of a parser whose failure path was written for malformed input, not for hostile input. Bound `applicationDataLen` against the bytes actually remaining and a maximum the format allows before allocating. — server/src/main/java/org/apache/seata/server/session/BranchSession.java:532
- `xidLen` is read from the bytes being parsed at line 536 (`getInt`), then used to size a `new byte[]` at line 538 — and nowhere in its scope is `xidLen` bounded from above — compared to a limit, clamped, or checked against the input that remains (a zero or sign test, or the loop that counts up to it, bounds nothing). Whoever wrote those bytes therefore chooses the allocation directly: a 32-bit length asks for up to 2 GiB before a single byte of the payload is known to exist, which either exhausts the heap with an `OutOfMemoryError` or, negative, throws `NegativeArraySizeException` out of a parser whose failure path was written for malformed input, not for hostile input. Bound `xidLen` against the bytes actually remaining and a maximum the format allows before allocating. — server/src/main/java/org/apache/seata/server/session/BranchSession.java:538
What to do
- Each finding names the read that takes the length from the input and the site that spends it, and states that the value is never compared in between. Confirm from the two, then bound the length against the remaining stream before using it.
X16 · Unfloored truncation loop
X17 · Uncapped recursion over a caller-supplied document
X18 · Disposal-pattern correctness
- `GlobalSession` declares `close()` — so it has told every caller, and every try-with-resources, that it holds something worth releasing — and it creates `resourceLock` itself (line 121, `new ResourceLock(…)`), which makes that instance its own. But `resourceLock` is named in none of the methods the disposal search covered: `close` (line 274) — that is `close()` plus every method it calls on `this` BY NAME, so a release reached through a superclass, a callback or a registry is not followed and is worth checking before acting. The field is released nowhere else in the class and is never handed to anything else, so no other owner can be releasing it. On what was read, closing this object releases everything except the one thing it owns: whatever `new ResourceLock(…)` holds — a file descriptor, a socket, a pool's live threads — outlives it, and a long-running process runs out of them one closed instance at a time. Release it in `close()` (`resourceLock.close()`), or, if it truly does not need releasing, drop the `close()` so the claim and the behaviour agree. — server/src/main/java/org/apache/seata/server/session/GlobalSession.java:121
What to do
- Each finding names the value and the span that decides who owns it — the `new` that created it, or the constructor parameter that handed it over. Confirm ownership from that span, then make the disposal match it: release what this type created, leave what it was injected with to whoever created THAT, and drop a finalizer whose type holds nothing unmanaged to release.
X19 · Unrestored process-global state
X20 · Mistyped argument guard
X21 · Side-effecting pattern guard
X22 · Contradicted release guard
X23 · Unguarded diagnostic materialisation
X24 · Document value interpolated into markup unescaped
- `key` is text this program did not author, and it is written into the text of an element through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework's escaping output, or sanitise it if it must stay markup. (×2) — REDACTED:614, REDACTED:649
- `warnMessage` is text this program did not author, and it is written into the text of an element through `dangerouslySetInnerHTML` with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework's escaping output, or sanitise it if it must stay markup. (×3) — REDACTED:792, REDACTED:818, REDACTED:863
What to do
- Each finding names the expression, the attribute it lands in and the line. Confirm the value's origin from the read this analyzer traced, then escape it at the sink or validate it against the shape the attribute accepts before interpolating.
X25 · Inert configuration knob
X26 · Unsynchronised callback handoff
X27 · Collection changed while being enumerated
X28 · Index access outside its own emptiness guard
X29 · Per-element action decided by a fixed element
X3 · Exception handling
- An empty catch block silently discards the error — failures vanish with no log and no rethrow. Log it, handle it, or don't catch it. (×5) — common/src/main/java/org/apache/seata/common/exception/ResourceBundleUtil.java:47, config/seata-config-zk/src/main/java/org/apache/seata/config/zk/ZookeeperConfiguration.java:148, core/src/main/java/org/apache/seata/core/rpc/netty/AbstractNettyRemotingClient.java:335, …
- `catch (Exception)` takes every exception and records none of it — the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter. (×3) — discovery/seata-discovery-namingserver/src/main/java/org/apache/seata/discovery/registry/namingserver/NamingserverRegistryServiceImpl.java:257, rm-datasource/src/main/java/org/apache/seata/rm/datasource/sql/struct/cache/KingbaseTableMetaCache.java:211, rm-datasource/src/main/java/org/apache/seata/rm/datasource/sql/struct/cache/DmTableMetaCache.java:221
What to do
- Swallowed exception (empty catch)
X30 · Support guard that admits what it rejects
X4 · Structured logging
- `error` at line 106 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.error("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text. — compatible/src/main/java/io/seata/saga/rm/SagaResourceManager.java:106
- `error` at line 113 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.error("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text. — compatible/src/main/java/io/seata/saga/rm/SagaResourceManager.java:113
- `error` at line 153 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.error("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text. — compatible/src/main/java/io/seata/saga/rm/SagaResourceManager.java:153
- `error` at line 160 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.error("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text. — compatible/src/main/java/io/seata/saga/rm/SagaResourceManager.java:160
- `warn` at line 60 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.warn("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text. — compatible/src/main/java/io/seata/tm/api/DefaultFailureHandlerImpl.java:60
- `warn` at line 69 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.warn("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text. (×2) — compatible/src/main/java/io/seata/tm/api/DefaultFailureHandlerImpl.java:69, config/seata-config-core/src/main/java/org/apache/seata/config/file/YamlFileConfig.java:69
- `warn` at line 137 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.warn("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text. — config/seata-config-zk/src/main/java/org/apache/seata/config/zk/ZookeeperConfiguration.java:137
- `info` at line 39 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.info("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text. — core/src/main/java/org/apache/seata/core/logger/StackTraceLogger.java:39
- `warn` at line 49 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.warn("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text. — core/src/main/java/org/apache/seata/core/logger/StackTraceLogger.java:49
- `error` at line 59 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.error("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text. — core/src/main/java/org/apache/seata/core/logger/StackTraceLogger.java:59
- `info` at line 56 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.info("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text. (×3) — core/src/main/java/org/apache/seata/core/rpc/netty/NettyPoolableFactory.java:56, core/src/main/java/org/apache/seata/core/rpc/processor/client/RmBranchRollbackProcessor.java:56, core/src/main/java/org/apache/seata/core/rpc/processor/client/RmBranchCommitProcessor.java:56
- `info` at line 82 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.info("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text. — core/src/main/java/org/apache/seata/core/rpc/netty/NettyPoolableFactory.java:82
- `info` at line 122 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.info("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text. — core/src/main/java/org/apache/seata/core/rpc/netty/NettyPoolableFactory.java:122
- `info` at line 135 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.info("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text. — core/src/main/java/org/apache/seata/core/rpc/netty/NettyPoolableFactory.java:135
- `info` at line 183 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.info("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text. — core/src/main/java/org/apache/seata/core/rpc/netty/AbstractNettyRemotingServer.java:183
- `info` at line 251 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.info("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text. — core/src/main/java/org/apache/seata/core/rpc/netty/AbstractNettyRemotingServer.java:251
- `info` at line 256 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.info("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text. — core/src/main/java/org/apache/seata/core/rpc/netty/AbstractNettyRemotingServer.java:256
- `info` at line 260 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.info("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text. — core/src/main/java/org/apache/seata/core/rpc/netty/AbstractNettyRemotingServer.java:260
- `info` at line 300 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.info("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text. — core/src/main/java/org/apache/seata/core/rpc/netty/AbstractNettyRemotingServer.java:300
- `info` at line 315 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.info("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text. — core/src/main/java/org/apache/seata/core/rpc/netty/AbstractNettyRemotingServer.java:315
- `info` at line 784 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.info("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text. — core/src/main/java/org/apache/seata/core/rpc/netty/AbstractNettyRemotingClient.java:784
- `debug` at line 255 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.debug("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text. — core/src/main/java/org/apache/seata/core/rpc/netty/AbstractNettyRemoting.java:255
- `debug` at line 303 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.debug("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text. — core/src/main/java/org/apache/seata/core/rpc/netty/AbstractNettyRemoting.java:303
- `info` at line 332 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.info("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text. — core/src/main/java/org/apache/seata/core/rpc/netty/AbstractNettyRemoting.java:332
- `debug` at line 102 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.debug("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text. — core/src/main/java/org/apache/seata/core/rpc/netty/v0/ProtocolEncoderV0.java:102
- `debug` at line 140 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.debug("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text. — core/src/main/java/org/apache/seata/core/rpc/netty/v0/ProtocolDecoderV0.java:140
- `info` at line 49 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.info("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text. — core/src/main/java/org/apache/seata/core/rpc/processor/client/RmUndoLogProcessor.java:49
- `error` at line 58 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.error("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text. — core/src/main/java/org/apache/seata/core/rpc/processor/client/RmUndoLogProcessor.java:58
- `debug` at line 66 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.debug("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text. — core/src/main/java/org/apache/seata/core/rpc/processor/client/RmBranchRollbackProcessor.java:66
- `debug` at line 65 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.debug("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text. — core/src/main/java/org/apache/seata/core/rpc/processor/client/RmBranchCommitProcessor.java:65
- `info` at line 92 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.info("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text. — core/src/main/java/org/apache/seata/core/rpc/processor/server/ServerOnResponseProcessor.java:92
- `info` at line 130 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.info("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text. — core/src/main/java/org/apache/seata/core/rpc/processor/server/ServerOnRequestProcessor.java:130
- `info` at line 138 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.info("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text. — core/src/main/java/org/apache/seata/core/rpc/processor/server/ServerOnRequestProcessor.java:138
- `warn` at line 155 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.warn("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text. — core/src/main/java/org/apache/seata/core/serializer/SerializerServiceLoader.java:155
- `error` at line 107 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.error("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text. — integration-tx-api/src/main/java/org/apache/seata/integration/tx/api/interceptor/handler/GlobalTransactionalInterceptorHandler.java:107
- `error` at line 76 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.error("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text. — integration-tx-api/src/main/java/org/apache/seata/integration/tx/api/interceptor/handler/CombineTransactionalInterceptorHandler.java:76
- `info` at line 111 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: `log.info("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text. — mock-server/src/main/java/org/apache/seata/mockserver/MockServer.java:111
What to do
- Interpolated log message defeats structured logging
X5 · Nullable reference types
- ~0.6 `!` null assertions per 1k TypeScript source lines — 3 assertion(s) across the 4693 source line(s) of the 44 TypeScript file(s) read, which is the only code the operator asserts anything in (a `!` in a `.js` file is not this operator and was not counted, and one in a file whose null checking is off silences nothing). Densest: REDACTED (3). Each one tells the compiler to trust the author about null, suppressing the very diagnostic `strictNullChecks` exists to produce.
What to do
- The findings name the configuration each number was taken from and, for the assertions, the files that hold them. Turn null checking on where it is off — `"strict": true` in the base tsconfig that the others extend switches `strictNullChecks` on with the rest of the family — and then resolve the assertions rather than adding to them. A `!` on a value the checker could show to be null is a promise the author cannot check from where they are standing, and each one is a `TypeError: Cannot read properties of null` waiting for the path that makes it true; where the value genuinely cannot be null, say something the checker can see instead (narrow it with a test, make the property required, drop the `?`).
WCAG coverage — what static analysis assessed
| Dimension | WCAG 2.2 A/AA criteria | Coverage |
|---|---|---|
| AC1 · Text alternatives | 1.1.1, 1.2.2, 1.2.5 | Partial signal |
| AC2 · Forms & labels | 1.3.1, 3.3.2, 4.1.2 | Partial signal |
| AC3 · Page structure | 1.4.4, 2.2.1, 2.4.1, 2.4.2, 3.1.1, 4.1.2 | Partial signal |
| AC4 · Keyboard semantics | 2.1.1, 2.4.3 | Partial signal |
| AC6 · Visual & motion safety | 1.4.3, 2.4.7 | Partial — literal CSS only |
| AC7 · A11y enforcement | enforcement — no page criterion | Enforcement posture (process) |
Reference — by lens
| Lens | Score | Rating | Impact |
|---|---|---|---|
| Code Health | 69% | Adequate | Acceptable, with room to improve. |
| Architecture | 64% | Adequate — gated by R11 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Maturity | 68% | Adequate | Acceptable, with room to improve. |
| Readiness | 49% | Weak — gated by R4 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Security | 56% | Adequate — gated by D29, D30, D31, D36 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Accessibility | 29% | Weak — gated by AC1, AC4, AC6 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Performance | 79% | Strong | Strongest area. |
Unscored — 1 check(s) recorded observations but carry no score
- X10 Duplicated predicate — 25 observation(s) recorded · Advisory — this card reports evidence and never carries a score.
Not evidenced — 4 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.
- P5 DR & Backup — not evidenced — repo shows no backup/RTO/RPO controls; absence of evidence is not evidence of a working control
Not included — 46 check(s) not relevant to this codebase
- AC5 ARIA correctness — No ARIA usage found in the parsed markup — AC5 not applicable here.
- AX2 Stateful singletons — No container singleton was found, so there is no shared instance for concurrent requests to race on. No class in this Kotlin code is a Spring, JSR-330 or CDI singleton bean. No function in this Python code is served by a threaded web framework (a Flask, Bottle or FastAPI route, a Django or Pyramid view), so no module is shared between request threads. 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 — no exported interface declares behaviour
- 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
- AXB2 Runtime readiness — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- AXR1 Runtime accessibility — docker build failed (exit 1) — DEPRECATED: The legacy builder is deprecated and will be removed in a future release. Install the buildx component to build images with BuildKit: https://docs.docker.com/go/bui…; runtime evidence skipped This is a statement about this run, not a statement about your application: nothing here says the surface is inaccessible, only that it was never rendered.
- C1 Data Protection — Not assessed: these personal data 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 personal data 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.
- 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.
- D1 Cyclomatic Complexity — cyclomatic complexity not measured — .java, .lua exposed no member bodies
- D11 Test Reliability — Test reliability not measured — JavaScript/TypeScript suite did not run
- D12 Dependency Hygiene — Dependency currency not established — repository.apache.org did not answer
- D15 Churn × Complexity Hotspots — complexity unreadable for .java, .lua — churn × complexity hotspots could not be measured
- 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.
- D2 Cognitive Complexity — cognitive complexity not measured — .java, .lua exposed no member bodies
- 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, nor 2+ projects each declaring an entity of their own. 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
- D26 Project Cohesion — D26 measured no build unit over this repository's .java, .lua source. Not scored: this is a gap in the analyzer, not a verdict about this repository.
- D27 Navigability — D27 reads resolved call sites in the languages it reads only — this repository's production source is .java, .kt, .lua, .py, which was left unread. Not scored: this is a gap in the analyzer, not a verdict about this repository.
- D3 God Classes — Most of this repository's production source (.java, .lua) was not read by god-class detection, so class size was not assessed for the languages that are the product — whatever else this pass did read is not this repository's class size. Not scored — this is a gap in the analyzer, not a verdict about this repository.
- D32 Data Compliance (PII/GDPR) — 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.
- 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 — Duplication not measured — .java, .lua not exposed to the token comparison
- D42 Runtime Threat Enforcement — The repository ships application workloads but no cluster-governance resources (CRDs, admission webhooks, or a committed policy engine). Runtime threat-detection (Falco/Tetragon) and admission control (Kyverno/OPA-Gatekeeper/PodSecurity) are cluster-OPERATOR controls owned by the platform, not shipped by an application repo/chart — nothing for this repo to assess.
- 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: the JavaScript/TypeScript half could not be measured — console/src/main/resources/static/console-fe/test/ runs mocha but declares no coverage provider, so the suite can run and still produce no lcov — add `c8` (or `nyc`) as a devDependency so the suite can be wrapped for coverage. Coverage is excluded from the score rather than counted as a near-zero. The named suite step is one the repository's maintainers can perform; once it passes, the real number is measured on the next scan. Alternatively, commit the lcov/Cobertura report your CI produces and it is read without a re-run.
- D9 Test Distribution — Test distribution not scored — polyglot repository, one half's tests are uncountable
- DM1 Domain Modelling — not scored — this repository shows none of the 3 signals this lens looks for
- ED1 Event-Driven — not scored — this repository shows none of the 3 signals this lens looks for
- ED5 Idempotency — no mutating command handlers or message consumers detected — idempotency check not applicable
- 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#, F#, JavaScript/TypeScript, Dart, Ruby and Scala, and none was read for this repository's product. That is a limit of the analyzer, not a finding about your code.
- P12 CI test-gate honesty — 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.
- 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 (JaCoCo XML — `mvn jacoco:report`) 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 `@Benchmark` in a Java, Kotlin or Scala file importing JMH or kotlinx-benchmark, Jetpack Benchmark's `measureRepeated` in a file importing androidx.benchmark, or JMH/kotlinx-benchmark/androidx.benchmark in a pom.xml, Gradle or sbt build, 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.
- S1 Web-Security Posture — Not assessed: these web-security 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 web-security 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.
- SC1 Supply-chain hygiene — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X2 Cancellation propagation — no C# was loaded; this repository's Java, Python and Kotlin were read, and no request in it can be cancelled by a caller (Ktor, OkHttp's newCall or a URL stream, from a suspend function) — a Java request off Android takes no token: it is cancelled through the handle it returns (Future.cancel, Call.cancel, a Disposable), ambiently (io.grpc.Context) or by interrupting its thread, not through a parameter; a Python request takes no token: asyncio cancels the task and trio or anyio the scope that made it, from outside the call, and requests, httpx, aiohttp and gRPC take a timeout, not a cancellation; a Kotlin request outside a suspend function has no caller's cancellation to honour
- 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.
- 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 — 79 finding(s)
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- <img> without a text alternative console/src/main/resources/static/console-fe/src/pages/Login/Login.tsx:89
- <img> without a text alternative saga/seata-saga-statemachine-designer/src/index.html:36
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Boundary-crossing change coupling: NamingManager.java ↔ VGroupMappingController.java namingserver/src/main/java/org/apache/seata/namingserver/manager/NamingManager.java:1
- Boundary-crossing change coupling: NamingserverRegistryServiceImpl.java ↔ NamingManager.java discovery/seata-discovery-namingserver/src/main/java/org/apache/seata/discovery/registry/namingserver/NamingserverRegistryServiceImpl.java:1
- Click handler on a non-interactive <span> console/src/main/resources/static/console-fe/src/components/Header/Header.tsx:132
- Dependency-rule violation: seata-metrics-core (Domain) → seata-metrics-api (Web)
- Banned license: com.mysql:mysql-connector-j
- REDACTED
- Unlisted import '@alifd/next' console/src/main/resources/static/console-fe/src/reducers/locale.ts:18
- Unlisted import 'qs' console/src/main/resources/static/console-fe/src/service/clusterManager.ts:19
Serious — 292 finding(s)
- Boundary violation [package:third-party-deep-import] saga/seata-saga-statemachine-designer/src/Editor.js:23
- Boundary violation [package:third-party-deep-import] saga/seata-saga-statemachine-designer/src/Editor.js:24
- Boundary violation [package:third-party-deep-import] saga/seata-saga-statemachine-designer/src/Editor.js:25
- Boundary violation [package:third-party-deep-import] saga/seata-saga-statemachine-designer/src/Editor.js:26
- Boundary violation [package:third-party-deep-import] saga/seata-saga-statemachine-designer/src/Editor.js:27
- Boundary violation [package:third-party-deep-import] saga/seata-saga-statemachine-designer/src/Editor.js:28
- Boundary violation [package:third-party-deep-import] saga/seata-saga-statemachine-designer/src/Editor.js:29
- Boundary violation [package:third-party-deep-import] saga/seata-saga-statemachine-designer/src/Editor.js:30
- Boundary violation [package:third-party-deep-import] saga/seata-saga-statemachine-designer/src/Editor.js:31
- Boundary violation [package:third-party-deep-import] saga/seata-saga-statemachine-designer/src/Editor.js:32
- Boundary violation [package:third-party-deep-import] saga/seata-saga-statemachine-designer/src/Editor.js:33
- Boundary violation [package:third-party-deep-import] saga/seata-saga-statemachine-designer/src/Editor.js:34
- Boundary violation [package:third-party-deep-import] saga/seata-saga-statemachine-designer/src/Editor.js:35
- Boundary violation [package:third-party-deep-import] saga/seata-saga-statemachine-designer/src/Editor.js:36
- Boundary violation [package:third-party-deep-import] saga/seata-saga-statemachine-designer/src/Editor.js:37
- Boundary violation [package:third-party-deep-import] saga/seata-saga-statemachine-designer/src/Editor.js:38
- Boundary violation [package:third-party-deep-import] saga/seata-saga-statemachine-designer/src/Editor.js:39
- Boundary violation [package:third-party-deep-import] saga/seata-saga-statemachine-designer/src/Editor.js:40
- Boundary violation [package:third-party-deep-import] saga/seata-saga-statemachine-designer/src/Editor.js:41
- Boundary violation [package:third-party-deep-import] saga/seata-saga-statemachine-designer/src/Editor.js:42
- Boundary violation [package:third-party-deep-import] saga/seata-saga-statemachine-designer/src/Editor.js:43
- Boundary violation [package:third-party-deep-import] saga/seata-saga-statemachine-designer/src/Editor.js:44
- Boundary violation [package:third-party-deep-import] saga/seata-saga-statemachine-designer/src/Editor.js:45
- Boundary violation [package:third-party-deep-import] saga/seata-saga-statemachine-designer/src/layout/Layouter.js:20
- Boundary violation [package:third-party-deep-import] saga/seata-saga-statemachine-designer/src/layout/Layouter.js:22
- No test reaches this file REDACTED:1
- No test reaches this file saga/seata-saga-statemachine-designer/src/render/Renderer.js:1
- No test reaches this file console/src/main/resources/static/console-fe/src/pages/GlobalLockInfo/GlobalLockInfo.tsx:1
- No test reaches this file console/src/main/resources/static/console-fe/src/pages/ClusterManager/ClusterManager.tsx:1
- No test reaches this file saga/seata-saga-statemachine-designer/src/layout/behavior/LayoutConnectionBehavior.js:1
- No test reaches this file saga/seata-saga-statemachine-designer/src/modeling/SagaImporter.js:1
- No test reaches this file saga/seata-saga-statemachine-designer/src/render/PathMap.js:1
- No test reaches this file console/src/main/resources/static/console-fe/src/service/transactionInfo.ts:1
- No test reaches this file saga/seata-saga-statemachine-designer/src/Editor.js:1
- No test reaches this file saga/seata-saga-statemachine-designer/src/properties-panel/PropertiesPanelRenderer.js:1
- No test reaches this file saga/seata-saga-statemachine-designer/src/properties-panel/PropertiesPanel.js:1
- No test reaches this file console/src/main/resources/static/console-fe/src/app.tsx:1
- No test reaches this file console/src/main/resources/static/console-fe/src/components/Header/Header.tsx:1
- No test reaches this file console/src/main/resources/static/console-fe/src/locales/en-us.ts:1
- No test reaches this file console/src/main/resources/static/console-fe/src/locales/zh-cn.ts:1
- No test reaches this file console/src/main/resources/static/console-fe/src/pages/Login/Login.tsx:1
- No test reaches this file saga/seata-saga-statemachine-designer/src/modeling/SagaRules.js:1
- No test reaches this file saga/seata-saga-statemachine-designer/src/providers/ContextPadProvider.js:1
- No test reaches this file saga/seata-saga-statemachine-designer/src/modeling/SagaExporter.js:1
- No test reaches this file saga/seata-saga-statemachine-designer/src/modeling/Modeling.js:1
- No test reaches this file saga/seata-saga-statemachine-designer/src/layout/behavior/LayoutUpdateBehavior.js:1
- No test reaches this file saga/seata-saga-statemachine-designer/src/providers/PaletteProvider.js:1
- No test reaches this file saga/seata-saga-statemachine-designer/src/layout/Layouter.js:1
- No test reaches this file saga/seata-saga-statemachine-designer/src/properties-panel/provider/PropertiesProvider.js:1
- No test reaches this file saga/seata-saga-statemachine-designer/src/properties-panel/provider/properties/StateProps.js:1
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- TodoComment compatible/src/test/java/io/seata/saga/engine/db/mockserver/StateMachineDBMockServerTests.java:74
- TodoComment rm-datasource/src/main/java/org/apache/seata/rm/datasource/undo/kingbase/KingbaseUndoUpdateExecutor.java:48
- TodoComment rm-datasource/src/main/java/org/apache/seata/rm/datasource/undo/mysql/MySQLUndoUpdateExecutor.java:54
- TodoComment rm-datasource/src/main/java/org/apache/seata/rm/datasource/undo/oceanbase/OceanBaseUndoUpdateExecutor.java:49
- TodoComment rm-datasource/src/main/java/org/apache/seata/rm/datasource/undo/oracle/OracleUndoUpdateExecutor.java:49
- TodoComment rm-datasource/src/main/java/org/apache/seata/rm/datasource/undo/postgresql/PostgresqlUndoUpdateExecutor.java:45
- TodoComment rm-datasource/src/main/java/org/apache/seata/rm/datasource/undo/sqlserver/SqlServerUndoUpdateExecutor.java:47
- TodoComment compatible/src/test/java/io/seata/saga/rm/SagaResourceManagerTest.java:235
- TodoComment config/seata-config-core/src/main/java/org/apache/seata/config/FileConfiguration.java:328
- TodoComment config/seata-config-core/src/main/java/org/apache/seata/config/FileConfiguration.java:331
- TodoComment config/seata-config-core/src/main/java/org/apache/seata/config/FileConfiguration.java:334
- TodoComment core/src/main/java/org/apache/seata/core/rpc/netty/v1/ProtocolEncoderV1.java:117
- TodoComment console/src/main/java/org/apache/seata/console/security/CustomUserDetails.java:43
- TodoComment console/src/main/resources/static/console-fe/src/contants/index.ts:21
- TodoComment core/src/main/java/org/apache/seata/core/rpc/netty/grpc/GrpcDecoder.java:119
- TodoComment server/src/main/java/org/apache/seata/server/session/SessionHelper.java:150
- TodoComment server/src/main/java/org/apache/seata/server/session/GlobalSession.java:286
- TodoComment server/src/main/java/org/apache/seata/server/storage/db/lock/DataBaseDistributedLocker.java:150
- TodoComment server/src/test/java/org/apache/seata/server/session/FileSessionManagerTest.java:478
- TodoComment sqlparser/seata-sqlparser-core/src/main/java/org/apache/seata/sqlparser/struct/TableMeta.java:144
- TodoComment sqlparser/seata-sqlparser-druid/src/main/java/org/apache/seata/sqlparser/druid/DefaultDruidLoader.java:45
- TodoComment test-suite/test-new-version/src/test/java/org/apache/seata/core/rpc/netty/mockserver/TmClientTest.java:71
- Focus outline removed in CSS without a :focus replacement saga/seata-saga-statemachine-designer/src/index.css:66
- Focus outline removed in CSS without a :focus replacement console/src/main/resources/static/console-fe/src/components/Header/index.scss:739
- Focus outline removed in CSS without a :focus replacement console/src/main/resources/static/console-fe/public/css/bootstrap.css:2298
- Focus outline removed in CSS without a :focus replacement console/src/main/resources/static/console-fe/public/css/bootstrap.css:3530
- Focus outline removed in CSS without a :focus replacement console/src/main/resources/static/console-fe/public/css/bootstrap.css:3589
- Focus outline removed in CSS without a :focus replacement console/src/main/resources/static/console-fe/public/css/bootstrap.css:3612
- Focus outline removed in CSS without a :focus replacement console/src/main/resources/static/console-fe/public/css/bootstrap.css:3684
- Focus outline removed in CSS without a :focus replacement console/src/main/resources/static/console-fe/public/css/bootstrap.css:3765
- Focus outline removed in CSS without a :focus replacement console/src/main/resources/static/console-fe/public/css/bootstrap.css:5991
- Focus outline removed in CSS without a :focus replacement console/src/main/resources/static/console-fe/public/css/bootstrap.css:6436
- Focus outline removed in CSS without a :focus replacement console/src/main/resources/static/console-fe/public/css/console1412.css:17
- Focus outline removed in CSS without a :focus replacement console/src/main/resources/static/console-fe/public/css/console1412.css:17
- Focus outline removed in CSS without a :focus replacement console/src/main/resources/static/console-fe/public/css/console1412.css:17
- Focus outline removed in CSS without a :focus replacement console/src/main/resources/static/console-fe/public/css/console1412.css:17
- Focus outline removed in CSS without a :focus replacement console/src/main/resources/static/console-fe/public/css/console1412.css:17
- Focus outline removed in CSS without a :focus replacement console/src/main/resources/static/console-fe/public/css/console1412.css:17
- Focus outline removed in CSS without a :focus replacement console/src/main/resources/static/console-fe/public/css/console1412.css:17
- Focus outline removed in CSS without a :focus replacement console/src/main/resources/static/console-fe/public/css/console1412.css:17
- Focus outline removed in CSS without a :focus replacement console/src/main/resources/static/console-fe/public/css/console1412.css:17
- Focus outline removed in CSS without a :focus replacement console/src/main/resources/static/console-fe/public/css/console1412.css:17
- Animation without a prefers-reduced-motion guard console/src/main/resources/static/console-fe/public/css/bootstrap.css:2689
- Animation without a prefers-reduced-motion guard console/src/main/resources/static/console-fe/public/css/bootstrap.css:5440
- Animation without a prefers-reduced-motion guard console/src/main/resources/static/console-fe/public/css/bootstrap.css:5451
- Animation without a prefers-reduced-motion guard console/src/main/resources/static/console-fe/public/css/bootstrap.css:5969
- Animation without a prefers-reduced-motion guard console/src/main/resources/static/console-fe/public/css/bootstrap.css:6353
- Animation without a prefers-reduced-motion guard console/src/main/resources/static/console-fe/public/css/console1412.css:17
- Animation without a prefers-reduced-motion guard console/src/main/resources/static/console-fe/public/css/console1412.css:17
- Animation without a prefers-reduced-motion guard console/src/main/resources/static/console-fe/public/css/console1412.css:17
- Animation without a prefers-reduced-motion guard console/src/main/resources/static/console-fe/public/css/console1412.css:17
- Animation without a prefers-reduced-motion guard console/src/main/resources/static/console-fe/public/css/console1412.css:17
- Animation without a prefers-reduced-motion guard console/src/main/resources/static/console-fe/public/css/font-awesome.css:111
- Animation without a prefers-reduced-motion guard console/src/main/resources/static/console-fe/public/css/font-awesome.css:115
- Animation without a prefers-reduced-motion guard console/src/main/resources/static/console-fe/src/layout/style.ts:32
- Length read from the parsed input is spent without ever being bounded serializer/seata-serializer-protobuf/src/main/java/org/apache/seata/serializer/protobuf/ProtobufSerializer.java:70
- Length read from the parsed input is spent without ever being bounded serializer/seata-serializer-seata/src/main/java/org/apache/seata/serializer/seata/protocol/transaction/BranchReportRequestCodec.java:107
- Length read from the parsed input is spent without ever being bounded serializer/seata-serializer-seata/src/main/java/org/apache/seata/serializer/seata/protocol/transaction/BranchRegisterRequestCodec.java:113
- Length read from the parsed input is spent without ever being bounded serializer/seata-serializer-seata/src/main/java/org/apache/seata/serializer/seata/protocol/transaction/BranchRegisterRequestCodec.java:120
- Length read from the parsed input is spent without ever being bounded server/src/main/java/org/apache/seata/server/session/GlobalSession.java:799
- Length read from the parsed input is spent without ever being bounded server/src/main/java/org/apache/seata/server/session/GlobalSession.java:805
- Length read from the parsed input is spent without ever being bounded server/src/main/java/org/apache/seata/server/session/BranchSession.java:506
- Length read from the parsed input is spent without ever being bounded server/src/main/java/org/apache/seata/server/session/BranchSession.java:512
- Length read from the parsed input is spent without ever being bounded server/src/main/java/org/apache/seata/server/session/BranchSession.java:532
- Length read from the parsed input is spent without ever being bounded server/src/main/java/org/apache/seata/server/session/BranchSession.java:538
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Untrusted text written into markup unescaped REDACTED:614
- Untrusted text written into markup unescaped REDACTED:649
- Untrusted text written into markup unescaped REDACTED:792
- Untrusted text written into markup unescaped REDACTED:818
- Untrusted text written into markup unescaped REDACTED:863
- Swallowed exception (empty catch) common/src/main/java/org/apache/seata/common/exception/ResourceBundleUtil.java:47
- Swallowed exception (empty catch) config/seata-config-zk/src/main/java/org/apache/seata/config/zk/ZookeeperConfiguration.java:148
- Swallowed exception (empty catch) core/src/main/java/org/apache/seata/core/rpc/netty/AbstractNettyRemotingClient.java:335
- Swallowed exception (empty catch) discovery/seata-discovery-namingserver/src/main/java/org/apache/seata/discovery/registry/namingserver/NamingserverRegistryServiceImpl.java:328
- Swallowed exception (empty catch) discovery/seata-discovery-zk/src/main/java/org/apache/seata/discovery/registry/zk/ZookeeperRegisterServiceImpl.java:142
- FixmeComment rm-datasource/src/main/java/org/apache/seata/rm/datasource/xa/ResourceManagerXA.java:178
- FixmeComment rm-datasource/src/main/java/org/apache/seata/rm/datasource/xa/ResourceManagerXA.java:182
- FixmeComment test-suite/test-new-version/src/test/java/org/apache/seata/saga/engine/StateMachineAsyncTests.java:155
- FixmeComment test-suite/test-new-version/src/test/java/org/apache/seata/saga/engine/db/StateMachineDBTests.java:766
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Duplicated block (13 lines × 2 locations) REDACTED:715
- Duplicated block (13 lines × 2 locations) REDACTED:983
- Duplicated block (13 lines × 2 locations) REDACTED:1228
- Swallowed exception (caught, then discarded) discovery/seata-discovery-namingserver/src/main/java/org/apache/seata/discovery/registry/namingserver/NamingserverRegistryServiceImpl.java:257
- Swallowed exception (caught, then discarded) rm-datasource/src/main/java/org/apache/seata/rm/datasource/sql/struct/cache/KingbaseTableMetaCache.java:211
- Swallowed exception (caught, then discarded) rm-datasource/src/main/java/org/apache/seata/rm/datasource/sql/struct/cache/DmTableMetaCache.java:221
- Page without a main landmark console/src/main/resources/static/console-fe/public/index.html:19
- Page without a main landmark saga/seata-saga-statemachine-designer/src/index.html:19
- REDACTED
- REDACTED
- Change-coupling hub: SofaRegistryServiceImpl.java → ConsulRegistryServiceImpl.java, EtcdRegistryServiceImpl.java, EurekaRegistryServiceImpl.java, NacosRegistryServiceImpl.java, RedisRegistryServiceImpl.java, ZookeeperRegisterServiceImpl.java discovery/seata-discovery-sofa/src/main/java/org/apache/seata/discovery/registry/sofa/SofaRegistryServiceImpl.java
- Change-coupling hub: ConsulRegistryServiceImpl.java → EtcdRegistryServiceImpl.java, NacosRegistryServiceImpl.java, RedisRegistryServiceImpl.java discovery/seata-discovery-consul/src/main/java/org/apache/seata/discovery/registry/consul/ConsulRegistryServiceImpl.java
- Unfinished stub — throws a "not implemented" exception rm-datasource/src/main/java/org/apache/seata/rm/datasource/sql/struct/TableRecords.java:332
- Unfinished stub — throws a "not implemented" exception rm-datasource/src/main/java/org/apache/seata/rm/datasource/sql/struct/TableRecords.java:337
- Duplicated block (16 lines × 6 locations) console/src/main/resources/static/console-fe/src/service/transactionInfo.ts:65
- Duplicated block (16 lines × 6 locations) console/src/main/resources/static/console-fe/src/service/transactionInfo.ts:74
- Duplicated block (8 lines × 2 locations) REDACTED:1303
- Duplicated block (8 lines × 2 locations) console/src/main/resources/static/console-fe/src/service/clusterManager.ts:41
- Complex function searchFilterOnChange (cyclomatic 11, cognitive 19) console/src/main/resources/static/console-fe/src/pages/GlobalLockInfo/GlobalLockInfo.tsx:215
- Complex function searchFilterOnChange (cyclomatic 11, cognitive 19) REDACTED:471
- Low contrast colour pair in CSS (3.6:1) console/src/main/resources/static/console-fe/public/css/bootstrap.css:3585
- Low contrast colour pair in CSS (2.4:1) console/src/main/resources/static/console-fe/public/css/console1412.css:17
- REDACTED
- REDACTED
- REDACTED
- Change coupling: EtcdRegistryServiceImpl.java ↔ RedisRegistryServiceImpl.java discovery/seata-discovery-etcd3/src/main/java/org/apache/seata/discovery/registry/etcd3/EtcdRegistryServiceImpl.java:1
- REDACTED
- End-of-life framework: Spring Boot 2 mock-server/pom.xml:1
- Unstable project io.seata:seata-all
- Unstable project org.apache.seata:seata-all
- Unstable project seata-config-all
- Unstable project seata-discovery-all
- Coverage not measured — JavaScript/TypeScript suite
- README may be stale
- Type Safety
- Duplication concentrated across 5 sibling directories (11 clone groups) console/src/main/resources/static/console-fe/src/pages/GlobalLockInfo/GlobalLockInfo.tsx:379
- Duplicated block (42 lines × 2 locations) console/src/main/resources/static/console-fe/src/pages/GlobalLockInfo/GlobalLockInfo.tsx:379
- Duplicated block (38 lines × 2 locations) console/src/main/resources/static/console-fe/src/pages/GlobalLockInfo/GlobalLockInfo.tsx:326
- Duplicated block (33 lines × 2 locations) REDACTED:657
- Duplicated block (28 lines × 2 locations) saga/seata-saga-statemachine-designer/src/properties-panel/provider/properties/BaseText.js:24
- Duplicated block (27 lines × 2 locations) REDACTED:594
- Duplicated block (23 lines × 2 locations) console/src/main/resources/static/console-fe/src/pages/GlobalLockInfo/GlobalLockInfo.tsx:212
- Duplicated block (22 lines × 2 locations) console/src/main/resources/static/console-fe/src/pages/ClusterManager/ClusterManager.tsx:98
- Duplicated block (21 lines × 2 locations) console/src/main/resources/static/console-fe/src/pages/GlobalLockInfo/GlobalLockInfo.tsx:139
- Duplicated block (19 lines × 3 locations) REDACTED:1247
- Duplicated block (18 lines × 4 locations) console/src/main/resources/static/console-fe/src/service/transactionInfo.ts:176
- Duplicated block (16 lines × 2 locations) console/src/main/resources/static/console-fe/src/pages/GlobalLockInfo/GlobalLockInfo.tsx:441
- Duplicated block (15 lines × 2 locations) REDACTED:524
- Duplicated block (14 lines × 2 locations) saga/seata-saga-statemachine-designer/src/render/Renderer.js:514
- Duplicated block (13 lines × 3 locations) REDACTED:783
- Duplicated block (12 lines × 2 locations) console/src/main/resources/static/console-fe/src/service/globalLockInfo.ts:43
- Duplicated block (12 lines × 5 locations) console/src/main/resources/static/console-fe/src/service/globalLockInfo.ts:60
- Duplicated block (10 lines × 11 locations) console/src/main/resources/static/console-fe/src/pages/GlobalLockInfo/GlobalLockInfo.tsx:301
- Duplicated block (10 lines × 2 locations) saga/seata-saga-statemachine-designer/src/render/Renderer.js:358
- Duplicated block (7 lines × 4 locations) console/src/main/resources/static/console-fe/src/pages/ClusterManager/ClusterManager.tsx:254
- Duplicated block (7 lines × 2 locations) REDACTED:567
- Duplicated block (6 lines × 5 locations) console/src/main/resources/static/console-fe/src/pages/ClusterManager/ClusterManager.tsx:263
- Duplicated block (6 lines × 2 locations) console/src/main/resources/static/console-fe/src/service/transactionInfo.ts:248
- Duplicated block (5 lines × 3 locations) console/src/main/resources/static/console-fe/src/pages/ClusterManager/ClusterManager.tsx:140
- Complex function parseEdge (cyclomatic 24, cognitive 36) saga/seata-saga-statemachine-designer/src/modeling/SagaExporter.js:42
- Complex function is (cyclomatic 17, cognitive 9) saga/seata-saga-statemachine-designer/src/utils/index.js:61
- Complex function loadNamespaces (cyclomatic 14, cognitive 21) console/src/main/resources/static/console-fe/src/pages/GlobalLockInfo/GlobalLockInfo.tsx:103
- Complex function (anonymous) (cyclomatic 13, cognitive 29) saga/seata-saga-statemachine-designer/src/modeling/SagaImporter.js:130
- Complex function (anonymous) (cyclomatic 12, cognitive 21) saga/seata-saga-statemachine-designer/src/spec/style/Node.js:337
- Complex function layoutConnection (cyclomatic 11, cognitive 10) saga/seata-saga-statemachine-designer/src/layout/Layouter.js:42
- REDACTED: 1371 lines of code REDACTED:1
- saga/seata-saga-statemachine-designer/src/render/Renderer.js: 575 lines of code saga/seata-saga-statemachine-designer/src/render/Renderer.js:1
- console/src/main/resources/static/console-fe/src/pages/GlobalLockInfo/GlobalLockInfo.tsx: 448 lines of code console/src/main/resources/static/console-fe/src/pages/GlobalLockInfo/GlobalLockInfo.tsx:1
- No typecheck script
- Unused dependency 'selenium-standalone'
- Owned disposable field is never released server/src/main/java/org/apache/seata/server/session/GlobalSession.java:121
Minor — 682 finding(s)
- Orphaned file sqlparser/seata-sqlparser-antlr/src/main/java/org/apache/seata/sqlparser/antlr/mysql/parser/MySqlParserBaseListener.java:1
- Orphaned file sqlparser/seata-sqlparser-antlr/src/main/java/org/apache/seata/sqlparser/antlr/mysql/parser/MySqlParserBaseVisitor.java:1
- Orphaned file sqlparser/seata-sqlparser-antlr/src/main/java/org/apache/seata/sqlparser/antlr/mysql/parser/MySqlParserVisitor.java:1
- Orphaned file rm-datasource/src/main/java/org/apache/seata/rm/datasource/sql/handler/oscar/OscarEscapeHandler.java:1
- Orphaned file saga/seata-saga-spring/src/main/java/org/apache/seata/saga/engine/store/db/DbAndReportTcStateLogStore.java:1
- Orphaned file server/src/main/java/org/apache/seata/server/storage/redis/store/RedisTransactionStoreManager.java:1
- Orphaned file saga/seata-saga-engine/src/main/java/org/apache/seata/saga/engine/impl/ProcessCtrlStateMachineEngine.java:1
- Orphaned file common/src/main/java/org/apache/seata/common/util/ReflectionUtil.java:1
- Orphaned file rm-datasource/src/main/java/org/apache/seata/rm/datasource/undo/parser/JacksonUndoLogParser.java:1
- Orphaned file rm-datasource/src/main/java/org/apache/seata/rm/datasource/sql/handler/mysql/MySQLEscapeHandler.java:1
- Orphaned file rm-datasource/src/main/java/org/apache/seata/rm/datasource/undo/AbstractUndoLogManager.java:1
- Orphaned file server/src/main/java/org/apache/seata/server/storage/db/store/LogStoreDataBaseDAO.java:1
- Orphaned file serializer/seata-serializer-protobuf/src/main/java/org/apache/seata/serializer/protobuf/manager/ProtobufConvertManager.java:1
- Orphaned file rm-datasource/src/main/java/org/apache/seata/rm/datasource/sql/handler/dm/DmEscapeHandler.java:1
- Orphaned file saga/seata-saga-engine/src/main/java/org/apache/seata/saga/engine/pcext/interceptors/ServiceTaskHandlerInterceptor.java:1
- Orphaned file saga/seata-saga-engine/src/main/java/org/apache/seata/saga/engine/config/AbstractStateMachineConfig.java:1
- Orphaned file config/seata-config-etcd3/src/main/java/org/apache/seata/config/etcd3/EtcdConfiguration.java:1
- Orphaned file rm-datasource/src/main/java/org/apache/seata/rm/datasource/sql/handler/sqlserver/SqlServerEscapeHandler.java:1
- Orphaned file REDACTED:1
- Orphaned file rm-datasource/src/main/java/org/apache/seata/rm/datasource/exec/BaseInsertExecutor.java:1
- Orphaned file saga/seata-saga-engine/src/main/java/org/apache/seata/saga/engine/pcext/utils/LoopTaskUtils.java:1
- Orphaned file compatible/src/main/java/io/seata/saga/engine/impl/DefaultStateMachineConfig.java:1
- Orphaned file config/seata-config-consul/src/main/java/org/apache/seata/config/consul/ConsulConfiguration.java:1
- Orphaned file discovery/seata-discovery-etcd3/src/main/java/org/apache/seata/discovery/registry/etcd3/EtcdRegistryServiceImpl.java:1
- Orphaned file rm-datasource/src/main/java/org/apache/seata/rm/datasource/exec/mysql/MySQLUpdateJoinExecutor.java:1
- No direct assertions: url: http://127.0.0.1:8811 console/src/main/resources/static/console-fe/test/sample/configurationManagement.spec.js:40
- No direct assertions: click: #username, 89, 41, 0 console/src/main/resources/static/console-fe/test/sample/configurationManagement.spec.js:54
- No direct assertions: sendKeys: seata console/src/main/resources/static/console-fe/test/sample/configurationManagement.spec.js:63
- No direct assertions: click: #password, 53, 34, 0 console/src/main/resources/static/console-fe/test/sample/configurationManagement.spec.js:67
- No direct assertions: sendKeys: seata console/src/main/resources/static/console-fe/test/sample/configurationManagement.spec.js:76
- No direct assertions: click: 提交 ( //button[text()="提交"], 321, 30, 0 ) console/src/main/resources/static/console-fe/test/sample/configurationManagement.spec.js:80
- No direct assertions: click: div:nth-child(1) > div.next-form-item-control > span.next-medium > input[type="text"], 178, 9, 0 console/src/main/resources/static/console-fe/test/sample/configurationManagement.spec.js:89
- No direct assertions: sendKeys: test_test console/src/main/resources/static/console-fe/test/sample/configurationManagement.spec.js:101
- No direct assertions: click: 查询 ( //button[text()="查询"], 3, 9, 0 ) console/src/main/resources/static/console-fe/test/sample/configurationManagement.spec.js:105
- No direct assertions: click: #viewFramework-product-body i.next-icon-add, 15, 27, 0 console/src/main/resources/static/console-fe/test/sample/configurationManagement.spec.js:114
- No direct assertions: click: Data ID: ( #dataId, 154, 20, 0 ) console/src/main/resources/static/console-fe/test/sample/configurationManagement.spec.js:123
- No direct assertions: sendKeys: test_test console/src/main/resources/static/console-fe/test/sample/configurationManagement.spec.js:132
- No direct assertions: dblClick: Group: ( #group, 89, 11, 0 ) console/src/main/resources/static/console-fe/test/sample/configurationManagement.spec.js:136
- No direct assertions: click: #viewFramework-product-body i.next-icon-delete-filling, 11, 7, 0 console/src/main/resources/static/console-fe/test/sample/configurationManagement.spec.js:146
- No direct assertions: sendKeys: test console/src/main/resources/static/console-fe/test/sample/configurationManagement.spec.js:155
- No direct assertions: click: 更多高级选项 ( //a[text()="更多高级选项"], 61, 3, 0 ) console/src/main/resources/static/console-fe/test/sample/configurationManagement.spec.js:159
- No direct assertions: click: span.next-select-trigger-search > input[role="combobox"]:nth-child(1), 66, 8, 0 console/src/main/resources/static/console-fe/test/sample/configurationManagement.spec.js:168
- No direct assertions: click: span.next-select-trigger-search > input[role="combobox"]:nth-child(1), 71, 16, 0 console/src/main/resources/static/console-fe/test/sample/configurationManagement.spec.js:177
- No direct assertions: click: 归属应用: ( #appName, 50, 19, 0 ) console/src/main/resources/static/console-fe/test/sample/configurationManagement.spec.js:186
- No direct assertions: click: 收起 ( //a[text()="收起"], 16, 5, 0 ) console/src/main/resources/static/console-fe/test/sample/configurationManagement.spec.js:195
- No direct assertions: click: #desc, 77, 40, 0 console/src/main/resources/static/console-fe/test/sample/configurationManagement.spec.js:204
- No direct assertions: sendKeys: test console/src/main/resources/static/console-fe/test/sample/configurationManagement.spec.js:213
- No direct assertions: scrollElementTo: #viewFramework-product-body, 0, 49 console/src/main/resources/static/console-fe/test/sample/configurationManagement.spec.js:217
- No direct assertions: click: #container div.view-line, 60, 15, 0 console/src/main/resources/static/console-fe/test/sample/configurationManagement.spec.js:225
- No direct assertions: sendKeys: test console/src/main/resources/static/console-fe/test/sample/configurationManagement.spec.js:234
- Interpolated log message defeats structured logging compatible/src/main/java/io/seata/saga/rm/SagaResourceManager.java:106
- Interpolated log message defeats structured logging compatible/src/main/java/io/seata/saga/rm/SagaResourceManager.java:113
- Interpolated log message defeats structured logging compatible/src/main/java/io/seata/saga/rm/SagaResourceManager.java:153
- Interpolated log message defeats structured logging compatible/src/main/java/io/seata/saga/rm/SagaResourceManager.java:160
- Interpolated log message defeats structured logging compatible/src/main/java/io/seata/tm/api/DefaultFailureHandlerImpl.java:60
- Interpolated log message defeats structured logging compatible/src/main/java/io/seata/tm/api/DefaultFailureHandlerImpl.java:69
- Interpolated log message defeats structured logging config/seata-config-core/src/main/java/org/apache/seata/config/file/YamlFileConfig.java:69
- Interpolated log message defeats structured logging config/seata-config-zk/src/main/java/org/apache/seata/config/zk/ZookeeperConfiguration.java:137
- Interpolated log message defeats structured logging core/src/main/java/org/apache/seata/core/logger/StackTraceLogger.java:39
- Interpolated log message defeats structured logging core/src/main/java/org/apache/seata/core/logger/StackTraceLogger.java:49
- Interpolated log message defeats structured logging core/src/main/java/org/apache/seata/core/logger/StackTraceLogger.java:59
- Interpolated log message defeats structured logging core/src/main/java/org/apache/seata/core/rpc/netty/NettyPoolableFactory.java:56
- Interpolated log message defeats structured logging core/src/main/java/org/apache/seata/core/rpc/netty/NettyPoolableFactory.java:82
- Interpolated log message defeats structured logging core/src/main/java/org/apache/seata/core/rpc/netty/NettyPoolableFactory.java:122
- Interpolated log message defeats structured logging core/src/main/java/org/apache/seata/core/rpc/netty/NettyPoolableFactory.java:135
- Interpolated log message defeats structured logging core/src/main/java/org/apache/seata/core/rpc/netty/AbstractNettyRemotingServer.java:183
- Interpolated log message defeats structured logging core/src/main/java/org/apache/seata/core/rpc/netty/AbstractNettyRemotingServer.java:251
- Interpolated log message defeats structured logging core/src/main/java/org/apache/seata/core/rpc/netty/AbstractNettyRemotingServer.java:256
- Interpolated log message defeats structured logging core/src/main/java/org/apache/seata/core/rpc/netty/AbstractNettyRemotingServer.java:260
- Interpolated log message defeats structured logging core/src/main/java/org/apache/seata/core/rpc/netty/AbstractNettyRemotingServer.java:300
- Interpolated log message defeats structured logging core/src/main/java/org/apache/seata/core/rpc/netty/AbstractNettyRemotingServer.java:315
- Interpolated log message defeats structured logging core/src/main/java/org/apache/seata/core/rpc/netty/AbstractNettyRemotingClient.java:784
- Interpolated log message defeats structured logging core/src/main/java/org/apache/seata/core/rpc/netty/AbstractNettyRemoting.java:255
- Interpolated log message defeats structured logging core/src/main/java/org/apache/seata/core/rpc/netty/AbstractNettyRemoting.java:303
- Interpolated log message defeats structured logging core/src/main/java/org/apache/seata/core/rpc/netty/AbstractNettyRemoting.java:332
- Disabled test core/src/test/java/org/apache/seata/core/rpc/processor/client/ClientOnResponseProcessorTest.java:98
- Disabled test discovery/seata-discovery-core/src/test/java/org/apache/seata/discovery/loadbalance/LoadBalanceFactoryTest.java:51
- Disabled test discovery/seata-discovery-core/src/test/java/org/apache/seata/discovery/loadbalance/LoadBalanceFactoryTest.java:72
- Disabled test discovery/seata-discovery-core/src/test/java/org/apache/seata/discovery/loadbalance/LoadBalanceFactoryTest.java:87
- Disabled test discovery/seata-discovery-etcd3/src/test/java/org/apache/seata/discovery/registry/etcd3/EtcdRegistryServiceImplTest.java:45
- Disabled test discovery/seata-discovery-namingserver/src/test/java/org/apache/seata/discovery/registry/namingserver/NamingserverRegistryServiceImplTest.java:144
- Disabled test discovery/seata-discovery-namingserver/src/test/java/org/apache/seata/discovery/registry/namingserver/NamingserverRegistryServiceImplTest.java:152
- Disabled test discovery/seata-discovery-namingserver/src/test/java/org/apache/seata/discovery/registry/namingserver/NamingserverRegistryServiceImplTest.java:160
- Disabled test discovery/seata-discovery-namingserver/src/test/java/org/apache/seata/discovery/registry/namingserver/NamingserverRegistryServiceImplTest.java:221
- Disabled test discovery/seata-discovery-namingserver/src/test/java/org/apache/seata/discovery/registry/namingserver/NamingserverRegistryServiceImplTest.java:246
- Disabled test discovery/seata-discovery-namingserver/src/test/java/org/apache/seata/discovery/registry/namingserver/NamingserverRegistryServiceImplTest.java:278
- Disabled test discovery/seata-discovery-namingserver/src/test/java/org/apache/seata/discovery/registry/namingserver/NamingserverRegistryServiceImplTest.java:302
- Disabled test discovery/seata-discovery-namingserver/src/test/java/org/apache/seata/discovery/registry/namingserver/NamingserverRegistryServiceImplTest.java:344
- Disabled test discovery/seata-discovery-namingserver/src/test/java/org/apache/seata/discovery/registry/namingserver/NamingserverRegistryServiceImplTest.java:373
- Disabled test rm-datasource/src/test/java/org/apache/seata/rm/datasource/exec/AbstractDMLBaseExecutorTest.java:108
- Disabled test server/src/test/java/org/apache/seata/server/coordinator/DefaultCoordinatorMetricsTest.java:49
- Disabled test server/src/test/java/org/apache/seata/server/coordinator/DefaultCoordinatorTest.java:160
- Disabled test test-suite/test-new-version/src/test/java/LocalTransactionWithGlobalLockDataSourceBasicTest.java:41
- Disabled test test-suite/test-new-version/src/test/java/org/apache/seata/at/ATModeSupportDataBaseDataTypeTest.java:67
- Disabled test test-suite/test-new-version/src/test/java/org/apache/seata/at/mysql/MysqlUpdateJoinTest.java:57
- Disabled test test-suite/test-new-version/src/test/java/org/apache/seata/at/oracle/SupportOracleDataTypeTest.java:65
- Disabled test test-suite/test-new-version/src/test/java/org/apache/seata/integration/rocketmq/SeataMQProducerSendTest.java:52
- Disabled test test-suite/test-new-version/src/test/java/org/apache/seata/saga/annotation/rm/interceptor/parser/SagaActionInterceptorParserTest.java:176
- Disabled test test-suite/test-new-version/src/test/java/org/apache/seata/saga/engine/StateMachineAsyncTests.java:140
- Disabled test test-suite/test-new-version/src/test/java/org/apache/seata/saga/engine/db/StateMachineDBTests.java:331
- Duplicated predicate saga/seata-saga-annotation/src/main/java/org/apache/seata/saga/rm/interceptor/SagaAnnotationActionInterceptorHandler.java:59
- Duplicated predicate rm-datasource/src/main/java/org/apache/seata/rm/datasource/exec/kingbase/KingbaseInsertExecutor.java:129
- Duplicated predicate rm-datasource/src/main/java/org/apache/seata/rm/datasource/exec/kingbase/KingbaseInsertExecutor.java:127
- Duplicated predicate rm-datasource/src/main/java/org/apache/seata/rm/datasource/exec/kingbase/KingbaseInsertExecutor.java:122
- Duplicated predicate rm-datasource/src/main/java/org/apache/seata/rm/datasource/exec/mysql/MySQLInsertExecutor.java:195
- Duplicated predicate rm-datasource/src/main/java/org/apache/seata/rm/datasource/exec/dm/DmInsertExecutor.java:82
- Duplicated predicate server/src/main/java/org/apache/seata/server/env/PortHelper.java:42
- Duplicated predicate json-common/json-common-core/src/main/java/org/apache/seata/common/json/impl/JacksonJsonSerializer.java:164
- Duplicated predicate json-common/json-common-core/src/main/java/org/apache/seata/common/json/impl/Fastjson2JsonSerializer.java:127
- Duplicated predicate compatible/src/main/java/io/seata/saga/engine/config/DbStateMachineConfig.java:170
- Duplicated predicate rm-datasource/src/main/java/org/apache/seata/rm/datasource/undo/AbstractUndoLogManager.java:159
- Duplicated predicate compatible/src/main/java/io/seata/saga/rm/SagaResourceManager.java:97
- Duplicated predicate compatible/src/main/java/io/seata/saga/rm/SagaResourceManager.java:100
- Duplicated predicate compatible/src/main/java/io/seata/saga/rm/SagaResourceManager.java:92
- Duplicated predicate server/src/main/java/org/apache/seata/server/cluster/raft/execute/global/UpdateGlobalSessionExecute.java:42
- Duplicated predicate server/src/main/java/org/apache/seata/server/session/AbstractSessionManager.java:85
- Duplicated predicate server/src/main/java/org/apache/seata/server/cluster/raft/snapshot/session/RaftSessionSnapshot.java:68
- Duplicated predicate rm-datasource/src/main/java/org/apache/seata/rm/datasource/undo/AbstractUndoExecutor.java:116
- Duplicated predicate integration-tx-api/src/main/java/org/apache/seata/integration/tx/api/util/JsonUtil.java:38
- Duplicated predicate core/src/main/java/org/apache/seata/core/rpc/netty/MultiProtocolDecoder.java:173
- Duplicated predicate compatible/src/main/java/io/seata/saga/rm/SagaResourceManager.java:139
- Duplicated predicate rm-datasource/src/main/java/org/apache/seata/rm/datasource/DataSourceManager.java:62
- Duplicated predicate discovery/seata-discovery-namingserver/src/main/java/org/apache/seata/discovery/registry/namingserver/NamingserverRegistryServiceImpl.java:573
- Duplicated predicate config/seata-config-apollo/src/main/java/org/apache/seata/config/apollo/ApolloConfiguration.java:152
- Duplicated predicate extensions/rpc/seata-http-jakarta/src/main/java/org/apache/seata/integration/http/jakarta/JakartaTransactionPropagationInterceptor.java:55
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Most significant orphaned file sqlparser/seata-sqlparser-antlr/src/main/java/org/apache/seata/sqlparser/antlr/mysql/parser/MySqlParser.java:1
- Most significant orphaned file sqlparser/seata-sqlparser-antlr/src/main/java/org/apache/seata/sqlparser/antlr/mysql/parser/MySqlLexer.java:1
- Most significant orphaned file sqlparser/seata-sqlparser-antlr/src/main/java/org/apache/seata/sqlparser/antlr/mysql/parser/MySqlParserListener.java:1
- README/code drift server/src/main/resources/README-zh.md:42
- README/code drift server/src/main/resources/README-zh.md:43
- README/code drift server/src/main/resources/README.md:43
- Accessibility enforcement below the top rung
- Off-boarding risk: anonymized user #1
- Further sole-owners (lower concentration)
- No ADRs found
- REDACTED
- REDACTED
- Concentrated knowledge decay
- REDACTED
- REDACTED
- REDACTED
- No network policy
- No seccomp profile REDACTED:38
- No ADRs
- Logging is not universal
- Unused module-local declaration 'callSpec' console/src/main/resources/static/console-fe/test/sample/configurationManagement.spec.js:758
- Unused module-local declaration 'catchError' console/src/main/resources/static/console-fe/test/sample/configurationManagement.spec.js:776
- Null assertions (`!`) reduce the strict null checking score
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-c2492939eeb04d2cbc9d84b5332b8b9b/history.json --exit-code 0 --source . | 4 | 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-c2492939eeb04d2cbc9d84b5332b8b9b/tree.json --exit-code 0 --source . | 1 | 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 . | 76 | artifacts/raw/semgrep.json |
| D30 · Dependency Vulnerabilities | osv-scanner | — | osv-scanner --format json --recursive --experimental-disable-plugins transitivedependency/requirements --experimental-disable-plugins dotnet/csproj --experimental-disable-plugins dotnet/nugetcpm . | 14 | artifacts/raw/osv-scanner.json |
| D31 · IaC & Container Security | trivy | — | trivy config --format json --quiet . | 66 | artifacts/raw/trivy-config.json |
| 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. | 0 | — |
| D42 · Runtime Threat Enforcement | runtime-hardening | — | runtime-hardening: not applicable — The repository ships application workloads but no cluster-governance resources (CRDs, admission webhooks, or a committed policy engine). Runtime threat-detection (Falco/Tetragon) and admission control (Kyverno/OPA-Gatekeeper/PodSecurity) are cluster-OPERATOR controls owned by the platform, not shipped by an application repo/chart — nothing for this repo to assess. | 0 | — |
| D43 · Malicious Dependencies | osv-scanner | — | osv-scanner --format json --recursive --experimental-disable-plugins transitivedependency/requirements --experimental-disable-plugins dotnet/csproj --experimental-disable-plugins dotnet/nugetcpm . | 0 | artifacts/raw/osv-scanner.json |