Public report of banq/jivejdon, published 9 November 2026. It has the same score, grades and number of
findings as the full report. The details of security findings (where they are in the code, which known
vulnerabilities and which passwords or keys were found) are left out, so nobody can use them against the project.
Public
Executive reportMeasured under the Code Assurance Index, an open standard for code quality, using its published scoring rules (rubric version 2026.11.2). Assert signed this survey and filed it in the standard's public register, where anyone can look it up by its survey ID. Check this survey β
Signed and filed in the standard's public register, 9 November 2026, 19:27 UTC Β· Survey ID cd_14a880fbe5be4023abcc7249451548e8
banq/jivejdon
Measured 9 November 2026, 19:26 UTC, at code version 2b562aa
Code coverage is not measured: Suite not runnable in-image and no committed report.
CAI scoreAt riskUp 3 since the last survey
The score is built from these lenses. Each lens grades one area of the code, such as how easy it is to change or how well it is protected. The weakest lens counts most, so one weak area pulls the score down instead of being averaged away.
A medium codebase: 45,931 lines of product code in 1 project, tests not counted Β· Estimated rebuild effort: about 0.4 person-years Β· Weakest lens: Production Readiness, 22
Findings by how serious they are
115 critical665 serious106 minor
13 dimensions are left out of the score. For each one, we either couldn't measure it in this code, or found no evidence of the safeguard we look for, such as a tested backup restore. They count neither for nor against the score, and Limitations lists each one with its reason.
This survey was produced by
Canine Code Analyzer
Producer
Canine Development
Analyzer
Canine Code Analyzer engine 1.0.0
Measured
9 November 2026, 19:26 UTC
A measurement, not a certificate. The Code Assurance Index records a number
together with the evidence it was worked out from, so anyone can recalculate it, but it doesn't certify or guarantee
the code. The standard was written by Canine Development, which also builds the Canine Code Analyzer. It is open to any tool that
implements it, and today the Canine Code Analyzer is the only one that does.
A critical security finding is open, such as a library with a known critical vulnerability or a password or key found in the code. The score itself is unchanged, but its band shows At risk until the finding is fixed. See the Security and Compliance lens.
The score is deterministic, which means the same code always gets the same score. We work it out with tools that follow published rules, and an AI model never decides it, so anyone who applies the same rules to the same code gets the same number. How it is done is explained under Methodology βΈ
80of 80 dimensions measured by tools.
873of 886 findings point to an exact file and line, so you can open each one in the code. The other 13 concern the repository as a whole, such as missing documentation.
80dimensions across 7 lenses, read from 45,931 lines of product code in 1 project.
banq/jivejdon is rated At risk because critical security findings are open. Its score is held back because we found no working pipeline that builds or tests changes to the code and no automated security scanning of the code, its secrets or its dependencies. It scores 32 out of 100, which the At risk rating leaves unchanged.
Production Readiness, at 22, is the weakest lens and counts most in the score. The best first step is replacing the two packages under a banned licence, worth about 4 points. Adding an automated build and test pipeline would lift Production Readiness itself, worth about 3 points. Raising Production Readiness to 70 would lift the score to about 40.
Seven known security holes in the packages the code depends on can be used by attackers. Seven passwords or keys are open to anyone who can read the repository, and forty images have no description for people who can't see them. Updating the vulnerable packages, replacing each exposed password or key and describing the images would close these risks. Reading outside data into plain values would fix the place where outside data is turned straight into objects, and the place where the code runs text as code or as a command needs a direct call instead. The 34 form fields without a label need a label.
The product code is 45,931 lines, about β¬53,000 to rebuild. The check for the health of its packages couldn't finish, so that result is missing, not a clean pass.
A lens is capped at Adequate while one of its dimensions scores below 4 out of 10, however well the rest of the lens does. That way a serious problem in one place always shows in the lens's rating.
How the score is built: what each lens counts forThe lenses don't count equally. The weakest lens counts most, the next weakest a little less, and so on, so a weak area pulls the score down instead of being averaged away. In the bar below, each part's width shows how much that lens counts and its colour shows its rating. Improving the widest part moves the score most, and as that lens improves, it counts for less, because another lens becomes the weakest.
Visual & motion safety Β· Focus outline removed in CSS without a :focus replacement application/common/ckeditor/skins/moono-lisa/dialog.css
We compare every finding with the previous survey's. A finding that has only moved to another line in the same file counts as the same finding, so only new findings appear here. Advisory notes from the AI model are left out, because the model words them afresh in every survey.
Fixed since the last survey: 380 findings
These 380 critical or serious findings were in the previous survey, on 22 October 2026, and are gone from this one. The first 100 are listed here.
Explicit Debt Β· TodoComment repeated across 14 files src/main/java/com/jdon/jivejdon/domain/model/realtime/NotificationLocator.java
Text alternatives Β· <img> without a text alternative application/thread/messageListBody.jsp
Forms & labels Β· <input> without a programmatic label application/admin/search/hotkeys.jsp
Forms & labels Β· <input> without a programmatic label application/admin/sitemap/urlList.jsp
Forms & labels Β· <input> without a programmatic label application/admin/tag/threadTag.jsp
Forms & labels Β· <input> without a programmatic label application/admin/tag/threadTag.jsp
Forms & labels Β· <input> without a programmatic label application/admin/tag/threadTag.jsp
Forms & labels Β· <input> without a programmatic label application/admin/tag/threadTag.jsp
Forms & labels Β· <input> without a programmatic label application/admin/tag/threadTag.jsp
Forms & labels Β· <input> without a programmatic label application/admin/tag/threadTagList.jsp
Forms & labels Β· <input> without a programmatic label application/admin/tag/threadTagList.jsp
Forms & labels Β· <input> without a programmatic label application/admin/tag/threadTagList.jsp
Forms & labels Β· <input> without a programmatic label application/admin/tag/threadTagList.jsp
Forms & labels Β· <input> without a programmatic label application/admin/tag/threadTagList.jsp
Forms & labels Β· <input> without a programmatic label application/admin/user/editAccount.jsp
Forms & labels Β· <input> without a programmatic label application/admin/user/editAccount.jsp
Forms & labels Β· <input> without a programmatic label application/admin/user/editAccount.jsp
Forms & labels Β· <input> without a programmatic label application/admin/user/userBanIPList.jsp
Forms & labels Β· <input> without a programmatic label application/admin/user/userBanIPList.jsp
Forms & labels Β· <input> without a programmatic label application/admin/user/userBanIPList.jsp
Forms & labels Β· <input> without a programmatic label application/admin/user/userBanIPList.jsp
Forms & labels Β· <input> without a programmatic label application/admin/user/userList.jsp
Forms & labels Β· <input> without a programmatic label application/admin/user/userMessageList.jsp
Forms & labels Β· <input> without a programmatic label application/admin/user/userMessageList.jsp
Forms & labels Β· Link with no accessible name application/blog/header.jsp
Forms & labels Β· <input> without a programmatic label application/blog/header.jsp
Forms & labels Β· Custom control with no accessible name on <img> application/blog/header.jsp
Forms & labels Β· <button> with no accessible text REDACTED
Forms & labels Β· <input> without a programmatic label REDACTED
Forms & labels Β· <select> without a programmatic label REDACTED
Forms & labels Β· <select> without a programmatic label REDACTED
Forms & labels Β· Link with no accessible name REDACTED
Rebuild cost: about β¬53,000 Β· Estimate
Cost to rebuild
β¬18,000 to β¬89,000, for 294 to 932 hours of work, about 0.4 person-years for one engineer
Difficulty of the problem
High, 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 32. 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
Medium: 45,931 lines of product code
What it is not
Not a quotation: nobody has offered to build it for that. Not a valuation: it says nothing about what the business is worth. Not a certified figure: no professional has signed it as one.
How the estimate is made: We price the hours a team would need to write this code again, at β¬60 to β¬95 an hour. Declarations and boilerplate are priced at a fast rate and logic at a slower one, and the logic is then multiplied by the difficulty of the problem and by the quality factor. The estimate can be about 30% off either way, and it moves most with the hourly rate and the difficulty. For this code, every line is priced as straight logic, which keeps the estimate on the low side.
Top priorities
The three actions that raise the score most for the work they take. The full ranked list is in the Roadmap.
1
Resolve the 2 Banned license finding(s) in License Compliance.
Add a CI workflow that builds and runs the test suite on every push/PR.
Raises the score by about 3 points Β· Medium effort Β· CI/CD gates
3
Run what this repository's stack ships: spotbugs with find-sec-bugs β or `semgrep --config=auto`, which runs on any language β locally for now, since there is no CI pipeline here yet, and as a step of the first workflow you add so a security regression fails the build instead of landing.
Each conclusion below combines several dimensions into one point that no single dimension shows, and lists the measurements it rests on.
Where the investment is most exposed Β· Value at risk
This code would cost about β¬53,000 to build again, about 0.4 person-years of work. Its weakest lens is Production Readiness, at 22 (Critical). Production Readiness is about whether the product is ready to run in production and to change without breaking. Because the weakest lens counts most in the score, work on Production Readiness also moves the score most.
Based on: the rebuild estimate · the Production Readiness grade · how much each lens counts
What to do: Start with the Production Readiness actions in Top priorities.
If you do one thing first Β· First action
Resolve the 2 Banned license finding(s) in License Compliance. Of all the actions in this report, it raises the score most for the work it takes: about 4 points for low effort, because it clears the 2 License Compliance findings. The next survey will show the change in the score.
Based on: the ranked actions in Top priorities, by score gain and effort
What hard-to-read code costs each year Β· Cost
Four dimensions measure how easy the code is to work in: two measure how tangled its logic is, one how much of it is copied, and one how well each part sticks to a single job. In this codebase they average 7.1 out of 10. Code at that level is slower to change than clean code, and we estimate the extra work at 2% to 5% on every change. The history of the code shows how much it changes: about 3,127 lines over the last 90 days, which is about 12,682 lines a year. At that pace, the extra work comes to an estimated 0.7 to 4.2 engineer-days a year, and it grows as more code changes.
How this is estimated: The number of changed lines is measured from the history of the code. The rest rests on two assumptions of our own: code scoring 8 out of 10 or more adds no extra work, and each point below 8 adds 2.5% to 5.6% to every change, never less than 2% to 5% and never more than 40% to 60% in all; and an engineer changes 150 to 400 lines in a day. The result is a range for planning, not a measurement.
Based on: Cyclomatic Complexity · Cognitive Complexity · Code Duplication · Cohesion (LCOM4) · the code's change history
What to do: Start with the files listed under Churn × Complexity Hotspots, which change often and are hard to read, because that is where the extra work is paid most often.
Architecture: which parts of the code depend on which
The code is divided into modules, groups of code that each handle one part of the product, and a module depends on another when it uses code from it. The table lists the modules both down the side and across the top, in an order where each module should only use modules listed above it. A number in a cell means the module on that row uses the module in that column, and it counts the pairs of building blocks (types) that connect them. The one thing to look for is a mark above the diagonal line. It means two or more modules use each other in a loop (a dependency cycle), so none of them can be changed, tested or released on its own.
124 modules, with 438 dependencies between them. 3 loops run through 39 of the modules, marked above the diagonal.
The table shows the 40 modules with the most connections; 84 more are left out to keep it readable.
Which modules use which. The module on each row uses the module in each column, and the number counts the pairs of types that connect them. A cell above the diagonal is part of a loop.
domain.model.message uses domain.model, so a change to domain.model can break domain.model.message, while a change to domain.model.message can't break domain.model.
Position
Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
domain.model.realtime uses domain.model.util, so a change to domain.model.util can break domain.model.realtime, while a change to domain.model.realtime can't break domain.model.util.
Position
Below the diagonal: domain.model.realtime uses a module listed above it, which is the healthy direction.
3β21 domain.model.realtime uses domain.modelpart of a loop✕
Connections
1 pair of types, where a type in domain.model.realtime uses a type in domain.model.
domain.model.realtime uses domain.model, so a change to domain.model can break domain.model.realtime, while a change to domain.model.realtime can't break domain.model.
Position
Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
3β25 domain.model.realtime uses domain.model.accountpart of a loop✕
Connections
1 pair of types, where a type in domain.model.realtime uses a type in domain.model.account.
domain.model.realtime uses domain.model.account, so a change to domain.model.account can break domain.model.realtime, while a change to domain.model.realtime can't break domain.model.account.
Position
Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
4β25 domain.model.shortmessage uses domain.model.accountpart of a loop✕
Connections
2 pairs of types, where a type in domain.model.shortmessage uses a type in domain.model.account.
domain.model.shortmessage uses domain.model.account, so a change to domain.model.account can break domain.model.shortmessage, while a change to domain.model.shortmessage can't break domain.model.account.
Position
Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
domain.model.message.output.beanutil uses domain.model.message, so a change to domain.model.message can break domain.model.message.output.beanutil, while a change to domain.model.message.output.beanutil can't break domain.model.message.
Position
Below the diagonal: domain.model.message.output.beanutil uses a module listed above it, which is the healthy direction.
infrastructure.dto uses domain.model.message, so a change to domain.model.message can break infrastructure.dto, while a change to infrastructure.dto can't break domain.model.message.
Position
Below the diagonal: infrastructure.dto uses a module listed above it, which is the healthy direction.
6β19 infrastructure.dto uses domain.model.propertypart of a loop✕
Connections
1 pair of types, where a type in infrastructure.dto uses a type in domain.model.property.
infrastructure.dto uses domain.model.property, so a change to domain.model.property can break infrastructure.dto, while a change to infrastructure.dto can't break domain.model.property.
Position
Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
6β20 infrastructure.dto uses domain.commandpart of a loop✕
Connections
2 pairs of types, where a type in infrastructure.dto uses a type in domain.command.
infrastructure.dto uses domain.command, so a change to domain.command can break infrastructure.dto, while a change to infrastructure.dto can't break domain.command.
Position
Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
6β21 infrastructure.dto uses domain.modelpart of a loop✕
Connections
2 pairs of types, where a type in infrastructure.dto uses a type in domain.model.
infrastructure.dto uses domain.model, so a change to domain.model can break infrastructure.dto, while a change to infrastructure.dto can't break domain.model.
Position
Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
6β23 infrastructure.dto uses domain.model.attachmentpart of a loop✕
Connections
1 pair of types, where a type in infrastructure.dto uses a type in domain.model.attachment.
infrastructure.dto uses domain.model.attachment, so a change to domain.model.attachment can break infrastructure.dto, while a change to infrastructure.dto can't break domain.model.attachment.
Position
Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
6β25 infrastructure.dto uses domain.model.accountpart of a loop✕
Connections
1 pair of types, where a type in infrastructure.dto uses a type in domain.model.account.
infrastructure.dto uses domain.model.account, so a change to domain.model.account can break infrastructure.dto, while a change to infrastructure.dto can't break domain.model.account.
Position
Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
domain.model.message.upload uses domain.model.message, so a change to domain.model.message can break domain.model.message.upload, while a change to domain.model.message.upload can't break domain.model.message.
Position
Below the diagonal: domain.model.message.upload uses a module listed above it, which is the healthy direction.
domain.model.message.upload uses domain.model.message.output.beanutil, so a change to domain.model.message.output.beanutil can break domain.model.message.upload, while a change to domain.model.message.upload can't break domain.model.message.output.beanutil.
Position
Below the diagonal: domain.model.message.upload uses a module listed above it, which is the healthy direction.
8β23 domain.model.message.upload uses domain.model.attachmentpart of a loop✕
Connections
2 pairs of types, where a type in domain.model.message.upload uses a type in domain.model.attachment.
domain.model.message.upload uses domain.model.attachment, so a change to domain.model.attachment can break domain.model.message.upload, while a change to domain.model.message.upload can't break domain.model.attachment.
Position
Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
infrastructure.repository.acccount uses util, so a change to util can break infrastructure.repository.acccount, while a change to infrastructure.repository.acccount can't break util.
Position
Below the diagonal: infrastructure.repository.acccount uses a module listed above it, which is the healthy direction.
9β13 infrastructure.repository.acccount uses infrastructure.repository.daopart of a loop✕
Connections
1 pair of types, where a type in infrastructure.repository.acccount uses a type in infrastructure.repository.dao.
infrastructure.repository.acccount uses infrastructure.repository.dao, so a change to infrastructure.repository.dao can break infrastructure.repository.acccount, while a change to infrastructure.repository.acccount can't break infrastructure.repository.dao.
Position
Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
9β25 infrastructure.repository.acccount uses domain.model.accountpart of a loop✕
Connections
6 pairs of types, where a type in infrastructure.repository.acccount uses a type in domain.model.account.
infrastructure.repository.acccount uses domain.model.account, so a change to domain.model.account can break infrastructure.repository.acccount, while a change to infrastructure.repository.acccount can't break domain.model.account.
Position
Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
infrastructure.repository.property uses util, so a change to util can break infrastructure.repository.property, while a change to infrastructure.repository.property can't break util.
Position
Below the diagonal: infrastructure.repository.property uses a module listed above it, which is the healthy direction.
10β13 infrastructure.repository.property uses infrastructure.repository.daopart of a loop✕
Connections
4 pairs of types, where a type in infrastructure.repository.property uses a type in infrastructure.repository.dao.
infrastructure.repository.property uses infrastructure.repository.dao, so a change to infrastructure.repository.dao can break infrastructure.repository.property, while a change to infrastructure.repository.property can't break infrastructure.repository.dao.
Position
Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
10β19 infrastructure.repository.property uses domain.model.propertypart of a loop✕
Connections
5 pairs of types, where a type in infrastructure.repository.property uses a type in domain.model.property.
infrastructure.repository.property uses domain.model.property, so a change to domain.model.property can break infrastructure.repository.property, while a change to infrastructure.repository.property can't break domain.model.property.
Position
Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
10β23 infrastructure.repository.property uses domain.model.attachmentpart of a loop✕
Connections
2 pairs of types, where a type in infrastructure.repository.property uses a type in domain.model.attachment.
infrastructure.repository.property uses domain.model.attachment, so a change to domain.model.attachment can break infrastructure.repository.property, while a change to infrastructure.repository.property can't break domain.model.attachment.
Position
Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
spi.component.query uses domain.model.message.upload, so a change to domain.model.message.upload can break spi.component.query, while a change to spi.component.query can't break domain.model.message.upload.
Position
Below the diagonal: spi.component.query uses a module listed above it, which is the healthy direction.
spi.component.query uses infrastructure.repository.acccount, so a change to infrastructure.repository.acccount can break spi.component.query, while a change to spi.component.query can't break infrastructure.repository.acccount.
Position
Below the diagonal: spi.component.query uses a module listed above it, which is the healthy direction.
spi.component.query uses infrastructure.repository.property, so a change to infrastructure.repository.property can break spi.component.query, while a change to spi.component.query can't break infrastructure.repository.property.
Position
Below the diagonal: spi.component.query uses a module listed above it, which is the healthy direction.
11β12 spi.component.query uses domain.model.querypart of a loop✕
Connections
1 pair of types, where a type in spi.component.query uses a type in domain.model.query.
spi.component.query uses domain.model.query, so a change to domain.model.query can break spi.component.query, while a change to spi.component.query can't break domain.model.query.
Position
Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
11β13 spi.component.query uses infrastructure.repository.daopart of a loop✕
Connections
1 pair of types, where a type in spi.component.query uses a type in infrastructure.repository.dao.
spi.component.query uses infrastructure.repository.dao, so a change to infrastructure.repository.dao can break spi.component.query, while a change to spi.component.query can't break infrastructure.repository.dao.
Position
Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
11β15 spi.component.query uses infrastructure.repositorypart of a loop✕
Connections
2 pairs of types, where a type in spi.component.query uses a type in infrastructure.repository.
spi.component.query uses infrastructure.repository, so a change to infrastructure.repository can break spi.component.query, while a change to spi.component.query can't break infrastructure.repository.
Position
Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
11β23 spi.component.query uses domain.model.attachmentpart of a loop✕
Connections
1 pair of types, where a type in spi.component.query uses a type in domain.model.attachment.
spi.component.query uses domain.model.attachment, so a change to domain.model.attachment can break spi.component.query, while a change to spi.component.query can't break domain.model.attachment.
Position
Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
domain.model.query uses spi.component.query, so a change to spi.component.query can break domain.model.query, while a change to domain.model.query can't break spi.component.query.
Position
Below the diagonal: domain.model.query uses a module listed above it, which is the healthy direction.
12β21 domain.model.query uses domain.modelpart of a loop✕
Connections
1 pair of types, where a type in domain.model.query uses a type in domain.model.
domain.model.query uses domain.model, so a change to domain.model can break domain.model.query, while a change to domain.model.query can't break domain.model.
Position
Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
infrastructure.repository.dao uses domain.model.util, so a change to domain.model.util can break infrastructure.repository.dao, while a change to infrastructure.repository.dao can't break domain.model.util.
Position
Below the diagonal: infrastructure.repository.dao uses a module listed above it, which is the healthy direction.
infrastructure.repository.dao uses domain.model.message, so a change to domain.model.message can break infrastructure.repository.dao, while a change to infrastructure.repository.dao can't break domain.model.message.
Position
Below the diagonal: infrastructure.repository.dao uses a module listed above it, which is the healthy direction.
infrastructure.repository.dao uses domain.model.shortmessage, so a change to domain.model.shortmessage can break infrastructure.repository.dao, while a change to infrastructure.repository.dao can't break domain.model.shortmessage.
Position
Below the diagonal: infrastructure.repository.dao uses a module listed above it, which is the healthy direction.
infrastructure.repository.dao uses infrastructure.dto, so a change to infrastructure.dto can break infrastructure.repository.dao, while a change to infrastructure.repository.dao can't break infrastructure.dto.
Position
Below the diagonal: infrastructure.repository.dao uses a module listed above it, which is the healthy direction.
infrastructure.repository.dao uses domain.model.query, so a change to domain.model.query can break infrastructure.repository.dao, while a change to infrastructure.repository.dao can't break domain.model.query.
Position
Below the diagonal: infrastructure.repository.dao uses a module listed above it, which is the healthy direction.
13β18 infrastructure.repository.dao uses domain.model.subscriptionpart of a loop✕
Connections
1 pair of types, where a type in infrastructure.repository.dao uses a type in domain.model.subscription.
infrastructure.repository.dao uses domain.model.subscription, so a change to domain.model.subscription can break infrastructure.repository.dao, while a change to infrastructure.repository.dao can't break domain.model.subscription.
Position
Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
13β19 infrastructure.repository.dao uses domain.model.propertypart of a loop✕
Connections
2 pairs of types, where a type in infrastructure.repository.dao uses a type in domain.model.property.
infrastructure.repository.dao uses domain.model.property, so a change to domain.model.property can break infrastructure.repository.dao, while a change to infrastructure.repository.dao can't break domain.model.property.
Position
Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
13β21 infrastructure.repository.dao uses domain.modelpart of a loop✕
Connections
4 pairs of types, where a type in infrastructure.repository.dao uses a type in domain.model.
infrastructure.repository.dao uses domain.model, so a change to domain.model can break infrastructure.repository.dao, while a change to infrastructure.repository.dao can't break domain.model.
Position
Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
13β23 infrastructure.repository.dao uses domain.model.attachmentpart of a loop✕
Connections
1 pair of types, where a type in infrastructure.repository.dao uses a type in domain.model.attachment.
infrastructure.repository.dao uses domain.model.attachment, so a change to domain.model.attachment can break infrastructure.repository.dao, while a change to infrastructure.repository.dao can't break domain.model.attachment.
Position
Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
13β25 infrastructure.repository.dao uses domain.model.accountpart of a loop✕
Connections
2 pairs of types, where a type in infrastructure.repository.dao uses a type in domain.model.account.
infrastructure.repository.dao uses domain.model.account, so a change to domain.model.account can break infrastructure.repository.dao, while a change to infrastructure.repository.dao can't break domain.model.account.
Position
Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
domain.model.message.output uses domain.model.message, so a change to domain.model.message can break domain.model.message.output, while a change to domain.model.message.output can't break domain.model.message.
Position
Below the diagonal: domain.model.message.output uses a module listed above it, which is the healthy direction.
domain.model.message.output uses util, so a change to util can break domain.model.message.output, while a change to domain.model.message.output can't break util.
Position
Below the diagonal: domain.model.message.output uses a module listed above it, which is the healthy direction.
domain.model.message.output uses infrastructure.repository.dao, so a change to infrastructure.repository.dao can break domain.model.message.output, while a change to domain.model.message.output can't break infrastructure.repository.dao.
Position
Below the diagonal: domain.model.message.output uses a module listed above it, which is the healthy direction.
infrastructure.repository uses domain.model.util, so a change to domain.model.util can break infrastructure.repository, while a change to infrastructure.repository can't break domain.model.util.
Position
Below the diagonal: infrastructure.repository uses a module listed above it, which is the healthy direction.
infrastructure.repository uses infrastructure.dto, so a change to infrastructure.dto can break infrastructure.repository, while a change to infrastructure.repository can't break infrastructure.dto.
Position
Below the diagonal: infrastructure.repository uses a module listed above it, which is the healthy direction.
infrastructure.repository uses infrastructure.repository.dao, so a change to infrastructure.repository.dao can break infrastructure.repository, while a change to infrastructure.repository can't break infrastructure.repository.dao.
Position
Below the diagonal: infrastructure.repository uses a module listed above it, which is the healthy direction.
15β21 infrastructure.repository uses domain.modelpart of a loop✕
Connections
5 pairs of types, where a type in infrastructure.repository uses a type in domain.model.
infrastructure.repository uses domain.model, so a change to domain.model can break infrastructure.repository, while a change to infrastructure.repository can't break domain.model.
Position
Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
spi.component.shortmessage uses domain.model.shortmessage, so a change to domain.model.shortmessage can break spi.component.shortmessage, while a change to spi.component.shortmessage can't break domain.model.shortmessage.
Position
Below the diagonal: spi.component.shortmessage uses a module listed above it, which is the healthy direction.
spi.component.shortmessage uses infrastructure.repository.acccount, so a change to infrastructure.repository.acccount can break spi.component.shortmessage, while a change to spi.component.shortmessage can't break infrastructure.repository.acccount.
Position
Below the diagonal: spi.component.shortmessage uses a module listed above it, which is the healthy direction.
spi.component.shortmessage uses infrastructure.repository.dao, so a change to infrastructure.repository.dao can break spi.component.shortmessage, while a change to spi.component.shortmessage can't break infrastructure.repository.dao.
Position
Below the diagonal: spi.component.shortmessage uses a module listed above it, which is the healthy direction.
16β25 spi.component.shortmessage uses domain.model.accountpart of a loop✕
Connections
1 pair of types, where a type in spi.component.shortmessage uses a type in domain.model.account.
spi.component.shortmessage uses domain.model.account, so a change to domain.model.account can break spi.component.shortmessage, while a change to spi.component.shortmessage can't break domain.model.account.
Position
Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
spi.component.subscription uses infrastructure.repository.acccount, so a change to infrastructure.repository.acccount can break spi.component.subscription, while a change to spi.component.subscription can't break infrastructure.repository.acccount.
Position
Below the diagonal: spi.component.subscription uses a module listed above it, which is the healthy direction.
spi.component.subscription uses infrastructure.repository.property, so a change to infrastructure.repository.property can break spi.component.subscription, while a change to spi.component.subscription can't break infrastructure.repository.property.
Position
Below the diagonal: spi.component.subscription uses a module listed above it, which is the healthy direction.
spi.component.subscription uses infrastructure.repository.dao, so a change to infrastructure.repository.dao can break spi.component.subscription, while a change to spi.component.subscription can't break infrastructure.repository.dao.
Position
Below the diagonal: spi.component.subscription uses a module listed above it, which is the healthy direction.
spi.component.subscription uses infrastructure.repository, so a change to infrastructure.repository can break spi.component.subscription, while a change to spi.component.subscription can't break infrastructure.repository.
Position
Below the diagonal: spi.component.subscription uses a module listed above it, which is the healthy direction.
spi.component.subscription uses spi.component.shortmessage, so a change to spi.component.shortmessage can break spi.component.subscription, while a change to spi.component.subscription can't break spi.component.shortmessage.
Position
Below the diagonal: spi.component.subscription uses a module listed above it, which is the healthy direction.
17β18 spi.component.subscription uses domain.model.subscriptionpart of a loop✕
Connections
1 pair of types, where a type in spi.component.subscription uses a type in domain.model.subscription.
spi.component.subscription uses domain.model.subscription, so a change to domain.model.subscription can break spi.component.subscription, while a change to spi.component.subscription can't break domain.model.subscription.
Position
Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
domain.model.subscription uses domain.model.util, so a change to domain.model.util can break domain.model.subscription, while a change to domain.model.subscription can't break domain.model.util.
Position
Below the diagonal: domain.model.subscription uses a module listed above it, which is the healthy direction.
domain.model.subscription uses spi.component.subscription, so a change to spi.component.subscription can break domain.model.subscription, while a change to domain.model.subscription can't break spi.component.subscription.
Position
Below the diagonal: domain.model.subscription uses a module listed above it, which is the healthy direction.
18β25 domain.model.subscription uses domain.model.accountpart of a loop✕
Connections
1 pair of types, where a type in domain.model.subscription uses a type in domain.model.account.
domain.model.subscription uses domain.model.account, so a change to domain.model.account can break domain.model.subscription, while a change to domain.model.subscription can't break domain.model.account.
Position
Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
domain.model.property uses domain.model.subscription, so a change to domain.model.subscription can break domain.model.property, while a change to domain.model.property can't break domain.model.subscription.
Position
Below the diagonal: domain.model.property uses a module listed above it, which is the healthy direction.
domain.command uses domain.model.message, so a change to domain.model.message can break domain.command, while a change to domain.command can't break domain.model.message.
Position
Below the diagonal: domain.command uses a module listed above it, which is the healthy direction.
domain.command uses domain.model.property, so a change to domain.model.property can break domain.command, while a change to domain.command can't break domain.model.property.
Position
Below the diagonal: domain.command uses a module listed above it, which is the healthy direction.
20β21 domain.command uses domain.modelpart of a loop✕
Connections
3 pairs of types, where a type in domain.command uses a type in domain.model.
domain.command uses domain.model.attachment, so a change to domain.model.attachment can break domain.command, while a change to domain.command can't break domain.model.attachment.
Position
Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
20β25 domain.command uses domain.model.accountpart of a loop✕
Connections
2 pairs of types, where a type in domain.command uses a type in domain.model.account.
domain.command uses domain.model.account, so a change to domain.model.account can break domain.command, while a change to domain.command can't break domain.model.account.
Position
Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
domain.model uses domain.model.util, so a change to domain.model.util can break domain.model, while a change to domain.model can't break domain.model.util.
Position
Below the diagonal: domain.model uses a module listed above it, which is the healthy direction.
domain.model uses domain.model.message, so a change to domain.model.message can break domain.model, while a change to domain.model can't break domain.model.message.
Position
Below the diagonal: domain.model uses a module listed above it, which is the healthy direction.
domain.model uses domain.model.realtime, so a change to domain.model.realtime can break domain.model, while a change to domain.model can't break domain.model.realtime.
Position
Below the diagonal: domain.model uses a module listed above it, which is the healthy direction.
domain.model uses domain.model.subscription, so a change to domain.model.subscription can break domain.model, while a change to domain.model can't break domain.model.subscription.
Position
Below the diagonal: domain.model uses a module listed above it, which is the healthy direction.
domain.model uses domain.model.property, so a change to domain.model.property can break domain.model, while a change to domain.model can't break domain.model.property.
Position
Below the diagonal: domain.model uses a module listed above it, which is the healthy direction.
domain.model uses domain.model.attachment, so a change to domain.model.attachment can break domain.model, while a change to domain.model can't break domain.model.attachment.
Position
Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
21β25 domain.model uses domain.model.accountpart of a loop✕
Connections
4 pairs of types, where a type in domain.model uses a type in domain.model.account.
domain.model uses domain.model.account, so a change to domain.model.account can break domain.model, while a change to domain.model can't break domain.model.account.
Position
Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
domain.model.attachment uses domain.model.message.upload, so a change to domain.model.message.upload can break domain.model.attachment, while a change to domain.model.attachment can't break domain.model.message.upload.
Position
Below the diagonal: domain.model.attachment uses a module listed above it, which is the healthy direction.
domain.model.attachment uses domain.model, so a change to domain.model can break domain.model.attachment, while a change to domain.model.attachment can't break domain.model.
Position
Below the diagonal: domain.model.attachment uses a module listed above it, which is the healthy direction.
api.property uses domain.model.util, so a change to domain.model.util can break api.property, while a change to api.property can't break domain.model.util.
Position
Below the diagonal: api.property uses a module listed above it, which is the healthy direction.
api.property uses domain.model.property, so a change to domain.model.property can break api.property, while a change to api.property can't break domain.model.property.
Position
Below the diagonal: api.property uses a module listed above it, which is the healthy direction.
api.property uses domain.model.attachment, so a change to domain.model.attachment can break api.property, while a change to api.property can't break domain.model.attachment.
Position
Below the diagonal: api.property uses a module listed above it, which is the healthy direction.
domain.model.account uses domain.model.util, so a change to domain.model.util can break domain.model.account, while a change to domain.model.account can't break domain.model.util.
Position
Below the diagonal: domain.model.account uses a module listed above it, which is the healthy direction.
domain.model.account uses domain.model.shortmessage, so a change to domain.model.shortmessage can break domain.model.account, while a change to domain.model.account can't break domain.model.shortmessage.
Position
Below the diagonal: domain.model.account uses a module listed above it, which is the healthy direction.
domain.model.account uses domain.model.message.upload, so a change to domain.model.message.upload can break domain.model.account, while a change to domain.model.account can't break domain.model.message.upload.
Position
Below the diagonal: domain.model.account uses a module listed above it, which is the healthy direction.
domain.model.account uses infrastructure.repository.dao, so a change to infrastructure.repository.dao can break domain.model.account, while a change to domain.model.account can't break infrastructure.repository.dao.
Position
Below the diagonal: domain.model.account uses a module listed above it, which is the healthy direction.
domain.model.account uses domain.model.subscription, so a change to domain.model.subscription can break domain.model.account, while a change to domain.model.account can't break domain.model.subscription.
Position
Below the diagonal: domain.model.account uses a module listed above it, which is the healthy direction.
domain.model.account uses domain.model.property, so a change to domain.model.property can break domain.model.account, while a change to domain.model.account can't break domain.model.property.
Position
Below the diagonal: domain.model.account uses a module listed above it, which is the healthy direction.
domain.model.account uses domain.model.attachment, so a change to domain.model.attachment can break domain.model.account, while a change to domain.model.account can't break domain.model.attachment.
Position
Below the diagonal: domain.model.account uses a module listed above it, which is the healthy direction.
api.impl.upload uses domain.model.message.upload, so a change to domain.model.message.upload can break api.impl.upload, while a change to api.impl.upload can't break domain.model.message.upload.
Position
Below the diagonal: api.impl.upload uses a module listed above it, which is the healthy direction.
api.impl.upload uses infrastructure.repository.acccount, so a change to infrastructure.repository.acccount can break api.impl.upload, while a change to api.impl.upload can't break infrastructure.repository.acccount.
Position
Below the diagonal: api.impl.upload uses a module listed above it, which is the healthy direction.
api.impl.upload uses infrastructure.repository.property, so a change to infrastructure.repository.property can break api.impl.upload, while a change to api.impl.upload can't break infrastructure.repository.property.
Position
Below the diagonal: api.impl.upload uses a module listed above it, which is the healthy direction.
api.impl.upload uses spi.component.query, so a change to spi.component.query can break api.impl.upload, while a change to api.impl.upload can't break spi.component.query.
Position
Below the diagonal: api.impl.upload uses a module listed above it, which is the healthy direction.
api.impl.upload uses infrastructure.repository.dao, so a change to infrastructure.repository.dao can break api.impl.upload, while a change to api.impl.upload can't break infrastructure.repository.dao.
Position
Below the diagonal: api.impl.upload uses a module listed above it, which is the healthy direction.
api.impl.upload uses infrastructure.repository, so a change to infrastructure.repository can break api.impl.upload, while a change to api.impl.upload can't break infrastructure.repository.
Position
Below the diagonal: api.impl.upload uses a module listed above it, which is the healthy direction.
api.impl.upload uses domain.model.attachment, so a change to domain.model.attachment can break api.impl.upload, while a change to api.impl.upload can't break domain.model.attachment.
Position
Below the diagonal: api.impl.upload uses a module listed above it, which is the healthy direction.
api.util uses infrastructure.repository.acccount, so a change to infrastructure.repository.acccount can break api.util, while a change to api.util can't break infrastructure.repository.acccount.
Position
Below the diagonal: api.util uses a module listed above it, which is the healthy direction.
api.util uses domain.model.account, so a change to domain.model.account can break api.util, while a change to api.util can't break domain.model.account.
Position
Below the diagonal: api.util uses a module listed above it, which is the healthy direction.
infrastructure.repository.builder uses domain.model.util, so a change to domain.model.util can break infrastructure.repository.builder, while a change to infrastructure.repository.builder can't break domain.model.util.
Position
Below the diagonal: infrastructure.repository.builder uses a module listed above it, which is the healthy direction.
infrastructure.repository.builder uses domain.model.message, so a change to domain.model.message can break infrastructure.repository.builder, while a change to infrastructure.repository.builder can't break domain.model.message.
Position
Below the diagonal: infrastructure.repository.builder uses a module listed above it, which is the healthy direction.
infrastructure.repository.builder uses infrastructure.dto, so a change to infrastructure.dto can break infrastructure.repository.builder, while a change to infrastructure.repository.builder can't break infrastructure.dto.
Position
Below the diagonal: infrastructure.repository.builder uses a module listed above it, which is the healthy direction.
infrastructure.repository.builder uses util, so a change to util can break infrastructure.repository.builder, while a change to infrastructure.repository.builder can't break util.
Position
Below the diagonal: infrastructure.repository.builder uses a module listed above it, which is the healthy direction.
infrastructure.repository.builder uses infrastructure.repository.acccount, so a change to infrastructure.repository.acccount can break infrastructure.repository.builder, while a change to infrastructure.repository.builder can't break infrastructure.repository.acccount.
Position
Below the diagonal: infrastructure.repository.builder uses a module listed above it, which is the healthy direction.
infrastructure.repository.builder uses infrastructure.repository.property, so a change to infrastructure.repository.property can break infrastructure.repository.builder, while a change to infrastructure.repository.builder can't break infrastructure.repository.property.
Position
Below the diagonal: infrastructure.repository.builder uses a module listed above it, which is the healthy direction.
infrastructure.repository.builder uses infrastructure.repository.dao, so a change to infrastructure.repository.dao can break infrastructure.repository.builder, while a change to infrastructure.repository.builder can't break infrastructure.repository.dao.
Position
Below the diagonal: infrastructure.repository.builder uses a module listed above it, which is the healthy direction.
infrastructure.repository.builder uses infrastructure.repository, so a change to infrastructure.repository can break infrastructure.repository.builder, while a change to infrastructure.repository.builder can't break infrastructure.repository.
Position
Below the diagonal: infrastructure.repository.builder uses a module listed above it, which is the healthy direction.
infrastructure.repository.builder uses domain.model, so a change to domain.model can break infrastructure.repository.builder, while a change to infrastructure.repository.builder can't break domain.model.
Position
Below the diagonal: infrastructure.repository.builder uses a module listed above it, which is the healthy direction.
infrastructure.repository.builder uses domain.model.account, so a change to domain.model.account can break infrastructure.repository.builder, while a change to infrastructure.repository.builder can't break domain.model.account.
Position
Below the diagonal: infrastructure.repository.builder uses a module listed above it, which is the healthy direction.
presentation.form uses domain.model.message, so a change to domain.model.message can break presentation.form, while a change to presentation.form can't break domain.model.message.
Position
Below the diagonal: presentation.form uses a module listed above it, which is the healthy direction.
presentation.form uses infrastructure.dto, so a change to infrastructure.dto can break presentation.form, while a change to presentation.form can't break infrastructure.dto.
Position
Below the diagonal: presentation.form uses a module listed above it, which is the healthy direction.
presentation.form uses domain.model.message.upload, so a change to domain.model.message.upload can break presentation.form, while a change to presentation.form can't break domain.model.message.upload.
Position
Below the diagonal: presentation.form uses a module listed above it, which is the healthy direction.
presentation.form uses spi.component.subscription, so a change to spi.component.subscription can break presentation.form, while a change to presentation.form can't break spi.component.subscription.
Position
Below the diagonal: presentation.form uses a module listed above it, which is the healthy direction.
presentation.form uses domain.model.property, so a change to domain.model.property can break presentation.form, while a change to presentation.form can't break domain.model.property.
Position
Below the diagonal: presentation.form uses a module listed above it, which is the healthy direction.
presentation.form uses domain.model, so a change to domain.model can break presentation.form, while a change to presentation.form can't break domain.model.
Position
Below the diagonal: presentation.form uses a module listed above it, which is the healthy direction.
presentation.form uses domain.model.attachment, so a change to domain.model.attachment can break presentation.form, while a change to presentation.form can't break domain.model.attachment.
Position
Below the diagonal: presentation.form uses a module listed above it, which is the healthy direction.
presentation.form uses domain.model.account, so a change to domain.model.account can break presentation.form, while a change to presentation.form can't break domain.model.account.
Position
Below the diagonal: presentation.form uses a module listed above it, which is the healthy direction.
spi.component.mapreduce uses infrastructure.repository.dao, so a change to infrastructure.repository.dao can break spi.component.mapreduce, while a change to spi.component.mapreduce can't break infrastructure.repository.dao.
Position
Below the diagonal: spi.component.mapreduce uses a module listed above it, which is the healthy direction.
spi.component.mapreduce uses infrastructure.repository, so a change to infrastructure.repository can break spi.component.mapreduce, while a change to spi.component.mapreduce can't break infrastructure.repository.
Position
Below the diagonal: spi.component.mapreduce uses a module listed above it, which is the healthy direction.
spi.component.mapreduce uses domain.model.property, so a change to domain.model.property can break spi.component.mapreduce, while a change to spi.component.mapreduce can't break domain.model.property.
Position
Below the diagonal: spi.component.mapreduce uses a module listed above it, which is the healthy direction.
spi.component.mapreduce uses domain.model, so a change to domain.model can break spi.component.mapreduce, while a change to spi.component.mapreduce can't break domain.model.
Position
Below the diagonal: spi.component.mapreduce uses a module listed above it, which is the healthy direction.
spi.component.mapreduce uses api.query, so a change to api.query can break spi.component.mapreduce, while a change to spi.component.mapreduce can't break api.query.
Position
Below the diagonal: spi.component.mapreduce uses a module listed above it, which is the healthy direction.
spi.component.mapreduce uses api.property, so a change to api.property can break spi.component.mapreduce, while a change to spi.component.mapreduce can't break api.property.
Position
Below the diagonal: spi.component.mapreduce uses a module listed above it, which is the healthy direction.
spi.component.mapreduce uses domain.model.account, so a change to domain.model.account can break spi.component.mapreduce, while a change to spi.component.mapreduce can't break domain.model.account.
Position
Below the diagonal: spi.component.mapreduce uses a module listed above it, which is the healthy direction.
api.impl.shortmessage uses domain.model.shortmessage, so a change to domain.model.shortmessage can break api.impl.shortmessage, while a change to api.impl.shortmessage can't break domain.model.shortmessage.
Position
Below the diagonal: api.impl.shortmessage uses a module listed above it, which is the healthy direction.
api.impl.shortmessage uses infrastructure.repository.acccount, so a change to infrastructure.repository.acccount can break api.impl.shortmessage, while a change to api.impl.shortmessage can't break infrastructure.repository.acccount.
Position
Below the diagonal: api.impl.shortmessage uses a module listed above it, which is the healthy direction.
api.impl.shortmessage uses spi.component.shortmessage, so a change to spi.component.shortmessage can break api.impl.shortmessage, while a change to api.impl.shortmessage can't break spi.component.shortmessage.
Position
Below the diagonal: api.impl.shortmessage uses a module listed above it, which is the healthy direction.
api.impl.shortmessage uses domain.model.account, so a change to domain.model.account can break api.impl.shortmessage, while a change to api.impl.shortmessage can't break domain.model.account.
Position
Below the diagonal: api.impl.shortmessage uses a module listed above it, which is the healthy direction.
api.impl.shortmessage uses api.util, so a change to api.util can break api.impl.shortmessage, while a change to api.impl.shortmessage can't break api.util.
Position
Below the diagonal: api.impl.shortmessage uses a module listed above it, which is the healthy direction.
api.impl.shortmessage uses infrastructure.repository.builder, so a change to infrastructure.repository.builder can break api.impl.shortmessage, while a change to api.impl.shortmessage can't break infrastructure.repository.builder.
Position
Below the diagonal: api.impl.shortmessage uses a module listed above it, which is the healthy direction.
auth uses infrastructure.repository.dao, so a change to infrastructure.repository.dao can break auth, while a change to auth can't break infrastructure.repository.dao.
Position
Below the diagonal: auth uses a module listed above it, which is the healthy direction.
infrastructure uses infrastructure.repository.property, so a change to infrastructure.repository.property can break infrastructure, while a change to infrastructure can't break infrastructure.repository.property.
Position
Below the diagonal: infrastructure uses a module listed above it, which is the healthy direction.
infrastructure uses infrastructure.repository.dao, so a change to infrastructure.repository.dao can break infrastructure, while a change to infrastructure can't break infrastructure.repository.dao.
Position
Below the diagonal: infrastructure uses a module listed above it, which is the healthy direction.
infrastructure uses infrastructure.repository, so a change to infrastructure.repository can break infrastructure, while a change to infrastructure can't break infrastructure.repository.
Position
Below the diagonal: infrastructure uses a module listed above it, which is the healthy direction.
infrastructure uses domain.command, so a change to domain.command can break infrastructure, while a change to infrastructure can't break domain.command.
Position
Below the diagonal: infrastructure uses a module listed above it, which is the healthy direction.
infrastructure uses infrastructure.repository.builder, so a change to infrastructure.repository.builder can break infrastructure, while a change to infrastructure can't break infrastructure.repository.builder.
Position
Below the diagonal: infrastructure uses a module listed above it, which is the healthy direction.
infrastructure.repository.dao.sql uses domain.model.util, so a change to domain.model.util can break infrastructure.repository.dao.sql, while a change to infrastructure.repository.dao.sql can't break domain.model.util.
Position
Below the diagonal: infrastructure.repository.dao.sql uses a module listed above it, which is the healthy direction.
infrastructure.repository.dao.sql uses domain.model.message, so a change to domain.model.message can break infrastructure.repository.dao.sql, while a change to infrastructure.repository.dao.sql can't break domain.model.message.
Position
Below the diagonal: infrastructure.repository.dao.sql uses a module listed above it, which is the healthy direction.
infrastructure.repository.dao.sql uses domain.model.shortmessage, so a change to domain.model.shortmessage can break infrastructure.repository.dao.sql, while a change to infrastructure.repository.dao.sql can't break domain.model.shortmessage.
Position
Below the diagonal: infrastructure.repository.dao.sql uses a module listed above it, which is the healthy direction.
infrastructure.repository.dao.sql uses infrastructure.dto, so a change to infrastructure.dto can break infrastructure.repository.dao.sql, while a change to infrastructure.repository.dao.sql can't break infrastructure.dto.
Position
Below the diagonal: infrastructure.repository.dao.sql uses a module listed above it, which is the healthy direction.
infrastructure.repository.dao.sql uses util, so a change to util can break infrastructure.repository.dao.sql, while a change to infrastructure.repository.dao.sql can't break util.
Position
Below the diagonal: infrastructure.repository.dao.sql uses a module listed above it, which is the healthy direction.
infrastructure.repository.dao.sql uses infrastructure.repository.acccount, so a change to infrastructure.repository.acccount can break infrastructure.repository.dao.sql, while a change to infrastructure.repository.dao.sql can't break infrastructure.repository.acccount.
Position
Below the diagonal: infrastructure.repository.dao.sql uses a module listed above it, which is the healthy direction.
infrastructure.repository.dao.sql uses domain.model.query, so a change to domain.model.query can break infrastructure.repository.dao.sql, while a change to infrastructure.repository.dao.sql can't break domain.model.query.
Position
Below the diagonal: infrastructure.repository.dao.sql uses a module listed above it, which is the healthy direction.
infrastructure.repository.dao.sql uses infrastructure.repository.dao, so a change to infrastructure.repository.dao can break infrastructure.repository.dao.sql, while a change to infrastructure.repository.dao.sql can't break infrastructure.repository.dao.
Position
Below the diagonal: infrastructure.repository.dao.sql uses a module listed above it, which is the healthy direction.
infrastructure.repository.dao.sql uses domain.model.subscription, so a change to domain.model.subscription can break infrastructure.repository.dao.sql, while a change to infrastructure.repository.dao.sql can't break domain.model.subscription.
Position
Below the diagonal: infrastructure.repository.dao.sql uses a module listed above it, which is the healthy direction.
infrastructure.repository.dao.sql uses domain.model.property, so a change to domain.model.property can break infrastructure.repository.dao.sql, while a change to infrastructure.repository.dao.sql can't break domain.model.property.
Position
Below the diagonal: infrastructure.repository.dao.sql uses a module listed above it, which is the healthy direction.
infrastructure.repository.dao.sql uses domain.model, so a change to domain.model can break infrastructure.repository.dao.sql, while a change to infrastructure.repository.dao.sql can't break domain.model.
Position
Below the diagonal: infrastructure.repository.dao.sql uses a module listed above it, which is the healthy direction.
infrastructure.repository.dao.sql uses domain.model.attachment, so a change to domain.model.attachment can break infrastructure.repository.dao.sql, while a change to infrastructure.repository.dao.sql can't break domain.model.attachment.
Position
Below the diagonal: infrastructure.repository.dao.sql uses a module listed above it, which is the healthy direction.
infrastructure.repository.dao.sql uses domain.model.account, so a change to domain.model.account can break infrastructure.repository.dao.sql, while a change to infrastructure.repository.dao.sql can't break domain.model.account.
Position
Below the diagonal: infrastructure.repository.dao.sql uses a module listed above it, which is the healthy direction.
infrastructure.repository.dao.sql uses infrastructure.repository.builder, so a change to infrastructure.repository.builder can break infrastructure.repository.dao.sql, while a change to infrastructure.repository.dao.sql can't break infrastructure.repository.builder.
Position
Below the diagonal: infrastructure.repository.dao.sql uses a module listed above it, which is the healthy direction.
34β37 infrastructure.repository.dao.sql uses infrastructure.repository.subscriptionpart of a loop✕
Connections
1 pair of types, where a type in infrastructure.repository.dao.sql uses a type in infrastructure.repository.subscription.
infrastructure.repository.dao.sql uses infrastructure.repository.subscription, so a change to infrastructure.repository.subscription can break infrastructure.repository.dao.sql, while a change to infrastructure.repository.dao.sql can't break infrastructure.repository.subscription.
Position
Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
api.impl.account uses infrastructure.repository.acccount, so a change to infrastructure.repository.acccount can break api.impl.account, while a change to api.impl.account can't break infrastructure.repository.acccount.
Position
Below the diagonal: api.impl.account uses a module listed above it, which is the healthy direction.
api.impl.account uses infrastructure.repository.property, so a change to infrastructure.repository.property can break api.impl.account, while a change to api.impl.account can't break infrastructure.repository.property.
Position
Below the diagonal: api.impl.account uses a module listed above it, which is the healthy direction.
api.impl.account uses infrastructure.repository.dao, so a change to infrastructure.repository.dao can break api.impl.account, while a change to api.impl.account can't break infrastructure.repository.dao.
Position
Below the diagonal: api.impl.account uses a module listed above it, which is the healthy direction.
api.impl.account uses domain.model.account, so a change to domain.model.account can break api.impl.account, while a change to api.impl.account can't break domain.model.account.
Position
Below the diagonal: api.impl.account uses a module listed above it, which is the healthy direction.
api.impl.message uses infrastructure.dto, so a change to infrastructure.dto can break api.impl.message, while a change to api.impl.message can't break infrastructure.dto.
Position
Below the diagonal: api.impl.message uses a module listed above it, which is the healthy direction.
api.impl.message uses infrastructure.repository.acccount, so a change to infrastructure.repository.acccount can break api.impl.message, while a change to api.impl.message can't break infrastructure.repository.acccount.
Position
Below the diagonal: api.impl.message uses a module listed above it, which is the healthy direction.
api.impl.message uses spi.component.query, so a change to spi.component.query can break api.impl.message, while a change to api.impl.message can't break spi.component.query.
Position
Below the diagonal: api.impl.message uses a module listed above it, which is the healthy direction.
api.impl.message uses domain.model.query, so a change to domain.model.query can break api.impl.message, while a change to api.impl.message can't break domain.model.query.
Position
Below the diagonal: api.impl.message uses a module listed above it, which is the healthy direction.
api.impl.message uses infrastructure.repository.dao, so a change to infrastructure.repository.dao can break api.impl.message, while a change to api.impl.message can't break infrastructure.repository.dao.
Position
Below the diagonal: api.impl.message uses a module listed above it, which is the healthy direction.
api.impl.message uses domain.model.message.output, so a change to domain.model.message.output can break api.impl.message, while a change to api.impl.message can't break domain.model.message.output.
Position
Below the diagonal: api.impl.message uses a module listed above it, which is the healthy direction.
api.impl.message uses infrastructure.repository, so a change to infrastructure.repository can break api.impl.message, while a change to api.impl.message can't break infrastructure.repository.
Position
Below the diagonal: api.impl.message uses a module listed above it, which is the healthy direction.
api.impl.message uses domain.model, so a change to domain.model can break api.impl.message, while a change to api.impl.message can't break domain.model.
Position
Below the diagonal: api.impl.message uses a module listed above it, which is the healthy direction.
api.impl.message uses api.property, so a change to api.property can break api.impl.message, while a change to api.impl.message can't break api.property.
Position
Below the diagonal: api.impl.message uses a module listed above it, which is the healthy direction.
api.impl.message uses infrastructure.repository.builder, so a change to infrastructure.repository.builder can break api.impl.message, while a change to api.impl.message can't break infrastructure.repository.builder.
Position
Below the diagonal: api.impl.message uses a module listed above it, which is the healthy direction.
infrastructure.repository.subscription uses util, so a change to util can break infrastructure.repository.subscription, while a change to infrastructure.repository.subscription can't break util.
Position
Below the diagonal: infrastructure.repository.subscription uses a module listed above it, which is the healthy direction.
infrastructure.repository.subscription uses infrastructure.repository.acccount, so a change to infrastructure.repository.acccount can break infrastructure.repository.subscription, while a change to infrastructure.repository.subscription can't break infrastructure.repository.acccount.
Position
Below the diagonal: infrastructure.repository.subscription uses a module listed above it, which is the healthy direction.
infrastructure.repository.subscription uses infrastructure.repository.property, so a change to infrastructure.repository.property can break infrastructure.repository.subscription, while a change to infrastructure.repository.subscription can't break infrastructure.repository.property.
Position
Below the diagonal: infrastructure.repository.subscription uses a module listed above it, which is the healthy direction.
infrastructure.repository.subscription uses infrastructure.repository.dao, so a change to infrastructure.repository.dao can break infrastructure.repository.subscription, while a change to infrastructure.repository.subscription can't break infrastructure.repository.dao.
Position
Below the diagonal: infrastructure.repository.subscription uses a module listed above it, which is the healthy direction.
infrastructure.repository.subscription uses infrastructure.repository, so a change to infrastructure.repository can break infrastructure.repository.subscription, while a change to infrastructure.repository.subscription can't break infrastructure.repository.
Position
Below the diagonal: infrastructure.repository.subscription uses a module listed above it, which is the healthy direction.
infrastructure.repository.subscription uses spi.component.subscription, so a change to spi.component.subscription can break infrastructure.repository.subscription, while a change to infrastructure.repository.subscription can't break spi.component.subscription.
Position
Below the diagonal: infrastructure.repository.subscription uses a module listed above it, which is the healthy direction.
infrastructure.repository.subscription uses domain.model.subscription, so a change to domain.model.subscription can break infrastructure.repository.subscription, while a change to infrastructure.repository.subscription can't break domain.model.subscription.
Position
Below the diagonal: infrastructure.repository.subscription uses a module listed above it, which is the healthy direction.
infrastructure.repository.subscription uses infrastructure.repository.dao.sql, so a change to infrastructure.repository.dao.sql can break infrastructure.repository.subscription, while a change to infrastructure.repository.subscription can't break infrastructure.repository.dao.sql.
Position
Below the diagonal: infrastructure.repository.subscription uses a module listed above it, which is the healthy direction.
api.impl.subscription uses infrastructure.repository.acccount, so a change to infrastructure.repository.acccount can break api.impl.subscription, while a change to api.impl.subscription can't break infrastructure.repository.acccount.
Position
Below the diagonal: api.impl.subscription uses a module listed above it, which is the healthy direction.
api.impl.subscription uses domain.model.subscription, so a change to domain.model.subscription can break api.impl.subscription, while a change to api.impl.subscription can't break domain.model.subscription.
Position
Below the diagonal: api.impl.subscription uses a module listed above it, which is the healthy direction.
api.impl.subscription uses api.query, so a change to api.query can break api.impl.subscription, while a change to api.impl.subscription can't break api.query.
Position
Below the diagonal: api.impl.subscription uses a module listed above it, which is the healthy direction.
api.impl.subscription uses domain.model.account, so a change to domain.model.account can break api.impl.subscription, while a change to api.impl.subscription can't break domain.model.account.
Position
Below the diagonal: api.impl.subscription uses a module listed above it, which is the healthy direction.
api.impl.subscription uses api.util, so a change to api.util can break api.impl.subscription, while a change to api.impl.subscription can't break api.util.
Position
Below the diagonal: api.impl.subscription uses a module listed above it, which is the healthy direction.
api.impl.subscription uses infrastructure.repository.subscription, so a change to infrastructure.repository.subscription can break api.impl.subscription, while a change to api.impl.subscription can't break infrastructure.repository.subscription.
Position
Below the diagonal: api.impl.subscription uses a module listed above it, which is the healthy direction.
infrastructure.repository.dao.filter uses domain.model.util, so a change to domain.model.util can break infrastructure.repository.dao.filter, while a change to infrastructure.repository.dao.filter can't break domain.model.util.
Position
Below the diagonal: infrastructure.repository.dao.filter uses a module listed above it, which is the healthy direction.
infrastructure.repository.dao.filter uses infrastructure.dto, so a change to infrastructure.dto can break infrastructure.repository.dao.filter, while a change to infrastructure.repository.dao.filter can't break infrastructure.dto.
Position
Below the diagonal: infrastructure.repository.dao.filter uses a module listed above it, which is the healthy direction.
infrastructure.repository.dao.filter uses util, so a change to util can break infrastructure.repository.dao.filter, while a change to infrastructure.repository.dao.filter can't break util.
Position
Below the diagonal: infrastructure.repository.dao.filter uses a module listed above it, which is the healthy direction.
infrastructure.repository.dao.filter uses infrastructure.repository.dao, so a change to infrastructure.repository.dao can break infrastructure.repository.dao.filter, while a change to infrastructure.repository.dao.filter can't break infrastructure.repository.dao.
Position
Below the diagonal: infrastructure.repository.dao.filter uses a module listed above it, which is the healthy direction.
infrastructure.repository.dao.filter uses domain.model.subscription, so a change to domain.model.subscription can break infrastructure.repository.dao.filter, while a change to infrastructure.repository.dao.filter can't break domain.model.subscription.
Position
Below the diagonal: infrastructure.repository.dao.filter uses a module listed above it, which is the healthy direction.
infrastructure.repository.dao.filter uses domain.model, so a change to domain.model can break infrastructure.repository.dao.filter, while a change to infrastructure.repository.dao.filter can't break domain.model.
Position
Below the diagonal: infrastructure.repository.dao.filter uses a module listed above it, which is the healthy direction.
infrastructure.repository.dao.filter uses domain.model.attachment, so a change to domain.model.attachment can break infrastructure.repository.dao.filter, while a change to infrastructure.repository.dao.filter can't break domain.model.attachment.
Position
Below the diagonal: infrastructure.repository.dao.filter uses a module listed above it, which is the healthy direction.
infrastructure.repository.dao.filter uses infrastructure.repository.builder, so a change to infrastructure.repository.builder can break infrastructure.repository.dao.filter, while a change to infrastructure.repository.dao.filter can't break infrastructure.repository.builder.
Position
Below the diagonal: infrastructure.repository.dao.filter uses a module listed above it, which is the healthy direction.
infrastructure.repository.dao.filter uses infrastructure.repository.dao.sql, so a change to infrastructure.repository.dao.sql can break infrastructure.repository.dao.filter, while a change to infrastructure.repository.dao.filter can't break infrastructure.repository.dao.sql.
Position
Below the diagonal: infrastructure.repository.dao.filter uses a module listed above it, which is the healthy direction.
infrastructure.repository.dao.filter uses infrastructure.repository.subscription, so a change to infrastructure.repository.subscription can break infrastructure.repository.dao.filter, while a change to infrastructure.repository.dao.filter can't break infrastructure.repository.subscription.
Position
Below the diagonal: infrastructure.repository.dao.filter uses a module listed above it, which is the healthy direction.
spi.pubsub.subscriber uses domain.model.realtime, so a change to domain.model.realtime can break spi.pubsub.subscriber, while a change to spi.pubsub.subscriber can't break domain.model.realtime.
Position
Below the diagonal: spi.pubsub.subscriber uses a module listed above it, which is the healthy direction.
spi.pubsub.subscriber uses infrastructure.repository.acccount, so a change to infrastructure.repository.acccount can break spi.pubsub.subscriber, while a change to spi.pubsub.subscriber can't break infrastructure.repository.acccount.
Position
Below the diagonal: spi.pubsub.subscriber uses a module listed above it, which is the healthy direction.
spi.pubsub.subscriber uses infrastructure.repository.property, so a change to infrastructure.repository.property can break spi.pubsub.subscriber, while a change to spi.pubsub.subscriber can't break infrastructure.repository.property.
Position
Below the diagonal: spi.pubsub.subscriber uses a module listed above it, which is the healthy direction.
spi.pubsub.subscriber uses infrastructure.repository.dao, so a change to infrastructure.repository.dao can break spi.pubsub.subscriber, while a change to spi.pubsub.subscriber can't break infrastructure.repository.dao.
Position
Below the diagonal: spi.pubsub.subscriber uses a module listed above it, which is the healthy direction.
spi.pubsub.subscriber uses infrastructure.repository, so a change to infrastructure.repository can break spi.pubsub.subscriber, while a change to spi.pubsub.subscriber can't break infrastructure.repository.
Position
Below the diagonal: spi.pubsub.subscriber uses a module listed above it, which is the healthy direction.
spi.pubsub.subscriber uses spi.component.subscription, so a change to spi.component.subscription can break spi.pubsub.subscriber, while a change to spi.pubsub.subscriber can't break spi.component.subscription.
Position
Below the diagonal: spi.pubsub.subscriber uses a module listed above it, which is the healthy direction.
spi.pubsub.subscriber uses infrastructure.repository.builder, so a change to infrastructure.repository.builder can break spi.pubsub.subscriber, while a change to spi.pubsub.subscriber can't break infrastructure.repository.builder.
Position
Below the diagonal: spi.pubsub.subscriber uses a module listed above it, which is the healthy direction.
spi.pubsub.subscriber uses infrastructure, so a change to infrastructure can break spi.pubsub.subscriber, while a change to spi.pubsub.subscriber can't break infrastructure.
Position
Below the diagonal: spi.pubsub.subscriber uses a module listed above it, which is the healthy direction.
spi.pubsub.subscriber uses infrastructure.repository.subscription, so a change to infrastructure.repository.subscription can break spi.pubsub.subscriber, while a change to spi.pubsub.subscriber can't break infrastructure.repository.subscription.
Position
Below the diagonal: spi.pubsub.subscriber uses a module listed above it, which is the healthy direction.
At a glance β Code Health Β· 23% Β· Critical Β· gated by R1, R2, R7, X4, X5 Β·
Findings mapped to OWASP categories; the specific CVEs/secrets are in the Security dimension cards below and findings.md (redacted only on the public version of this report).
OWASP category
Findings
Severity
A05:2025 β Injection
23
High / Critical
A03:2025 β Software Supply Chain Failures
11
High / Critical
A02:2025 β Security Misconfiguration
10
High / Critical
A07:2025 β Authentication Failures
8
High / Critical
A01:2025 β Broken Access Control
2
Medium
Roadmap
Top priorities: Resolve the 2 Banned license finding(s) in License Compliance; Add a CI workflow that builds and runs the test suite on every push/PR; Run what this repository's stack ships: spotbugs with find-sec-bugs β or `semgrep --config=auto`, which runs on any language β locally for now, since there is no CI pipeline here yet, and as a step of the first workflow you add so a security regression fails the build instead of landing.
Ranked by impact Γ· effort. "Helps" is the estimated gain on the 0β100 health score.
Do this
Helps
Effort
Dimension
Resolve the 2 Banned license finding(s) in License Compliance.
Run what this repository's stack ships: spotbugs with find-sec-bugs β or `semgrep --config=auto`, which runs on any language β locally for now, since there is no CI pipeline here yet, and as a step of the first workflow you add so a security regression fails the build instead of landing.
Adopt TypeScript for the frontend: add a typecheck step to the build, then either type-check the existing JavaScript in place (`checkJs`/JSDoc types) or convert the highest-traffic modules first β no file is typed today, so this is an adoption, not a clean-up.
Per-file score 0β10 β a quality signature. Of 117 files carrying findings, judged against the Production bar: 3% slop Β· 52% mixed Β· 45% near-clean.
Every finding carries one of four grades. Three say how serious it is. The fourth says this
survey could not settle it β and it is a grade, not a gap.
Critical β 115
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.
Serious β 665
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.
Minor β 106
Recorded, with no effect on how the codebase functions.
Present so the survey is complete, not because it needs doing.
Could not be resolved β 13
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
This survey 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. All 80 evaluated dimensions are computed by tools and static analysis; no language model sets or judges any of them. Overall confidence is 0.8, the weighted average across measured dimensions.
Every figure here is one of two kinds, and we label which: β Measured β a deterministic fact (LoC, complexity, coverage); ~ Modeled β an estimate from a stated model (cost, effort, value-at-risk), always a range with its assumptions, never a precise fact. We never present a modelled estimate as if it were measured. Perfect or absent scores carry their provenance too (ADR-0011): β Tool-verified means the property itself was measured across the surface; β Nothing flagged means the probes came back clean β a claim bounded by what a repository can show; β Not evidenced means a working control (a tested restore, an automated rollback) showed no positive evidence β absence of evidence is not evidence of a control, so it's excluded from the score rather than awarded a spurious 10.
What we checked β 80 dimensions across the health lenses
Each chip is a dimension scored from real signals across architecture, testing, dependencies, security & compliance, documentation, git-history and code quality β in one coherent pass. A surface report typically covers a handful.
How to trust any code-health report β three questions
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, 873 of 886 do; the remainder are repo-wide signals β a dimension-level measurement, not a single line. (Every path in this report is repo-relative by construction: paths are normalized at the producer and the report is rejected if any rooted path leaks through.)
Is there a tool behind the number? Every score below names the method that produced it: Roslyn, git or a scanner, 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.
This report answers yes to all three. That's the bar to hold any assessment to.
Tools & methods
The actual versions used this run (captured at analysis time) β re-run on the same commit for the identical score.
Method
Backs
Version
Evaluator
Roslyn static analysis
Complexity, cohesion, coupling, dead code, API surface, layering
What ran differently this time β a tool absent, degraded, or that fell back to an estimate. Named openly, not folded silently into the scores. A degraded run also records its exact cause in diagnostics.md.
D8 Code Coverage β not measured this run β We 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. The test suite couldn't be built/run in-image and no coverage report is committed, so line coverage was not measured β and it is EXCLUDED from the score rather than scored on a LoC-ratio proxy. No coverage collector was found in your CI either, so there is no existing report to hand us β add a collector to your test run and commit (or publish into the working tree) its Cobertura/OpenCover/lcov output. You can widen what we reach: optional: no coverage collector was found in your CI either, so there is no existing report to hand us β add a collector to your test run and commit (or publish into the working tree) its Cobertura/OpenCover/lcov output, or make the suite runnable in-image, and real coverage will be measured.
D12 Dependency Hygiene β not measured this run β We 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 gitee.com β the registry that answers it β was asked and did not reply (the build stopped because gitee.com, 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, so the dependency graph was not resolved). 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 gitee.com to the allowlist and re-run β not to build anything.
D16 Bus Factor β 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. Single-maintainer repository β bus factor is not applicable (2 contributor(s) across 3322 commit(s) sampled, automation and bot accounts excluded). One of them holds 100% of the history; the other 1 hold 0% each on average, below the 5% at which there is somebody to hand the work to. That is a single maintainer with drive-by contributors, not a team whose knowledge has concentrated β so the bus factor is not applicable and there is nothing here for the owner to act on.
D19 Documentation Quality β measured, with a gap in what it reached β We measured this, but not all of it. What we 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. Each ecosystem's manifests (what makes a folder runnable or a published package) need their own proof before D19 judges its units. Until then those folders' READMEs are judged only as documents (boilerplate, structure), never counted as complete.
D21 Naming Consistency β not measured this run β We 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. D21's deterministic naming rules are gated on C# first (docs/plans/deterministic-engine.md, P5): each other language is switched on only after its own concept suite and A/B gate pass. Until then its declarations carry no naming verdict this run β this says nothing about whether its names are consistent.
D22 Internal API Consistency β not measured this run β We could not measure this here. That is a gap on our side β a collector, parser or image we have not built yet β and it is neither a defect in this repository nor evidence that the check would have passed. D22 identifies the intentionally-exposed surface from `IsPackable` and `.Contracts` project names, MSBuild conventions read off the loaded project set. This target exposed no such projects, so the probe never ran; this says nothing about whether the repository has a public API. This repository commits no C#/VB source at all, so there was never an MSBuild project set to read these conventions off. That is OUR side and it is an ADMISSION gap, not an environment fault: no published-package marker D22 reads admitted any project here. D22 DOES collect the public API of every language in this tree, and admits a project only when its manifest makes that ecosystem's publication act in a form the marker recognises β so what is missing is not a collector but an admission rule for the publication act this repository makes, if it makes one. The remedy is a better discriminator for that marker β not a collector, and no change to the scan image can close it. The marker's rules are measured to refuse applications, so one refused repository is the rule working as calibrated; several are the evidence that it is too strict. For npm the surface is what a published package.json's entry points (exports, main, module, types) export, followed through the source; an entry that names build output the tree does not commit (dist/, build/) is not followed back to source, because only a tsconfig outDir/rootDir pair states that mapping and a bundler's input lives in executable configuration this engine does not evaluate.
D24 Comment Value β measured, with a gap in what it reached β We measured this, but not all of it. What we 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. Each source language's comment syntax, and the code a comment annotates in it, needs its own proof before D24 judges it. Until then those comments are left unread, not counted as clean.
D26 Project Cohesion β not measured this run β We 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. `(repository root)` (64531 LoC, 588 module-visible types across 124 directories) is over its size bounds, and whether one unit is a coherent whole or a grab-bag is read from its type references: the parts of it that reach the rest only through its shared core. Those are read over the C#/VB code model, which this unit's source did not supply. Its size alone is no verdict on its cohesion, so none is published.
D32 Data Compliance (PII/GDPR) β measured, with a gap in what it reached β We measured this, but not all of it. What we 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. `application/common/ckeditor/ckeditor.js` produced a parse error, so every rule in this engine's `gdpr.yml` was absent there. That absence is NOT a clean result: these rules detect personal data crossing a boundary into a log sink, a URL or browser storage, and a file that was never parsed cannot report any of the three. The rest of the tree analysed normally and its rows above stand; only these files are unaccounted for. You can widen what we reach: fix the syntax error (or exclude the file deliberately) and re-scan to cover it.
AC1 Text alternatives β measured, with a gap in what it reached β We measured this, but not all of it. What we 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. This repository renders user interface from a TEMPLATE LANGUAGE β 1 JSP template file(s) carrying 70 markup element(s) (e.g. application/social/contentfollower.jsp) β and the accessibility cards on this run were measured over the 197 parsed markup document(s) ONLY. The markup model reads .html/.htm/.cshtml/.razor/.vue/.svelte/.jsx/.tsx, html`β¦` templates and DOM-assigned HTML strings in .ts/.js, the .erb/.ejs/.eex/.heex/.leex/.twig/.jinja/.j2/.liquid/.njk/.hbs/.mustache/.blade.php/.gohtml template languages, .astro/.templ/.pug/.jade/.haml/.slim, and the kotlinx.html/Compose HTML/kotlin-react, Giraffe/Falco/Fable.React/Feliz/Bolero and Jaspr builder DSLs; the file(s) above were REFUSED rather than unsupported β a template whose element NAME comes from an expression, or an Astro component whose frontmatter fence is never closed, leaves the element's identity unknown, and every accessibility rule is a statement about a NAMED element β so those views were not merely unparsed but unenumerated: not one of their elements entered the population any card scored. Their absence from the counts above is a gap in this analyzer's frontend coverage β not a finding that they carry text alternatives, labels, keyboard semantics or correct ARIA.
AC1 Text alternatives β measured, with a gap in what it reached β We measured this, but not all of it. What we 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. 1 further occurrence(s) are not listed individually; the score already reflects all 41.
AC2 Forms & labels β measured, with a gap in what it reached β We measured this, but not all of it. What we 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. This repository renders user interface from a TEMPLATE LANGUAGE β 1 JSP template file(s) carrying 70 markup element(s) (e.g. application/social/contentfollower.jsp) β and the accessibility cards on this run were measured over the 197 parsed markup document(s) ONLY. The markup model reads .html/.htm/.cshtml/.razor/.vue/.svelte/.jsx/.tsx, html`β¦` templates and DOM-assigned HTML strings in .ts/.js, the .erb/.ejs/.eex/.heex/.leex/.twig/.jinja/.j2/.liquid/.njk/.hbs/.mustache/.blade.php/.gohtml template languages, .astro/.templ/.pug/.jade/.haml/.slim, and the kotlinx.html/Compose HTML/kotlin-react, Giraffe/Falco/Fable.React/Feliz/Bolero and Jaspr builder DSLs; the file(s) above were REFUSED rather than unsupported β a template whose element NAME comes from an expression, or an Astro component whose frontmatter fence is never closed, leaves the element's identity unknown, and every accessibility rule is a statement about a NAMED element β so those views were not merely unparsed but unenumerated: not one of their elements entered the population any card scored. Their absence from the counts above is a gap in this analyzer's frontend coverage β not a finding that they carry text alternatives, labels, keyboard semantics or correct ARIA.
AC2 Forms & labels β measured, with a gap in what it reached β We measured this, but not all of it. What we 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. 84 further occurrence(s) are not listed individually; the score already reflects all 124.
AC3 Page structure β measured, with a gap in what it reached β We measured this, but not all of it. What we 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. This repository renders user interface from a TEMPLATE LANGUAGE β 1 JSP template file(s) carrying 70 markup element(s) (e.g. application/social/contentfollower.jsp) β and the accessibility cards on this run were measured over the 197 parsed markup document(s) ONLY. The markup model reads .html/.htm/.cshtml/.razor/.vue/.svelte/.jsx/.tsx, html`β¦` templates and DOM-assigned HTML strings in .ts/.js, the .erb/.ejs/.eex/.heex/.leex/.twig/.jinja/.j2/.liquid/.njk/.hbs/.mustache/.blade.php/.gohtml template languages, .astro/.templ/.pug/.jade/.haml/.slim, and the kotlinx.html/Compose HTML/kotlin-react, Giraffe/Falco/Fable.React/Feliz/Bolero and Jaspr builder DSLs; the file(s) above were REFUSED rather than unsupported β a template whose element NAME comes from an expression, or an Astro component whose frontmatter fence is never closed, leaves the element's identity unknown, and every accessibility rule is a statement about a NAMED element β so those views were not merely unparsed but unenumerated: not one of their elements entered the population any card scored. Their absence from the counts above is a gap in this analyzer's frontend coverage β not a finding that they carry text alternatives, labels, keyboard semantics or correct ARIA.
AC3 Page structure β measured, with a gap in what it reached β We measured this, but not all of it. What we 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. 155 further occurrence(s) are not listed individually; the score already reflects all 195.
AC4 Keyboard semantics β measured, with a gap in what it reached β We measured this, but not all of it. What we 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. This repository renders user interface from a TEMPLATE LANGUAGE β 1 JSP template file(s) carrying 70 markup element(s) (e.g. application/social/contentfollower.jsp) β and the accessibility cards on this run were measured over the 197 parsed markup document(s) ONLY. The markup model reads .html/.htm/.cshtml/.razor/.vue/.svelte/.jsx/.tsx, html`β¦` templates and DOM-assigned HTML strings in .ts/.js, the .erb/.ejs/.eex/.heex/.leex/.twig/.jinja/.j2/.liquid/.njk/.hbs/.mustache/.blade.php/.gohtml template languages, .astro/.templ/.pug/.jade/.haml/.slim, and the kotlinx.html/Compose HTML/kotlin-react, Giraffe/Falco/Fable.React/Feliz/Bolero and Jaspr builder DSLs; the file(s) above were REFUSED rather than unsupported β a template whose element NAME comes from an expression, or an Astro component whose frontmatter fence is never closed, leaves the element's identity unknown, and every accessibility rule is a statement about a NAMED element β so those views were not merely unparsed but unenumerated: not one of their elements entered the population any card scored. Their absence from the counts above is a gap in this analyzer's frontend coverage β not a finding that they carry text alternatives, labels, keyboard semantics or correct ARIA.
AC4 Keyboard semantics β measured, with a gap in what it reached β We measured this, but not all of it. What we 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. 2 further occurrence(s) are not listed individually; the score already reflects all 42.
AC5 ARIA correctness β measured, with a gap in what it reached β We measured this, but not all of it. What we 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. This repository renders user interface from a TEMPLATE LANGUAGE β 1 JSP template file(s) carrying 70 markup element(s) (e.g. application/social/contentfollower.jsp) β and the accessibility cards on this run were measured over the 197 parsed markup document(s) ONLY. The markup model reads .html/.htm/.cshtml/.razor/.vue/.svelte/.jsx/.tsx, html`β¦` templates and DOM-assigned HTML strings in .ts/.js, the .erb/.ejs/.eex/.heex/.leex/.twig/.jinja/.j2/.liquid/.njk/.hbs/.mustache/.blade.php/.gohtml template languages, .astro/.templ/.pug/.jade/.haml/.slim, and the kotlinx.html/Compose HTML/kotlin-react, Giraffe/Falco/Fable.React/Feliz/Bolero and Jaspr builder DSLs; the file(s) above were REFUSED rather than unsupported β a template whose element NAME comes from an expression, or an Astro component whose frontmatter fence is never closed, leaves the element's identity unknown, and every accessibility rule is a statement about a NAMED element β so those views were not merely unparsed but unenumerated: not one of their elements entered the population any card scored. Their absence from the counts above is a gap in this analyzer's frontend coverage β not a finding that they carry text alternatives, labels, keyboard semantics or correct ARIA.
AC6 Visual & motion safety β measured, with a gap in what it reached β We measured this, but not all of it. What we 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. This repository renders user interface from a TEMPLATE LANGUAGE β 1 JSP template file(s) carrying 70 markup element(s) (e.g. application/social/contentfollower.jsp) β and the accessibility cards on this run were measured over the 197 parsed markup document(s) ONLY. The markup model reads .html/.htm/.cshtml/.razor/.vue/.svelte/.jsx/.tsx, html`β¦` templates and DOM-assigned HTML strings in .ts/.js, the .erb/.ejs/.eex/.heex/.leex/.twig/.jinja/.j2/.liquid/.njk/.hbs/.mustache/.blade.php/.gohtml template languages, .astro/.templ/.pug/.jade/.haml/.slim, and the kotlinx.html/Compose HTML/kotlin-react, Giraffe/Falco/Fable.React/Feliz/Bolero and Jaspr builder DSLs; the file(s) above were REFUSED rather than unsupported β a template whose element NAME comes from an expression, or an Astro component whose frontmatter fence is never closed, leaves the element's identity unknown, and every accessibility rule is a statement about a NAMED element β so those views were not merely unparsed but unenumerated: not one of their elements entered the population any card scored. Their absence from the counts above is a gap in this analyzer's frontend coverage β not a finding that they carry text alternatives, labels, keyboard semantics or correct ARIA.
AC6 Visual & motion safety β measured, with a gap in what it reached β We measured this, but not all of it. What we 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. 61 further occurrence(s) are not listed individually; the score already reflects all 101.
AXR1 Runtime accessibility β not measured this run β We 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 Dockerfile (REDACTED). docker build failed (exit 1) β 18 | >>> ADD target/ROOT.war /usr/local/tomcat/webapps/ 19 | # # create mount point for volume with application 20 | WORKDIR /usr/local/tomcat/webapps/ -------------------- ERROR: failed to solve: failed to compute cache key: failed to calculate checksum of ref 96eb548b-edaa-421c-830d-e450c0126340::iew1u8znj14td0x0og2ryo76y: "/target/ROOT.war": not found; runtime evidence skipped.
C1 Data Protection β not measured this run β We 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 β We 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 β We 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 β We 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 β We 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.
DM8 Value-object opportunities β not measured this run β We could not measure this here. That is a gap on our side β a collector, parser or image we have not built yet β and it is neither a defect in this repository nor evidence that the check would have passed. This check finds primitive parameters that travel together through several signatures of the domain (a missing value object). Its deterministic rule has not yet shown 95 % precision on adjudicated rows, so the clumps it finds are counted here and not published as findings, and the card carries no score. That is a limit of the analyzer, not a finding about your code.
GD1 Unfinished & placeholder code β not measured this run β We 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 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.
R7 Dead Code β measured, with a gap in what it reached β We measured this, but not all of it. What we 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. 59 further occurrence(s) are not listed individually; the score already reflects all 99.
X4 Structured logging β measured, with a gap in what it reached β We measured this, but not all of it. What we 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. 226 further occurrence(s) are not listed individually; the score already reflects all 266.
Repo exclusion declarations (.gitattributes linguist-generated/vendored, .editorconfig generated_code): none declared β every source file was scored.
Limitations & what we did not check
We assess the repository exactly as committed, and only the repository. By design we do 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
For each dimension that was measured, what a static, repo-only scan structurally cannot see β the honest edge of the measurement, not a failure of it.
D1 Cyclomatic Complexity: Cyclomatic complexity counts branches statically β it cannot tell an essential decision tree from accidental tangle, nor see complexity that lives in data or configuration (large switch-case token tables, DSL lexers/parsers, data-as-code rule tables) rather than control flow: a tokenizer's many single-character cases read as high complexity though each branch is trivial.
D2 Cognitive Complexity: Cognitive-complexity heuristics approximate how hard code is to follow; genuine domain difficulty and well-named intent that eases reading are not captured.
D3 God Classes: "God class" is sized by members and responsibilities visible in the type β a deliberately broad facade over a coherent subsystem can read the same as an accidental grab-bag. For front-end JS the file-length check is cohesion-aware (a single-responsibility module β one class/IIFE β earns a 3× threshold), but cohesion is approximated from top-level declarations, not true dependency structure.
D4 Code Duplication: Duplication is token-similarity β an in-process token-stream comparison over sliding windows, with type-aware normalization β so it finds copy-paste, not semantic duplication expressed differently. Committed machine-written code (scaffolded migrations, designer/codegen output, protobuf/OpenAPI stubs, model snapshots) is EXCLUDED β its repetition is the tool's, not the team's β so the score reflects hand-written duplication only.
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.
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.
D15 Churn × Complexity Hotspots: Churn hotspots come from git history β a freshly imported or squashed repository has no churn signal, and recent rewrites can mask a historically risky file.
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 publishes two things only: a runnable or packaged unit with no example, and a multi-project root README that maps none of its parts. It does not judge clarity, and its other checks (overview, licence, boilerplate, structure, empty sections, XML-doc coverage) are withheld after adjudication: their candidates are counted in the card's gaps, not shown as rows. A false statement in a document is M4's; units are .NET projects only.
D20 ADR Quality: ADR quality checks the structure of the decision records present: it cannot know about decisions made and never recorded, and it does not judge how well a record argues its case. Records in a language the section lexicon does not cover are not evaluated.
D24 Comment Value: Comment value is measured as redundancy only: a comment that repeats its code's words is found, but a paraphrase in other words, a vague comment, or one the code contradicts is not, and whether a comment is valuable is not claimed. Comments in other scripts or languages, and outside C#, are not judged.
D27 Navigability: Indirection/navigability is structural β it measures hops to follow a call, not whether that indirection buys real flexibility or just ceremony.
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.
D32 Data Compliance (PII/GDPR): PII/GDPR signals are heuristic pattern matches in code β they flag likely handling concerns, not legal compliance, and cannot trace where data actually flows at runtime.
D34 Knowledge Freshness: Freshness is decayed commit RECENCY, not comprehension β code read often but rarely committed reads as orphaned, and stable code that genuinely needs no changes is penalised the same as forgotten code; bot/squash commits distort it like the bus factor.
D35 Change Coupling: Change coupling is co-change in COMMITS β files split across separate commits, or coupled only through a shared config/build step, read as uncoupled, and a sweeping commit (rename/format) is excluded so it doesn't couple everything. It shows that files change together, not WHY: a high coupling can be a healthy cohesive pair as readily as a hidden leak.
D43 Malicious Dependencies: Only packages some vulnerability database has already NAMED as malicious are seen β a compromise published in the last hours, or never reported at all, is invisible here, and this dimension reading 10 is not evidence that a dependency is trustworthy. There is no typosquat or dependency-confusion analysis: a package nobody has reported is simply absent from the feeds. Coverage is the dependency scan's: an ecosystem that could not be scanned is disclosed as unmeasured, never as clean.
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 Dockerfile (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.
AC5 ARIA correctness: ARIA correctness is checked against the static role/attribute shape β roles/attributes set dynamically aren't seen, a valid role says nothing about whether it matches the element's real behaviour, and required-state checks are suppressed when a JSX spread could supply them. The two-branch toggle check (a control whose state is conveyed only by which of two mutually exclusive branches renders) reads CONDITIONALS THAT ARE ATTRIBUTES β Vue v-if/v-else/v-show and Alpine x-if/x-show β so the same toggle written as a Svelte {#if} block or a JSX ternary is control flow the markup model never projects as a branch and is not seen at all.
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.
DM6 Domain β infrastructure boundary: Infrastructure reached through a hand-rolled wrapper, a domain-named facade, reflection, or a string-keyed service locator resolves to a non-infra type and isn't seen; the body scan is symbol resolution over syntax, not full dataflow. A clean result means "no resolved infra reference in a domain body", not a proof of purity.
M4 Documentation accuracy: Documentation accuracy checks links, versions and artefact counts against the tree: other claims (paths, commands, settings, routes) are read but not checked, and it cannot run the onboarding or measure how long a real new joiner takes.
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.
What it measures: How tangled the control flow is β methods with many branches are hard to test and change.
Method: Cyclomatic complexity per method (1 + decision points), computed exhaustively across production source; test projects separated by convention. Deterministic.
+ 68 more group(s) β more in Appendix A; the complete list is findings.md.
What to do
Bring the 4 bodies over 60 down to 60 or less in Cyclomatic Complexity β start with JavaCodeViewer.javaCodeFilter (cyclomatic 122), (anonymous) (cyclomatic 100), _generateHTML (cyclomatic 91). β This score is capped by its worst body, so a finding fixed alone moves it by almost nothing β the next one down takes its place. Refactoring these 4 together lifts Cyclomatic Complexity from 5.8 to about 6.5/10, projected with the scoring formula itself and assuming each lands exactly at 60; a cleaner split scores higher.
Detailed fixes: d1_recommendation.md Β· top locations in Appendix A, every location in findings.md.
What it measures: How hard the code is for a person to follow, beyond raw branching.
Method: Cognitive complexity per method (Sonar-style nesting-penalized score), computed exhaustively over production code, excluding test projects. Deterministic.
+ 107 more group(s) β more in Appendix A; the complete list is findings.md.
What to do
Bring the 3 bodies over 120 down to 120 or less in Cognitive Complexity β start with JavaCodeViewer.javaCodeFilter (cognitive 300), _generateHTML (cognitive 210), Emoticon.convertEmoticons (cognitive 179). β This score is capped by its worst body, so a finding fixed alone moves it by almost nothing β the next one down takes its place. Refactoring these 3 together lifts Cognitive Complexity from 4.2 to about 5.4/10, projected with the scoring formula itself and assuming each lands exactly at 120; a cleaner split scores higher.
Detailed fixes: d2_recommendation.md Β· top locations in Appendix A, every location in findings.md.
Do you agree with this assessment?
D3 Β· God Classes8.6 / 10Strongβ Tool-verified
What it measures: Over-large classes that try to do too much ("god classes").
Method: God-class detection by line and method-count thresholds per logical type (partial classes unified), filtered for generated code and registration/contract false positives. Deterministic.
Resolve the 8 TooManyMethods finding(s) in God Classes β start with JavaCodeViewer.java, JavaCodeHighlighter.java, Account.java. β One of this dimension's main actionable groups (8 warning-level).
Resolve the 3 FileTooLong finding(s) in God Classes β start with REDACTED, REDACTED, JavaCodeViewer.java. β One of this dimension's main actionable groups (3 warning-level).
Resolve the 2 FunctionTooLong finding(s) in God Classes β start with base64image.js, plugin.js. β One of this dimension's main actionable groups (2 warning-level).
Detailed fixes: d3_recommendation.md Β· top locations in Appendix A, every location in findings.md.
What it measures: Copy-pasted code that should be shared instead.
Method: Code duplication via token-stream sliding windows with type-aware normalization (locals masked, type names preserved), density-scored per KLoC of production code. Deterministic.
141 duplicated block group(s) detected. A further 6 rows report members as variants of one another; they aggregate block groups already counted above and are not themselves counted.
+ 66 more group(s) β more in Appendix A; the complete list is findings.md.
What to do
Resolve the 9 Duplicated block (9 lines × 2) finding(s) in Code Duplication β start with MessageQueryDaoSql.java (2), OAuthAccountServiceImp.java, Emoticon.java. β One of this dimension's main actionable groups (9 warning-level).
Resolve the 8 Duplicated block (10 lines × 2) finding(s) in Code Duplication β start with REDACTED, MessageDaoSql.java, MessageSearchProxy.java. β One of this dimension's main actionable groups (8 warning-level).
Resolve the 8 Duplicated block (6 lines × 2) finding(s) in Code Duplication β start with MessageQueryDaoSql.java (2), RefererCaptchaAction.java (2), SubscribedState.java. β One of this dimension's main actionable groups (8 warning-level).
Detailed fixes: d4_recommendation.md Β· top locations in Appendix A, every location in findings.md.
What it measures: Whether a class's methods are focused on a single responsibility.
Method: LCOM4 cohesion per production class with at least two methods: connected components of methods sharing state or calls, computed syntactically. Deterministic, not a proxy.
Coverage: Exhaustive · type-level: LCOM4 cohesion computed over every production class β the population is all types, not a name convention.
Resolve the 1 Low cohesion finding(s) in Cohesion (LCOM4) β start with UploadHelper.java. β One of this dimension's main actionable groups (1 warning-level).
Detailed fixes: d6_recommendation.md Β· top locations in Appendix A, every location in findings.md.
What it measures: Whether any secrets (keys, tokens, passwords) have leaked into the code.
Method: In-process native secret scanner (entropy plus signature patterns) across all tracked files; no external tool. A clean result is a measured 10, not no-data zero. Deterministic.
What it measures: Whether the licenses of third-party packages are compatible with your policy.
Method: Third-party package licenses resolved from declared package metadata and checked against the configured policy (allow/deny/copyleft). Deterministic; clean = no incompatible license found at metadata depth.
2 of 40 declared JVM dependency artifact(s) use a banned license. Licences were resolved from the POMs Maven Central publishes, over the coordinates this repository's 1 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. 4 of them resolve to no licence at all on Central, even through their parent POMs; that is missing data, not a violation, and none of them is charged. A further 6 coordinate(s) are not published to Maven Central β another repository (Google's Maven hosts androidx), a SNAPSHOT, or a private artifact β so their licences are not readable from here and they are outside this verdict.
What it measures: Files that change often and are also complex β the riskiest hotspots.
Method: Per production file churn times cyclomatic complexity over a rolling window, computed from git and Roslyn/JS/Razor analysis. Exhaustive, deterministic per commit date.
What it measures: Acknowledged debt left in the code β TODOs, dead code, suppressed warnings.
Method: Roslyn syntactic debt markers (suppressions/TODO/FIXME/HACK/empty-catch/commented-code/Obsolete) plus SymbolFinder dead-code analysis; weighted-debt-per-KLoC density deducted 2.0x per unit. Deterministic, exhaustive.
27 deducted task-comment markers across 45931 LoC (0.1/KLoC) β score 9.9. 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.
Resolve the 5 TodoComment finding(s) in Explicit Debt β start with MessageSendEventBus.java, ShortMessageFactory.java, MPageTag.java. β One of this dimension's main actionable groups (5 warning-level).
Resolve the 3 XxxComment finding(s) in Explicit Debt β start with TextStyle.java (3). β One of this dimension's main actionable groups (3 warning-level).
Resolve the 1 TodoComment repeated across 14 files finding(s) in Explicit Debt β start with ThrottleManager.java. β One of this dimension's main actionable groups (1 warning-level).
Detailed fixes: d17_recommendation.md Β· top locations in Appendix A, every location in findings.md.
What it measures: Whether the project's documentation is clear, complete, and useful.
Method: Every README, docs/ document and root guide parsed by its markup and measured in Unicode letters. Published: a runnable or packaged .NET project whose README (or a document it links, or a root guide) shows no example, and a root README naming none of three or more projects. Overview, licence, boilerplate, wall-of-text, empty-section and XML-doc rows are measured and withheld (counted in gaps) after adjudication. Deterministic, exhaustive, advisory.
What it measures: Whether architecture decisions are recorded well (context, decision, consequences).
Method: Every ADR read by its section structure: nine located rules (a missing Decision, Context or Consequences section, a stale status, two records deciding the same question, a dangling supersede link, a number-only title, a single option, no named cost, no status where the log uses one, no enforcement field where the log adopted one), each a fixed deduction from 10; the score is the mean over evaluated records. Deterministic, no model. Advisory.
What it measures: Whether comments are worth it β explaining WHY (valuable) rather than WHAT (redundant).
Method: Every inline C# comment compared word by word with the identifiers, literals and constructs of the code it annotates (taken from the syntax); a comment whose words that code already contains is redundant, as are closing-brace labels and generator template text. Comments giving a reason or a reference are kept; other scripts and languages are not judged. Deterministic, exhaustive, advisory.
9 of 543 judged comments only repeat the code they sit on (1.7 %). 33 comment(s) in another language or script were not judged.
redundant comment Β· Γ9REDACTED:880
What to do
Resolve the 9 redundant comment finding(s) in Comment Value β start with REDACTED (4), plugin.js (2), base64image.js (2). β One of this dimension's main actionable groups (9 recommendation-level).
Detailed fixes: d24_recommendation.md Β· top locations in Appendix A, every location in findings.md.
What it measures: How far you must trace to follow a call β low indirection and co-located slices read easier.
Method: Call indirection (interface hops, cross-namespace calls, slice-locality scaled) over a sampled set of method invocations, size-aware baseline. Sampled; confidence discounted by symbol-resolution gaps. C# also names each pass-through layer (a class whose every public method only forwards its own parameters to one collaborator) as a located finding; the score is not affected.
Coverage: Slice locality from the first namespace segments, SAMPLED (β€400 methods) β not exhaustive.
78 % of calls cross a namespace and 26 % go through an interface, but 100 % of collaborators are co-located β so following a call takes several hops. Baseline: small β navigation cost is tolerated.
What it measures: Whether any secrets were ever committed β scanned across the full git history, not just now.
Method: REDACTED scan via TWO gitleaks detect passes in an isolated checkout β the full git history, then a second --no-git pass over the working tree as it stands β merged and de-duplicated by (rule, file, line); each match flagged High. Both invocations are recorded in the audit trail. Exhaustive; when the tool is absent, or when its output cannot be parsed into the expected shape, the dimension is WITHHELD as an explicit measurement gap on our side β unscored and excluded from the lens, never a hedged middling score.
7 finding(s): 0 critical, 7 high, 0 medium, 0 low. Remediation for historically-committed secrets is credential rotation β they remain in history regardless of later deletion.
REDACTED
REDACTED
What to do
Resolve the 7 REDACTED finding(s) in Secrets (history) β start with REDACTED (2), REDACTED (2), REDACTED (2). β One of this dimension's main actionable groups (7 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).
Detailed fixes: d28_recommendation.md Β· top locations in Appendix A, every location in findings.md.
What it measures: Real static-analysis (SAST) findings β likely security bugs in the code, any language.
Method: Polyglot static analysis via semgrep across the repo using the pinned, image-baked p/security-audit + p/owasp-top-ten rulesets (no scan-time registry fetch); severity rules (ERROR/WARNING/INFO) map to a full-band severity-weighted score. Exhaustive, deterministic; degrades on parse failure.
Coverage: semgrep pattern rules over all files β exhaustive for the rule set, blind to classes of bug without a rule (clean = no rule matched).
25 finding(s): 0 critical, 2 high, 17 medium, 6 low. semgrep hit a parse error in 5 file(s) β `REDACTED`, `application/common/ckeditor/ckeditor.js`, `application/common/js/prototype.js`, `REDACTED`, `application/js/jquery-bootstrap2.js` β so no absence of findings in them is evidence of anything, and nothing in them was analysed. Fix the syntax error (or exclude the file deliberately) and re-scan to cover them.
REDACTED
REDACTED
REDACTED
REDACTED
REDACTED
+ 6 more group(s) β more in Appendix A; the complete list is findings.md.
What to do
Resolve the 9 REDACTED finding(s) in Static Analysis (SAST) β start with REDACTED (3), REDACTED (2), REDACTED. β One of this dimension's main actionable groups (9 warning-level).
Resolve the 1 REDACTED finding(s) in Static Analysis (SAST) β start with REDACTED. β One of this dimension's main actionable groups (1 issue-level).
Resolve the 1 REDACTED finding(s) in Static Analysis (SAST) β start with REDACTED. β One of this dimension's main actionable groups (1 issue-level).
Detailed fixes: d29_recommendation.md Β· top locations in Appendix A, every location in findings.md.
What it measures: Whether any dependency has a known published vulnerability (CVE), direct or transitive, in ANY ecosystem the repository declares β Dart pub, Elixir and Erlang via Hex, Go modules, Java and Kotlin via Maven/Gradle, JavaScript/npm, .NET/NuGet, PHP/Composer, Python/PyPI, RubyGems, Rust/Cargo and Swift.
Method: Dependency-CVE scan across every ecosystem the repository declares, scored ONCE. Three sources are unioned and deduplicated by advisory identity (rule id + alias closure, CVE<->GHSA) scoped to package+version, keeping the worst severity: `osv-scanner --recursive` over osv.dev for Dart pub, Elixir/Hex (and Erlang, whose `rebar.lock` syft first converts to a CycloneDX SBOM the scanner reads, with rows attributed back to the lock), Go, Java and Kotlin via Maven/Gradle (and Scala, whose sbt build's pinned direct declarations are written into a CycloneDX SBOM the scanner reads, with rows attributed back to the build file), npm, PHP/Composer, Python/PyPI, RubyGems, Rust/Cargo and Swift; `trivy fs --scanners vuln` for npm lockfiles; and `dotnet list package --vulnerable --include-transitive` for NuGet (with per-advisory collapse of the project x target-framework fan-out), plus a DECLARED-dependency arm that resolves a published gem's gemspec against rubygems.org where no Gemfile.lock is committed. `SeverityScore(c,h,m,l, normalizer 8.0)`. NotApplicable only when NO ecosystem is readable; if any applicable ecosystem could not be scanned the findings are REPORTED and the score is withheld. Supersedes the npm and OSV arms, retired 2026-09-05. Advisory since rubric-2026.11.2 (CAI decision 0006): every row is a match against a vulnerability database that changes daily, so the reading is shown and never moves a scored dimension, lens or the headline.
Resolve the 5 High CVE finding(s) in Dependency Vulnerabilities β start with REDACTED (5). β One of this dimension's main actionable groups (5 issue-level).
Resolve the 4 Medium CVE finding(s) in Dependency Vulnerabilities β start with REDACTED (4). β One of this dimension's main actionable groups (4 warning-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).
Detailed fixes: d30_recommendation.md Β· top locations in Appendix A, every location in findings.md.
Resolve the 1 High IaC finding(s) in IaC & Container Security β start with REDACTED. β One of this dimension's main actionable groups (1 issue-level).
Resolve the 8 Low IaC finding(s) in IaC & Container Security β start with REDACTED (8). β One of this dimension's main actionable groups (8 recommendation-level).
Resolve the 1 Medium IaC finding(s) in IaC & Container Security β start with REDACTED. β One of this dimension's main actionable groups (1 warning-level).
Detailed fixes: d31_recommendation.md Β· top locations in Appendix A, every location in findings.md.
Do you agree with this assessment?
D32 Β· Data Compliance (PII/GDPR)8.1 / 10Strongβ Tool-verified
What it measures: Likely personal-data (PII / GDPR) handling concerns β logging or storing data without safeguards.
Method: Heuristic PII/GDPR LEAK scan via semgrep across the repo, using our own ruleset: personal data crossing a boundary it should not β reaching a log/console sink, a URL or query string, or unprotected browser storage. Matches map to severity and a 0-10 wide normalizer. A clean sweep is unscored rather than an unearned 10, and is a statement about the leak paths checked only β this dimension does not inventory the personal data a repository holds (the personal-data map and the C1-C5 compliance cards do that), so it never reports that a repository has no personal-data surface. Reported LOUDLY as a measurement gap if the ruleset is missing from the analyzer image. Exhaustive over the leak paths, advisory-leaning; degrades on parse failure.
2 finding(s): 0 critical, 0 high, 2 medium, 0 low. semgrep could not parse 1 file(s) β `application/common/ckeditor/ckeditor.js` β so the PII/GDPR sweep did not cover them at all.
REDACTED
What to do
Resolve the 2 REDACTED finding(s) in Data Compliance (PII/GDPR) β start with REDACTED (2). β One of this dimension's main actionable groups (2 warning-level).
Detailed fixes: d32_recommendation.md Β· top locations in Appendix A, every location in findings.md.
What it measures: Whether anyone still has living knowledge of each file, or it has been orphaned β last understood long ago by someone now gone quiet. The sibling of the bus factor: D16 asks who owns it, D34 asks whether anyone still knows it.
Method: File orphaning as total living-knowledge decay below one focused-commit's worth within a year, computed per-file from the D16 decay model. Exhaustive, deterministic over fixed history.
Every significant source file has living knowledge β recently and meaningfully worked. Counted over 230 of the 549 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over.
What it measures: Whether files that change together actually belong together β pairs that repeatedly co-change in git history despite having no explicit code dependency, surfacing the hidden/logical coupling (and boundaries in the wrong place) a static scan can't see.
Method: Pairwise co-occurrence over the per-commit file sets in git history (production source only β tests and generated dropped): Degree-of-Coupling = shared ÷ min individual revisions, reported above noise floors (each file β₯10 revisions, β₯5 shared commits, β₯50% strength); sweeping commits excluded. Deterministic over fixed history.
Coverage: Population: PRODUCTION source files only β test and generated files are dropped before pairing, so a class co-changing with its own test (trivially ~100%) can't drown the real productionβproduction coupling. Pairs ranked by Degree-of-Coupling. A non-source file is never a coupling PARTICIPANT either: documentation, schemas, config and data files are dropped with the rest, so a codeβdocs pair β a command and the reference page that restates it β is not reported however strongly the two co-change; nor is coupling that runs THROUGH a build step or config file.
What it measures: Whether any dependency the repository declares is published as MALICIOUS rather than merely vulnerable β a package that is an attacker's work, in any ecosystem osv-scanner reads. Reported apart from D30 because the answer is binary: there is no safe version to upgrade to, and the fix is to remove the package and rotate every credential it could have read.
Method: The same dependency scan D30 reads, partitioned on the scanner's own classification rather than rescanned: a row is MALICIOUS when its id is in the `MAL-` space (the ossf/malicious-packages feed) OR its `database_specific.cwe_ids` carries `CWE-506` ("Embedded Malicious Code"). Both channels are structural; the summary text is deliberately NOT read, because a malicious-package record whose summary says only "Critical severity vulnerability" is a real shape ([GHSA redacted]) and a text matcher misses it. Scored BINARY: any surviving row is 0, whatever its severity and however many CVEs sit beside it β a hostile dependency is not a quantity. Applicability and degradation are D30's: NotApplicable only when no ecosystem is readable, and an unscannable ecosystem degrades rather than reading clean. Advisory since rubric-2026.11.2 (CAI decision 0006): the malicious-package feed is a database that changes daily, so the reading is shown and never moves a scored dimension, lens or the headline.
What it measures: Whether anyone still ships security patches for the platform this repository RUNS ON β the runtime it pins and the framework majors its own constraints hold it to. Separate from D12 because the question differs: a current Django on an end-of-life Python is perfectly up to date and completely unsupported, and the fix is a migration rather than a version bump. What the repository says it merely SUPPORTS is never charged.
Method: End-of-life PLATFORM read from the repository's own declarations and graded against a FROZEN, dated table of vendor support dates β no network, no feed, no API, so this dimension answers identically inside a closed scan fence. Two subjects: a RUNTIME the project pins (a single or all-end-of-life TargetFramework, a .nvmrc or .python-version, a requires-python CAP) and a FRAMEWORK major a dependency constraint cannot move off (a caret, tilde or exact version; `vue@^2.7.16` pins Vue 2). A FLOOR is deliberately never charged β `requires-python = ">=3.8"` states what a package SUPPORTS, not what it runs on β and a multi-target project is charged only when EVERY target is out of support. Runtime 4.0/product capped 8.0, framework 1.5 capped 4.5. The table is safe to freeze because a statement about support that ended in the past cannot become false: it loses recall as it ages, never precision, and a test asserts every entry predates the freeze date. Disjoint from D31 (a container image's OS layer) and D29 (the toolchain a CI workflow installs). Abstains when the repository declares no platform this pass reads β never scores it clean.
0 end-of-life runtime(s) and 0 end-of-life framework(s), read from 1 platform declaration(s) and 46 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.
β On the Gold path β maintain.
Detailed fixes: d44_recommendation.md.
Do you agree with this assessment?
Frontend & cross-cutting dimensions
R = React/JS Β· M = Maturity Β· P = Readiness.
AC1 Β· Text alternatives3.3 / 10Weakβ Tool-verified
Other Β· Accessibility β Whether non-text content carries a text alternative β img/area/input[type=image] have alt, a meaningful svg has a title or aria-label, video has a captions track, and object/embed/canvas have a name or fallback content. Static markup readiness, not a WCAG conformance claim.
Method: Static markup-model scan: every img/area/input[type=image] checked for alt, svg[role=img] for a title/aria-label, video for a captions <track>. Components skipped, spreads suppressed. Deterministic, hard fact per element.
Coverage: Population: image/media elements β img, area, input[type=image], svg, video, object, embed, canvas β across the PARSED MARKUP files only (.html/.htm/.cshtml/.razor/.vue/.svelte/.jsx/.tsx); components, hidden subtrees and dynamic-attribute elements are skipped. Markup built in script β tagged-template (html`β¦`) UIs and hyperscript DOM factories β is NOT read by any producer, so it contributes no element to this population; where such a frontend is present the card discloses it as an analyzer gap rather than scoring around it.
An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt β alt="" if it's purely decorative. (×40) β application/account/profileView.jsp:41, application/account/profileView.jsp:44, application/account/profileView.jsp:49, β¦
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.
Do you agree with this assessment?
AC2 Β· Forms & labels4.3 / 10Weakβ Tool-verified
Other Β· Accessibility β Whether form controls have a programmatic label (an associated label, aria-label or aria-labelledby), buttons have text, links have an accessible name, a click handler on a plain element names the control it declares, fieldsets have a non-empty legend, known UI-library field components carry a label prop, and a placeholder isn't used as the only label. Static markup readiness, not a WCAG conformance claim.
Method: Static markup-model scan: inputs/selects/textareas checked for an associated label[for]/wrapping label/aria-label/aria-labelledby (per document), buttons for accessible text, fieldsets for a legend; placeholder-only labelling flagged. Deterministic, hard fact per control.
Coverage: Population: form controls, buttons, links, fieldsets and known UI-library field components in the PARSED MARKUP files only (.html/.htm/.cshtml/.razor/.vue/.svelte/.jsx/.tsx); components, hidden subtrees and spread/dynamic-attribute elements are skipped, so a control whose label arrives through a spread or a runtime expression is deliberately not judged. Markup built in script β tagged-template (html`β¦`) UIs and hyperscript DOM factories β is not read at all.
This control has no associated label. Add a <label for> / wrapping <label> / aria-label / aria-labelledby so assistive tech can name it. (×32) β application/account/IncludeAccountFields.jsp:98, application/account/IncludeAccountFields.jsp:102, application/account/IncludeAccountFields.jsp:108, β¦
This <label> has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association β it is the TARGET of one, so a control still has to point at it. Give the label for="<the control's id>", move the control inside the label, or point the control's aria-labelledby at this label's id. (×6) β application/account/newAccount.jsp:67, application/account/newAccount.jsp:75, application/account/newAccount.jsp:82, β¦
This control has only a placeholder β a placeholder is not a label (it vanishes on input and many AT ignore it). Add a <label for>, a wrapping <label>, or aria-label. (×2) β application/account/newAccount.jsp:69, application/account/newAccount.jsp:90
What to do
Give every control a programmatic label (a <label for> / wrapping <label> / aria-label) and every button text β a placeholder is not a label.
Other Β· Accessibility β Whether pages declare a language (well-formed BCP-47) and a non-empty title, expose exactly one main landmark and a sane heading order with non-empty headings, keep zoom enabled, title their iframes, give data tables header cells, and avoid meta-refresh. Static markup readiness, not a WCAG conformance claim.
Method: Static markup-model scan: html lang, document <title>, a main landmark and heading order on full documents only, plus zoom-disabling viewports, untitled iframes and meta-refresh anywhere. Deterministic, per structural checkpoint.
Coverage: Population: the PARSED MARKUP documents (.html/.htm/.cshtml/.razor/.vue/.svelte/.jsx/.tsx). The page-level checks β lang, title, single main landmark β fire ONCE PER FULL DOCUMENT (an <html> root) and never on a partial or component fragment, so a repo of fragments is assessed only on the per-element checks (heading order, table headers, iframe titles, meta-refresh, zoom). Markup built in script β tagged-template (html`β¦`) UIs and hyperscript DOM factories β is not read at all.
The page declares no language, so assistive tech can't pick the right pronunciation. Add lang (e.g. lang="en"). (×7) β application/503.jsp:6, application/account/login.jsp:1, application/account/login_error.jsp:1, β¦
No <main> (or role="main") means no "skip to content" target and a weaker landmark map. Wrap the primary content in <main>. (×7) β application/503.jsp:6, application/account/login.jsp:1, application/account/login_error.jsp:1, β¦
A <table> with data cells but no <th> gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as <th> (with a scope). (×25) β application/account/emailValidate.jsp:11, application/account/fwd.jsp:29, application/account/login.jsp:33, β¦
A page with no <title> gives no name in the tab, history or screen-reader page list. Add a descriptive <title> in <head>. β application/account/protected/upload/result.jsp:1
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.
Other Β· Accessibility β Whether interactive behaviour is keyboard-reachable β no click handler on a non-interactive element lacking a role, tabindex and key handler, no element the repo's own CSS styles `cursor: pointer` without giving it any of the three, no unfocusable element whose only binding is a mouse enter/leave pair or a double-click, no positive tabindex, no href-less anchor, no placeholder-href (#/javascript) link acting as a button. Static markup readiness, not a WCAG conformance claim.
Method: Static markup-model scan: click handlers on non-interactive elements lacking role+tabindex+key handler, positive tabindex values, and href-less anchors. Components skipped, spreads suppressed. Deterministic, hard fact per element.
Coverage: Population: elements that pose a keyboard-semantics question, in the PARSED MARKUP files only (.html/.htm/.cshtml/.razor/.vue/.svelte/.jsx/.tsx) β a non-natively-interactive element carrying a click handler, a double-click or hover enter/leave binding, a pointer-only gesture on a tabindex="0" element, or `cursor: pointer` from the repo's own CSS; an href-less or placeholder-href (#, javascript:) anchor; and any element with a positive tabindex. Natively interactive elements used correctly (<button>, <a href>, form controls) are NOT in the population β there is nothing to judge β so a page of nothing but correct controls gives AC4 nothing to measure. Keyboard reachability is judged from the markup, never from a rendered page. β An interactive element declared in a tagged-template (html`β¦`) or hyperscript frontend is NOT in this population β no producer reads either β so an empty population is reported as an analyzer gap, never as "this repository has no interactive elements".
A positive tabindex forces a manual tab order that fights the DOM and is fragile. Use tabindex="0" (or restructure the DOM). (×21) β application/account/login.jsp:60, application/account/login.jsp:74, application/account/login.jsp:77, β¦
A click handler on a plain element isn't keyboard-operable. Use a <button>, or add role + tabindex="0" + a key handler. (×7) β application/blog/header.jsp:149, application/common/js/window.js:375, application/common/js/window.js:376, β¦
An <a href="#"> (or javascript:) with a click handler is a button dressed as a link β it announces the wrong role and stops working without JS. Use a <button> for an action. (×5) β application/blog/header.jsp:279, application/blog/header.jsp:304, application/common/bookmark.jsp:72, β¦
An <a> with no href, role or tabindex isn't focusable or keyboard-activatable. Give it a real href, or use a <button> for an action. (×6) β REDACTED:131, REDACTED:6251, REDACTED:8354, β¦
The repo's own CSS styles .linkblock with `cursor: pointer`, so this <div> is a control β but it has no role, no tabindex="0" and no key handler, so it can only be reached with a mouse. Use a <button>, or add role + tabindex="0" + a key handler. β application/forum/forumList.jsp:62
What to do
Make custom controls keyboard-operable (role + tabindex + key handler), drop positive tabindex, and give anchors a real href.
Other Β· Accessibility β Whether ARIA is used correctly β valid non-abstract roles, the ARIA state a role requires, valid (non-misspelled) aria-* attribute names, in-enum values for token-typed aria-* attributes, and no aria-hidden on (or wrapping) a focusable element. Static markup readiness, not a WCAG conformance claim.
Method: Static markup-model scan: role values checked against the WAI-ARIA role set (abstract/invalid flagged), required ARIA state for a role, and aria-hidden on a focusable element. Deterministic, role/attribute level.
Coverage: Population: elements in the PARSED MARKUP files (.html/.htm/.cshtml/.razor/.vue/.svelte/.jsx/.tsx) that carry a role or an aria-* attribute; roles and token values are checked against the ARIA enums exhaustively within that set. An expression-valued (dynamic) role or aria-* value is skipped rather than guessed, and markup built in script β tagged-template (html`β¦`) UIs and hyperscript DOM factories β is not read at all.
Other Β· Accessibility β Whether focus outlines aren't removed without a replacement, motion respects prefers-reduced-motion, and literal CSS colour pairs meet contrast β PARTIAL: inline styles, in-repo <style> blocks, in-repo .css files, var() tokens, Tailwind neutral utilities and CSS-in-JS literals are read (hex/rgb/hsl/named), never computed/runtime/external-CDN colour. Static markup readiness, not a WCAG conformance claim.
Method: Static markup/CSS scan: inline outline:none/0, literal inline colour/background contrast against the 4.5:1 AA floor, and <style>-block animation without a prefers-reduced-motion guard. Deterministic but PARTIAL β only inline styles and in-repo CSS literals are visible.
Coverage: Population: styled elements in the PARSED MARKUP files (.html/.htm/.cshtml/.razor/.vue/.svelte/.jsx/.tsx), plus in-repo <style> blocks, in-repo .css files and CSS-in-JS literals. Colour contrast is computed from LITERAL colour pairs only (hex/rgb/hsl/named, including var() tokens and Tailwind neutral utilities) β computed, runtime-themed and external-CDN colour is never resolved, so this is a partial read of contrast by construction. Markup built in script β tagged-template (html`β¦`) UIs and hyperscript DOM factories β is not read at all.
`.btn-primary` sets color: #fff on background-color: #428bca β 3.6: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). β application/js/jdon.css:2
`.btn-primary .badge` sets color: #428bca on background-color: #fff β 3.6: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). β application/js/jdon.css:2
`.btn-success:hover,.btn-success:focus,.btn-success:active,.btn-success.active,.open .dropdown-toggle.btn-success` sets color: #fff on background-color: #47a447 β 3.1: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). β application/js/jdon.css:2
`.btn-info:hover,.btn-info:focus,.btn-info:active,.btn-info.active,.open .dropdown-toggle.btn-info` sets color: #fff on background-color: #39b3d7 β 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). β application/js/jdon.css:2
`.btn-warning:hover,.btn-warning:focus,.btn-warning:active,.btn-warning.active,.open .dropdown-toggle.btn-warning` sets color: #fff on background-color: #ed9c28 β 2.2: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). β application/js/jdon.css:2
`.btn-danger` sets color: #fff on background-color: #d9534f β 4.0: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). β application/js/jdon.css:2
`.btn-danger .badge` sets color: #d9534f on background-color: #fff β 4.0: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). β application/js/jdon.css:2
`.dropdown-menu>.active>a,.dropdown-menu>.active>a:hover,.dropdown-menu>.active>a:focus` sets color: #fff on background-color: #428bca β 3.6: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). β application/js/jdon.css:2
`.nav-pills>li.active>a,.nav-pills>li.active>a:hover,.nav-pills>li.active>a:focus` sets color: #fff on background-color: #428bca β 3.6: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). β application/js/jdon.css:2
`.pagination>li>a,.pagination>li>span` sets color: #428bca on background-color: #fff β 3.6: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). β application/js/jdon.css:2
`.pagination>.active>a,.pagination>.active>span,.pagination>.active>a:hover,.pagination>.active>span:hover,.pagination>.active>a:focus,.pagination>.active>span:focus` sets color: #fff on background-color: #428bca β 3.6: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). β application/js/jdon.css:2
`a.list-group-item.active>.badge,.nav-pills>.active>a>.badge` sets color: #428bca on background-color: #fff β 3.6: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). β application/js/jdon.css:2
`a.list-group-item.active,a.list-group-item.active:hover,a.list-group-item.active:focus` sets color: #fff on background-color: #428bca β 3.6: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). β application/js/jdon.css:2
`a.list-group-item-success:hover,a.list-group-item-success:focus` sets color: #3c763d on background-color: #d0e9c6 β 4.2: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). β application/js/jdon.css:2
`a.list-group-item-info:hover,a.list-group-item-info:focus` sets color: #31708f on background-color: #c4e3f3 β 4.1: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). β application/js/jdon.css:2
`a.list-group-item-warning:hover,a.list-group-item-warning:focus` sets color: #8a6d3b on background-color: #faf2cc β 4.3: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). β application/js/jdon.css:2
`a.list-group-item-danger:hover,a.list-group-item-danger:focus` sets color: #a94442 on background-color: #ebcccc β 3.9: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). β application/js/jdon.css:2
`#menu ul.top-social a i:hover` sets color: #fff on background-color: #ff7800 β 2.6: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). β application/js/jdon.css:2
`.vid-tags a` sets color: #fff on background-color: #fd0005 β 4.1: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). β application/js/jdon.css:2
`.tagcloud .tag-cloud-link` sets color: #FFF on background-color: #ff7800 β 2.6: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). β application/js/jdon.css:2
`.portlet-title` sets color: #4A517D on background-color: #6699CC url(/images/portlet/portlet_title_bg_gradient.gif) repeat-x β 2.5:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them. β application/common/portlet.css:20
`tr:hover, tr.odd:hover` sets color: #ffffff on background-color: #3d80df β 3.9:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them. (×2) β application/common/style/template/classic.css:30, application/common/style/template/itunes.css:25
`.calendar thead .title` sets color: #fff on background-color: #788084 β 4.0:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them. β application/common/js/calendar-win2k-cold-1.css:40
`.calendar tfoot .ttip` sets color: #fff on background-color: #788084 β 4.0:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them. β application/common/js/calendar-win2k-cold-1.css:150
`.vid-tags a` sets color: #fff on background-color: #fd0005 β 4.1:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them. β application/common/js/styles/style.css:623
`.topsel` sets color: #cccccc on background-color: #E5F5FC β 1.4:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them. (×2) β application/common/blog/themes/default/style/blog.css:139, application/blog/themes/default/style/blog.css:139
`.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. β application/js/jdon.css:2
`.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. β application/js/jdon.css:2
`.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. β application/js/jdon.css:2
`.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. β application/js/jdon.css:2
`.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. β application/js/jdon.css:2
`.navbar-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. β application/js/jdon.css:2
`.modal` 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. β application/js/jdon.css:2
`.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. β application/js/jdon.css:2
`.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. β application/js/jdon.css:2
`footer .footer-1 input[type="text"]` 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. (×2) β application/js/jdon.css:2, application/common/js/styles/style.css:912
`.cke_hc .cke_dialog_footer` 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. β application/common/ckeditor/skins/moono-lisa/dialog.css:5
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.
Other Β· Accessibility β Whether accessibility is ENFORCED in the toolchain β an accessibility checker configured over the markup (an a11y lint rule set, e.g. eslint-plugin-jsx-a11y or vuejs-accessibility where the project lints JavaScript) and an automated accessibility assertion wired into tests or CI (axe/pa11y/Lighthouse or an equivalent) β on the DocumentedβVerifiedβPrevented ladder.
Method: Repo config/CI scan: an accessibility checker configured over the markup (an a11y lint rule set such as eslint-plugin-jsx-a11y / vuejs-accessibility where JavaScript is linted) and an automated accessibility assertion in tests or CI (axe/pa11y/Lighthouse or equivalent), graded on the DocumentedβVerifiedβPrevented rungs. Deterministic, presence/rung detection.
Coverage: Population: the repository's own tooling configuration β lint config, test and CI files β NOT the markup. It is read for a configured accessibility checker and an automated accessibility assertion (axe/pa11y/Lighthouse, or a native-toolkit equivalent), and it credits an INVOCATION, never a mention: a licence filename, an import comment or a doc reference earns no rung. Enforcement configured entirely outside the repository leaves no evidence here and cannot be credited.
No accessibility enforcement found β no accessibility linting at author time and no automated accessibility check in tests or CI. Add your UI toolkit's own accessibility assertion to the test suite (Flutter `meetsGuideline`, Espresso `AccessibilityChecks`, XCTest `performAccessibilityAudit`), then gate that test in the pipeline. What was searched, so you can tell an absence from a miss: the 197 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
Enforce accessibility in the toolchain your project already uses: assert accessibility in your UI test suite with your toolkit's own matcher (Flutter `meetsGuideline`, Espresso `AccessibilityChecks`, XCTest `performAccessibilityAudit`), then gate that test in CI so a regression blocks the merge.
Other Β· Architecture β How the codebase splits by code ROLE β domain, application, infrastructure, test, generated. The significance map behind the knowledge/coupling weighting, and a DDD signal in its own right: a thin domain core under fat infrastructure is the anemic-domain smell, quantified. How each file's role is decided, because the split is only as good as that: a generated name or a build-output tree makes it Generated, a test project makes it Test, and otherwise the file's NAMESPACE and PATH words are matched against fixed vocabularies in a fixed ORDER β domain, then infrastructure, then application β so a file whose words hit two layers is counted under the earlier one. A production file matching none of them counts as application, so that share reads 'application or unclassified' rather than a measured application layer. Roles come from naming convention, never from what the code does. On this repository the split was taken from the source tree on disk rather than from a loaded .NET workspace, so a file's role is decided by its PATH segments alone β no declared namespace was available to add to the evidence β and generated output is excluded from the census entirely rather than counted as a generated share.
Method: Roslyn line-count by code ROLE: every source file classified Domain/Application/Infrastructure/Test/Generated by namespace + path convention (the shared CodeRoleClassifier), then significant lines summed per role. Deterministic; the advisory score is the business-logic (domain+application) share of production code.
Coverage: Population: ALL source files, each bucketed into ONE of five roles (Domain/Application/Infrastructure/Test/Generated) by namespace + path convention β a file whose layer isn't named in the convention falls to Application (the neutral default), and the split is line-count, not semantic depth or business value.
Other Β· Architecture β Whether the project-reference graph is acyclic (cycles block independent build/deploy and signal eroding boundaries).
Method: Project reference cycles via elementary-DFS over real .csproj references, using the engine shared with D5/D7; cyclic versus acyclic. Exhaustive, deterministic.
Other Β· Architecture β Whether dependencies point inward (Domain β Application β Infrastructure/Web) β the clean-architecture dependency rule, checked across the project graph.
Method: Layer violations by name-segment inference (Domain/Core to Application to Infrastructure/Web) over the project-reference graph. Exhaustive over all projects, deterministic.
Other Β· Architecture β Whether the codebase has a recognisable, scale-appropriate structure (a named architectural style, or modular enough for its size) rather than being an ad-hoc ball of mud.
Method: Roslyn plus csproj analysis: architecture style detection (DDD, clean, vertical-slice, CQRS) and structure fitness for repo size. Deterministic.
Other Β· Architecture β Whether interfaces stay focused rather than fat β the Interface-Segregation principle (SOLID 'I').
Method: Roslyn scan: public interface declared-member counts (accessors fold into their property/event); fat-interface threshold (over 15 declared members) flagged per type. Each finding also reports the distinct-OPERATION count β members counted by name, so an overload group counts once β which decides whether it states the caller-side ISP harm or the implementer-side burden of an overload set. TypeScript: exported interfaces that declare behaviour, counted over their REQUIRED operations (method signatures and function-typed properties with no `?`, once per signature) β data-shape interfaces and ambient .d.ts declarations are outside the population; JavaScript declares no interfaces and is not applicable. Deterministic, type-level.
`AccountService` declares 21 abstract methods: `checkUser`, `createAccount`, `deleteAccount`, `deletePasswordassit`, `forgetPasswd`, `getAccount`, `getAccountByName`, `getAccountByNameLike`, `getAccounts`, `getLoginAccountByName`, `getPasswordassit`, `getUserpropertys`, `getloginAccount`, `initAccount`, `insertPasswordassit`, `saveUserpropertys`, `update`, `updateAccount`, `updateAccountAttachment`, `updateAccountEmailValidate`, `updatePasswordassit`. Counted over its ABSTRACT methods, once per signature; `default`, `static` and `private` methods and constants are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don't use (the Interface-Segregation 'I' in SOLID). Split it into focused role-interfaces. β src/main/java/com/jdon/jivejdon/api/account/AccountService.java:29
`ForumMessageQueryService` declares 17 abstract methods under just 14 distinct name(s): `getDigThreads`, `getHotThreads`, `getMesageListByUser`, `getMessage`, `getMessages`, `getMessages`, `getRecursiveMessages`, `getThread`, `getThreadListByUser`, `getThreadModifiedDate`, `getThreadName`, `getThreads`, `getThreads`, `getThreads`, `getThreadsPrevNext`, `searchMessages`, `searchThreads`. Counted over its ABSTRACT methods, once per signature; `default`, `static` and `private` methods and constants are not counted, because no implementer is forced to write them. That is an OVERLOAD SET, not 17 separate responsibilities: a caller binds to 14 operation(s) and uses the overload it selected, so the Interface-Segregation harm does NOT apply on the caller's side and splitting this into role-interfaces would scatter one operation without relieving anything. The burden that does remain is the IMPLEMENTER's β all 17 signatures must be written and kept in step. Reduce it by collapsing overloads (optional or default parameters, or an options object) rather than by segregating the interface. β src/main/java/com/jdon/jivejdon/api/query/ForumMessageQueryService.java:11
`ShortMessageService` declares 17 abstract methods: `checkReceiveShortMessages`, `deleInDraftMessage`, `deleteShortMessage`, `deleteUserAllShortMessage`, `deleteUserRecAllShortMessage`, `getFromShortMessage`, `getReceiveShortMessages`, `getSaveShortMessages`, `getSendShortMessages`, `getShortMessages`, `getToShortMessage`, `initShortMessage`, `saveInDraftMessage`, `saveShortMessage`, `sendInDraftMessage`, `sendShortMessage`, `updateShortMessage`. Counted over its ABSTRACT methods, once per signature; `default`, `static` and `private` methods and constants are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don't use (the Interface-Segregation 'I' in SOLID). Split it into focused role-interfaces. β src/main/java/com/jdon/jivejdon/api/shortmessage/ShortMessageService.java:38
`MessageDao` declares 18 abstract methods: `createMessage`, `createMessageReply`, `createThread`, `delReBlog`, `deleteMessage`, `deleteThread`, `getAnemicMessage`, `getMessageVOCore`, `getReBlogByFrom`, `getReBlogByTo`, `getThreadCore`, `getThreadRootMessageId`, `saveReBlog`, `updateForum`, `updateMessage`, `updateMovingForum`, `updateThread`, `updateThreadName`. Counted over its ABSTRACT methods, once per signature; `default`, `static` and `private` methods and constants are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don't use (the Interface-Segregation 'I' in SOLID). Split it into focused role-interfaces. β src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/MessageDao.java:30
`MessageQueryDao` declares 23 abstract methods: `find`, `findThread`, `findThreadsAllCount`, `getDigThreadIDs`, `getForumLatestPostMessageId`, `getForumLatestThreadIds`, `getForumMessageCount`, `getHotThreadIDs`, `getLatestPostMessageId`, `getMesageListByUser`, `getMessageCount`, `getMessageCountOfUser`, `getMessages`, `getMessages`, `getThreadListByUser`, `getThreadModifiedDate`, `getThreadName`, `getThreads`, `getThreads`, `getThreads`, `getThreads`, `getThreadsPrevNext`, `getTreeModel`. Counted over its ABSTRACT methods, once per signature; `default`, `static` and `private` methods and constants are not counted, because no implementer is forced to write them. Those 23 declarations carry 19 distinct name(s), so part of the width is overloading rather than separate responsibilities β but 19 operations clears the >15 bar on its own, so the row is about responsibilities, not signatures. A wide interface forces every implementer and caller to depend on methods they don't use (the Interface-Segregation 'I' in SOLID). Split it into focused role-interfaces. β src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/MessageQueryDao.java:33
`TagDao` declares 17 abstract methods under just 15 distinct name(s): `addThreadTag`, `checkThreadTagRelation`, `createTag`, `createThreadToken`, `delThreadTag`, `delThreadTag`, `delThreadToken`, `deleteTag`, `getTaggedThread`, `getTaggedThread`, `getThreadTag`, `getThreadTagByTitle`, `getThreadTagIDs`, `getThreadTags`, `getThreadToken`, `searchTitle`, `updateTag`. Counted over its ABSTRACT methods, once per signature; `default`, `static` and `private` methods and constants are not counted, because no implementer is forced to write them. That is an OVERLOAD SET, not 17 separate responsibilities: a caller binds to 15 operation(s) and uses the overload it selected, so the Interface-Segregation harm does NOT apply on the caller's side and splitting this into role-interfaces would scatter one operation without relieving anything. The burden that does remain is the IMPLEMENTER's β all 17 signatures must be written and kept in step. Reduce it by collapsing overloads (optional or default parameters, or an options object) rather than by segregating the interface. β src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/TagDao.java:25
What to do
Split fat interfaces into focused role-interfaces so clients depend only on what they use.
Where the width is an overload set rather than separate responsibilities, collapse the overloads instead β segregating those relieves no caller.
Other Β· Domain Modelling β Whether aggregates reference each other by identity (id) rather than by direct object reference β the core DDD consistency-boundary rule.
Method: Roslyn (DDD-gated): aggregate roots identified by convention; each aggregate field checked for direct references to other aggregates versus id-only. Deterministic, DDD-native.
Coverage: Population: aggregate roots identified by AggregateRoot/IAggregateRoot base/interface NAME convention; reference-by-identity then checked exhaustively within that set β a root not using those names is invisible.
Do you agree with this assessment?
DM10 Β· One transaction, one aggregate10.0 / 10Exemplaryβ Nothing flagged
Other Β· Domain Modelling β Whether a single operation mutates more than one aggregate root. An aggregate is a consistency boundary, so saving two together fuses them into one β the second's invariants come to depend on the first's transaction, and the pair can no longer be separated. Reads of other aggregates are not counted.
Method: Neutral body surface (DDD-gated): every method body scanned for repository WRITE calls (Add/Update/Save/Remove/Delete/Insert/Store and their async forms), keyed on the ARGUMENT type rather than the repository type β three `IRepository<T>` writes collapse to one repository but are three distinct aggregates. Reads (Get/Find/Load/Query) are excluded, so loading another aggregate for context never counts. Score is offending methods over methods that write at all. Deterministic.
Do you agree with this assessment?
DM12 Β· Ambient inputs in the domain10.0 / 10Exemplaryβ Nothing flagged
Other Β· Domain Modelling β Whether domain types receive the time and randomness their rules depend on, rather than reading the process clock or a global random source directly β an ambient read makes the rule it feeds untestable at the instant that matters and lets two reads inside one operation disagree.
Method: Roslyn (DDD-gated, C#/VB only): domain-layer types scanned for ambient reads β DateTime/DateTimeOffset.Now/UtcNow/Today, Random.Shared, new Random(), Stopwatch.GetTimestamp β resolved against the semantic model, with a comment/string-stripped token fallback only where resolution fails. Body reads are scored; field/property initialisers are surfaced unscored. Apply/When folds excluded (ES1 owns them). Deterministic, symbol-resolved.
Other Β· Domain Modelling β Whether the domain layer stays free of infrastructure dependencies (EF/Marten/HTTP/ASP.NET) β the clean-architecture dependency rule.
Method: Roslyn (DDD-gated): domain-layer types scanned for infrastructure usage in member SIGNATURES and inside method/accessor BODIES β resolved calls and object-creations into EF/Marten/HTTP/Mongo/Redis/message-bus types (not just a namespace allowlist). Deterministic, symbol-resolved, exhaustive over domain-layer bodies, DDD-native.
Coverage: Domain layer identified by NAMESPACE heuristic; infrastructure then resolved by symbol in member SIGNATURES and method/accessor BODIES β rename the layer and the check evaporates.
Other Β· Domain Modelling β Whether one domain rule is decided β or one measurement produced β in more than one place, rather than living on the type that owns it.
Method: Neutral body surface plus Roslyn (DDD-gated), two arms. DECISION (Roslyn only): a predicate over a domain type's members judged in two or more types, where none of those decisions live on the owning type β operands of comparisons and relational property patterns only, so a member merely passed as an argument is not judged. DERIVATION: a plain all-numeric carrier of β₯2 members, with no base type and exactly one constructor, CONSTRUCTED as the result of a method (returned or assigned, never inline as an argument) in two or more types other than its own β the same measurement produced twice, which centralising the judgement does not fix. DERIVATION runs on every language whose frontend declares the produced-or-passed fact per construction (Roslyn and the Java sidecar today); a target with only the derivation arm carries an engine gap naming the decision arm as not assessed, and a frontend that declares nothing keeps the dimension not measured rather than clean. Single-member rules, test code and generated code are out of population for both. Advisory.
Other Β· Code Health β Unfinished work detected by code SHAPE, not keywords, in this repository's Java: methods that only throw a "not implemented" exception, methods that take inputs and return a constant or do nothing, dead `if (false)` branches, and skeleton classes most of whose methods are holes.
Method: Roslyn syntax scan: incompleteness by code shape (constant-returning methods, async-never-await, #if false branches, guards that return what the code already falls through to, tests an earlier guard already decided, comparisons against NaN, skeleton types), not keyword-gated. Deterministic, code-shape heuristic.
Maturity Β· Maturity β Whether the repo and its projects have a README, and whether it's substantive and current.
Method: Filesystem scan: README presence, word count, and headings for depth; git history for staleness. Exhaustive across root and project dirs, deterministic.
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.
Maturity Β· Maturity β Whether key decisions (ADRs) and the high-level shape (C4/diagrams) are written down.
Method: Filesystem scan: ADR folder/naming conventions or content, plus Mermaid/PlantUML/C4/architecture.md discovery. Exhaustive, deterministic.
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.
Maturity Β· Maturity β Whether the repo is organised deliberately β src/test separation and consistent project naming.
Method: Filesystem scan: src/test folder separation and namespace-prefix consistency (majority RootNamespace agreement). Exhaustive across projects, deterministic.
Tests aren't grouped in a dedicated test folder β the test surface isn't separable from production code at a glance.
What to do
Group tests in the folder your build system expects (tests/, test/, spec/, or your module's test source set) so the test surface is discoverable and CI can scope it.
Maturity Β· Maturity β Whether the project's current-state documentation describes the code that exists.
Method: Every current-state document's checkable claims looked up in the tree (links, versions, and artefact counts an order of magnitude off), plus two README checks: an advertised infrastructure product with no footprint, and a module the CHANGELOG records as removed. Deterministic, no model. Advisory.
Readiness Β· Readiness β Whether SAST, secret/dependency scanning and performance benchmarking are wired in (presence, not runtime).
Method: Filesystem scan: SAST configuration, dependency-update automation, secret scanning, and a benchmark harness or benchmark step β in this repository's own ecosystem. Exhaustive, deterministic.
No static application security testing detected. For this repository's stack, add spotbugs with find-sec-bugs (or `semgrep --config=auto`, which runs on any language) β this repository has no CI pipeline yet, so run it locally to clear the existing findings, then make it a step of the first workflow you add so a regression fails the build. What was searched, so you can tell an absence from a miss: the 0 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge's web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen β if that is your case the row is wrong, and saying so is more useful than adding a second scanner.
What to do
Run what this repository's stack ships: spotbugs with find-sec-bugs β or `semgrep --config=auto`, which runs on any language β locally for now, since there is no CI pipeline here yet, and as a step of the first workflow you add so a security regression fails the build instead of landing.
Enable Dependabot/Renovate or a dependency-review gate.
Add gitleaks/trufflehog in CI to block PRs that introduce committed secrets.
Readiness Β· Readiness β Whether releases are automated and safely reversible (probes, rolling updates, approval gates) β from manifests/pipeline files, not the live environment.
Method: Filesystem scan: deployment manifests/IaC (K8s YAML, Helm, Terraform) for rolling updates, probes, approval gates, migration hooks. Exhaustive, deterministic.
What to do
Nothing pauses a release for a human: publish as a draft release (or gate the release job on a protected tag/manual dispatch) so a bad build can be stopped before users can download it.
Readiness Β· Readiness β Whether releases are traceable β a maintained changelog and explicit version stamping.
Method: Filesystem scan: changelog file presence and version tags in csproj or git tags. Exhaustive, deterministic.
The changelog this check read carries 0 versioned entries, against a bar of 3. Counted as either the distinct `x.y.z` versions it names (a link's target is not counted) or its version-shaped section headings (`## [1.2.0]`, `## V14.x.x`, `## Updates in 8.0.x`), whichever is the larger β so a log sectioned by minor series counts its sections, not its individual patch numbers. Entries recorded somewhere this check does not read β release notes generated at tag time from a generator config it did not recognise, or a log kept outside the repository β are not counted here, and this row is about what is re-findable in the tree rather than about how often you release.
What to do
Keep the changelog current β add a versioned entry (Keep-a-Changelog ## [x.y.z]) for each release so the history isn't a stub.
Do you agree with this assessment?
R1 Β· Type Safety0.0 / 10Criticalβ Tool-verified
React / JS Β· Code Health β How much of the frontend is typed TypeScript vs untyped JavaScript.
Method: Frontend file inventory: the share of typed TypeScript vs untyped JavaScript across the source tree. Deterministic, exhaustive over frontend files.
0 typed · 100 plain JS β the untyped files are application/admin/js/admin.js, REDACTED, application/common/ckeditor/build-config.js, application/common/ckeditor/config.js, application/common/ckeditor/plugins/autogrow/plugin.js, application/common/ckeditor/plugins/autosave/lang/de.js (+94 more).
What to do
Adopt TypeScript for the frontend: add a typecheck step to the build, then either type-check the existing JavaScript in place (`checkJs`/JSDoc types) or convert the highest-traffic modules first β no file is typed today, so this is an adoption, not a clean-up.
React / JS Β· Code Health β Near-exact copy-pasted blocks of substantial extent across the frontend (the D4 clone algorithm over JS/TS tokens, D-386): a block is reported only where its copies still agree on most of their own identifiers and literals, or were renamed as they were pasted but kept most of their constants, and where the copies carry enough code to stand on their own or the copied extent reaches 30 lines β so a re-implementation sharing neither names nor values, and a small pasted declaration, are both found and deliberately not reported, and a clean R10 is not a claim that nothing was copied.
Method: Near-exact copy-pasted blocks of substantial extent across the frontend (the D4 clone algorithm run over JS/TS tokens). Masking finds the candidates; a block is reported when its copies still agree on most of their own identifiers and literals, or when a renamed copy still agrees on most of its constants, AND the copies carry enough code to stand on their own β or when the copied extent reaches 30 lines. So a re-implementation sharing neither names nor values, and a small pasted declaration, are deliberately not counted. Deterministic.
application/common/js/window.js:2 · REDACTED:3 β these 2 files are line-for-line copies of one another β 1081 lines are identical, in the same order, in every one of them β so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) β the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done. β application/common/js/window.js:2
REDACTED:1157 · application/common/js/window_effects.js:1 β 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. β REDACTED:1157
REDACTED:1024 · REDACTED:3663 β 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:1024
application/common/js/calendar-setup.js:1 · application/common/js/calendar.js:55 β 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. β application/common/js/calendar-setup.js:1
application/common/js/calendar-zh.js:2 · application/common/js/calendar.js:7 β the 2 copies are spread across 2 files, 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. β application/common/js/calendar-zh.js:2
application/common/form.js:54 · application/forum/js/form.js:159 β 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. β application/common/form.js:54
REDACTED:6410 · REDACTED:6437 β 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:6410
REDACTED:9496 · REDACTED:9521 β 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:9496
REDACTED:865 · REDACTED:3039 β 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:865
REDACTED:1133 · REDACTED:3766 β 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:1133
application/common/form.js:11 · application/common/messageList12.js:10 β the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block β it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead β the whole function, component or branch these lines sit in β and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. β application/common/form.js:11
REDACTED:4603 · REDACTED:4886 β 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:4603
REDACTED:7232 · REDACTED:7257 β 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:7232
application/common/js/pagination.js:55 · application/forum/js/threadList.js:3 β 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. β application/common/js/pagination.js:55
REDACTED:1198 · REDACTED:3828 β 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:1198
REDACTED:2739 · REDACTED:2843 β 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:2739
REDACTED:4673 · REDACTED:5181 β 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:4673
REDACTED:4715 · REDACTED:4754 · REDACTED:4844 · REDACTED:4928 · +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. β REDACTED:4715
REDACTED:4481 · REDACTED:4492 · REDACTED:4504 β all 3 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. β REDACTED:4481
REDACTED:7210 · REDACTED:7232 · REDACTED:7257 β 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:7210
REDACTED:10316 · REDACTED:10370 · REDACTED:10384 β 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:10316
REDACTED:10372 · REDACTED:10386 β 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:10372
REDACTED:4826 · REDACTED:4932 · REDACTED:4972 · REDACTED:5223 β all 4 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:4826
REDACTED:7247 · REDACTED:7272 β 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:7247
REDACTED:6606 · REDACTED:6614 β 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:6606
REDACTED:1505 · REDACTED:1518 β 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:1505
REDACTED:1646 · REDACTED:1658 β 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:1646
REDACTED:4630 · REDACTED:4736 · REDACTED:5158 β all 3 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. β REDACTED:4630
REDACTED:7062 · REDACTED:7146 β 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:7062
REDACTED:10571 · REDACTED:10578 β 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:10571
REDACTED:11138 · REDACTED:11180 β 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:11138
REDACTED:1627 · REDACTED:1633 β 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:1627
REDACTED:3419 · REDACTED:3467 β 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:3419
REDACTED:3921 · REDACTED:3937 β 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:3921
REDACTED:4650 · REDACTED:4665 β 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:4650
REDACTED:5077 · REDACTED:5089 β 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:5077
REDACTED:7423 · REDACTED:7447 β 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:7423
REDACTED:10597 · REDACTED:10603 β 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:10597
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.
React / JS Β· Code Health β Per-function cyclomatic/cognitive complexity from the token-level function scanner (D-386) β real branching, not a regex heuristic.
Method: Per-function cyclomatic/cognitive complexity from a token-level function scanner (real branching, not a regex heuristic), computed over every frontend function. Deterministic.
_generateHTML has cyclomatic complexity 91 and cognitive complexity 210; 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. β REDACTED:8313
_doKeyDown has cyclomatic complexity 45 and cognitive complexity 76; 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. β REDACTED:7392
drag has cyclomatic complexity 44 and cognitive complexity 49; 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. β REDACTED:1485
parseDate has cyclomatic complexity 41 and cognitive complexity 47; 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. β REDACTED:7854
parseDate has cyclomatic complexity 36 and cognitive complexity 58; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side β extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. β application/common/js/calendar.js:4
_keyEvent has cyclomatic complexity 35 and cognitive complexity 44; 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. β application/common/js/calendar.js:4
_generatePosition has cyclomatic complexity 32 and cognitive complexity 58; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side β extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. β REDACTED:1161
_mouseDrag has cyclomatic complexity 32 and cognitive complexity 52; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side β extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. β REDACTED:3129
_clear has cyclomatic complexity 32 and cognitive complexity 46; 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. β REDACTED:3870
onShow has cyclomatic complexity 31 and cognitive complexity 41; 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. β application/common/ckeditor/plugins/base64image/dialogs/base64image.js:274
_generatePosition has cyclomatic complexity 30 and cognitive complexity 51; 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. β REDACTED:3794
initialize has cyclomatic complexity 29 and cognitive complexity 37; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side β extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. (×2) β application/common/js/window.js:7, REDACTED:8
_respectSize has cyclomatic complexity 29 and cognitive complexity 22; 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. β REDACTED:2240
intersect has cyclomatic complexity 29 and cognitive complexity 17; 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. β REDACTED:1709
_tabify has cyclomatic complexity 28 and cognitive complexity 43; 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. β REDACTED:10706
_generateMonthYearHeader has cyclomatic complexity 27 and cognitive complexity 46; 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. β REDACTED:8481
formatDate has cyclomatic complexity 27 and cognitive complexity 42; 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. β REDACTED:8036
(anonymous) has cyclomatic complexity 27 and cognitive complexity 35; 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. β REDACTED:4619
_showDatepicker has cyclomatic complexity 27 and cognitive complexity 33; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side β extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. β REDACTED:7503
What to do
Break down the listed branch-heavy functions; aim P95 cyclomatic β€ 5.
Do you agree with this assessment?
R3 Β· Large Files8.0 / 10Strongβ Tool-verified
React / JS Β· Code Health β How many source files exceed the large-file threshold.
Method: Components/modules exceeding the large-file threshold, counted exhaustively across the frontend source tree. Deterministic.
REDACTED has 9688 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
REDACTED has 1472 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
application/common/js/window.js has 1151 significant lines (blank lines excluded), over the 400-line bar, and contains logic β a file this long is usually several responsibilities in one module. β application/common/js/window.js:1
application/common/ckeditor/plugins/bbcode/plugin.js has 639 significant lines (blank lines excluded), over the 400-line bar, and contains logic β a file this long is usually several responsibilities in one module. β application/common/ckeditor/plugins/bbcode/plugin.js:1
application/common/ckeditor/plugins/base64image/dialogs/base64image.js has 444 significant lines (blank lines excluded), over the 400-line bar, and contains logic β a file this long is usually several responsibilities in one module. β application/common/ckeditor/plugins/base64image/dialogs/base64image.js:1
What to do
Split each oversized file along the responsibilities already in it, into smaller focused modules in the same package.
Do you agree with this assessment?
R4 Β· Test Coverage0.0 / 10Criticalβ Tool-verified
React / JS Β· Readiness β Static test reachability (D-386): the share of production files reachable from any test via the import graph β measured without running anything.
Method: Static test reachability: the share of production files reachable from any test via the import graph β measured without running anything. Deterministic.
0% of 100 production file(s) reachable from 0 test file(s) via the import graph β 'production' here is the RESIDUE: every source file left once tests, tooling, generated output, config, declarations and declaration-only modules, fixture corpora, type fixtures, behaviour-free data modules, re-export barrels, registration/constant data modules and service workers are set aside, so the percentage is taken over a smaller denominator than the workspace's file count
What to do
Add tests that import the unreached modules (directly or through their public entry).
Do you agree with this assessment?
R7 Β· Dead Code0.0 / 10Criticalβ Tool-verified
React / JS Β· Code Health β Files unreachable from every application/tooling/test entry point, and exports nothing imports (module-graph reachability, D-386).
Method: Dead code: files unreachable from every application/tooling/test entry point plus exports nothing imports, via module-graph reachability. Deterministic, exhaustive over the import graph.
Unreachable from the 2 application, 0 tooling and 0 test entry point(s) detected in this repo. This repository declares no build, type-check or test script, so nothing here would fail on a wrong deletion β confirm by hand that nothing loads each file (including by a path built at runtime) before removing it. An undetected custom entry would make these reachable.
no import path from any entry point (2 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it β nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make (×39) β REDACTED, REDACTED, application/common/js/window.js, β¦
What to do
Delete the dead files and unused exports β every line is maintenance cost and rebuild-estimate inflation with zero runtime value.
React / JS Β· Architecture β Import cycles in the module graph (D-386) β files that can only be understood and changed together.
Method: Import cycles in the module graph, detected exhaustively over JS/TS imports (the same cycle detection as the .NET coupling dimension). Deterministic.
Other Β· Security β Only what this repository's own non-C# files could be read for was assessed β markup this repository SHIPS is scored for third-party script integrity whether or not the repository serves it itself, since a page handed to a consumer runs in that consumerβs origin. Nothing else in this dimension was assessed: the transport, cookie, input-validation and crypto controls are read from a source model that was not loaded for this repositoryβs language, so their absence here is not a finding about this repository.
Method: Roslyn plus filesystem scan: HSTS/security headers, secure cookies, input validation, middleware order, weak crypto (MD5/SHA1/DES); HTTPS-metadata context-aware. On a repository with no .NET source it reads JavaScript/TypeScript, Dart, Ruby, Scala, Rust or Elixir source itself (test, vendored, generated and minified paths not) for the arms that hold whether or not the code serves HTTP: a weak hash or cipher, key material fixed in the source, a TLS client that accepts any certificate, and (JavaScript/TypeScript, Ruby, Scala, Rust and Elixir) an obsolete TLS version; the server controls are not assessed there, and a Dart, Ruby, Scala, Rust or Elixir repository that serves no HTTP of its own is N/A on them. Deterministic.
`https://ssl.captcha.qq.com/TCaptcha.js` is executed by this page with no Subresource Integrity. Whoever can answer that request β the CDN, anyone who compromises it, anyone on the network path β runs arbitrary script in this page's origin, with its session. The URL also names no version, so it resolves to whatever that origin serves at fetch time β the executed bytes can change with nobody touching this repository. 15 such include(s) across the repository's markup. β application/account/newAccount.jsp:36
What to do
Pin third-party scripts and verify them: name an exact version in the URL and add an `integrity="sha384-β¦"` hash alongside `crossorigin="anonymous"` (both are required β an integrity hash on a cross-origin script without `crossorigin` is not evaluated, it blocks the script). Where the vendor ships a continuously-updated loader and publishes no stable hash (tag managers, analytics, chat widgets), Subresource Integrity is not available: constrain it instead with a `Content-Security-Policy` that names the exact origins allowed to execute, and drop the script from the pages that do not need it. Where the page is shipped inside a package that others host, prefer vendoring the asset and serving it from the appβs own origin, so no consumer inherits a third-party dependency they did not choose.
Other Β· Code Health β Whether the code avoids sync-over-async (deadlock-prone blocking on tasks) and async void.
Method: Roslyn syntax scan: async methods scanned for .Wait()/.GetAwaiter().GetResult() and async-void outside event handlers. Deterministic, hard fact per invocation.
Other Β· Code Health β Whether any branch is dead by construction β a switch arm whose label can never equal a case-normalised subject, or an `else if` whose predicate the arm above has already swallowed.
Method: Roslyn syntax + semantics: switch labels compared against the subject's own case normaliser, and if/else-if chains checked for a literal an earlier arm's containment test already swallows. Deterministic, provable per finding. Advisory.
Do you agree with this assessment?
X13 Β· Undrained process stream10.0 / 10Exemplaryβ Nothing flagged
Other Β· Code Health β Whether a child process that has BOTH standard streams redirected drains both β reading one to the end while the other is never read deadlocks once the child fills the unread pipe.
Method: Roslyn syntax + semantics: ProcessStartInfo launches with both streams redirected, checked for a drain of each stream across the enclosing type. On a repository with no .NET source it reads JavaScript/TypeScript off the engineβs own token stream (test, vendored and minified paths not) with the same rule: a `spawn` imported from `child_process` whose stdout and stderr are both pipes (no options, no `stdio`, or `stdio` of `'pipe'`), bound to a local that never leaves its scope, where exactly one of the two streams is read, the other never, and the childβs `close`/`exit` (or the read streamβs end) is awaited; a shell redirect in the callβs arguments or a `kill` of the child suppresses it. The same rule reads Pythonβs `subprocess.Popen`, Dartβs `Process.start`, Rubyβs `Open3.popen3`, and Scalaβs JDK process starts (`new ProcessBuilder(β¦).start()` with no `redirectErrorStream`/`redirectError`/`redirectOutput`/`inheritIO`, `Runtime.getRuntime.exec`) where one of `getInputStream`/`getErrorStream` is read and the other never while `waitFor()` is called or the read stream is read to its end. Deterministic, provable per finding. Advisory.
Other Β· Security β Whether a hand-rolled public/private IP check can be walked past β a method that unwraps IPv4-mapped IPv6 but returns the opposite verdict for the same host written as IPv4-compatible, 6to4 or NAT64.
Method: Roslyn syntax + semantics: methods that unwrap IPv4-mapped IPv6 and hand-roll IPv4 range carve-outs, checked for whether the IPv6 branch also accounts for the IPv4-compatible, 6to4 and NAT64 embeddings. Deterministic, provable per finding. Advisory.
Do you agree with this assessment?
X15 Β· Unvalidated length from an untrusted reader10.0 / 10Exemplaryβ Nothing flagged
Other Β· Security β Whether a length read out of the stream being parsed is bounded before it is allocated or read β an unchecked count taken from the input lets the input choose the allocation.
Method: Roslyn syntax + semantics: integer lengths read from a BinaryReader and spent on a bulk read or an array allocation, checked for any comparison or bounding call on the value anywhere in the method. Deterministic, provable per finding. Advisory.
Other Β· Code Health β Whether a loop that shortens a string until it fits a length budget has a floor β one with none grinds the value down to the empty string, or past it into a negative-length `Substring`.
Method: Roslyn syntax + semantics: while/do loops whose body's only effect on a string is to drop its last character, checked for whether anything β a direct comparison on the length, a body guard, a break β bounds that length below. On a repository with no .NET source it reads JavaScript/TypeScript off the engineβs own token stream (test, vendored and minified paths not) with the same rule: a `while`/`do` loop whose bodyβs one assignment to a value is `x = x.slice(0, -1)` or `x = x.slice|substring|substr(0, x.length - 1)`, driven by a condition that reads `x.length` only as a term of a larger expression β never compared directly, never tested for truthiness, and with no other read of `x` β and whose body has no `break`, `return`, `throw` or `if` naming `x`. Deterministic, provable per finding. Advisory.
Do you agree with this assessment?
X17 Β· Uncapped recursion over a caller-supplied document10.0 / 10Exemplaryβ Nothing flagged
Other Β· Security β Whether a walk that recurses through a JSON/XML tree handed in by its caller bounds how deep it will go β an uncapped walk lets the document's nesting choose the stack depth, and the resulting StackOverflowException cannot be caught.
Method: Roslyn syntax + semantics: methods that take a JSON/XML document node and call themselves with a child of it, reachable from an externally-callable member of the same type that accepts a document, checked for any depth parameter, descent counter or threaded arithmetic anywhere in the walk. On a repository with no .NET source it reads TypeScript off the engineβs own token stream (test, vendored, generated and minified paths and `.d.ts` not) with the same rule: a function or method with a parameter typed as a document value β `unknown`, `any`, `object`, `Record<string, unknown|any>`, a JSON alias (`JsonValue`, `JSONObject`, β¦) or a DOM node global the file does not rebind β that calls itself (bare, or through `this` for a method, or hands itself to a call over the value as in `value.map(walk)`) with something it took out of that value and never through an ancestor accessor such as `closest()` or `parentElement`, that is exported or reached from an exported function (a public method of the same exported class) taking such a value, and that names no depth, level, nesting, recursion, remaining or budget anywhere and threads no `+`/`-` arithmetic through a self-call. Plain JavaScript is not read: with no annotation nothing tells a parsed document from a tree the code built itself. Deterministic, provable per finding. Advisory.
Other Β· Code Health β Whether a type's disposal matches what it OWNS β releasing what it created, leaving alone what it was handed, and not declaring a finalizer for state that has nothing unmanaged to finalize.
Method: Roslyn syntax + semantics: every assignment to a disposable field is read to decide whether the type CREATED the value or was handed it, and the type's disposal is checked against that answer β an injected interface it disposes, a value it constructed and never releases, a finalizer on a type holding nothing unmanaged, and a disposable local whose every reference is a plain member read. A value handed to a container that disposes its contents (a parent control's `Controls` collection, a component `IContainer`) is released by that container and is not reported; generated code is out of population. On a repository with no .NET source the same ownership questions are read in JavaScript/TypeScript off the engineβs own token stream (test, vendored, generated and minified paths not): a class declaring `dispose()`, `[Symbol.dispose]()` or `[Symbol.asyncDispose]()` that disposes a field it was handed through a constructor parameter typed as a repository interface or resolved by a dependency-injection container; that assigns a field only ever from `new X(β¦)` of a disposable class and neither releases it anywhere in the class nor names it in its disposal member or a method that member calls, nor hands it to anything else; and a `const`/`let` local built from literals only whose every reference opens a statement operating on a non-release member of it. A class is disposable when every repository declaration of its name declares or inherits a disposal member, or when it is a documented library disposable (`vscode` EventEmitter, CancellationTokenSource and Disposable; three.js geometries, materials, textures, render targets, renderers, controls and composers). The finalizer arm has no JavaScript counterpart: a class cannot declare one. Dart is read for the owned-and-never-released arm: a Flutter `State` (or a class declaring `dispose()`/`close()`) whose library-private field is written only with direct creations of a framework controller, `FocusNode`, `StreamController` or periodic `Timer` (or a `.listen(β¦)` into a field declared `StreamSubscription`), which nothing in the class or its library releases (`dispose`/`close`/`cancel`) and which is never handed on except as a named argument. Ruby is read for the owned-and-never-released arm and the abandoned-local arm: a class declaring an instance `close`, `dispose`, `shutdown`, `stop`, `disconnect` or `terminate` whose instance variable is written only with a blockless core descriptor creation (`File.open`/`new`, `Tempfile`, `Dir.open`, `IO.popen`, the `socket` and `openssl` socket classes) that no method of the class closes and that is never handed on (passed, returned, stored, exposed by `attr_reader`, delegated) β a class whose superclass or mixin lies outside the repository is not judged β and a blockless creation read through and dropped (`File.open(path).read`) or held in a local that is never closed, returned, passed or stored (a `&:read` block-pass, an `autoclose: false` borrow and a `fileno` hand-over are not abandonment). PHP is read for the same two arms: a class (not a trait, and not one using a trait) declaring an instance `close`, `dispose`, `shutdown`, `stop`, `disconnect` or `terminate` whose `private` property (or a `final` class's `protected` one) is written only with a direct core `fopen`, `tmpfile`, `popen`, `proc_open`, `fsockopen`, `stream_socket_client`/`server` or `opendir` that nothing in the class closes (`fclose`, `pclose`, `closedir`, `unset`, a reset to `null`) and that is never handed on, and a handle held in a function's local, or read through as the argument of a reader, that is never closed, returned, passed, captured or stored; a `php://` stream, `curl_init`, `SplFileObject`, `PDO` and a function the repository declares under the core name are not read. Deterministic, provable per finding. Advisory.
Other Β· Code Health β Whether a method that temporarily changes state belonging to the whole process β the working directory, an environment variable β puts it back on EVERY path: a restore reached only when nothing throws leaks the change to the rest of the process.
Method: Roslyn syntax + semantics: method bodies that write the process working directory or an environment variable and write it back in the same body, checked for whether that restore sits in a `finally`/`catch` or only on the straight-line path. On a repository with no .NET source the same rule reads production JavaScript/TypeScript off the engineβs own token stream (test, vendored and minified paths not): `process.chdir`, `process.env.NAME =`/`["NAME"] =` and `delete process.env.NAME`, and Denoβs `Deno.chdir`/`Deno.env.set`/`Deno.env.delete`, paired per function body (a nested function or arrow is its own body, and module top-level code is none), where the last write puts back a local the body captured from the same global or deletes a variable the first write set, with at least one statement between them; a write in a `catch`/`finally` of that body silences it. Deterministic, provable per finding. Advisory.
Other Β· Code Health β Whether an argument guard throws the exception its own condition describes β a guard that rejects a value for being EMPTY and reports it as `NullPointerException` (Java, Kotlin, Scala), `ArgumentError.notNull` (Dart) or `ArgumentNullException` (F#'s `nullArg`) tells the caller a parameter was null when it provably was not.
Method: Roslyn syntax: `throw new ArgumentNullException(nameof(p))` statements controlled by an `if`, whose condition is read for a test that is true of a NON-null `p` β an emptiness test that dereferences it (`p.Count == 0`, `!p.Any()`) or a BCL predicate documented true of the empty value (`string.IsNullOrEmpty(p)`). Deterministic, provable per finding. Advisory.
Other Β· Code Health β Whether a `when` guard is free of side effects β a guard that increments a counter or assigns while deciding whether its arm matches applies that change during PATTERN MATCHING, on an arm that may not be selected, and skips it entirely when a short-circuit to its left answers first.
Method: Roslyn syntax: `when` guards on case labels and switch-expression arms, read for a mutation (`++`/`--`/assignment) sitting in a position the guard's own `&&`/`||`/`??`/`?:`/`?.` can skip. Deterministic, provable per finding. Advisory.
Other Β· Code Health β Whether a method that TAKES a lock or semaphore and gives it back from a flag-guarded `finally` returns the value that flag implies β reporting success while the guard hands the primitive back admits a second caller the exclusion was there to keep out, and reporting failure while the guard keeps it leaves nothing to ever give it back. Also whether a `finally` that gives the primitive back unconditionally can run in a state where the method does not hold it: after a timed wait whose result was discarded, after an acquire inside the `try` that can fail, after the body already released it, or never, because a `return` left between the acquire and the `try`.
Method: Roslyn syntax: `try` statements whose `finally` releases a synchronisation primitive under a bare local-bool guard, where the method also TOOK that same primitive before the `try`, checked for a `return` of a bool literal whose value disagrees with the flag state the method's own straight-line assignments put it in. Deterministic, provable per finding. Advisory.
Other Β· Code Health β Whether the work a diagnostic log line costs is paid only when that line is wanted β C# evaluates a call's arguments BEFORE the call, so a trace/debug message joined or projected out of a collection is built in full on every pass, and then discarded by a sink the shipped configuration leaves switched off.
Method: Roslyn syntax: log calls at a diagnostic level (a `Log`-prefixed method naming Trace/Debug/Verbose, or a bare `Debug`/`Trace`/`Verbose` on a receiver named for a logger), whose argument list is read for a call whose cost scales with a sequence β a LINQ operator, a materialisation, `string.Join`, a serializer β with no enclosing level check or conditional-compilation region. On a repository with no .NET source it reads JavaScript/TypeScript off the engineβs own token stream (test, vendored and minified paths not) with the same rule: a `debug`/`trace`/`verbose` call on a receiver named for a logger, or a `log`-prefixed method naming the level, whose argument calls an array operator (`map`/`filter`/`reduce`/`sort`/β¦), `Array.from`, `Object.keys/values/entries`, `JSON.stringify`/`util.inspect` over anything but a literal, or an array `join` β outside any arrow or function passed as an argument, which the logger calls only when the level is on β with no enclosing `if`, `&&` or `?:` whose condition names a level, a level string, or the `NODE_ENV`/`__DEV__`/`DEV` build switch. Deterministic, provable per finding. Advisory.
Do you agree with this assessment?
X24 Β· Document value interpolated into markup unescaped4.7 / 10Weakβ Tool-verified
Other Β· Security β Whether text read out of the document being converted is escaped before it is written into generated markup β a value the document's author chose, interpolated into an attribute the surrounding literal delimits, can close that attribute and open another.
Method: Roslyn semantic model over the whole compilation: a string-typed `Value`/`InnerText`/`InnerXml`/`Text` member declared inside `DocumentFormat.OpenXml` or `System.Xml` is a taint SOURCE, propagated through assignments, returns, arguments, tuple elements and string composition to its transitive closure, then read at interpolated-string holes that sit in a markup position the surrounding literal itself delimits. Escaper/encoder calls and enclosing validator conditions cut the flow. Flow- and container-insensitive by construction. A second arm needs no provenance at all and reports a type that CONTRADICTS ITSELF β the same expression escaped at one delimited markup hole and interpolated raw at another hole in the same markup position of the same type, which the type's own escaping proves is a defect without knowing where the value came from. On a repository with no .NET source it reads JavaScript/TypeScript off the token stream with the same rule: a DOM read of raw document text (`getAttribute`, `textContent`, `innerText`, `nodeValue`) is the source, propagated through local bindings and string composition, and judged at template-literal and concatenation holes in the same two delimited markup positions; escapers and validating conditions cut it, and documentation-site, test, vendored and minified scripts are not read. Deterministic, provable per finding. Advisory.
`date` is text this program did not author, and it is written into the text of an element through `innerHTML` 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. β application/common/js/calendar-setup.js:85
`$` is text this program did not author, and it is written into the text of an element through `innerHTML` 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. β application/common/js/calendar.js:4
`this.getId()` is text this program did not author, and it is written into a quoted attribute value through `innerHTML` 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. (×4) β application/common/js/window.js:181, application/common/js/window.js:206, REDACTED:182, β¦
`html` is text this program did not author, and it is written into the text of an element through `innerHTML` 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) β application/common/js/window.js:184, REDACTED:185
`className` is text this program did not author, and it is written into a quoted attribute value through `innerHTML` 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. (×6) β application/common/js/window.js:375, application/common/js/window.js:376, application/common/js/window.js:377, β¦
`id` is text this program did not author, and it is written into a quoted attribute value through `innerHTML` 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) β application/common/js/window.js:380, REDACTED:381
`element` is text this program did not author, and it is written into the text of an element through `innerHTML` 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) β application/common/js/window.js:652, REDACTED:653
`parameters.className` is text this program did not author, and it is written into a quoted attribute value through `innerHTML` 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. (×4) β application/common/js/window.js:925, application/common/js/window.js:927, REDACTED:926, β¦
`this` is text this program did not author, and it is written into a script or style context through `innerHTML` 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. A script or style context needs its own escaping (or a JSON serialiser that escapes `<`); better, pass the value through a data attribute. β REDACTED:1
`xhr.responseText` is text this program did not author, and it is written into the text of an element through `innerHTML` 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. β application/common/messageList12.js:6
`"ζ"+attcount+"δΈͺιδ»Ά:"+insimag` is text this program did not author, and it is written into the text of an element through `innerHTML` 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. β application/forum/js/form.js:65
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.
Other Β· Code Health β Whether a value the caller is invited to supply is the value the type actually uses β a constructor parameter stored in a private field that nothing ever reads while the default it was given is spelled out a second time at the site that should have read it, a keyed lookup that falls back to a different setting than the one its key names while the same type falls back to the matching one for that same key, or a culture-sensitive parse given no format provider by a type that feeds its own settable culture to the same kind of parse elsewhere, or a number an entry point writes to standard output under the host's culture while the same entry point formats with the invariant culture elsewhere. Either way, every caller who supplies a value silently gets something else.
Method: Roslyn syntax: private instance fields of a non-partial type assigned in a constructor from one of its own parameters with a `??` fallback, checked for whether anything in the type body reads the field and whether that same fallback expression is spelled out again outside the constructor; and `??` fallbacks onto a member access from a lookup call carrying exactly one string literal, grouped by that key across the type and checked for a fallback member whose folded name disagrees with the key while a sibling site for the same key agrees with it. On a repository with no .NET source the first two arms read JavaScript/TypeScript off the engineβs own token stream (tests included, bundles and vendored paths not): a `#x`, `private` or `private` parameter-property instance field filled in the constructor from a parameter (or one member of one) through `??`/`||` or a parameter default, never read anywhere in the file by name, whose constructed default is spelled again in the class body; and `lookup("key") ?? s.member` grouped by key per class, or per module outside every class. The culture arm has no JavaScript counterpart: its parses take no locale. Deterministic, provable per finding. Advisory.
Other Β· Code Health β Whether a value handed from a callback to the body that waits on it crosses on something built to be crossed β a `Queue<T>`/`List<T>`/`Dictionary<K,V>` written inside an event handler and read back outside it is mutated by two flows at once, and the semaphore or completion source beside it orders how MANY items exist while leaving the collection's own head, tail and backing array unprotected.
Method: Roslyn syntax: method, accessor, local-function and lambda bodies that declare BOTH a non-thread-safe generic collection (`Queue`/`Stack`/`List`/`Dictionary`/`HashSet`/`Sorted*`/`LinkedList`) and a synchronisation primitive (`SemaphoreSlim`/`TaskCompletionSource`/`ManualResetEvent(Slim)`/`AutoResetEvent`/`CountdownEvent`) as locals, then read for a `+=`-registered lambda that raises that primitive while the body outside every lambda waits on it β and, in that scope, a mutating call on the collection inside the lambda paired with a mention of it outside. Any `lock` in the scope abstains it. On a repository with no .NET source the same handoff is read in Java off the engineβs own token stream (test source sets, vendored and demonstration paths not): an `ArrayList`/`LinkedList`/`ArrayDeque`/`PriorityQueue`/`Hash*`/`LinkedHash*`/`Tree*` local and a `CountDownLatch`/`Semaphore`/`CompletableFuture` local, a lambda or anonymous class that raises the primitive and mutates the collection, and a wait outside it; any `synchronized` or `lock()` abstains the body. Because each of those primitives orders what the callback wrote before raising it, only a touch that provably overlaps the callback is convicted: one after the registration and before the next wait, or one in a loop registered-before, waiting on every pass and not declaring the collection. Deterministic, provable per finding. Advisory.
Do you agree with this assessment?
X27 Β· Collection changed while being enumerated6.2 / 10Adequateβ Tool-verified
Other Β· Code Health β Whether an enhanced `for` leaves the collection it is walking alone β a body that adds to or removes from the very collection the loop is iterating invalidates the fail-fast iterator it is holding, so the next `next()` throws `ConcurrentModificationException` and the remaining elements are never seen.
Method: Roslyn syntax + semantics: `foreach` statements whose body calls a structural mutator (`Add`/`Remove`/`Clear`/`Insert`/β¦) on the very expression the loop is enumerating. Two arms. ARM A β the source is a concrete fragile BCL collection, or a live `Keys`/`Values` view over one, and the mutator resolves to that same collection's own member; concurrent and immutable collections and arrays are outside the population by construction, since their enumerators survive a structural change. ARM B β the source is an argument-less accessor CALL on a receiver whose body is in source: the accessor must return a stored field VERBATIM and a sibling member must structurally change that same field, both read off the implementations rather than from the members' names. A mutation the loop provably exits immediately after (`break`/`return`/`throw`/`goto`), or one written inside a nested loop or a lambda, is counted and never reported. Deterministic, provable per finding. Advisory.
`subscriptionActions` is enumerated directly, and line 67 calls `subscriptionActions.remove(β¦)` inside the loop body β a structural change to a `ArrayList`. The loop's hidden iterator is fail-fast, so its next `next()` throws `ConcurrentModificationException`: every pass that reaches this call ends the loop by exception instead of by running out of elements, and the remaining elements are never seen. β src/main/java/com/jdon/jivejdon/spi/component/subscription/SubscriptionActionHolder.java:65
What to do
Each finding names the two spans that cannot both stand β the enhanced `for` source, and the call inside the body that structurally changes that same collection. Confirm from those two, then pick one: remove through the iterator itself (`Iterator<T> it = c.iterator(); β¦ it.remove();`) or replace the loop with `c.removeIf(β¦)`; iterate a copy (`for (T x : new ArrayList<>(c))`); collect what needs changing and apply it after the loop; or β where the loop was only ever meant to act on the first match β `break` immediately after the mutation, which is the one shape that is already safe.
Do you agree with this assessment?
X28 Β· Index access outside its own emptiness guard10.0 / 10Exemplaryβ Nothing flagged
Other Β· Code Health β Whether a condition that tests a value for emptiness indexes that same value only where the test holds β an `||` written one parenthesis too far to the left leaves an index access outside the guard beside it, so the empty case the guard exists to anticipate reaches the index and throws.
Method: Roslyn syntax only, no semantic model: the OUTERMOST `&&`/`||` of every boolean condition, read for a symbol the condition tests for emptiness (`string.IsNullOrEmpty`/`IsNullOrWhiteSpace`, a `Length`/`Count` comparison against a literal, `Any()`, a `Length`/`Count` pattern, or a comparison against `""`) and ALSO indexes. Each `symbol[...]` access is placed by a boolean-reachability walk from the access up to the outermost connective: an access is COVERED when some enclosing step has it in the right operand and the left operand, under the truth value that step forces, proves the symbol non-empty β a recursion over `&&`/`||` whose true- and false-directions are asymmetric. A finding needs BOTH an uncovered access and a covered one on the same symbol in the same condition, which is the agreeing twin that separates a misplaced parenthesis from an unrelated length test. Bare index accesses with no emptiness test in the condition are neither counted nor reported; a non-identifier receiver and a lambda nested inside the condition are outside the population. Deterministic, provable per finding. Advisory.
Do you agree with this assessment?
X29 Β· Per-element action decided by a fixed element10.0 / 10Exemplaryβ Nothing flagged
Other Β· Code Health β Whether a decision taken once per element is taken ABOUT that element β a test inside a counted loop that reads a fixed subscript of the very collection its guarded statement indexes by the loop variable applies element zero's answer to all of them, so the elements that differ from it are all handled wrongly, and in the same direction.
Method: Roslyn syntax only, no semantic model: every `for` statement declaring exactly ONE loop variable, and every `if` inside its body that is not under a nested loop or a lambda. A site enters the population when the `if`βs condition never mentions the loop variable while the statement it guards indexes some collection by that variable ALONE (`c[i]`; `c[i + 1]` and `c[i, j]` are outside it). A finding additionally needs the AGREEING TWIN at the same-collection grain: the condition must read THAT SAME collection at a subscript that does not move β written into the condition, or reached through a local declared BEFORE the loop, so an alias bound inside the body is not followed. Both collection expressions must be simple identifiers. On a repository with no .NET source the same rule reads JavaScript/TypeScript off the engineβs own token stream (tests included, bundles and vendored paths not): a `for (let|var|const x = β¦; β¦; β¦)` with one declarator and a braced body, an alias followed only when it is declared before the loop in a block that encloses it and never assigned inside the loop. Deterministic, provable per finding. Advisory.
Other Β· Code Health β Whether exceptions are handled rather than silently swallowed or rethrown with lost stack traces.
Method: Roslyn syntax scan: every catch clause counted; empty catches and bare rethrows flagged. Population is all catch clauses, not estimated. Deterministic, hard fact.
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. (×31) β src/main/java/com/jdon/jivejdon/util/EmailTask.java:59, src/main/java/com/jdon/jivejdon/spi/pubsub/subscriber/SubscriptionSender.java:40, src/main/java/com/jdon/jivejdon/spi/component/query/HotThreadQueryManager.java:169, β¦
`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. (×7) β REDACTED:121, src/main/java/com/jdon/jivejdon/presentation/sitemap/UrlForm.java:92, src/main/java/com/jdon/jivejdon/presentation/action/query/RefererCaptchaAction.java:373, β¦
What to do
Swallowed exception (empty catch)
Do you agree with this assessment?
X30 Β· Support guard that admits what it rejects10.0 / 10Exemplaryβ Nothing flagged
Other Β· Code Health β Whether a guard written as a NEGATED `||` says what its author meant β `!(a || b || x != k)` is `!a && !b && x == k` by De Morgan, so a bail-out that mixes capabilities the code needs with a fault it refuses turns inside out: it fires only where the capabilities are ABSENT, and lets every value the fault term names walk straight into the body that cannot handle it.
Method: Roslyn syntax only, no semantic model: every logical-not whose operand is a parenthesised `||` chain of two or more disjuncts, flattened (a left-nested `a || b || c` read once would see `(a || b)` as one disjunct). A site enters the population on that shape alone. A finding additionally needs the disjuncts to DISAGREE in polarity: at least one bare boolean read β an identifier or member access, never an invocation, which is a predicate rather than a capability flag β and at least one `x != <constant>`, the only form that negates into an exact-value pin (`== null` negates into a looser requirement and is outside the fault set). Consistently-polarised disjunctions, all-fault or all-capability, are counted and never reported; a negated `&&` is outside the population entirely. No same-receiver gate: it was measured to cost a real defect and remove no false positive. Deterministic, provable per finding. Advisory.
Other Β· Code Health β Whether log calls use message templates (queryable) rather than interpolated strings.
Method: Roslyn syntax scan: every log call-site counted; interpolated-string first-argument violations flagged. Population is all log calls, not estimated. On a repository with no .NET source it reads JavaScript/TypeScript off the engineβs own token stream (test, vendored and minified paths not) with the same rule: a `trace`/`debug`/`info`/`warn`/`error`/`fatal`/`verbose`/`silly`/`http`/`log` call on a receiver named for a logger, in a package whose own or an enclosing `package.json` declares a logger that carries values as fields (pino, pino-http, nestjs-pino, Fastify, winston, bunyan, tslog, LogTape, roarr), whose first deciding argument is a template literal with substitutions; an object-literal fields argument is stepped over, a plain string message clears the call. Python is read the same way: a `debug`/`info`/`warning`/`error`/`exception`/`critical`/`log` call on a logger in a file that imports the standard libraryβs `logging` or structlog (loguru, which formats at the call, is not judged), whose message is a whole f-string with a non-constant field; a `%`-formatted, `.format()`-ed or concatenated message is not convicted, as in C#. PHP is read the same way: a PSR-3 level call (`emergency`β¦`debug`, `log`) on a logger (`$logger`, `$this->logger`, Laravelβs `Log::`, `logger()`, `\Drupal::logger()`) in a package whose `composer.json` requires a PSR-3 logger or a framework that hands one out (psr/log, Monolog, Laravel, Symfony, Drupal, CakePHP), or a file that imports one, whose message is a double-quoted string interpolating a variable; a single-quoted message clears the call, and `sprintf` or `.` concatenation is not convicted, as in C#. Dart is read the same way: a `trace`/`debug`/`info`/`warn`/`error`/`fatal` call on Sentryβs structured logger (`Sentry.logger`) whose message is a whole string literal interpolating a value (`$name`, `${β¦}`); the `Sentry.logger.fmt` template API clears the call. Dart that logs only through loggers with one message and no fields (package:logging, package:logger, talker, dart:developer) is not applicable rather than a reach gap. Ruby is read the same way: a `trace`/`debug`/`info`/`warn`/`error`/`fatal` call on the console gemβs `Console` (declared by a Gemfile, gemspec or Gemfile.lock, or required) or, where SemanticLogger, Ougai or dry-logger is declared or required, on a receiver named for a logger (`logger`, `@logger`, `Rails.logger`, `log`), whose first deciding argument is, as the whole argument, a double-quoted string interpolating a non-constant value (`#{β¦}`, `#@ivar`); a plain literal clears the call, keyword arguments are the fields, and a block, `%`-format or `+` concatenation is not convicted. Ruby that logs only through the standard Logger (Rails.logger) is not applicable rather than a reach gap. Deterministic.
`debug` at line 71 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. β src/main/java/com/jdon/jivejdon/util/BeanUtils.java:71
`debug` at line 72 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. β src/main/java/com/jdon/jivejdon/util/BeanUtils.java:72
`error` at line 78 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. (×2) β src/main/java/com/jdon/jivejdon/util/BeanUtils.java:78, src/main/java/com/jdon/jivejdon/spi/component/query/SlideImageQueryManager.java:78
`debug` at line 99 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. (×2) β src/main/java/com/jdon/jivejdon/util/BeanUtils.java:99, src/main/java/com/jdon/jivejdon/spi/component/query/HotThreadQueryManager.java:99
`debug` at line 108 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. (×2) β src/main/java/com/jdon/jivejdon/util/BeanUtils.java:108, src/main/java/com/jdon/jivejdon/spi/component/query/HotThreadQueryManager.java:108
`debug` at line 109 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. β src/main/java/com/jdon/jivejdon/util/BeanUtils.java:109
`warn` 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.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. β src/main/java/com/jdon/jivejdon/spi/pubsub/subscriber/MessageMovingListener.java:58
`info` at line 73 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. β src/main/java/com/jdon/jivejdon/spi/pubsub/subscriber/MessageMovingListener.java:73
`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. β src/main/java/com/jdon/jivejdon/spi/pubsub/subscriber/MessageMovingListener.java:76
`error` at line 88 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. β src/main/java/com/jdon/jivejdon/spi/pubsub/subscriber/MessageMovingListener.java:88
`error` at line 81 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. β src/main/java/com/jdon/jivejdon/spi/pubsub/subscriber/postThread/ThreadPostListener.java:81
`warn` at line 37 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. β src/main/java/com/jdon/jivejdon/spi/pubsub/reconstruction/impl/ForumStateLoader.java:37
`error` at line 43 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. β src/main/java/com/jdon/jivejdon/spi/pubsub/reconstruction/impl/LoadRolename.java:43
`warn` at line 48 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. β src/main/java/com/jdon/jivejdon/spi/pubsub/reconstruction/impl/ThreadStateLoader.java:48
`error` at line 62 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. β src/main/java/com/jdon/jivejdon/spi/component/throttle/post/ThrottleManager.java:62
`error` at line 75 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. β src/main/java/com/jdon/jivejdon/spi/component/throttle/post/ThrottleManager.java:75
`debug` 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.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. β src/main/java/com/jdon/jivejdon/spi/component/throttle/post/ThrottleManager.java:106
`debug` 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.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. (×2) β src/main/java/com/jdon/jivejdon/spi/component/throttle/post/ThrottleManager.java:111, src/main/java/com/jdon/jivejdon/spi/component/throttle/hitkey/CustomizedThrottleImp.java:111
`debug` at line 120 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. β src/main/java/com/jdon/jivejdon/spi/component/throttle/post/ThrottleManager.java:120
`debug` at line 128 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. β src/main/java/com/jdon/jivejdon/spi/component/throttle/post/ThrottleManager.java:128
`error` at line 53 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. β src/main/java/com/jdon/jivejdon/spi/component/throttle/hitkey/CustomizedThrottleImp.java:53
`debug` at line 98 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. β src/main/java/com/jdon/jivejdon/spi/component/throttle/hitkey/CustomizedThrottleImp.java:98
`debug` at line 116 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. β src/main/java/com/jdon/jivejdon/spi/component/throttle/hitkey/CustomizedThrottleImp.java:116
`debug` at line 124 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. β src/main/java/com/jdon/jivejdon/spi/component/throttle/hitkey/CustomizedThrottleImp.java:124
`error` 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.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. β src/main/java/com/jdon/jivejdon/spi/component/subscription/SubscriptionNotify.java:92
`error` 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.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. β src/main/java/com/jdon/jivejdon/spi/component/sitemap/SitemapRepositoryImpl.java:135
`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. β src/main/java/com/jdon/jivejdon/spi/component/sitemap/SitemapRepositoryImpl.java:160
`error` at line 225 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. β src/main/java/com/jdon/jivejdon/spi/component/sitemap/SitemapRepositoryImpl.java:225
`error` at line 296 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. β src/main/java/com/jdon/jivejdon/spi/component/sitemap/SitemapRepositoryImpl.java:296
`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. β src/main/java/com/jdon/jivejdon/spi/component/query/HotThreadQueryManager.java:65
`debug` at line 88 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. β src/main/java/com/jdon/jivejdon/spi/component/query/HotThreadQueryManager.java:88
`debug` at line 118 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. β src/main/java/com/jdon/jivejdon/spi/component/query/HotThreadQueryManager.java:118
`debug` at line 127 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. β src/main/java/com/jdon/jivejdon/spi/component/query/HotThreadQueryManager.java:127
`debug` at line 148 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. β src/main/java/com/jdon/jivejdon/spi/component/query/HotThreadQueryManager.java:148
`debug` at line 90 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. β src/main/java/com/jdon/jivejdon/spi/component/filter/InputSwitcher.java:90
`debug` at line 110 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. β src/main/java/com/jdon/jivejdon/spi/component/block/IPBanListManager.java:110
Other Β· Code Health β Whether Java packages are null-marked and not undermined by heavy nullness suppression β a package under `@NullMarked` (or `@NonNullApi`, `@ParametersAreNonnullByDefault`, `@NonNullByDefault`, or a NullAway/Checker Framework configuration naming it) makes an unannotated reference exclude null, and `@SuppressWarnings("NullAway")`, `("nullness")`, `("null")` and `castToNonNull(β¦)` are what silence it.
Method: Roslyn compiler-options scan: NullableContextOptions per project; null-forgiving (!) suppression density per 1k syntax nodes. Deterministic, adoption plus suppression penalty.
0/114 of this repository's Java package directories are under a non-null default: a `package-info.java` declaring `@NullMarked` (JSpecify) or `@NonNullApi`, `@ParametersAreNonnullByDefault`, `@NonNullByDefault`, `@DefaultQualifier(NonNull.class)`; a `module-info.java` declaring `@NullMarked`; every type in it `@NullMarked`; or a build that runs NullAway with the package in `AnnotatedPackages`, or the Checker Framework's `NullnessChecker`. Elsewhere every reference admits null and no checker warns on the dereference that throws a `NullPointerException`.
What to do
Declare the default where Java declares it: `@NullMarked` (org.jspecify.annotations) in each package's `package-info.java`, or once in `module-info.java`, and run NullAway (Error Prone) or the Checker Framework so the declaration is enforced. Then annotate the real exceptions `@Nullable` and resolve the suppressions rather than adding to them: a `@SuppressWarnings("NullAway")` or `castToNonNull(x)` on a value the checker could show to be null is a `NullPointerException` waiting for the path that makes it true β where the value genuinely cannot be null, say something the checker can see instead (a null check, `Objects.requireNonNull`, a non-null field initialised in the constructor).
Do you agree with this assessment?
WCAG coverage β what static analysis assessed
Statically assessed 15 of 55 WCAG 2.2 Level A/AA success criteria (27%; β30% of the 50 WCAG 2.1 AA criteria for EN 301 549). The other 40 require runtime or manual evaluation. Partial signal only (a clean result is necessary, not sufficient; static analysis fully verifies none). This is accessibility readiness, not a conformance claim β a WCAG conformance claim requires manual evaluation (WCAG-EM 1.0).
The score is the rank-weighted fold of these lenses (worst-heaviest), each including its meta-dimensions; a lens with a Critical contributor is capped at Fair (its band reads "gated by β¦") and is never the strongest area however high its average.
Capped at Fair by a Critical contributor β resolve it before relying on this lens.
Unscored β 3 check(s) recorded observations but carry no score
These checks ran and found something, but they do not carry a score β either by design (an advisory check reports evidence rather than grading it) or because they could not be scored here. They are excluded from the score for that reason, not because there was nothing to see.
X10 Duplicated predicate β 18 observation(s) recorded Β· Advisory β this card reports evidence and never carries a score.
X6 Hand-rolled structured-format parsing β 9 observation(s) recorded Β· Advisory β this card reports evidence and never carries a score.
X7 Silent fallback defaults β 3 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
These checks grade a working control, and the repository shows no evidence of one. That is deliberately not scored as a zero: a repository cannot show an ops runbook, a database TTL or an infrastructure-side audit log, so absence of evidence here is not evidence the control is missing. It is also not a statement that the check is irrelevant to this codebase β the thing it grades applies; we just could not see it. Excluded from the score either way.
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 β 54 check(s) not relevant to this codebase
These checks had nothing to measure here (no tests, no git history, the codebase is small, or the architecture style doesn't apply), so they're omitted above rather than scored low.
AX1 Captive dependencies β Not applicable: this repository's Java imports no dependency-injection container and defines no container of its own β nothing that both registers and resolves bindings, and nothing that names two lifetimes β so nothing holds one lifetime's instance while handing out another's; this repository's JavaScript imports no dependency-injection container and defines no container of its own β nothing that both registers and resolves bindings, and nothing that names two lifetimes β so nothing holds one lifetime's instance while handing out another's.
AX2 Stateful singletons β No container singleton was found, so there is no shared instance for concurrent requests to race on. No class in this Java code is a Spring, JSR-330 or CDI singleton bean. 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).
AX7 Slice cohesion β not applicable β not a vertical-slice architecture
AX8 Test isolation β no test/production split to check
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) β 18 | >>> ADD target/ROOT.war /usr/local/tomcat/webapps/ 19 | # # create mount point for volume with application 20 | WORKDIR /usr/local/tomcat/webapps/ -------------------- ERROR: failed to solve: failed to compute cache key: failed to calculate checksum of ref 96eb548b-edaa-421c-830d-e450c0126340::iew1u8znj14td0x0og2ryo76y: "/target/ROOT.war": not found; 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.
D10 Test Quality β ~264 lines of test code exist on disk but weren't loaded from the analyzed solution (excluded from the .sln, or co-located/using a test attribute not loaded here), so test quality couldn't be assessed. Include the tests in the analyzed solution to enable this check.
D11 Test Reliability β No test suite was found to re-run, so reliability couldn't be assessed. Two searches produced that zero and both came back empty: the classifier that reads the loaded workspace recognised no suite it could run, and a walk of the source on disk β which covers the JS/TS `*.test.*` and `*.spec.*` conventions and probes for a Pester suite β found no test source in any other ecosystem either. Neither search reaches a suite that is missing from the loaded workspace and carries no name either walk recognises, so this is 'no suite found by those two searches', not a verdict that the repository has none.
D12 Dependency Hygiene β Dependency currency not established β gitee.com did not answer
D16 Bus Factor β single-maintainer repository β bus factor is not applicable
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.
D21 Naming Consistency β Naming consistency is measured on C# and TypeScript only; Java, JavaScript not measured.
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+ sibling projects each declaring an entity of their own or taking another project's integration events. 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"]`.
D25 ADR Conformance β no ADRs to check
D26 Project Cohesion β D26 could not read how the parts of this repository's one build unit reference each other, so its cohesion was not measured. Not scored: this is a gap in the analyzer, not a verdict about this repository.
D36 Supply-chain Provenance & Signing β No CI/build pipeline found (.github/.forgejo/.gitea workflows, .circleci, .buildkite, .woodpecker, .teamcity, .gitlab-ci.yml, .travis.yml, bitbucket-pipelines.yml, .drone.yml, .cirrus.yml, .woodpecker.yml, appveyor.yml, azure-pipelines*.yml, .pipelines/, .vsts-ci/, .azuredevops/, Jenkinsfile); there is no build to attest provenance for.
D37 Vulnerability-disclosure Policy β No vulnerability-disclosure policy file found (SECURITY.md/.markdown/.rst/.txt at root or under .github/.forgejo/.gitea/docs, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed.
D39 IL Efficiency β D39 measures the IL emitted by a .NET build; this repository has no .NET solution or project files, so the dimension does not apply.
D40 Network Egress Confinement β No Kubernetes/orchestration workloads found in the repository manifests; network egress policy is a cluster-native control that may live at the platform/firewall layer, so there is nothing to assess here.
D41 Kernel & Syscall Confinement β No Kubernetes/orchestration workloads found in the repository manifests; seccomp/AppArmor/SELinux confinement is a workload-level control, so there is nothing to assess here.
D42 Runtime Threat Enforcement β No Kubernetes/orchestration workloads found in the repository manifests; runtime threat-detection and admission-control policy are cluster-level controls, so there is nothing to assess here.
D5 Coupling β Not applicable β this Maven build ships 1 production module(s), so there is no coupling BETWEEN modules to measure. (Its test and non-production modules are not part of the shipped graph.)
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
D9 Test Distribution β No test suite could be collected, so there is no unit/integration/end-to-end mix to read. Not applicable: the absence of tests is D8's reading (Code Coverage), and is counted there once.
DM11 Constructible invalid state β no entities detected β construction-time invariants not assessable
DM2 Strongly-typed ids β no id-bearing domain types detected β strongly-typed-id adoption not assessable
DM3 Integration-event coupling β no integration events detected β coupling check not applicable
DM4 Rich vs anemic model β no data-bearing entities detected β rich-vs-anemic model not assessable
DM5 Encapsulated state β no domain entities found β DM5 grades how entities protect their state, and this repository declares none
DM7 Repository granularity β no repository abstraction detected (e.g. uses a document session)
DM8 Value-object opportunities β not scored β the deterministic rule found 0 candidate clump(s); its rows are withheld until it has a measured precision of 95 % (a sample of fewer than 10 rows cannot show one)
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 β no CI workflow found
P7 Outbound HTTP resilience β not applicable β no HTTP server, API framework or worker entry point was found in the JVM, JavaScript/TypeScript source, so there is no service whose uptime a failing dependency could take down
P8 Schema migrations β no ORM, schema-migration tool or schema auto-create was found in this repository's dependency manifests or source, so there is no database schema for this check to judge
P9 Domain vs controller coverage β no coverage report found on disk β produce a coverage report in a standard format (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 tinybench, mitata, benchmark.js, benny or vitest `bench(...)` calls in files that import them (or `*.bench.*` files), or one of those in a package.json, and for a `*benchmark*` script that this repository's CI runs. Benchmarks are credited as a bonus, so their absence is neither scored nor deducted.
PF2 Allocation hygiene β Not scored: this check counted allocation-aware idioms (Span, pools, stackalloc) per line, which describes what kind of code a repository is rather than whether it has an allocation problem, so it was withdrawn. Nothing here is a finding about your code.
PF3 Async & latency hygiene β Not applicable: this repository declares no async functions, so there is no asynchronous code for a blocking call to stall.
R11 Import Boundaries β No recognizable feature-sliced/layered src layout β boundary rules not applicable.
R5 Dependency Freshness β no package-lock.json β dependency freshness not measured (would require an npm lockfile); JS/npm CVEs are scored in D30 (Dependency Vulnerabilities), which answers every ecosystem
R6 Tooling β no package.json in the repository β test/lint/typecheck wiring is read from package.json scripts (corroborated against CI), so this project's own toolchain isn't measured here
R8 Dependency Hygiene β Not measured β no package.json declares any dependency, so there is nothing to check imports against (imports may resolve through a host runtime rather than node).
X2 Cancellation propagation β no C# was loaded; this repository's Java was read, and no request in it can be cancelled by a caller β 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
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.
X9 Subsumed condition operand β Advisory β this card reports evidence and never carries a score, so there is nothing missing here.
Appendix A β Findings (grouped)
The findings behind the scores, grouped by severity, then by dimension and kind. The high-severity issues are enumerated in full below; items per group are capped at 25 with any overflow stated explicitly per group, never silently truncated. The complete machine-readable list of every finding (all severities) is the companion findings.md in this report's bundle.
Critical β 115 finding(s)
AC1 Β· Text alternativesΒ· <img> without a text alternative Β· Γ40
<img> without a text alternative application/account/profileView.jsp:41β An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt β alt="" if it's purely decorative.
<img> without a text alternative application/account/profileView.jsp:44β An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt β alt="" if it's purely decorative.
<img> without a text alternative application/account/profileView.jsp:49β An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt β alt="" if it's purely decorative.
<img> without a text alternative application/account/protected/upload/uploadUserFace.jsp:48β An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt β alt="" if it's purely decorative.
<img> without a text alternative application/admin/forum/imageList.jsp:62β An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt β alt="" if it's purely decorative.
<img> without a text alternative application/admin/tabs.jsp:28β An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt β alt="" if it's purely decorative.
<img> without a text alternative application/admin/tabs.jsp:29β An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt β alt="" if it's purely decorative.
<img> without a text alternative application/admin/tabs.jsp:30β An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt β alt="" if it's purely decorative.
<img> without a text alternative application/admin/tabs.jsp:40β An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt β alt="" if it's purely decorative.
<img> without a text alternative application/admin/tabs.jsp:45β An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt β alt="" if it's purely decorative.
<img> without a text alternative application/blog/header.jsp:149β An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt β alt="" if it's purely decorative.
<img> without a text alternative application/blog/header.jsp:204β An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt β alt="" if it's purely decorative.
<img> without a text alternative application/blog/header.jsp:207β An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt β alt="" if it's purely decorative.
<img> without a text alternative application/blog/header.jsp:213β An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt β alt="" if it's purely decorative.
<img> without a text alternative REDACTED:7096β An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt β alt="" if it's purely decorative.
<img> without a text alternative REDACTED:7099β An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt β alt="" if it's purely decorative.
<img> without a text alternative application/message/upload/show.jsp:22β An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt β alt="" if it's purely decorative.
<img> without a text alternative application/message/upload/upload.jsp:65β An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt β alt="" if it's purely decorative.
<img> without a text alternative application/query/approvedThreadList.jsp:91β An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt β alt="" if it's purely decorative.
<img> without a text alternative application/query/approvedThreadList3.jsp:42β An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt β alt="" if it's purely decorative.
<img> without a text alternative application/query/authorList.jsp:35β An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt β alt="" if it's purely decorative.
<img> without a text alternative application/query/authorList.jsp:38β An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt β alt="" if it's purely decorative.
<img> without a text alternative application/query/authorList.jsp:42β An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt β alt="" if it's purely decorative.
<img> without a text alternative application/query/others/newdiglist.jsp:21β An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt β alt="" if it's purely decorative.
<img> without a text alternative application/query/others/st.jsp:53β An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt β alt="" if it's purely decorative.
+ 15 more in this group β see findings.md.
AC2 Β· Forms & labelsΒ· <input> without a programmatic label Β· Γ32
<input> without a programmatic label application/account/IncludeAccountFields.jsp:98β This control has no associated label. Add a <label for> / wrapping <label> / aria-label / aria-labelledby so assistive tech can name it.
<input> without a programmatic label application/account/IncludeAccountFields.jsp:102β This control has no associated label. Add a <label for> / wrapping <label> / aria-label / aria-labelledby so assistive tech can name it.
<input> without a programmatic label application/account/IncludeAccountFields.jsp:108β This control has no associated label. Add a <label for> / wrapping <label> / aria-label / aria-labelledby so assistive tech can name it.
<input> without a programmatic label application/account/IncludeAccountFields.jsp:112β This control has no associated label. Add a <label for> / wrapping <label> / aria-label / aria-labelledby so assistive tech can name it.
<input> without a programmatic label application/account/IncludeAccountFields.jsp:129β This control has no associated label. Add a <label for> / wrapping <label> / aria-label / aria-labelledby so assistive tech can name it.
<input> without a programmatic label application/account/login.jsp:60β This control has no associated label. Add a <label for> / wrapping <label> / aria-label / aria-labelledby so assistive tech can name it.
<input> without a programmatic label application/account/login.jsp:66β This control has no associated label. Add a <label for> / wrapping <label> / aria-label / aria-labelledby so assistive tech can name it.
<input> without a programmatic label application/account/login.jsp:74β This control has no associated label. Add a <label for> / wrapping <label> / aria-label / aria-labelledby so assistive tech can name it.
<input> without a programmatic label application/account/newAccount.jsp:69β This control has only a placeholder β a placeholder is not a label (it vanishes on input and many AT ignore it). Add a <label for>, a wrapping <label>, or aria-label.
<input> without a programmatic label application/account/newAccount.jsp:77β This control has no associated label. Add a <label for> / wrapping <label> / aria-label / aria-labelledby so assistive tech can name it.
<input> without a programmatic label application/account/newAccount.jsp:84β This control has no associated label. Add a <label for> / wrapping <label> / aria-label / aria-labelledby so assistive tech can name it.
<input> without a programmatic label application/account/newAccount.jsp:90β This control has only a placeholder β a placeholder is not a label (it vanishes on input and many AT ignore it). Add a <label for>, a wrapping <label>, or aria-label.
<input> without a programmatic label application/account/newAccount.jsp:99β This control has no associated label. Add a <label for> / wrapping <label> / aria-label / aria-labelledby so assistive tech can name it.
<input> without a programmatic label application/account/newAccount.jsp:109β This control has no associated label. Add a <label for> / wrapping <label> / aria-label / aria-labelledby so assistive tech can name it.
<input> without a programmatic label application/account/protected/profile.jsp:40β This control has no associated label. Add a <label for> / wrapping <label> / aria-label / aria-labelledby so assistive tech can name it.
<input> without a programmatic label application/account/protected/profile.jsp:43β This control has no associated label. Add a <label for> / wrapping <label> / aria-label / aria-labelledby so assistive tech can name it.
<input> without a programmatic label application/account/protected/sub/subAccountList.jsp:70β This control has no associated label. Add a <label for> / wrapping <label> / aria-label / aria-labelledby so assistive tech can name it.
<input> without a programmatic label application/account/protected/sub/subForumList.jsp:69β This control has no associated label. Add a <label for> / wrapping <label> / aria-label / aria-labelledby so assistive tech can name it.
<input> without a programmatic label application/account/protected/sub/subTagList.jsp:72β This control has no associated label. Add a <label for> / wrapping <label> / aria-label / aria-labelledby so assistive tech can name it.
<input> without a programmatic label application/account/protected/sub/subThreadList.jsp:68β This control has no associated label. Add a <label for> / wrapping <label> / aria-label / aria-labelledby so assistive tech can name it.
<input> without a programmatic label application/admin/cachekeys.jsp:34β This control has no associated label. Add a <label for> / wrapping <label> / aria-label / aria-labelledby so assistive tech can name it.
<input> without a programmatic label application/admin/filters/filters.jsp:212β This control has no associated label. Add a <label for> / wrapping <label> / aria-label / aria-labelledby so assistive tech can name it.
<input> without a programmatic label application/admin/filters/filters.jsp:216β This control has no associated label. Add a <label for> / wrapping <label> / aria-label / aria-labelledby so assistive tech can name it.
<input> without a programmatic label application/admin/filters/filters.jsp:220β This control has no associated label. Add a <label for> / wrapping <label> / aria-label / aria-labelledby so assistive tech can name it.
<input> without a programmatic label application/admin/filters/filters.jsp:255β This control has no associated label. Add a <label for> / wrapping <label> / aria-label / aria-labelledby so assistive tech can name it.
+ 7 more in this group β see findings.md.
AC3 Β· Page structureΒ· <html> without a lang Β· Γ7
<html> without a lang application/503.jsp:6β The page declares no language, so assistive tech can't pick the right pronunciation. Add lang (e.g. lang="en").
<html> without a lang application/account/login.jsp:1β The page declares no language, so assistive tech can't pick the right pronunciation. Add lang (e.g. lang="en").
<html> without a lang application/account/login_error.jsp:1β The page declares no language, so assistive tech can't pick the right pronunciation. Add lang (e.g. lang="en").
<html> without a lang application/account/protected/EditAccountForm.jsp:6β The page declares no language, so assistive tech can't pick the right pronunciation. Add lang (e.g. lang="en").
<html> without a lang application/account/protected/onlineInfo.jsp:10β The page declares no language, so assistive tech can't pick the right pronunciation. Add lang (e.g. lang="en").
<html> without a lang application/account/protected/upload/result.jsp:1β The page declares no language, so assistive tech can't pick the right pronunciation. Add lang (e.g. lang="en").
<html> without a lang application/account/protected/upload/uploadUserFace.jsp:18β The page declares no language, so assistive tech can't pick the right pronunciation. Add lang (e.g. lang="en").
AC2 Β· Forms & labelsΒ· <label> that labels no control Β· Γ6
<label> that labels no control application/account/newAccount.jsp:67β This <label> has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association β it is the TARGET of one, so a control still has to point at it. Give the label for="<the control's id>", move the control inside the label, or point the control's aria-labelledby at this label's id.
<label> that labels no control application/account/newAccount.jsp:75β This <label> has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association β it is the TARGET of one, so a control still has to point at it. Give the label for="<the control's id>", move the control inside the label, or point the control's aria-labelledby at this label's id.
<label> that labels no control application/account/newAccount.jsp:82β This <label> has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association β it is the TARGET of one, so a control still has to point at it. Give the label for="<the control's id>", move the control inside the label, or point the control's aria-labelledby at this label's id.
<label> that labels no control application/account/newAccount.jsp:88β This <label> has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association β it is the TARGET of one, so a control still has to point at it. Give the label for="<the control's id>", move the control inside the label, or point the control's aria-labelledby at this label's id.
<label> that labels no control application/account/newAccount.jsp:97β This <label> has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association β it is the TARGET of one, so a control still has to point at it. Give the label for="<the control's id>", move the control inside the label, or point the control's aria-labelledby at this label's id.
<label> that labels no control application/account/newAccount.jsp:107β This <label> has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association β it is the TARGET of one, so a control still has to point at it. Give the label for="<the control's id>", move the control inside the label, or point the control's aria-labelledby at this label's id.
AC4 Β· Keyboard semanticsΒ· Click handler on a non-interactive <div> Β· Γ6
Click handler on a non-interactive <div> application/common/js/window.js:375β A click handler on a plain element isn't keyboard-operable. Use a <button>, or add role + tabindex="0" + a key handler.
Click handler on a non-interactive <div> application/common/js/window.js:376β A click handler on a plain element isn't keyboard-operable. Use a <button>, or add role + tabindex="0" + a key handler.
Click handler on a non-interactive <div> application/common/js/window.js:377β A click handler on a plain element isn't keyboard-operable. Use a <button>, or add role + tabindex="0" + a key handler.
Click handler on a non-interactive <div> REDACTED:376β A click handler on a plain element isn't keyboard-operable. Use a <button>, or add role + tabindex="0" + a key handler.
Click handler on a non-interactive <div> REDACTED:377β A click handler on a plain element isn't keyboard-operable. Use a <button>, or add role + tabindex="0" + a key handler.
Click handler on a non-interactive <div> REDACTED:378β A click handler on a plain element isn't keyboard-operable. Use a <button>, or add role + tabindex="0" + a key handler.
D30 Β· Dependency VulnerabilitiesΒ· High CVE Β· Γ5
Banned license: com.ocpsoft:ocpsoft-pretty-time β `com.ocpsoft:ocpsoft-pretty-time` 1.0.6 is published on Maven Central under `LGPL-3.0`, which this policy bans, and this repository declares it in a Maven or Gradle manifest. The licence was read from the artifact's POM `<licenses>` block β following `<parent>` where the POM inherits them β and normalised to SPDX before it was judged, because Maven publishes the name as free text (`GNU Affero General Public License v3` is AGPL-3.0). Where a POM lists several licences they are read as a CHOICE, per Maven's own documentation, so this is charged only because EVERY listed licence is banned. Replace the dependency, or record an accepted exception. β The licence that makes this row is LGPL-3.0, and unmodified use is often permitted: the LGPL lets your code use an UNMODIFIED copy of the library that stays a separately installed package (its own entry in node_modules, site-packages or the gem path, which a user can replace) without your code coming under the LGPL. What it then asks is that you pass on its licence and notices and let users swap in their own build of it (LGPL-3.0 section 4). Modifying it, copying its code into yours, or merging it into one bundled or statically linked artifact is where the obligations grow, and this policy cannot see which you do β that is why it denies LGPL-3.0 by default. If you use it unmodified and separately installed, allow it in your repository's licence policy rather than replacing it: add `LGPL-3.0-only` / `LGPL-3.0-or-later` to the allow-list of the licence check your CI runs (`license-checker --onlyAllow`, the `allow-licenses` input of GitHub's dependency-review-action, `[licenses] allow` in cargo-deny's deny.toml), record why in the same change, and hide this row on the findings page with that reason. This scan's banned set is not read from that file, so the row stays until it is hidden.
Banned license: mysql:mysql-connector-java β `mysql:mysql-connector-java` 5.1.47 is published on Maven Central under `GPL-2.0`, which this policy bans, and this repository declares it in a Maven or Gradle manifest. The licence was read from the artifact's POM `<licenses>` block β following `<parent>` where the POM inherits them β and normalised to SPDX before it was judged, because Maven publishes the name as free text (`GNU Affero General Public License v3` is AGPL-3.0). Where a POM lists several licences they are read as a CHOICE, per Maven's own documentation, so this is charged only because EVERY listed licence is banned. Replace the dependency, or record an accepted exception.
AC2 Β· Forms & labelsΒ· <select> without a programmatic label Β· Γ1
<select> without a programmatic label application/admin/filters/filters.jsp:199β This control has no associated label. Add a <label for> / wrapping <label> / aria-label / aria-labelledby so assistive tech can name it.
AC2 Β· Forms & labelsΒ· <textarea> without a programmatic label Β· Γ1
<textarea> without a programmatic label application/admin/filters/filters.jsp:224β This control has no associated label. Add a <label for> / wrapping <label> / aria-label / aria-labelledby so assistive tech can name it.
AC3 Β· Page structureΒ· Document without a <title> Β· Γ1
Document without a <title> application/account/protected/upload/result.jsp:1β A page with no <title> gives no name in the tab, history or screen-reader page list. Add a descriptive <title> in <head>.
AC4 Β· Keyboard semanticsΒ· Click handler on a non-interactive <img> Β· Γ1
Click handler on a non-interactive <img> application/blog/header.jsp:149β A click handler on a plain element isn't keyboard-operable. Use a <button>, or add role + tabindex="0" + a key handler.
AC4 Β· Keyboard semanticsΒ· Clickable element isn't keyboard-operable Β· Γ1
Clickable element isn't keyboard-operable application/forum/forumList.jsp:62β The repo's own CSS styles .linkblock with `cursor: pointer`, so this <div> is a control β but it has no role, no tabindex="0" and no key handler, so it can only be reached with a mouse. Use a <button>, or add role + tabindex="0" + a key handler.
Swallowed exception (empty catch) src/main/java/com/jdon/jivejdon/util/EmailTask.java:59β 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.
Swallowed exception (empty catch) src/main/java/com/jdon/jivejdon/spi/pubsub/subscriber/SubscriptionSender.java:40β 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.
Swallowed exception (empty catch) src/main/java/com/jdon/jivejdon/spi/component/query/HotThreadQueryManager.java:169β 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.
Swallowed exception (empty catch) src/main/java/com/jdon/jivejdon/presentation/sitemap/SitemapServlet.java:144β 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.
Swallowed exception (empty catch) src/main/java/com/jdon/jivejdon/presentation/servlet/CounterServlet.java:90β 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.
Swallowed exception (empty catch) src/main/java/com/jdon/jivejdon/presentation/servlet/RegisterCodeAction.java:151β 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.
Swallowed exception (empty catch) src/main/java/com/jdon/jivejdon/presentation/action/query/ThreadDigSortedListAction.java:59β 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.
Swallowed exception (empty catch) src/main/java/com/jdon/jivejdon/presentation/action/query/ThreadTagHotList2Action.java:77β 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.
Swallowed exception (empty catch) REDACTED:116β 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.
Swallowed exception (empty catch) src/main/java/com/jdon/jivejdon/infrastructure/repository/search/MessageSearchProxy.java:102β 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.
Swallowed exception (empty catch) src/main/java/com/jdon/jivejdon/infrastructure/repository/search/MessageSearchProxy.java:137β 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.
Swallowed exception (empty catch) src/main/java/com/jdon/jivejdon/infrastructure/repository/search/MessageSearchProxy.java:160β 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.
Swallowed exception (empty catch) src/main/java/com/jdon/jivejdon/domain/model/ForumThread.java:225β 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.
Swallowed exception (empty catch) src/main/java/com/jdon/jivejdon/domain/model/account/AccountVO.java:52β 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.
Swallowed exception (empty catch) src/main/java/com/jdon/jivejdon/domain/model/account/AuditTimeline.java:25β 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.
Swallowed exception (empty catch) src/main/java/com/jdon/jivejdon/auth/ResourceAuthorization.java:64β 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.
Swallowed exception (empty catch) src/main/java/com/jdon/jivejdon/auth/jaas/DefaultRolesProvider.java:74β 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.
Swallowed exception (empty catch) src/main/java/com/jdon/jivejdon/api/util/JtaTransactionUtil.java:49β 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.
Swallowed exception (empty catch) src/main/java/com/jdon/jivejdon/api/impl/account/AccountServiceShell.java:127β 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.
Swallowed exception (empty catch) application/message/js/messageEdit.js:60β 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.
Swallowed exception (empty catch) application/forum/js/form.js:10β 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.
Swallowed exception (empty catch) application/common/form.js:10β 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.
Swallowed exception (empty catch) application/common/login2.js:5β 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.
Swallowed exception (empty catch) REDACTED:1β 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.
Swallowed exception (empty catch) application/common/ckeditor/plugins/bbcode/plugin.js:667β 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.
+ 6 more in this group β see findings.md.
AC3 Β· Page structureΒ· Data table has no header cells Β· Γ25
Data table has no header cells application/account/emailValidate.jsp:11β A <table> with data cells but no <th> gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as <th> (with a scope).
Data table has no header cells application/account/fwd.jsp:29β A <table> with data cells but no <th> gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as <th> (with a scope).
Data table has no header cells application/account/login.jsp:33β A <table> with data cells but no <th> gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as <th> (with a scope).
Data table has no header cells application/account/login.jsp:52β A <table> with data cells but no <th> gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as <th> (with a scope).
Data table has no header cells application/account/login.jsp:56β A <table> with data cells but no <th> gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as <th> (with a scope).
Data table has no header cells application/account/login.jsp:63β A <table> with data cells but no <th> gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as <th> (with a scope).
Data table has no header cells application/account/login_error.jsp:38β A <table> with data cells but no <th> gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as <th> (with a scope).
Data table has no header cells application/account/profileView.jsp:27β A <table> with data cells but no <th> gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as <th> (with a scope).
Data table has no header cells application/account/profileView.jsp:33β A <table> with data cells but no <th> gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as <th> (with a scope).
Data table has no header cells application/account/profileView.jsp:60β A <table> with data cells but no <th> gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as <th> (with a scope).
Data table has no header cells application/account/profileView.jsp:62β A <table> with data cells but no <th> gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as <th> (with a scope).
Data table has no header cells application/account/protected/onlineInfo.jsp:23β A <table> with data cells but no <th> gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as <th> (with a scope).
Data table has no header cells application/account/protected/profile.jsp:13β A <table> with data cells but no <th> gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as <th> (with a scope).
Data table has no header cells application/account/protected/profile.jsp:16β A <table> with data cells but no <th> gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as <th> (with a scope).
Data table has no header cells application/account/protected/profile.jsp:37β A <table> with data cells but no <th> gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as <th> (with a scope).
Data table has no header cells application/account/protected/sub/subAccountList.jsp:37β A <table> with data cells but no <th> gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as <th> (with a scope).
Data table has no header cells application/account/protected/sub/subAccountList.jsp:97β A <table> with data cells but no <th> gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as <th> (with a scope).
Data table has no header cells application/account/protected/sub/subForumList.jsp:37β A <table> with data cells but no <th> gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as <th> (with a scope).
Data table has no header cells application/account/protected/sub/subForumList.jsp:94β A <table> with data cells but no <th> gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as <th> (with a scope).
Data table has no header cells application/account/protected/sub/subTagList.jsp:38β A <table> with data cells but no <th> gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as <th> (with a scope).
Data table has no header cells application/account/protected/sub/subTagList.jsp:107β A <table> with data cells but no <th> gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as <th> (with a scope).
Data table has no header cells application/account/protected/sub/subThreadList.jsp:38β A <table> with data cells but no <th> gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as <th> (with a scope).
Data table has no header cells application/account/protected/sub/subThreadList.jsp:92β A <table> with data cells but no <th> gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as <th> (with a scope).
Data table has no header cells application/admin/cachekeys.jsp:38β A <table> with data cells but no <th> gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as <th> (with a scope).
Data table has no header cells application/admin/cachekeys.jsp:42β A <table> with data cells but no <th> gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as <th> (with a scope).
X24 Β· Document value interpolated into markup unescapedΒ· Untrusted text written into markup unescaped Β· Γ25
Untrusted text written into markup unescaped application/common/js/calendar-setup.js:85β `date` is text this program did not author, and it is written into the text of an element through `innerHTML` 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.
Untrusted text written into markup unescaped application/common/js/calendar.js:4β `$` is text this program did not author, and it is written into the text of an element through `innerHTML` 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.
Untrusted text written into markup unescaped application/common/js/window.js:181β `this.getId()` is text this program did not author, and it is written into a quoted attribute value through `innerHTML` 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.
Untrusted text written into markup unescaped application/common/js/window.js:184β `html` is text this program did not author, and it is written into the text of an element through `innerHTML` 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.
Untrusted text written into markup unescaped application/common/js/window.js:206β `this.getId()` is text this program did not author, and it is written into a quoted attribute value through `innerHTML` 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.
Untrusted text written into markup unescaped application/common/js/window.js:375β `className` is text this program did not author, and it is written into a quoted attribute value through `innerHTML` 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.
Untrusted text written into markup unescaped application/common/js/window.js:376β `className` is text this program did not author, and it is written into a quoted attribute value through `innerHTML` 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.
Untrusted text written into markup unescaped application/common/js/window.js:377β `className` is text this program did not author, and it is written into a quoted attribute value through `innerHTML` 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.
Untrusted text written into markup unescaped application/common/js/window.js:380β `id` is text this program did not author, and it is written into a quoted attribute value through `innerHTML` 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.
Untrusted text written into markup unescaped application/common/js/window.js:652β `element` is text this program did not author, and it is written into the text of an element through `innerHTML` 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.
Untrusted text written into markup unescaped application/common/js/window.js:925β `parameters.className` is text this program did not author, and it is written into a quoted attribute value through `innerHTML` 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.
Untrusted text written into markup unescaped application/common/js/window.js:927β `parameters.className` is text this program did not author, and it is written into a quoted attribute value through `innerHTML` 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.
Untrusted text written into markup unescaped REDACTED:1β `this` is text this program did not author, and it is written into a script or style context through `innerHTML` 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. A script or style context needs its own escaping (or a JSON serialiser that escapes `<`); better, pass the value through a data attribute.
Untrusted text written into markup unescaped REDACTED:182β `this.getId()` is text this program did not author, and it is written into a quoted attribute value through `innerHTML` 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.
Untrusted text written into markup unescaped REDACTED:185β `html` is text this program did not author, and it is written into the text of an element through `innerHTML` 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.
Untrusted text written into markup unescaped REDACTED:207β `this.getId()` is text this program did not author, and it is written into a quoted attribute value through `innerHTML` 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.
Untrusted text written into markup unescaped REDACTED:376β `className` is text this program did not author, and it is written into a quoted attribute value through `innerHTML` 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.
Untrusted text written into markup unescaped REDACTED:377β `className` is text this program did not author, and it is written into a quoted attribute value through `innerHTML` 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.
Untrusted text written into markup unescaped REDACTED:378β `className` is text this program did not author, and it is written into a quoted attribute value through `innerHTML` 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.
Untrusted text written into markup unescaped REDACTED:381β `id` is text this program did not author, and it is written into a quoted attribute value through `innerHTML` 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.
Untrusted text written into markup unescaped REDACTED:653β `element` is text this program did not author, and it is written into the text of an element through `innerHTML` 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.
Untrusted text written into markup unescaped REDACTED:926β `parameters.className` is text this program did not author, and it is written into a quoted attribute value through `innerHTML` 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.
Untrusted text written into markup unescaped REDACTED:928β `parameters.className` is text this program did not author, and it is written into a quoted attribute value through `innerHTML` 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.
Untrusted text written into markup unescaped application/common/messageList12.js:6β `xhr.responseText` is text this program did not author, and it is written into the text of an element through `innerHTML` 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.
Untrusted text written into markup unescaped application/forum/js/form.js:65β `"ζ"+attcount+"δΈͺιδ»Ά:"+insimag` is text this program did not author, and it is written into the text of an element through `innerHTML` 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.
Dead file (~12 LoC) application/common/ckeditor/plugins/base64image/lang/af.jsβ no import path from any entry point (2 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it β nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make
Dead file (~12 LoC) application/common/ckeditor/plugins/base64image/lang/ar.jsβ no import path from any entry point (2 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it β nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make
Dead file (~12 LoC) application/common/ckeditor/plugins/base64image/lang/bg.jsβ no import path from any entry point (2 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it β nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make
Dead file (~12 LoC) application/common/ckeditor/plugins/base64image/lang/bn.jsβ no import path from any entry point (2 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it β nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make
Dead file (~12 LoC) application/common/ckeditor/plugins/base64image/lang/bs.jsβ no import path from any entry point (2 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it β nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make
Dead file (~12 LoC) application/common/ckeditor/plugins/base64image/lang/ca.jsβ no import path from any entry point (2 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it β nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make
Dead file (~12 LoC) application/common/ckeditor/plugins/base64image/lang/cs.jsβ no import path from any entry point (2 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it β nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make
Dead file (~12 LoC) application/common/ckeditor/plugins/base64image/lang/cy.jsβ no import path from any entry point (2 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it β nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make
Dead file (~12 LoC) application/common/ckeditor/plugins/base64image/lang/da.jsβ no import path from any entry point (2 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it β nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make
Dead file (~12 LoC) application/common/ckeditor/plugins/base64image/lang/de-ch.jsβ no import path from any entry point (2 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it β nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make
Dead file (~12 LoC) application/common/ckeditor/plugins/base64image/lang/de.jsβ no import path from any entry point (2 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it β nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make
Dead file (~12 LoC) application/common/ckeditor/plugins/base64image/lang/el.jsβ no import path from any entry point (2 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it β nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make
Dead file (~12 LoC) application/common/ckeditor/plugins/base64image/lang/en-au.jsβ no import path from any entry point (2 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it β nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make
AC6 Β· Visual & motion safetyΒ· Focus outline removed in CSS without a Β· Γ12
Focus outline removed in CSS without a :focus replacement application/js/jdon.css:2β `.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.
Focus outline removed in CSS without a :focus replacement application/js/jdon.css:2β `.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.
Focus outline removed in CSS without a :focus replacement application/js/jdon.css:2β `.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.
Focus outline removed in CSS without a :focus replacement application/js/jdon.css:2β `.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.
Focus outline removed in CSS without a :focus replacement application/js/jdon.css:2β `.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.
Focus outline removed in CSS without a :focus replacement application/js/jdon.css:2β `.navbar-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.
Focus outline removed in CSS without a :focus replacement application/js/jdon.css:2β `.modal` 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.
Focus outline removed in CSS without a :focus replacement application/js/jdon.css:2β `.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.
Focus outline removed in CSS without a :focus replacement application/js/jdon.css:2β `.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.
Focus outline removed in CSS without a :focus replacement application/js/jdon.css:2β `footer .footer-1 input[type="text"]` 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.
Focus outline removed in CSS without a :focus replacement application/common/js/styles/style.css:912β `footer .footer-1 input[type="text"]` 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.
Focus outline removed in CSS without a :focus replacement application/common/ckeditor/skins/moono-lisa/dialog.css:5β `.cke_hc .cke_dialog_footer` 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.
Duplicated block (9 lines × 2) src/main/java/com/jdon/jivejdon/api/impl/account/OAuthAccountServiceImp.java:99β src/main/java/com/jdon/jivejdon/api/impl/account/OAuthAccountServiceImp.java:99-107 | src/main/java/com/jdon/jivejdon/api/impl/account/OAuthAccountServiceImp.java:228-236 β 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.
Duplicated block (9 lines × 2) src/main/java/com/jdon/jivejdon/domain/model/message/output/emotion/Emoticon.java:390β src/main/java/com/jdon/jivejdon/domain/model/message/output/emotion/Emoticon.java:390-398 | src/main/java/com/jdon/jivejdon/domain/model/message/output/emotion/Emoticon.java:400-408 β 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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
Duplicated block (9 lines × 2) src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:269β src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:269-277 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageUtilSQL.java:39-47 β the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach β a file they already depend on, or a new one alongside them β and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:269` it does not close everything it opens, so those exact lines cannot be lifted as they stand β widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (9 lines × 2) src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:620β src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:620-628 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:641-649 β 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:620` it does not close everything it opens, so those exact lines cannot be lifted as they stand β widen the region to the smallest complete statement or declaration that contains it, and extract that. β These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, `src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:629` calls `parseLong` and `src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:650` does not β after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (9 lines × 2) REDACTED:35β REDACTED:35-43 | REDACTED:41-49 β the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach β a file they already depend on, or a new one alongside them β and call it from both call sites, so a change lands once. β These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, `REDACTED:40` calls `preventClientCache` and `REDACTED:34` does not β after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (9 lines × 2) src/main/java/com/jdon/jivejdon/presentation/filter/MessageEditAuthFilter.java:35β src/main/java/com/jdon/jivejdon/presentation/filter/MessageEditAuthFilter.java:35-43 | src/main/java/com/jdon/jivejdon/presentation/filter/ThreadEditAuthFilter.java:29-37 β the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach β a file they already depend on, or a new one alongside them β and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/com/jdon/jivejdon/presentation/filter/MessageEditAuthFilter.java:35` it does not close everything it opens, so those exact lines cannot be lifted as they stand β widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (9 lines × 2) src/main/java/com/jdon/jivejdon/presentation/servlet/RegisterCodeAction.java:122β src/main/java/com/jdon/jivejdon/presentation/servlet/RegisterCodeAction.java:122-130 | src/main/java/com/jdon/jivejdon/presentation/servlet/VerifySpammerAction.java:35-44 β the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach β a file they already depend on, or a new one alongside them β and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/com/jdon/jivejdon/presentation/servlet/RegisterCodeAction.java:122` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand β widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names β the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. β These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, `src/main/java/com/jdon/jivejdon/presentation/servlet/RegisterCodeAction.java:130` calls `sendError`, `logError` and `src/main/java/com/jdon/jivejdon/presentation/servlet/VerifySpammerAction.java:44` does not β after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (9 lines × 2) src/main/java/com/jdon/jivejdon/presentation/action/blog/UserFollowingThreadListAction.java:56β src/main/java/com/jdon/jivejdon/presentation/action/blog/UserFollowingThreadListAction.java:56-64 | src/main/java/com/jdon/jivejdon/presentation/action/blog/UserThreadListAction.java:54-62 β before extracting anything, compare `src/main/java/com/jdon/jivejdon/presentation/action/blog/UserFollowingThreadListAction.java` and `src/main/java/com/jdon/jivejdon/presentation/action/blog/UserThreadListAction.java` as WHOLE FILES: 89% of the shorter file's lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it β treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together β extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
Duplicated block (9 lines × 2) src/main/java/com/jdon/jivejdon/api/impl/ForumServiceImp.java:120β src/main/java/com/jdon/jivejdon/api/impl/ForumServiceImp.java:120-128 | src/main/java/com/jdon/jivejdon/api/impl/upload/UploadInfoVOServiceImp.java:73-81 β the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach β a location they all depend on today, or a new shared one if there is none β and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
Low contrast colour pair in CSS (3.6:1) application/js/jdon.css:2β `.btn-primary` sets color: #fff on background-color: #428bca β 3.6: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).
Low contrast colour pair in CSS (3.6:1) application/js/jdon.css:2β `.btn-primary .badge` sets color: #428bca on background-color: #fff β 3.6: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).
Low contrast colour pair in CSS (3.6:1) application/js/jdon.css:2β `.dropdown-menu>.active>a,.dropdown-menu>.active>a:hover,.dropdown-menu>.active>a:focus` sets color: #fff on background-color: #428bca β 3.6: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).
Low contrast colour pair in CSS (3.6:1) application/js/jdon.css:2β `.nav-pills>li.active>a,.nav-pills>li.active>a:hover,.nav-pills>li.active>a:focus` sets color: #fff on background-color: #428bca β 3.6: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).
Low contrast colour pair in CSS (3.6:1) application/js/jdon.css:2β `.pagination>li>a,.pagination>li>span` sets color: #428bca on background-color: #fff β 3.6: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).
Low contrast colour pair in CSS (3.6:1) application/js/jdon.css:2β `.pagination>.active>a,.pagination>.active>span,.pagination>.active>a:hover,.pagination>.active>span:hover,.pagination>.active>a:focus,.pagination>.active>span:focus` sets color: #fff on background-color: #428bca β 3.6: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).
Low contrast colour pair in CSS (3.6:1) application/js/jdon.css:2β `a.list-group-item.active>.badge,.nav-pills>.active>a>.badge` sets color: #428bca on background-color: #fff β 3.6: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).
Low contrast colour pair in CSS (3.6:1) application/js/jdon.css:2β `a.list-group-item.active,a.list-group-item.active:hover,a.list-group-item.active:focus` sets color: #fff on background-color: #428bca β 3.6: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).
TooManyMethods: JavaCodeViewer src/main/java/com/jdon/jivejdon/domain/model/message/output/codeviewer/JavaCodeViewer.java:31β TooManyMethods β 58 methods. The bar is 30 methods; this is 28 over it, 1.93× the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
TooManyMethods: JavaCodeHighlighter src/main/java/com/jdon/jivejdon/domain/model/message/output/codeviewer/JavaCodeHighlighter.java:30β TooManyMethods β 53 methods. The bar is 30 methods; this is 23 over it, 1.77× the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
TooManyMethods: Account src/main/java/com/jdon/jivejdon/domain/model/account/Account.java:27β TooManyMethods β 52 methods. The bar is 30 methods; this is 22 over it, 1.73× the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
TooManyMethods: ForumMessage src/main/java/com/jdon/jivejdon/domain/model/ForumMessage.java:66β TooManyMethods β 47 methods. The bar is 30 methods; this is 17 over it, 1.57× the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
TooManyMethods: ForumThread src/main/java/com/jdon/jivejdon/domain/model/ForumThread.java:61β TooManyMethods β 43 methods. The bar is 30 methods; this is 13 over it, 1.43× the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
TooManyMethods: MessageForm src/main/java/com/jdon/jivejdon/presentation/form/MessageForm.java:43β TooManyMethods β 37 methods. The bar is 30 methods; this is 7 over it, 1.23× the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
TooManyMethods: AnemicMessageDTO src/main/java/com/jdon/jivejdon/infrastructure/dto/AnemicMessageDTO.java:16β TooManyMethods β 36 methods. The bar is 30 methods; this is 6 over it, 1.20× the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
TooManyMethods: ToolsUtil REDACTED:43β TooManyMethods β 31 methods. The bar is 30 methods; this is 1 over it, 1.03× the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
Duplicated block (10 lines × 2) REDACTED:49β REDACTED:49-58 | REDACTED:228-237 β the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach β a location they all depend on today, or a new shared one if there is none β and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at `REDACTED:49` it runs out through the closing brace of the declaration holding it β the window is that declaration's tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand β widen the region to the smallest complete statement or declaration that contains it, and extract that. The `return` at the foot of the matched lines is the enclosing body's own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that `return` occupied β no decision has to be handed back and re-acted on.
Duplicated block (10 lines × 2) src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageDaoSql.java:365β src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageDaoSql.java:365-374 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageDaoSql.java:384-393 β 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageDaoSql.java:365` it runs out through the closing brace of the declaration holding it β the window is that declaration's tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand β widen the region to the smallest complete statement or declaration that contains it, and extract that. The `return` at the foot of the matched lines is the enclosing body's own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that `return` occupied β no decision has to be handed back and re-acted on.
Duplicated block (10 lines × 2) src/main/java/com/jdon/jivejdon/infrastructure/repository/search/MessageSearchProxy.java:82β src/main/java/com/jdon/jivejdon/infrastructure/repository/search/MessageSearchProxy.java:82-91 | src/main/java/com/jdon/jivejdon/infrastructure/repository/search/MessageSearchProxy.java:116-125 β 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/com/jdon/jivejdon/infrastructure/repository/search/MessageSearchProxy.java:82` it does not close everything it opens, so those exact lines cannot be lifted as they stand β widen the region to the smallest complete statement or declaration that contains it, and extract that. β These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, `src/main/java/com/jdon/jivejdon/infrastructure/repository/search/MessageSearchProxy.java:127` calls `Term`, `toString`, `getMessageId` and `src/main/java/com/jdon/jivejdon/infrastructure/repository/search/MessageSearchProxy.java:93` does not β after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (10 lines × 2) src/main/java/com/jdon/jivejdon/presentation/action/query/MessageQueryUserAction.java:76β src/main/java/com/jdon/jivejdon/presentation/action/query/MessageQueryUserAction.java:76-85 | src/main/java/com/jdon/jivejdon/presentation/action/query/ThreadQueryUserAction.java:81-90 β the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach β a file they already depend on, or a new one alongside them β and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (10 lines × 2) src/main/java/com/jdon/jivejdon/spi/component/sitemap/SitemapRepositoryImpl.java:227β src/main/java/com/jdon/jivejdon/spi/component/sitemap/SitemapRepositoryImpl.java:227-236 | src/main/java/com/jdon/jivejdon/spi/component/sitemap/SitemapRepositoryImpl.java:297-306 β 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/com/jdon/jivejdon/spi/component/sitemap/SitemapRepositoryImpl.java:227` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand β widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (10 lines × 2) src/main/java/com/jdon/jivejdon/presentation/form/AccountFaceFileForm.java:190β src/main/java/com/jdon/jivejdon/presentation/form/AccountFaceFileForm.java:190-199 | src/main/java/com/jdon/jivejdon/presentation/form/UpLoadFileForm.java:189-198 β before extracting anything, compare `src/main/java/com/jdon/jivejdon/presentation/form/AccountFaceFileForm.java` and `src/main/java/com/jdon/jivejdon/presentation/form/UpLoadFileForm.java` as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 34 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together β extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. β These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, `src/main/java/com/jdon/jivejdon/presentation/form/UpLoadFileForm.java:203` calls `getFileTypes` and `src/main/java/com/jdon/jivejdon/presentation/form/AccountFaceFileForm.java:204` does not β after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (10 lines × 2) src/main/java/com/jdon/jivejdon/presentation/taglib/NextTag.java:97β src/main/java/com/jdon/jivejdon/presentation/taglib/NextTag.java:97-106 | src/main/java/com/jdon/jivejdon/presentation/taglib/PrevTag.java:94-103 β before extracting anything, compare `src/main/java/com/jdon/jivejdon/presentation/taglib/NextTag.java` and `src/main/java/com/jdon/jivejdon/presentation/taglib/PrevTag.java` as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 39 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together β extracting one helper per block leaves the fork in place.
Duplicated block (10 lines × 2) src/main/java/com/jdon/jivejdon/spi/component/email/EmailSender.java:48β src/main/java/com/jdon/jivejdon/spi/component/email/EmailSender.java:48-57 | src/main/java/com/jdon/jivejdon/util/EmailTask.java:93-102 β the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach β a location they all depend on today, or a new shared one if there is none β and call it from each site; until then, every change has to be made twice.
Duplicated block (6 lines × 2) src/main/java/com/jdon/jivejdon/domain/model/subscription/SubscribedState.java:62β src/main/java/com/jdon/jivejdon/domain/model/subscription/SubscribedState.java:62-67 | src/main/java/com/jdon/jivejdon/domain/model/subscription/SubscribedState.java:79-84 β 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/com/jdon/jivejdon/domain/model/subscription/SubscribedState.java:62` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand β widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (6 lines × 2) src/main/java/com/jdon/jivejdon/infrastructure/repository/builder/MessageInitFactory.java:63β src/main/java/com/jdon/jivejdon/infrastructure/repository/builder/MessageInitFactory.java:63-68 | src/main/java/com/jdon/jivejdon/infrastructure/repository/builder/MessageInitFactory.java:133-138 β 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.
Duplicated block (6 lines × 2) src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:251β src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:251-257 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/TagDaoSql.java:141-146 β the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach β a file they already depend on, or a new one alongside them β and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:251` it does not close everything it opens, so those exact lines cannot be lifted as they stand β widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (6 lines × 2) src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:556β src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:556-561 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:598-603 β 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.
Duplicated block (6 lines × 2) src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/PropertyDaoSql.java:271β src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/PropertyDaoSql.java:271-276 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/PropertyDaoSql.java:283-288 β 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. β These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, `src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/PropertyDaoSql.java:277` calls `add` and `src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/PropertyDaoSql.java:289` does not β after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (6 lines × 2) src/main/java/com/jdon/jivejdon/presentation/action/query/RefererCaptchaAction.java:93β src/main/java/com/jdon/jivejdon/presentation/action/query/RefererCaptchaAction.java:93-98 | src/main/java/com/jdon/jivejdon/presentation/action/query/RefererCaptchaAction.java:229-234 β 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. β These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, `src/main/java/com/jdon/jivejdon/presentation/action/query/RefererCaptchaAction.java:228` calls `clearApprovalCookie` and `src/main/java/com/jdon/jivejdon/presentation/action/query/RefererCaptchaAction.java:91` does not β after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (6 lines × 2) src/main/java/com/jdon/jivejdon/presentation/action/query/RefererCaptchaAction.java:120β src/main/java/com/jdon/jivejdon/presentation/action/query/RefererCaptchaAction.java:120-125 | src/main/java/com/jdon/jivejdon/presentation/action/query/RefererCaptchaAction.java:254-259 β 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/com/jdon/jivejdon/presentation/action/query/RefererCaptchaAction.java:120` it runs out through the closing brace of the declaration holding it β the window is that declaration's tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand β widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (6 lines × 2) src/main/java/com/jdon/jivejdon/presentation/action/admin/UserMessageListAction.java:45β src/main/java/com/jdon/jivejdon/presentation/action/admin/UserMessageListAction.java:45-50 | src/main/java/com/jdon/jivejdon/presentation/action/query/SearchThreadAction.java:70-75 β the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach β a location they all depend on today, or a new shared one if there is none β and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
AC3 Β· Page structureΒ· Page without a main landmark Β· Γ7
Page without a main landmark application/503.jsp:6β No <main> (or role="main") means no "skip to content" target and a weaker landmark map. Wrap the primary content in <main>.
Page without a main landmark application/account/login.jsp:1β No <main> (or role="main") means no "skip to content" target and a weaker landmark map. Wrap the primary content in <main>.
Page without a main landmark application/account/login_error.jsp:1β No <main> (or role="main") means no "skip to content" target and a weaker landmark map. Wrap the primary content in <main>.
Page without a main landmark application/account/protected/EditAccountForm.jsp:6β No <main> (or role="main") means no "skip to content" target and a weaker landmark map. Wrap the primary content in <main>.
Page without a main landmark application/account/protected/onlineInfo.jsp:10β No <main> (or role="main") means no "skip to content" target and a weaker landmark map. Wrap the primary content in <main>.
Page without a main landmark application/account/protected/upload/result.jsp:1β No <main> (or role="main") means no "skip to content" target and a weaker landmark map. Wrap the primary content in <main>.
Page without a main landmark application/account/protected/upload/uploadUserFace.jsp:18β No <main> (or role="main") means no "skip to content" target and a weaker landmark map. Wrap the primary content in <main>.
Positive tabindex (1) application/account/login.jsp:60β A positive tabindex forces a manual tab order that fights the DOM and is fragile. Use tabindex="0" (or restructure the DOM).
Positive tabindex (1) application/blog/header.jsp:284β A positive tabindex forces a manual tab order that fights the DOM and is fragile. Use tabindex="0" (or restructure the DOM).
Positive tabindex (1) application/shortmessage/draftshortmessage.jsp:24β A positive tabindex forces a manual tab order that fights the DOM and is fragile. Use tabindex="0" (or restructure the DOM).
Positive tabindex (1) application/shortmessage/newshortmessage.jsp:50β A positive tabindex forces a manual tab order that fights the DOM and is fragile. Use tabindex="0" (or restructure the DOM).
Positive tabindex (1) application/shortmessage/receiveshortmessage.jsp:75β A positive tabindex forces a manual tab order that fights the DOM and is fragile. Use tabindex="0" (or restructure the DOM).
Positive tabindex (1) application/shortmessage/replynewshortmessage.jsp:27β A positive tabindex forces a manual tab order that fights the DOM and is fragile. Use tabindex="0" (or restructure the DOM).
Positive tabindex (1) application/shortmessage/shortmessage.jsp:25β A positive tabindex forces a manual tab order that fights the DOM and is fragile. Use tabindex="0" (or restructure the DOM).
Duplicated block (11 lines × 2) src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/AccountDaoSql.java:186β src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/AccountDaoSql.java:186-196 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/ForumDaoSql.java:113-123 β the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach β a file they already depend on, or a new one alongside them β and call it from both call sites, so a change lands once.
Duplicated block (11 lines × 2) src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/SubscriptionDaoSql.java:166β src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/SubscriptionDaoSql.java:166-176 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/SubscriptionDaoSql.java:208-218 β 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/SubscriptionDaoSql.java:166` it runs out through the closing brace of the declaration holding it β the window is that declaration's tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand β widen the region to the smallest complete statement or declaration that contains it, and extract that. The `return` at the foot of the matched lines is the enclosing body's own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that `return` occupied β no decision has to be handed back and re-acted on. β These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, `src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/SubscriptionDaoSql.java:205` calls `add` and `src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/SubscriptionDaoSql.java:163` does not β after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (11 lines × 2) REDACTED:125β REDACTED:125-135 | REDACTED:174-184 β 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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names β the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately.
Duplicated block (11 lines × 2) src/main/java/com/jdon/jivejdon/presentation/action/blog/FollowerListAction.java:37β src/main/java/com/jdon/jivejdon/presentation/action/blog/FollowerListAction.java:37-47 | src/main/java/com/jdon/jivejdon/presentation/action/blog/FollowingListAction.java:37-47 β the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach β a file they already depend on, or a new one alongside them β and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
Duplicated block (11 lines × 2) src/main/java/com/jdon/jivejdon/presentation/servlet/RSSGenServlet.java:257β src/main/java/com/jdon/jivejdon/presentation/servlet/RSSGenServlet.java:257-267 | src/main/java/com/jdon/jivejdon/presentation/servlet/RSSGenServlet.java:313-323 β 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.
Duplicated block (11 lines × 2) src/main/java/com/jdon/jivejdon/util/XMLProperties.java:81β src/main/java/com/jdon/jivejdon/util/XMLProperties.java:81-91 | src/main/java/com/jdon/jivejdon/util/XMLProperties.java:94-104 β 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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (11 lines × 2) src/main/java/com/jdon/jivejdon/presentation/form/AccountFaceFileForm.java:156β src/main/java/com/jdon/jivejdon/presentation/form/AccountFaceFileForm.java:156-166 | src/main/java/com/jdon/jivejdon/presentation/form/UpLoadFileForm.java:162-172 β before extracting anything, compare `src/main/java/com/jdon/jivejdon/presentation/form/AccountFaceFileForm.java` and `src/main/java/com/jdon/jivejdon/presentation/form/UpLoadFileForm.java` as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 34 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together β extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
Duplicated block (8 lines × 2) src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/AccountSSOSql.java:120β src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/AccountSSOSql.java:120-127 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/util/OldUpdateNewUtil.java:133-140 β the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach β a location they all depend on today, or a new shared one if there is none β and call it from each site; until then, every change has to be made twice.
Duplicated block (8 lines × 2) src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:484β src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:484-491 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:525-532 β 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:484` it runs out through the closing brace of the declaration holding it β the window is that declaration's tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand β widen the region to the smallest complete statement or declaration that contains it, and extract that. The `return` at the foot of the matched lines is the enclosing body's own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that `return` occupied β no decision has to be handed back and re-acted on.
Duplicated block (8 lines × 2) src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/TagDaoSql.java:355β src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/TagDaoSql.java:355-362 | src/main/java/com/jdon/jivejdon/infrastructure/repository/search/ReBuildIndex.java:116-123 β the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach β a location they all depend on today, or a new shared one if there is none β and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/TagDaoSql.java:355` it runs out through the closing brace of the declaration holding it β the window is that declaration's tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand β widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
Duplicated block (8 lines × 2) src/main/java/com/jdon/jivejdon/presentation/action/ThreadListAction.java:125β src/main/java/com/jdon/jivejdon/presentation/action/ThreadListAction.java:125-132 | src/main/java/com/jdon/jivejdon/presentation/action/query/ThreadDigSortedListAction.java:70-77 β the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach β a location they all depend on today, or a new shared one if there is none β and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/com/jdon/jivejdon/presentation/action/ThreadListAction.java:125` it does not close everything it opens, so those exact lines cannot be lifted as they stand β widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (8 lines × 2) src/main/java/com/jdon/jivejdon/presentation/taglib/IndexTag.java:110β src/main/java/com/jdon/jivejdon/presentation/taglib/IndexTag.java:110-117 | src/main/java/com/jdon/jivejdon/presentation/taglib/IndexTag.java:125-132 β 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.
Duplicated block (8 lines × 2) src/main/java/com/jdon/jivejdon/presentation/action/query/ThreadApprovedHomeListAction.java:83β src/main/java/com/jdon/jivejdon/presentation/action/query/ThreadApprovedHomeListAction.java:83-90 | src/main/java/com/jdon/jivejdon/presentation/action/query/ThreadApprovedNewListAction.java:57-64 β the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach β a file they already depend on, or a new one alongside them β and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
Duplicated block (8 lines × 2) src/main/java/com/jdon/jivejdon/spi/pubsub/subscriber/addReplyMessage/AddReplyMessage.java:52β src/main/java/com/jdon/jivejdon/spi/pubsub/subscriber/addReplyMessage/AddReplyMessage.java:52-59 | src/main/java/com/jdon/jivejdon/spi/pubsub/subscriber/updatemessage/MessageRevisedListener.java:40-47 β the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach β a location they all depend on today, or a new shared one if there is none β and call it from each site; until then, every change has to be made twice.
Duplicated block (7 lines × 2) src/main/java/com/jdon/jivejdon/api/impl/shortmessage/ShortMessageServiceImp.java:141β src/main/java/com/jdon/jivejdon/api/impl/shortmessage/ShortMessageServiceImp.java:141-147 | src/main/java/com/jdon/jivejdon/api/impl/shortmessage/ShortMessageServiceImp.java:160-166 β 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/com/jdon/jivejdon/api/impl/shortmessage/ShortMessageServiceImp.java:141` it does not close everything it opens, so those exact lines cannot be lifted as they stand β widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (7 lines × 2) src/main/java/com/jdon/jivejdon/domain/model/message/output/codeviewer/CodeViewer.java:403β src/main/java/com/jdon/jivejdon/domain/model/message/output/codeviewer/CodeViewer.java:403-409 | src/main/java/com/jdon/jivejdon/domain/model/message/output/codeviewer/JavaCodeViewer.java:1031-1037 β the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach β a file they already depend on, or a new one alongside them β and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/com/jdon/jivejdon/domain/model/message/output/codeviewer/CodeViewer.java:403` it runs out through the closing brace of the declaration holding it β the window is that declaration's tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand β widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (7 lines × 2) src/main/java/com/jdon/jivejdon/domain/model/message/output/codeviewer/JavaCodeHighlighter.java:703β src/main/java/com/jdon/jivejdon/domain/model/message/output/codeviewer/JavaCodeHighlighter.java:703-710 | src/main/java/com/jdon/jivejdon/domain/model/message/output/codeviewer/JavaCodeHighlighter.java:728-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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/com/jdon/jivejdon/domain/model/message/output/codeviewer/JavaCodeHighlighter.java:703` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand β widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (7 lines × 2) src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:473β src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:473-479 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:513-519 β 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.
Duplicated block (7 lines × 2) src/main/java/com/jdon/jivejdon/presentation/action/MaxThreadListAction.java:66β src/main/java/com/jdon/jivejdon/presentation/action/MaxThreadListAction.java:66-72 | src/main/java/com/jdon/jivejdon/presentation/action/query/ThreadDigSortedListAction.java:68-74 β the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach β a location they all depend on today, or a new shared one if there is none β and call it from each site; until then, every change has to be made twice.
Duplicated block (7 lines × 2) src/main/java/com/jdon/jivejdon/presentation/action/admin/UserMessageListAction.java:30β src/main/java/com/jdon/jivejdon/presentation/action/admin/UserMessageListAction.java:30-36 | src/main/java/com/jdon/jivejdon/presentation/action/query/MessageQueryUserAction.java:59-65 β the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach β a location they all depend on today, or a new shared one if there is none β and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/com/jdon/jivejdon/presentation/action/admin/UserMessageListAction.java:30` it runs out through the closing brace of the declaration holding it β the window is that declaration's tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand β widen the region to the smallest complete statement or declaration that contains it, and extract that. The `return` at the foot of the matched lines is the enclosing body's own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that `return` occupied β no decision has to be handed back and re-acted on.
Duplicated block (7 lines × 2) src/main/java/com/jdon/jivejdon/presentation/action/shortmessage/DraftBoxListAction.java:48β src/main/java/com/jdon/jivejdon/presentation/action/shortmessage/DraftBoxListAction.java:48-54 | src/main/java/com/jdon/jivejdon/presentation/action/shortmessage/SendBoxListAction.java:48-54 β before extracting anything, compare `src/main/java/com/jdon/jivejdon/presentation/action/shortmessage/DraftBoxListAction.java` and `src/main/java/com/jdon/jivejdon/presentation/action/shortmessage/SendBoxListAction.java` as WHOLE FILES: 88% of the shorter file's lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it β treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together β extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
Duplicated block (5 lines × 2 locations) REDACTED:1627β REDACTED:1627 · REDACTED:1633 β 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.
Duplicated block (5 lines × 2 locations) REDACTED:3419β REDACTED:3419 · REDACTED:3467 β 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.
Duplicated block (5 lines × 2 locations) REDACTED:3921β REDACTED:3921 · REDACTED:3937 β 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.
Duplicated block (5 lines × 2 locations) REDACTED:4650β REDACTED:4650 · REDACTED:4665 β 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.
Duplicated block (5 lines × 2 locations) REDACTED:5077β REDACTED:5077 · REDACTED:5089 β 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.
Duplicated block (5 lines × 2 locations) REDACTED:7423β REDACTED:7423 · REDACTED:7447 β 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.
Duplicated block (5 lines × 2 locations) REDACTED:10597β REDACTED:10597 · REDACTED:10603 β 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.
Swallowed exception (caught, then discarded) REDACTED:121β `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.
Swallowed exception (caught, then discarded) src/main/java/com/jdon/jivejdon/presentation/sitemap/UrlForm.java:92β `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.
Swallowed exception (caught, then discarded) src/main/java/com/jdon/jivejdon/presentation/action/query/RefererCaptchaAction.java:373β `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.
Swallowed exception (caught, then discarded) src/main/java/com/jdon/jivejdon/infrastructure/repository/builder/ThreadDirector.java:74β `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.
Swallowed exception (caught, then discarded) src/main/java/com/jdon/jivejdon/infrastructure/repository/builder/ThreadDirector.java:99β `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.
Swallowed exception (caught, then discarded) src/main/java/com/jdon/jivejdon/domain/model/account/AccountState.java:122β `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.
Swallowed exception (caught, then discarded) src/main/java/com/jdon/jivejdon/domain/model/account/AccountState.java:130β `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.
AC4 Β· Keyboard semanticsΒ· Anchor without href Β· Γ6
Anchor without href REDACTED:131β An <a> with no href, role or tabindex isn't focusable or keyboard-activatable. Give it a real href, or use a <button> for an action.
Anchor without href REDACTED:6251β An <a> with no href, role or tabindex isn't focusable or keyboard-activatable. Give it a real href, or use a <button> for an action.
Anchor without href REDACTED:8354β An <a> with no href, role or tabindex isn't focusable or keyboard-activatable. Give it a real href, or use a <button> for an action.
Anchor without href REDACTED:8356β An <a> with no href, role or tabindex isn't focusable or keyboard-activatable. Give it a real href, or use a <button> for an action.
Anchor without href REDACTED:8362β An <a> with no href, role or tabindex isn't focusable or keyboard-activatable. Give it a real href, or use a <button> for an action.
Anchor without href REDACTED:8364β An <a> with no href, role or tabindex isn't focusable or keyboard-activatable. Give it a real href, or use a <button> for an action.
AC4 Β· Keyboard semanticsΒ· Link used as a button (placeholder href) Β· Γ5
Link used as a button (placeholder href) application/blog/header.jsp:279β An <a href="#"> (or javascript:) with a click handler is a button dressed as a link β it announces the wrong role and stops working without JS. Use a <button> for an action.
Link used as a button (placeholder href) application/blog/header.jsp:304β An <a href="#"> (or javascript:) with a click handler is a button dressed as a link β it announces the wrong role and stops working without JS. Use a <button> for an action.
Link used as a button (placeholder href) application/common/bookmark.jsp:72β An <a href="#"> (or javascript:) with a click handler is a button dressed as a link β it announces the wrong role and stops working without JS. Use a <button> for an action.
Link used as a button (placeholder href) application/common/bookmark.jsp:83β An <a href="#"> (or javascript:) with a click handler is a button dressed as a link β it announces the wrong role and stops working without JS. Use a <button> for an action.
Link used as a button (placeholder href) application/forum/newLobbymessage.jsp:18β An <a href="#"> (or javascript:) with a click handler is a button dressed as a link β it announces the wrong role and stops working without JS. Use a <button> for an action.
TodoComment src/main/java/com/jdon/jivejdon/spi/pubsub/subscriber/updatemessage/MessageSendEventBus.java:41β // todo send to JMS or MQ β source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment src/main/java/com/jdon/jivejdon/spi/component/shortmessage/ShortMessageFactory.java:178β // TODO Auto-generated catch block β source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment src/main/java/com/jdon/jivejdon/presentation/taglib/MPageTag.java:133β // TODO Auto-generated catch block β source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment src/main/java/com/jdon/jivejdon/api/impl/shortmessage/ShortMessageServiceImp.java:131β // TODO Auto-generated catch block β source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
TodoComment src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/filter/MessageDaoDecorator.java:71β // todo refactor to domaine events β source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
Duplicated block (6 lines × 2 locations) REDACTED:1505β REDACTED:1505 · REDACTED:1518 β 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.
Duplicated block (6 lines × 2 locations) REDACTED:1646β REDACTED:1646 · REDACTED:1658 β 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.
Duplicated block (6 lines × 2 locations) REDACTED:7062β REDACTED:7062 · REDACTED:7146 β 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.
Duplicated block (6 lines × 2 locations) REDACTED:10571β REDACTED:10571 · REDACTED:10578 β 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.
Duplicated block (6 lines × 2 locations) REDACTED:11138β REDACTED:11138 · REDACTED:11180 β 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.
Positive tabindex (2) application/account/login.jsp:74β A positive tabindex forces a manual tab order that fights the DOM and is fragile. Use tabindex="0" (or restructure the DOM).
Positive tabindex (2) application/blog/header.jsp:286β A positive tabindex forces a manual tab order that fights the DOM and is fragile. Use tabindex="0" (or restructure the DOM).
Positive tabindex (2) application/shortmessage/result.jsp:32β A positive tabindex forces a manual tab order that fights the DOM and is fragile. Use tabindex="0" (or restructure the DOM).
Positive tabindex (2) application/shortmessage/shortmessage.jsp:30β A positive tabindex forces a manual tab order that fights the DOM and is fragile. Use tabindex="0" (or restructure the DOM).
Positive tabindex (3) application/account/login.jsp:77β A positive tabindex forces a manual tab order that fights the DOM and is fragile. Use tabindex="0" (or restructure the DOM).
Positive tabindex (3) application/blog/header.jsp:288β A positive tabindex forces a manual tab order that fights the DOM and is fragile. Use tabindex="0" (or restructure the DOM).
Positive tabindex (3) application/shortmessage/result.jsp:37β A positive tabindex forces a manual tab order that fights the DOM and is fragile. Use tabindex="0" (or restructure the DOM).
Positive tabindex (3) application/shortmessage/shortmessage.jsp:35β A positive tabindex forces a manual tab order that fights the DOM and is fragile. Use tabindex="0" (or restructure the DOM).
Low contrast colour pair in CSS (4.0:1) application/js/jdon.css:2β `.btn-danger` sets color: #fff on background-color: #d9534f β 4.0: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).
Low contrast colour pair in CSS (4.0:1) application/js/jdon.css:2β `.btn-danger .badge` sets color: #d9534f on background-color: #fff β 4.0: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).
Low contrast colour pair in CSS (4.0:1) application/common/js/calendar-win2k-cold-1.css:40β `.calendar thead .title` sets color: #fff on background-color: #788084 β 4.0:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them.
Low contrast colour pair in CSS (4.0:1) application/common/js/calendar-win2k-cold-1.css:150β `.calendar tfoot .ttip` sets color: #fff on background-color: #788084 β 4.0:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them.
D30 Β· Dependency VulnerabilitiesΒ· Medium CVE Β· Γ4
Duplicated block (15 lines × 2) src/main/java/com/jdon/jivejdon/domain/model/message/output/codeviewer/JavaCodeViewer.java:655β src/main/java/com/jdon/jivejdon/domain/model/message/output/codeviewer/JavaCodeViewer.java:655-669 | src/main/java/com/jdon/jivejdon/domain/model/message/output/codeviewer/JavaCodeViewer.java:670-684 β 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/com/jdon/jivejdon/domain/model/message/output/codeviewer/JavaCodeViewer.java:655` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand β widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (15 lines × 2) src/main/java/com/jdon/jivejdon/presentation/taglib/NextTag.java:69β src/main/java/com/jdon/jivejdon/presentation/taglib/NextTag.java:69-83 | src/main/java/com/jdon/jivejdon/presentation/taglib/PrevTag.java:65-79 β before extracting anything, compare `src/main/java/com/jdon/jivejdon/presentation/taglib/NextTag.java` and `src/main/java/com/jdon/jivejdon/presentation/taglib/PrevTag.java` as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 39 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together β extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/com/jdon/jivejdon/presentation/taglib/NextTag.java:69` it runs out through the closing brace of the declaration holding it β the window is that declaration's tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand β widen the region to the smallest complete statement or declaration that contains it, and extract that. The `return` at the foot of the matched lines is the enclosing body's own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that `return` occupied β no decision has to be handed back and re-acted on.
Duplicated block (15 lines × 2) src/main/java/com/jdon/jivejdon/spi/component/query/HotThreadQueryManager.java:58β src/main/java/com/jdon/jivejdon/spi/component/query/HotThreadQueryManager.java:58-72 | src/main/java/com/jdon/jivejdon/spi/component/query/HotThreadQueryManager.java:81-95 β 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/com/jdon/jivejdon/spi/component/query/HotThreadQueryManager.java:58` it runs out through the closing brace of the declaration holding it β the window is that declaration's tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand β widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
Duplicated block (15 lines × 2) src/main/java/com/jdon/jivejdon/util/XMLProperties.java:267β src/main/java/com/jdon/jivejdon/util/XMLProperties.java:267-281 | src/main/java/com/jdon/jivejdon/util/XMLProperties.java:284-298 β 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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (12 lines × 2) src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/ForumDaoSql.java:108β src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/ForumDaoSql.java:108-119 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/ForumDaoSql.java:145-156 β 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.
Duplicated block (12 lines × 2) src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/SubscriptionDaoSql.java:125β src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/SubscriptionDaoSql.java:125-136 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/SubscriptionDaoSql.java:221-232 β 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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (12 lines × 2) src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/TagDaoSql.java:308β src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/TagDaoSql.java:308-319 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/TagDaoSql.java:349-360 β 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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
Duplicated block (12 lines × 2) src/main/java/com/jdon/jivejdon/util/ContainerUtil.java:100β src/main/java/com/jdon/jivejdon/util/ContainerUtil.java:100-111 | src/main/java/com/jdon/jivejdon/util/ContainerUtil.java:126-137 β 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/com/jdon/jivejdon/util/ContainerUtil.java:100` it runs out through the closing brace of the declaration holding it β the window is that declaration's tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand β widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
Positive tabindex (4) application/blog/header.jsp:218β A positive tabindex forces a manual tab order that fights the DOM and is fragile. Use tabindex="0" (or restructure the DOM).
Positive tabindex (4) application/blog/header.jsp:290β A positive tabindex forces a manual tab order that fights the DOM and is fragile. Use tabindex="0" (or restructure the DOM).
Positive tabindex (4) application/shortmessage/result.jsp:42β A positive tabindex forces a manual tab order that fights the DOM and is fragile. Use tabindex="0" (or restructure the DOM).
Low contrast colour pair in CSS (4.1:1) application/js/jdon.css:2β `a.list-group-item-info:hover,a.list-group-item-info:focus` sets color: #31708f on background-color: #c4e3f3 β 4.1: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).
Low contrast colour pair in CSS (4.1:1) application/js/jdon.css:2β `.vid-tags a` sets color: #fff on background-color: #fd0005 β 4.1: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).
Low contrast colour pair in CSS (4.1:1) application/common/js/styles/style.css:623β `.vid-tags a` sets color: #fff on background-color: #fd0005 β 4.1:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them.
Low contrast colour pair in CSS (3.9:1) application/js/jdon.css:2β `a.list-group-item-danger:hover,a.list-group-item-danger:focus` sets color: #a94442 on background-color: #ebcccc β 3.9: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).
Low contrast colour pair in CSS (3.9:1) application/common/style/template/classic.css:30β `tr:hover, tr.odd:hover` sets color: #ffffff on background-color: #3d80df β 3.9:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them.
Low contrast colour pair in CSS (3.9:1) application/common/style/template/itunes.css:25β `tr:hover, tr.odd:hover` sets color: #ffffff on background-color: #3d80df β 3.9:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them.
XxxComment src/main/java/com/jdon/jivejdon/domain/model/message/output/html/TextStyle.java:234β // Markdown ε ι€ηΊΏ ~~XXX~~ 转为 <del>XXX</del> β source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
XxxComment src/main/java/com/jdon/jivejdon/domain/model/message/output/html/TextStyle.java:237β // Markdown θ‘ε 代η ε ```XXX``` 转为 <code>XXX</code> β source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
XxxComment src/main/java/com/jdon/jivejdon/domain/model/message/output/html/TextStyle.java:239β // Markdown θ‘ε 代η `XXX` 转为 <code>XXX</code> β source code is not a task system: move the work to your tracker and leave a reference instead (e.g. `// REF: #123`), so the task is planned where tasks live and the ticket links back to the code.
FileTooLong: REDACTED REDACTEDβ FileTooLong β 7157 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 6657 over it, 14.31× the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them.
FileTooLong: REDACTED REDACTEDβ FileTooLong β 1406 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 906 over it, 2.81× the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them.
FileTooLong: codeviewer/JavaCodeViewer.java src/main/java/com/jdon/jivejdon/domain/model/message/output/codeviewer/JavaCodeViewer.javaβ FileTooLong β 602 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 102 over it, 1.20× the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them.
Duplicated block (21 lines × 2) src/main/java/com/jdon/jivejdon/domain/model/query/QueryCriteria.java:77β src/main/java/com/jdon/jivejdon/domain/model/query/QueryCriteria.java:77-97 | src/main/java/com/jdon/jivejdon/domain/model/query/QueryCriteria.java:134-154 β 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.
Duplicated block (21 lines × 2) src/main/java/com/jdon/jivejdon/spi/component/sitemap/SitemapRepositoryImpl.java:201β src/main/java/com/jdon/jivejdon/spi/component/sitemap/SitemapRepositoryImpl.java:201-221 | src/main/java/com/jdon/jivejdon/spi/component/sitemap/SitemapRepositoryImpl.java:271-291 β 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.
Duplicated block (21 lines × 2) src/main/java/com/jdon/jivejdon/domain/model/util/Many2ManyDTO.java:16β src/main/java/com/jdon/jivejdon/domain/model/util/Many2ManyDTO.java:16-36 | src/main/java/com/jdon/jivejdon/domain/model/util/OneManyDTO.java:31-51 β the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach β a file they already depend on, or a new one alongside them β and call it from both call sites, so a change lands once. Note first that the copies are not typed on the same thing: the declarations holding them bind `parent` to `Collection` in one and `Object` in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH β their common supertype where they have one, or a new abstraction over them where they do not β and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract.
Duplicated block (20 lines × 2) src/main/java/com/jdon/jivejdon/api/impl/message/ForumMessageQueryServiceImp.java:120β src/main/java/com/jdon/jivejdon/api/impl/message/ForumMessageQueryServiceImp.java:120-139 | src/main/java/com/jdon/jivejdon/api/impl/message/ForumMessageQueryServiceImp.java:149-168 β 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/com/jdon/jivejdon/api/impl/message/ForumMessageQueryServiceImp.java:120` it runs out through the closing brace of the declaration holding it β the window is that declaration's tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand β widen the region to the smallest complete statement or declaration that contains it, and extract that. The `return` at the foot of the matched lines is the enclosing body's own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that `return` occupied β no decision has to be handed back and re-acted on.
Duplicated block (20 lines × 2) src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/TagDaoSql.java:199β src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/TagDaoSql.java:199-218 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/TagDaoSql.java:221-240 β 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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (20 lines × 2) src/main/java/com/jdon/jivejdon/presentation/action/query/MessageQueryUserAction.java:30β src/main/java/com/jdon/jivejdon/presentation/action/query/MessageQueryUserAction.java:30-49 | src/main/java/com/jdon/jivejdon/presentation/action/query/ThreadQueryUserAction.java:34-53 β the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach β a file they already depend on, or a new one alongside them β and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/com/jdon/jivejdon/presentation/action/query/MessageQueryUserAction.java:30` it does not close everything it opens, so those exact lines cannot be lifted as they stand β widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (19 lines × 2) src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/SubscriptionDaoSql.java:140β src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/SubscriptionDaoSql.java:140-158 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/SubscriptionDaoSql.java:180-198 β 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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (19 lines × 2) src/main/java/com/jdon/jivejdon/spi/component/subscription/action/ShortMsgAction.java:40β src/main/java/com/jdon/jivejdon/spi/component/subscription/action/ShortMsgAction.java:40-58 | src/main/java/com/jdon/jivejdon/spi/component/subscription/action/SinaWeiboAction.java:48-66 β the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach β a file they already depend on, or a new one alongside them β and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
Duplicated block (19 lines × 2) src/main/java/com/jdon/jivejdon/domain/model/subscription/messsage/ThreadNotifyMessage.java:9β src/main/java/com/jdon/jivejdon/domain/model/subscription/messsage/ThreadNotifyMessage.java:9-27 | src/main/java/com/jdon/jivejdon/domain/model/subscription/messsage/WeiboExpiredNotifyMessage.java:25-43 β the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach β a file they already depend on, or a new one alongside them β and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
Duplicated block (13 lines × 2) src/main/java/com/jdon/jivejdon/infrastructure/repository/acccount/AccountFactoryDao.java:41β src/main/java/com/jdon/jivejdon/infrastructure/repository/acccount/AccountFactoryDao.java:41-53 | src/main/java/com/jdon/jivejdon/infrastructure/repository/builder/ForumDirector.java:31-43 β the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach β a location they all depend on today, or a new shared one if there is none β and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/com/jdon/jivejdon/infrastructure/repository/acccount/AccountFactoryDao.java:41` it runs out through the closing brace of the declaration holding it β the window is that declaration's tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand β widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (13 lines × 2) src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/ForumDaoSql.java:242β src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/ForumDaoSql.java:242-254 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/ForumDaoSql.java:259-271 β 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/ForumDaoSql.java:242` it runs out through the closing brace of the declaration holding it β the window is that declaration's tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand β widen the region to the smallest complete statement or declaration that contains it, and extract that. The `return` at the foot of the matched lines is the enclosing body's own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that `return` occupied β no decision has to be handed back and re-acted on. β These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, `src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/ForumDaoSql.java:240` calls `add` and `src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/ForumDaoSql.java:258` does not β after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (13 lines × 2) src/main/java/com/jdon/jivejdon/presentation/form/AccountFaceFileForm.java:136β src/main/java/com/jdon/jivejdon/presentation/form/AccountFaceFileForm.java:136-148 | src/main/java/com/jdon/jivejdon/presentation/form/UpLoadFileForm.java:142-154 β before extracting anything, compare `src/main/java/com/jdon/jivejdon/presentation/form/AccountFaceFileForm.java` and `src/main/java/com/jdon/jivejdon/presentation/form/UpLoadFileForm.java` as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 34 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together β extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (10β11 lines × 2) src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/JdbcTempSSOSource.java:42β src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/JdbcTempSSOSource.java:42-52 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/JdbcTempSource.java:39-48 β before extracting anything, compare `src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/JdbcTempSSOSource.java` and `src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/JdbcTempSource.java` as WHOLE FILES: 91% of the shorter file's lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it β treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together β extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (10β11 lines × 2) src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageDaoSql.java:462β src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageDaoSql.java:462-472 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageDaoSql.java:475-484 β 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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (10β11 lines × 2) src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/SetupDaoSql.java:49β src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/SetupDaoSql.java:49-59 | REDACTED:151-160 β the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach β a file they already depend on, or a new one alongside them β and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/SetupDaoSql.java:49` it runs out through the closing brace of the declaration holding it β the window is that declaration's tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand β widen the region to the smallest complete statement or declaration that contains it, and extract that. The `return` at the foot of the matched lines is the enclosing body's own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that `return` occupied β no decision has to be handed back and re-acted on.
Duplicated block (8β9 lines × 6) src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/AccountDaoSql.java:149β src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/AccountDaoSql.java:149-156 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/ForumDaoSql.java:278-286 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageDaoSql.java:81-89 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageDaoSql.java:148-156 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:209-217 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:229-237 β there are 6 copies across 4 file(s) β more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 6 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/AccountDaoSql.java:149` it does not close everything it opens, so those exact lines cannot be lifted as they stand β widen the region to the smallest complete statement or declaration that contains it, and extract that. β These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, `src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/AccountDaoSql.java:157` calls `debug` and `src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/ForumDaoSql.java:287` does not β after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (8β9 lines × 6) src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/ForumDaoSql.java:240β src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/ForumDaoSql.java:240-248 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:87-94 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:171-178 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:189-196 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/SubscriptionDaoSql.java:164-171 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/SubscriptionDaoSql.java:206-213 β there are 6 copies across 3 file(s) β more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 6 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/ForumDaoSql.java:240` it does not close everything it opens, so those exact lines cannot be lifted as they stand β widen the region to the smallest complete statement or declaration that contains it, and extract that. β These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, `src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/ForumDaoSql.java:249` calls `debug` and `src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:179` does not β after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (8β9 lines × 6) src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/ForumDaoSql.java:282β src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/ForumDaoSql.java:282-289 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageDaoSql.java:85-92 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageDaoSql.java:152-160 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:213-220 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:233-240 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/SequenceDaoSql.java:83-90 β there are 6 copies across 4 file(s) β more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 6 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/ForumDaoSql.java:282` it does not close everything it opens, so those exact lines cannot be lifted as they stand β widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (7 lines × 5) src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/ForumDaoSql.java:112β src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/ForumDaoSql.java:112-118 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/ForumDaoSql.java:149-155 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageDaoSql.java:188-195 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageDaoSql.java:251-260 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageDaoSql.java:430-438 β there are 5 copies across 2 file(s) β more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 5 sites; resolving a subset leaves the remainder to drift apart.
Duplicated block (7 lines × 5) src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:114β src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:114-120 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:147-153 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:303-309 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:348-354 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:381-387 β all 5 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:114` it does not close everything it opens, so those exact lines cannot be lifted as they stand β widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (7 lines × 5) src/main/java/com/jdon/jivejdon/presentation/action/query/ThreadApprovedHomeListAction.java:44β src/main/java/com/jdon/jivejdon/presentation/action/query/ThreadApprovedHomeListAction.java:44-51 | src/main/java/com/jdon/jivejdon/presentation/action/query/ThreadApprovedNewListAction.java:25-31 | src/main/java/com/jdon/jivejdon/presentation/action/query/ThreadDigListAction.java:47-53 | src/main/java/com/jdon/jivejdon/presentation/action/query/ThreadTagHotList2Action.java:35-41 | src/main/java/com/jdon/jivejdon/presentation/action/query/ThreadTagHotListAction.java:34-40 β the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach β a file they already depend on, or a new one alongside them β and call it from all 5 call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
Duplicated block (7 lines × 4) src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/AccountDaoSql.java:186β src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/AccountDaoSql.java:186-192 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/AccountDaoSql.java:259-267 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/ForumDaoSql.java:113-119 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/ForumDaoSql.java:150-156 β there are 4 copies across 2 file(s) β more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart.
Duplicated block (7 lines × 4) src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageDaoSql.java:364β src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageDaoSql.java:364-370 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageDaoSql.java:383-389 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:312-318 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:357-363 β there are 4 copies across 2 file(s) β more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageDaoSql.java:364` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand β widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (7 lines × 4) src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:89β src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:89-95 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:173-179 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:191-197 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/TagDaoSql.java:336-342 β there are 4 copies across 2 file(s) β more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:89` it does not close everything it opens, so those exact lines cannot be lifted as they stand β widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (7 lines × 3) src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/SetupDaoSql.java:47β src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/SetupDaoSql.java:47-53 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/TagDaoSql.java:180-186 | REDACTED:149-155 β the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach β a file they already depend on, or a new one alongside them β and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/SetupDaoSql.java:47` it does not close everything it opens, so those exact lines cannot be lifted as they stand β widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (7 lines × 3) src/main/java/com/jdon/jivejdon/presentation/action/blog/UserMessageListAction.java:38β src/main/java/com/jdon/jivejdon/presentation/action/blog/UserMessageListAction.java:38-44 | src/main/java/com/jdon/jivejdon/presentation/action/query/MessageQueryAction.java:45-53 | src/main/java/com/jdon/jivejdon/presentation/action/query/MessageQueryUserAction.java:67-73 β the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach β a location they all depend on today, or a new shared one if there is none β and call it from each site; until then, every change has to be made 3 times. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
Duplicated block (7 lines × 3) src/main/java/com/jdon/jivejdon/presentation/action/shortmessage/DraftBoxListAction.java:57β src/main/java/com/jdon/jivejdon/presentation/action/shortmessage/DraftBoxListAction.java:57-63 | src/main/java/com/jdon/jivejdon/presentation/action/shortmessage/ReceiveBoxListAction.java:56-62 | src/main/java/com/jdon/jivejdon/presentation/action/shortmessage/SendBoxListAction.java:57-63 β before extracting anything, compare `src/main/java/com/jdon/jivejdon/presentation/action/shortmessage/DraftBoxListAction.java` and `src/main/java/com/jdon/jivejdon/presentation/action/shortmessage/ReceiveBoxListAction.java` as WHOLE FILES: 86% of the shorter file's lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it β treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together β extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
Duplicated block (6 lines × 3) src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:117β src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:117-122 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:150-155 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:558-563 β all 3 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.
Duplicated block (6 lines × 3) src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:426β src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:426-431 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/TagDaoSql.java:312-317 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/TagDaoSql.java:353-358 β there are 3 copies across 2 file(s) β more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:426` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand β widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (6 lines × 3) src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/AccountDaoSql.java:322β src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/AccountDaoSql.java:322-327 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/ForumDaoSql.java:197-205 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/UploadFileDaoSql.java:216-225 β the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach β a file they already depend on, or a new one alongside them β and call it from all 3 call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
Duplicated block (5 lines × 2) src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/AccountDaoSql.java:180β src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/AccountDaoSql.java:180-184 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/AccountDaoSql.java:252-256 β 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. β These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, `src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/AccountDaoSql.java:179` calls `add`, `getUserIdLong` and `src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/AccountDaoSql.java:251` does not β after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (5 lines × 2) src/main/java/com/jdon/jivejdon/domain/model/message/upload/UploadFileFilter.java:34β src/main/java/com/jdon/jivejdon/domain/model/message/upload/UploadFileFilter.java:34-39 | src/main/java/com/jdon/jivejdon/domain/model/message/upload/UploadImageFilter.java:46-50 β the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach β a file they already depend on, or a new one alongside them β and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
Duplicated block (5 lines × 2) src/main/java/com/jdon/jivejdon/api/impl/account/OAuthAccountServiceImp.java:193β src/main/java/com/jdon/jivejdon/api/impl/account/OAuthAccountServiceImp.java:193-197 | src/main/java/com/jdon/jivejdon/api/impl/account/OAuthAccountServiceImp.java:260-264 β 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.
Duplicated block (10 lines × 2 locations) REDACTED:1198β REDACTED:1198 · REDACTED:3828 β 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.
Duplicated block (10 lines × 2 locations) REDACTED:2739β REDACTED:2739 · REDACTED:2843 β 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.
Duplicated block (10 lines × 2 locations) REDACTED:4673β REDACTED:4673 · REDACTED:5181 β 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.
Duplicated block (9 lines × 3 locations) REDACTED:4481β REDACTED:4481 · REDACTED:4492 · REDACTED:4504 β all 3 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.
Duplicated block (9 lines × 3 locations) REDACTED:7210β REDACTED:7210 · REDACTED:7232 · REDACTED:7257 β 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.
Duplicated block (9 lines × 3 locations) REDACTED:10316β REDACTED:10316 · REDACTED:10370 · REDACTED:10384 β 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.
Low contrast colour pair in CSS (2.6:1) application/js/jdon.css:2β `#menu ul.top-social a i:hover` sets color: #fff on background-color: #ff7800 β 2.6: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).
Low contrast colour pair in CSS (2.6:1) application/js/jdon.css:2β `.tagcloud .tag-cloud-link` sets color: #FFF on background-color: #ff7800 β 2.6: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).
Low contrast colour pair in CSS (1.4:1) application/common/blog/themes/default/style/blog.css:139β `.topsel` sets color: #cccccc on background-color: #E5F5FC β 1.4:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them.
Low contrast colour pair in CSS (1.4:1) application/blog/themes/default/style/blog.css:139β `.topsel` sets color: #cccccc on background-color: #E5F5FC β 1.4:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them.
initialize (cyclomatic 30) application/common/js/window.js:7β initialize has cyclomatic complexity 30 (threshold 15). Of this number, 29 points are the body's own statements and 1 belongs to 3 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
initialize (cyclomatic 30) REDACTED:8β initialize has cyclomatic complexity 30 (threshold 15). Of this number, 29 points are the body's own statements and 1 belongs to 3 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
setSize (cyclomatic 17) application/common/js/window.js:418β setSize has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
setSize (cyclomatic 17) REDACTED:419β setSize has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
maximize (cyclomatic 16) application/common/js/window.js:587β maximize has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
maximize (cyclomatic 16) REDACTED:588β maximize has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
initialize (cognitive 39) application/common/js/window.js:7β initialize has cognitive complexity 39 (threshold 15). Drivers by points: if/else 25 (30 pts), ternaries 3 (5 pts), boolean chains 4 (nesting depth added 7). Of this number, 37 points are the body's own statements and 2 belong to 3 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth β checks laid out side by side rather than stacked β so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level.
initialize (cognitive 39) REDACTED:8β initialize has cognitive complexity 39 (threshold 15). Drivers by points: if/else 25 (30 pts), ternaries 3 (5 pts), boolean chains 4 (nesting depth added 7). Of this number, 37 points are the body's own statements and 2 belong to 3 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth β checks laid out side by side rather than stacked β so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level.
maximize (cognitive 25) application/common/js/window.js:587β maximize has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (15 pts), ternaries 2 (6 pts), boolean chains 4 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
maximize (cognitive 25) REDACTED:588β maximize has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (15 pts), ternaries 2 (6 pts), boolean chains 4 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
_saveCookie (cognitive 23) application/common/js/window.js:719β _saveCookie has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 6 (16 pts), if/else 5 (7 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
_saveCookie (cognitive 23) REDACTED:720β _saveCookie has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 6 (16 pts), if/else 5 (7 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
FiltersUtils.getPropertyHTML (cognitive 19) src/main/java/com/jdon/jivejdon/domain/model/message/output/beanutil/FiltersUtils.java:18β FiltersUtils.getPropertyHTML has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (13 pts), ternaries 2 (4 pts), boolean chains 1, error handling 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
FiltersUtils.getPropertyHTML (cognitive 19) src/main/java/com/jdon/jivejdon/util/FiltersUtils.java:32β FiltersUtils.getPropertyHTML has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (13 pts), ternaries 2 (4 pts), boolean chains 1, error handling 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
getPageSize (cognitive 19) application/common/js/window.js:1017β getPageSize has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 3 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
getPageSize (cognitive 19) REDACTED:1018β getPageSize has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 3 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
setSize (cognitive 17) application/common/js/window.js:418β setSize has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (8 pts), boolean chains 7, ternaries 1 (2 pts) (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth β checks laid out side by side rather than stacked β so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level.
setSize (cognitive 17) REDACTED:419β setSize has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (8 pts), boolean chains 7, ternaries 1 (2 pts) (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth β checks laid out side by side rather than stacked β so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level.
minimize (cognitive 17) application/common/js/window.js:553β minimize has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 4 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
minimize (cognitive 17) REDACTED:554β minimize has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 4 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
_openDialog (cognitive 17) application/common/js/window.js:934β _openDialog has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 10, if/else 6 (7 pts) (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
_openDialog (cognitive 17) REDACTED:935β _openDialog has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 10, if/else 6 (7 pts) (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
FunctionTooLong: base64image.CKEDITOR.dialog.add("base64imageDialog") application/common/ckeditor/plugins/base64image/dialogs/base64image.js:5β FunctionTooLong β CKEDITOR.dialog.add("base64imageDialog") runs 313 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 213 over it, 3.13× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body β the runs of statements that work on the same values and would earn the same name β into its own named unit, and have this one call them in order.
FunctionTooLong: plugin.CKEDITOR.htmlParser.fragment.fromBBCode application/common/ckeditor/plugins/bbcode/plugin.js:177β FunctionTooLong β CKEDITOR.htmlParser.fragment.fromBBCode runs 120 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 20 over it, 1.20× the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body β the runs of statements that work on the same values and would earn the same name β into its own named unit, and have this one call them in order.
Duplicated block (22 lines × 2) src/main/java/com/jdon/jivejdon/domain/model/message/output/beanutil/FiltersUtils.java:60β src/main/java/com/jdon/jivejdon/domain/model/message/output/beanutil/FiltersUtils.java:60-81 | src/main/java/com/jdon/jivejdon/util/FiltersUtils.java:74-95 β before extracting anything, compare `src/main/java/com/jdon/jivejdon/domain/model/message/output/beanutil/FiltersUtils.java` and `src/main/java/com/jdon/jivejdon/util/FiltersUtils.java` as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 94 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/com/jdon/jivejdon/domain/model/message/output/beanutil/FiltersUtils.java:60` it runs out through the closing brace of the declaration holding it β the window is that declaration's tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand β widen the region to the smallest complete statement or declaration that contains it, and extract that. The `return` at the foot of the matched lines is the enclosing body's own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that `return` occupied β no decision has to be handed back and re-acted on.
Duplicated block (22 lines × 2) src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:102β src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:102-123 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:135-156 β 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:102` it does not close everything it opens, so those exact lines cannot be lifted as they stand β widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (14 lines × 2) src/main/java/com/jdon/jivejdon/api/impl/message/ForumMessageQueryServiceImp.java:174β src/main/java/com/jdon/jivejdon/api/impl/message/ForumMessageQueryServiceImp.java:174-187 | src/main/java/com/jdon/jivejdon/api/impl/message/ForumMessageQueryServiceImp.java:198-211 β 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/com/jdon/jivejdon/api/impl/message/ForumMessageQueryServiceImp.java:174` it does not close everything it opens, so those exact lines cannot be lifted as they stand β widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (14 lines × 2) src/main/java/com/jdon/jivejdon/domain/model/message/output/codeviewer/JavaCodeViewer.java:625β src/main/java/com/jdon/jivejdon/domain/model/message/output/codeviewer/JavaCodeViewer.java:625-638 | src/main/java/com/jdon/jivejdon/domain/model/message/output/codeviewer/JavaCodeViewer.java:640-653 β 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/com/jdon/jivejdon/domain/model/message/output/codeviewer/JavaCodeViewer.java:625` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand β widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (13β14 lines × 2) src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/UploadFileDaoSql.java:155β src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/UploadFileDaoSql.java:155-168 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/UploadFileDaoSql.java:171-183 β 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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (13β14 lines × 2) src/main/java/com/jdon/jivejdon/presentation/action/query/ThreadDigListAction.java:91β src/main/java/com/jdon/jivejdon/presentation/action/query/ThreadDigListAction.java:91-104 | src/main/java/com/jdon/jivejdon/spi/component/mapreduce/ThreadDigComparator.java:23-35 β the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach β a location they all depend on today, or a new shared one if there is none β and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
Duplicated block (12β13 lines × 2) src/main/java/com/jdon/jivejdon/presentation/action/query/SearchAction.java:21β src/main/java/com/jdon/jivejdon/presentation/action/query/SearchAction.java:21-32 | src/main/java/com/jdon/jivejdon/presentation/action/query/SearchThreadAction.java:50-62 β the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach β a file they already depend on, or a new one alongside them β and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/com/jdon/jivejdon/presentation/action/query/SearchAction.java:21` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand β widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (12β13 lines × 2) src/main/java/com/jdon/jivejdon/presentation/taglib/IndexTag.java:87β src/main/java/com/jdon/jivejdon/presentation/taglib/IndexTag.java:87-99 | src/main/java/com/jdon/jivejdon/presentation/taglib/IndexTag.java:111-122 β 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/com/jdon/jivejdon/presentation/taglib/IndexTag.java:87` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand β widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (11β12 lines × 2) src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:256β src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:256-266 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:452-463 β 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:256` it runs out through the closing brace of the declaration holding it β the window is that declaration's tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand β widen the region to the smallest complete statement or declaration that contains it, and extract that. The `return` at the foot of the matched lines is the enclosing body's own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that `return` occupied β no decision has to be handed back and re-acted on.
Duplicated block (11β12 lines × 2) src/main/java/com/jdon/jivejdon/presentation/action/MaxThreadListAction.java:32β src/main/java/com/jdon/jivejdon/presentation/action/MaxThreadListAction.java:32-42 | src/main/java/com/jdon/jivejdon/presentation/action/query/ThreadDigSortedListAction.java:37-48 β the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach β a location they all depend on today, or a new shared one if there is none β and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
Duplicated block (10 lines × 3) src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/ForumDaoSql.java:218β src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/ForumDaoSql.java:218-227 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/ForumDaoSql.java:243-252 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/ForumDaoSql.java:260-269 β all 3 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. β These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, `src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/ForumDaoSql.java:216` calls `add` and `src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/ForumDaoSql.java:258` does not β after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (10 lines × 3) src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/TagDaoSql.java:145β src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/TagDaoSql.java:145-154 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/TagDaoSql.java:251-260 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/TagDaoSql.java:372-381 β all 3 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/TagDaoSql.java:145` it runs out through the closing brace of the declaration holding it β the window is that declaration's tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand β widen the region to the smallest complete statement or declaration that contains it, and extract that. The `return` at the foot of the matched lines is the enclosing body's own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that `return` occupied β no decision has to be handed back and re-acted on.
Duplicated block (9β10 lines × 2) src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/PropertyDaoSql.java:199β src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/PropertyDaoSql.java:199-208 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/PropertyDaoSql.java:226-234 β 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/PropertyDaoSql.java:199` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand β widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (9β10 lines × 2) src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/TagDaoSql.java:176β src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/TagDaoSql.java:176-184 | REDACTED:144-153 β the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach β a file they already depend on, or a new one alongside them β and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/TagDaoSql.java:176` it does not close everything it opens, so those exact lines cannot be lifted as they stand β widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (8 lines × 3) src/main/java/com/jdon/jivejdon/infrastructure/repository/property/PropertyFactoryDao.java:53β src/main/java/com/jdon/jivejdon/infrastructure/repository/property/PropertyFactoryDao.java:53-60 | src/main/java/com/jdon/jivejdon/infrastructure/repository/property/PropertyFactoryDao.java:78-85 | src/main/java/com/jdon/jivejdon/infrastructure/repository/property/PropertyFactoryDao.java:115-122 β all 3 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/com/jdon/jivejdon/infrastructure/repository/property/PropertyFactoryDao.java:53` it does not close everything it opens, so those exact lines cannot be lifted as they stand β widen the region to the smallest complete statement or declaration that contains it, and extract that. β These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, `src/main/java/com/jdon/jivejdon/infrastructure/repository/property/PropertyFactoryDao.java:63` calls `clearCache` and `src/main/java/com/jdon/jivejdon/infrastructure/repository/property/PropertyFactoryDao.java:88` does not β after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (8 lines × 3) src/main/java/com/jdon/jivejdon/domain/model/message/output/html/FontStyle.java:20β src/main/java/com/jdon/jivejdon/domain/model/message/output/html/FontStyle.java:20-28 | src/main/java/com/jdon/jivejdon/domain/model/message/output/html/ListStyle.java:41-48 | src/main/java/com/jdon/jivejdon/domain/model/message/output/html/URLConverter.java:62-70 β the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach β a file they already depend on, or a new one alongside them β and call it from all 3 call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
Duplicated block (13 lines × 2 locations) REDACTED:1133β REDACTED:1133 · REDACTED:3766 β 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.
Duplicated block (13 lines × 2 locations) application/common/form.js:11β application/common/form.js:11 · application/common/messageList12.js:10 β the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block β it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead β the whole function, component or branch these lines sit in β and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported.
Duplicated block (11 lines × 2 locations) REDACTED:7232β REDACTED:7232 · REDACTED:7257 β 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.
Duplicated block (11 lines × 2 locations) application/common/js/pagination.js:55β application/common/js/pagination.js:55 · application/forum/js/threadList.js:3 β 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.
Complex function initialize (cyclomatic 29, cognitive 37) application/common/js/window.js:7β initialize has cyclomatic complexity 29 and cognitive complexity 37; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side β extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes.
Complex function initialize (cyclomatic 29, cognitive 37) REDACTED:8β initialize has cyclomatic complexity 29 and cognitive complexity 37; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side β extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes.
Dead file (~162 LoC) application/common/ckeditor/plugins/autogrow/plugin.jsβ no import path from any entry point (2 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it β nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make
Dead file (~162 LoC) application/common/js/calendar.jsβ no import path from any entry point (2 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it β nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make
Dead file (~59 LoC) application/common/js/upload.jsβ no import path from any entry point (2 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it β nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make
Dead file (~59 LoC) application/forum/js/newMessage.jsβ no import path from any entry point (2 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it β nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make
Positive tabindex (5) application/message/messagePostReply2.jsp:33β A positive tabindex forces a manual tab order that fights the DOM and is fragile. Use tabindex="0" (or restructure the DOM).
Positive tabindex (6) application/message/messagePostReply2.jsp:43β A positive tabindex forces a manual tab order that fights the DOM and is fragile. Use tabindex="0" (or restructure the DOM).
Positive tabindex (102) application/shortmessage/messageform.jsp:58β A positive tabindex forces a manual tab order that fights the DOM and is fragile. Use tabindex="0" (or restructure the DOM).
Low contrast colour pair in CSS (3.1:1) application/js/jdon.css:2β `.btn-success:hover,.btn-success:focus,.btn-success:active,.btn-success.active,.open .dropdown-toggle.btn-success` sets color: #fff on background-color: #47a447 β 3.1: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).
Low contrast colour pair in CSS (2.4:1) application/js/jdon.css:2β `.btn-info:hover,.btn-info:focus,.btn-info:active,.btn-info.active,.open .dropdown-toggle.btn-info` sets color: #fff on background-color: #39b3d7 β 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).
Low contrast colour pair in CSS (2.2:1) application/js/jdon.css:2β `.btn-warning:hover,.btn-warning:focus,.btn-warning:active,.btn-warning.active,.open .dropdown-toggle.btn-warning` sets color: #fff on background-color: #ed9c28 β 2.2: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).
Low contrast colour pair in CSS (4.2:1) application/js/jdon.css:2β `a.list-group-item-success:hover,a.list-group-item-success:focus` sets color: #3c763d on background-color: #d0e9c6 β 4.2: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).
Low contrast colour pair in CSS (4.3:1) application/js/jdon.css:2β `a.list-group-item-warning:hover,a.list-group-item-warning:focus` sets color: #8a6d3b on background-color: #faf2cc β 4.3: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).
Low contrast colour pair in CSS (2.5:1) application/common/portlet.css:20β `.portlet-title` sets color: #4A517D on background-color: #6699CC url(/images/portlet/portlet_title_bg_gradient.gif) repeat-x β 2.5:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them.
AC7 Β· A11y enforcementΒ· Accessibility enforcement below the top rung Β· Γ1
Accessibility enforcement below the top rung β No accessibility enforcement found β no accessibility linting at author time and no automated accessibility check in tests or CI. Add your UI toolkit's own accessibility assertion to the test suite (Flutter `meetsGuideline`, Espresso `AccessibilityChecks`, XCTest `performAccessibilityAudit`), then gate that test in the pipeline. What was searched, so you can tell an absence from a miss: the 197 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.
JavaCodeViewer.javaCodeFilter (cyclomatic 122) src/main/java/com/jdon/jivejdon/domain/model/message/output/codeviewer/JavaCodeViewer.java:303β JavaCodeViewer.javaCodeFilter has cyclomatic complexity 122 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
(anonymous) (cyclomatic 100) REDACTED:3973β (anonymous) has cyclomatic complexity 100 (threshold 15). Most of this is not in the body itself: 1 of the 100 points is its own statement and the rest belongs to 45 function items inside it that branch (_normalizeArguments, getElementStyles, getRGB, β¦). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
_generateHTML (cyclomatic 91) REDACTED:8313β _generateHTML has cyclomatic complexity 91 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
Emoticon.convertEmoticons (cyclomatic 83) src/main/java/com/jdon/jivejdon/domain/model/message/output/emotion/Emoticon.java:240β Emoticon.convertEmoticons has cyclomatic complexity 83 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
_tabify (cyclomatic 58) REDACTED:10706β _tabify has cyclomatic complexity 58 (threshold 15). Of this number, 28 points are the body's own statements and 30 belong to 25 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
plugin.CKEDITOR.htmlParser.fragment.fromBBCode (cyclomatic 56) application/common/ckeditor/plugins/bbcode/plugin.js:177β plugin.CKEDITOR.htmlParser.fragment.fromBBCode has cyclomatic complexity 56 (threshold 15). Most of this is not in the body itself: 9 of the 56 points are its own statements and the rest belongs to 7 function items inside it that branch (checkPendingBrs, checkPending, a function literal at line 251, β¦). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
parseDate (cyclomatic 53) REDACTED:7854β parseDate has cyclomatic complexity 53 (threshold 15). Of this number, 41 points are the body's own statements and 12 belong to 7 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
_doKeyDown (cyclomatic 45) REDACTED:7392β _doKeyDown has cyclomatic complexity 45 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
drag (cyclomatic 44) REDACTED:1485β drag has cyclomatic complexity 44 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
login2.J (cyclomatic 41) application/common/login2.js:5β login2.J has cyclomatic complexity 41 (threshold 15). Most of this is not in the body itself: 2 of the 41 points are its own statements and the rest belongs to 12 function items inside it that branch (R, S, a function literal at line 5, β¦). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
_create (cyclomatic 38) REDACTED:9993β _create has cyclomatic complexity 38 (threshold 15). Most of this is not in the body itself: 12 of the 38 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 10073, 10049, 10056, β¦). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
calendar.Calendar.parseDate (cyclomatic 36) application/common/js/calendar.js:4β calendar.Calendar.parseDate has cyclomatic complexity 36 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
calendar.Calendar._keyEvent (cyclomatic 35) application/common/js/calendar.js:4β calendar.Calendar._keyEvent has cyclomatic complexity 35 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions.
jquery-ui.$.fn.position (cyclomatic 33) REDACTED:9585β jquery-ui.$.fn.position has cyclomatic complexity 33 (threshold 15). Of this number, 16 points are the body's own statements and 17 belong to 3 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
_generatePosition (cyclomatic 32) REDACTED:1161β _generatePosition has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
_mouseDrag (cyclomatic 32) REDACTED:3129β _mouseDrag has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
_clear (cyclomatic 32) REDACTED:3870β _clear has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
formatDate (cyclomatic 32) REDACTED:8036β formatDate has cyclomatic complexity 32 (threshold 15). Of this number, 27 points are the body's own statements and 5 belong to 3 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
base64image.CKEDITOR.dialog.add("base64imageDialog").onShow (cyclomatic 31) application/common/ckeditor/plugins/base64image/dialogs/base64image.js:274β base64image.CKEDITOR.dialog.add("base64imageDialog").onShow has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
_refreshValue (cyclomatic 31) REDACTED:10551β _refreshValue has cyclomatic complexity 31 (threshold 15). Of this number, 19 points are the body's own statements and 12 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
(anonymous).onShow (cyclomatic 31) application/common/ckeditor/plugins/base64image/dialogs/base64image.js:274β (anonymous).onShow has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
_create (cyclomatic 30) REDACTED:1876β _create has cyclomatic complexity 30 (threshold 15). Most of this is not in the body itself: 13 of the 30 points are its own statements and the rest belongs to 4 function items inside it that branch (_renderAxis, a function literal at line 1998, a function literal at line 2017, β¦). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
_generatePosition (cyclomatic 30) REDACTED:3794β _generatePosition has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
_generateMonthYearHeader (cyclomatic 30) REDACTED:8481β _generateMonthYearHeader has cyclomatic complexity 30 (threshold 15). Of this number, 27 points are the body's own statements and 3 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
jquery-ui.$.ui.intersect (cyclomatic 29) REDACTED:1709β jquery-ui.$.ui.intersect has cyclomatic complexity 29 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
jquery-ui.$.effects.bounce (cyclomatic 29) REDACTED:4617β jquery-ui.$.effects.bounce has cyclomatic complexity 29 (threshold 15). Most of this is not in the body itself: 1 of the 29 points is its own statement and the rest belongs to 3 function literals inside it that branch (lines 4619, 4660, 4669). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
_respectSize (cyclomatic 29) REDACTED:2240β _respectSize has cyclomatic complexity 29 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
_create (cyclomatic 29) REDACTED:5883β _create has cyclomatic complexity 29 (threshold 15). Most of this is not in the body itself: 3 of the 29 points are its own statements and the rest belongs to 15 function items inside it that branch (a function literal at line 5898, a function literal at line 5990, focus, β¦). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
_create (cyclomatic 28) REDACTED:6519β _create has cyclomatic complexity 28 (threshold 15). Most of this is not in the body itself: 9 of the 28 points are its own statements and the rest belongs to 17 function literals inside it that branch (lines 6596, 6649, 6546, β¦). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
_showDatepicker (cyclomatic 28) REDACTED:7503β _showDatepicker has cyclomatic complexity 28 (threshold 15). Of this number, 27 points are the body's own statements and 1 belongs to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
plugin.initIframeAutogrow (cyclomatic 27) application/common/ckeditor/plugins/autogrow/plugin.js:30β plugin.initIframeAutogrow has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 7 of the 27 points are its own statements and the rest belongs to 6 function items inside it that branch (refreshCache, resizeEditor, a function literal at line 73, β¦). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
_mouseDrag (cyclomatic 27) REDACTED:2777β _mouseDrag has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 4 of the 27 points are its own statements and the rest belongs to one function literal inside it that branches (line 2791). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal's work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest.
JavaCodeHighlighter.highlightCode (cyclomatic 26) src/main/java/com/jdon/jivejdon/domain/model/message/output/codeviewer/JavaCodeHighlighter.java:608β JavaCodeHighlighter.highlightCode has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
init::$ (cyclomatic 26) application/common/ckeditor/plugins/bbcode/plugin.js:622β init::$ has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
jquery-ui.$.effects.size (cyclomatic 25) REDACTED:5046β jquery-ui.$.effects.size has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 1 of the 25 points is its own statement and the rest belongs to 4 function literals inside it that branch (lines 5048, 5128, 5106, β¦). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
calendar.Calendar._init (cyclomatic 25) application/common/js/calendar.js:4β calendar.Calendar._init has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
_setContainment (cyclomatic 25) REDACTED:1107β _setContainment has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
parse (cyclomatic 24) application/common/ckeditor/plugins/bbcode/plugin.js:80β parse has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
calendar.Calendar.cellClick (cyclomatic 23) application/common/js/calendar.js:4β calendar.Calendar.cellClick has cyclomatic complexity 23 (threshold 15). Of this number, 22 points are the body's own statements and 1 belongs to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
base64image.CKEDITOR.dialog.add("base64imageDialog").onOk (cyclomatic 22) application/common/ckeditor/plugins/base64image/dialogs/base64image.js:346β base64image.CKEDITOR.dialog.add("base64imageDialog").onOk has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
drag (cyclomatic 22) REDACTED:1425β drag has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
resize (cyclomatic 22) REDACTED:2523β resize has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
_determineDate (cyclomatic 22) REDACTED:8186β _determineDate has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 9 of the 22 points are its own statements and the rest belongs to 2 function items inside it that branch (offsetString, offsetNumeric). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
_setOption (cyclomatic 22) REDACTED:9275β _setOption has cyclomatic complexity 22 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions.
(anonymous).onOk (cyclomatic 22) application/common/ckeditor/plugins/base64image/dialogs/base64image.js:346β (anonymous).onOk has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
AccountForm.doValidate (cyclomatic 21) src/main/java/com/jdon/jivejdon/presentation/form/AccountForm.java:131β AccountForm.doValidate has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
IndexTag.doStartTag (cyclomatic 20) src/main/java/com/jdon/jivejdon/presentation/taglib/IndexTag.java:34β IndexTag.doStartTag has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
base64image.CKEDITOR.dialog.add("base64imageDialog").imagePreview (cyclomatic 20) application/common/ckeditor/plugins/base64image/dialogs/base64image.js:79β base64image.CKEDITOR.dialog.add("base64imageDialog").imagePreview has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
calendar.Calendar.create (cyclomatic 20) application/common/js/calendar.js:4β calendar.Calendar.create has cyclomatic complexity 20 (threshold 15). Of this number, 19 points are the body's own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
drag (cyclomatic 20) REDACTED:1803β drag has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 3 of the 20 points are its own statements and the rest belongs to one function literal inside it that branches (line 1809). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal's work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest.
(anonymous).imagePreview (cyclomatic 20) application/common/ckeditor/plugins/base64image/dialogs/base64image.js:79β (anonymous).imagePreview has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
AuthorNameFilter.getUsernameFromBody (cyclomatic 19) src/main/java/com/jdon/jivejdon/domain/model/message/infilter/AuthorNameFilter.java:30β AuthorNameFilter.getUsernameFromBody has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
PasswordassitAction.execute (cyclomatic 19) src/main/java/com/jdon/jivejdon/presentation/action/account/PasswordassitAction.java:44β PasswordassitAction.execute has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
jquery-ui.$.effects.explode (cyclomatic 19) REDACTED:4766β jquery-ui.$.effects.explode has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 1 of the 19 points is its own statement and the rest belongs to 2 function literals inside it that branch (lines 4768, 4815). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
_contactContainers (cyclomatic 19) REDACTED:3582β _contactContainers has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
_toggle (cyclomatic 19) REDACTED:5642β _toggle has cyclomatic complexity 19 (threshold 15). Of this number, 17 points are the body's own statements and 2 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
_mouseStop (cyclomatic 18) REDACTED:937β _mouseStop has cyclomatic complexity 18 (threshold 15). Of this number, 17 points are the body's own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
_mouseStart (cyclomatic 18) REDACTED:3013β _mouseStart has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
_setContainment (cyclomatic 18) REDACTED:3745β _setContainment has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
PinyinUtils.toPinyin (cyclomatic 17) src/main/java/com/jdon/jivejdon/util/PinyinUtils.java:10β PinyinUtils.toPinyin has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
jquery-ui.$.effects.drop (cyclomatic 17) REDACTED:4727β jquery-ui.$.effects.drop has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 1 of the 17 points is its own statement and the rest belongs to 2 function literals inside it that branch (lines 4729, 4751). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
jquery-ui.$.effects.slide (cyclomatic 17) REDACTED:5192β jquery-ui.$.effects.slide has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 1 of the 17 points is its own statement and the rest belongs to 2 function literals inside it that branch (lines 5194, 5216). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
MessageForm.doValidate (cyclomatic 16) src/main/java/com/jdon/jivejdon/presentation/form/MessageForm.java:260β MessageForm.doValidate has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
jquery-ui.$.effects.shake (cyclomatic 16) REDACTED:5146β jquery-ui.$.effects.shake has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 1 of the 16 points is its own statement and the rest belongs to 2 function literals inside it that branch (lines 5148, 5178). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
_convertPositionTo (cyclomatic 16) REDACTED:1138β _convertPositionTo has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
_drop (cyclomatic 16) REDACTED:1665β _drop has cyclomatic complexity 16 (threshold 15). Of this number, 10 points are the body's own statements and 6 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
_clickHandler (cyclomatic 16) REDACTED:5556β _clickHandler has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
_attachments (cyclomatic 16) REDACTED:7077β _attachments has cyclomatic complexity 16 (threshold 15). Of this number, 12 points are the body's own statements and 4 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
_optionDatepicker (cyclomatic 16) REDACTED:7321β _optionDatepicker has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
_hideDatepicker (cyclomatic 16) REDACTED:7666β _hideDatepicker has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top.
TodoComment repeated across 14 files src/main/java/com/jdon/jivejdon/spi/component/throttle/post/ThrottleManager.java:175β The identical TodoComment appears in 14 files (18 occurrences) β almost certainly one boilerplate line from a single migration or decision, not 18 independent debts. Fix the systemic cause once rather than file-by-file. Text: "// TODO Auto-generated method stub". Source code is not a task system: track the cleanup where tasks live. (Every occurrence still counts toward the score and metrics.)
HackComment src/main/java/com/jdon/jivejdon/domain/model/message/output/codeviewer/JavaCodeHighlighter.java:706β // hack β a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there.
JavaCodeViewer.javaCodeFilter (cognitive 300) src/main/java/com/jdon/jivejdon/domain/model/message/output/codeviewer/JavaCodeViewer.java:303β JavaCodeViewer.javaCodeFilter has cognitive complexity 300 (threshold 15). Drivers by points: if/else 125 (281 pts), boolean chains 16, match/switch 1 (2 pts), loops 1 (nesting depth added 157). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
_generateHTML (cognitive 210) REDACTED:8313β _generateHTML has cognitive complexity 210 (threshold 15). Drivers by points: ternaries 50 (149 pts), boolean chains 23, if/else 7 (18 pts), loops 6 (15 pts), match/switch 1 (5 pts) (nesting depth added 123). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
Emoticon.convertEmoticons (cognitive 179) src/main/java/com/jdon/jivejdon/domain/model/message/output/emotion/Emoticon.java:240β Emoticon.convertEmoticons has cognitive complexity 179 (threshold 15). Drivers by points: ternaries 26 (112 pts), if/else 17 (45 pts), boolean chains 13, match/switch 3 (8 pts), loops 1 (nesting depth added 119). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
(anonymous) (cognitive 119) REDACTED:3973β (anonymous) has cognitive complexity 119 (threshold 15). Drivers by points: if/else 52 (67 pts), boolean chains 25, ternaries 10 (13 pts), loops 9 (11 pts), match/switch 2, error handling 1 (nesting depth added 20). None of this is in the body itself: all 119 points belong to 45 function items inside it that branch (getElementStyles, _normalizeArguments, toggleClass, β¦). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
JavaCodeHighlighter.highlightCode (cognitive 102) src/main/java/com/jdon/jivejdon/domain/model/message/output/codeviewer/JavaCodeHighlighter.java:608β JavaCodeHighlighter.highlightCode has cognitive complexity 102 (threshold 15). Drivers by points: if/else 30 (96 pts), boolean chains 4, loops 1 (2 pts) (nesting depth added 67). To reduce it, flatten the nesting: this score is depth rather than breadth β most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language's equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function.
_tabify (cognitive 83) REDACTED:10706β _tabify has cognitive complexity 83 (threshold 15). Drivers by points: if/else 34 (55 pts), boolean chains 17, ternaries 6 (10 pts), loops 1 (nesting depth added 25). Of this number, 43 points are the body's own statements and 40 belong to 25 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
_refreshValue (cognitive 80) REDACTED:10551β _refreshValue has cognitive complexity 80 (threshold 15). Drivers by points: ternaries 14 (43 pts), if/else 13 (32 pts), boolean chains 5 (nesting depth added 48). Of this number, 34 points are the body's own statements and 46 belong to one function literal inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth β most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language's equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function.
_doKeyDown (cognitive 76) REDACTED:7392β _doKeyDown has cognitive complexity 76 (threshold 15). Drivers by points: if/else 15 (35 pts), ternaries 7 (26 pts), boolean chains 13, match/switch 1 (2 pts) (nesting depth added 40). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
J (cognitive 66) application/common/login2.js:5β J has cognitive complexity 66 (threshold 15). Drivers by points: if/else 28 (44 pts), loops 7 (10 pts), boolean chains 5, ternaries 3 (4 pts), error handling 1 (3 pts) (nesting depth added 22). Most of this is not in the body itself: 1 of the 66 points is its own statement and the rest belongs to 26 function items inside it that branch (a function literal at line 5, S, v::x, β¦). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
parseDate (cognitive 60) REDACTED:7854β parseDate has cognitive complexity 60 (threshold 15). Drivers by points: if/else 20 (28 pts), ternaries 13 (14 pts), boolean chains 10, loops 3 (5 pts), match/switch 1 (3 pts) (nesting depth added 13). Of this number, 47 points are the body's own statements and 13 belong to 7 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth β checks laid out side by side rather than stacked β so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level.
_generatePosition (cognitive 58) REDACTED:1161β _generatePosition has cognitive complexity 58 (threshold 15). Drivers by points: ternaries 15 (31 pts), if/else 9 (21 pts), boolean chains 6 (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
parseDate (cognitive 58) application/common/js/calendar.js:4β parseDate has cognitive complexity 58 (threshold 15). Drivers by points: if/else 17 (34 pts), boolean chains 11, loops 4 (8 pts), ternaries 2 (5 pts) (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
_generateMonthYearHeader (cognitive 55) REDACTED:8481β _generateMonthYearHeader has cognitive complexity 55 (threshold 15). Drivers by points: ternaries 9 (27 pts), boolean chains 12, if/else 8 (11 pts), loops 2 (5 pts) (nesting depth added 24). Of this number, 46 points are the body's own statements and 9 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
_mouseDrag (cognitive 52) REDACTED:3129β _mouseDrag has cognitive complexity 52 (threshold 15). Drivers by points: if/else 20 (34 pts), ternaries 3 (9 pts), boolean chains 8, loops 1 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
_generatePosition (cognitive 51) REDACTED:3794β _generatePosition has cognitive complexity 51 (threshold 15). Drivers by points: ternaries 13 (25 pts), if/else 8 (18 pts), boolean chains 8 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
drag (cognitive 49) REDACTED:1485β drag has cognitive complexity 49 (threshold 15). Drivers by points: if/else 13 (35 pts), boolean chains 13, loops 1 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
formatDate (cognitive 48) REDACTED:8036β formatDate has cognitive complexity 48 (threshold 15). Drivers by points: if/else 10 (19 pts), ternaries 7 (15 pts), boolean chains 6, loops 2 (4 pts), match/switch 1 (4 pts) (nesting depth added 22). Of this number, 42 points are the body's own statements and 6 belong to 3 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
_clear (cognitive 46) REDACTED:3870β _clear has cognitive complexity 46 (threshold 15). Drivers by points: if/else 19 (27 pts), loops 5 (10 pts), boolean chains 7, ternaries 1 (2 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
_init (cognitive 46) application/common/js/calendar.js:4β _init has cognitive complexity 46 (threshold 15). Drivers by points: if/else 12 (32 pts), boolean chains 6, ternaries 4 (5 pts), loops 2 (3 pts) (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
_keyEvent (cognitive 44) application/common/js/calendar.js:4β _keyEvent has cognitive complexity 44 (threshold 15). Drivers by points: if/else 8 (19 pts), boolean chains 12, match/switch 3 (8 pts), ternaries 1 (5 pts) (nesting depth added 20). To reduce it, flatten the nesting: this score is depth rather than breadth β most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language's equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function.
parse (cognitive 43) application/common/ckeditor/plugins/bbcode/plugin.js:80β parse has cognitive complexity 43 (threshold 15). Drivers by points: if/else 15 (38 pts), boolean chains 4, loops 1 (nesting depth added 23). To reduce it, flatten the nesting: this score is depth rather than breadth β most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language's equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function.
_create (cognitive 42) REDACTED:6519β _create has cognitive complexity 42 (threshold 15). Drivers by points: if/else 23 (36 pts), boolean chains 5, ternaries 1 (nesting depth added 13). Most of this is not in the body itself: 11 of the 42 points are its own statements and the rest belongs to 17 function literals inside it that branch (lines 6596, 6649, 6546, β¦). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
PasswordassitAction.execute (cognitive 41) src/main/java/com/jdon/jivejdon/presentation/action/account/PasswordassitAction.java:44β PasswordassitAction.execute has cognitive complexity 41 (threshold 15). Drivers by points: if/else 19 (36 pts), loops 1 (3 pts), boolean chains 1, error handling 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
base64image.CKEDITOR.dialog.add("base64imageDialog").onShow (cognitive 41) application/common/ckeditor/plugins/base64image/dialogs/base64image.js:274β base64image.CKEDITOR.dialog.add("base64imageDialog").onShow has cognitive complexity 41 (threshold 15). Drivers by points: if/else 17 (33 pts), boolean chains 5, match/switch 1 (3 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
(anonymous).onShow (cognitive 41) application/common/ckeditor/plugins/base64image/dialogs/base64image.js:274β (anonymous).onShow has cognitive complexity 41 (threshold 15). Drivers by points: if/else 17 (33 pts), boolean chains 5, match/switch 1 (3 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
bounce (cognitive 39) REDACTED:4617β bounce has cognitive complexity 39 (threshold 15). Drivers by points: ternaries 11 (19 pts), if/else 9 (11 pts), boolean chains 8, loops 1 (nesting depth added 10). None of this is in the body itself: all 39 points belong to 4 function literals inside it that branch (lines 4619, 4660, 4669, β¦). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
_contactContainers (cognitive 38) REDACTED:3582β _contactContainers has cognitive complexity 38 (threshold 15). Drivers by points: if/else 11 (22 pts), ternaries 4 (11 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
init::$ (cognitive 38) application/common/ckeditor/plugins/bbcode/plugin.js:622β init::$ has cognitive complexity 38 (threshold 15). Drivers by points: if/else 16 (27 pts), boolean chains 6, match/switch 1 (3 pts), error handling 1 (2 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
AccountForm.doValidate (cognitive 37) src/main/java/com/jdon/jivejdon/presentation/form/AccountForm.java:131β AccountForm.doValidate has cognitive complexity 37 (threshold 15). Drivers by points: if/else 17 (34 pts), boolean chains 3 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
_create (cognitive 36) REDACTED:9993β _create has cognitive complexity 36 (threshold 15). Drivers by points: if/else 15 (25 pts), boolean chains 5, ternaries 2 (3 pts), match/switch 2, loops 1 (nesting depth added 11). Of this number, 17 points are the body's own statements and 19 belong to 8 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
initIframeAutogrow (cognitive 36) application/common/ckeditor/plugins/autogrow/plugin.js:30β initIframeAutogrow has cognitive complexity 36 (threshold 15). Drivers by points: if/else 13 (20 pts), boolean chains 8, ternaries 6 (7 pts), loops 1 (nesting depth added 8). Most of this is not in the body itself: 6 of the 36 points are its own statements and the rest belongs to 7 function items inside it that branch (resizeEditor, refreshCache, a function literal at line 73, β¦). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
_mouseDrag (cognitive 35) REDACTED:2777β _mouseDrag has cognitive complexity 35 (threshold 15). Drivers by points: if/else 17 (29 pts), boolean chains 6 (nesting depth added 12). Most of this is not in the body itself: 3 of the 35 points are its own statements and the rest belongs to one function literal inside it that branches (line 2791). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal's work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest.
_showDatepicker (cognitive 35) REDACTED:7503β _showDatepicker has cognitive complexity 35 (threshold 15). Drivers by points: if/else 14 (19 pts), boolean chains 10, ternaries 4 (6 pts) (nesting depth added 7). Of this number, 33 points are the body's own statements and 2 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
D2 Β· Cognitive ComplexityΒ· position (cognitive 35) Β· Γ1
position (cognitive 35) REDACTED:9585β position has cognitive complexity 35 (threshold 15). Drivers by points: if/else 19, boolean chains 9, ternaries 5 (7 pts) (nesting depth added 2). Of this number, 16 points are the body's own statements and 19 belong to 3 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth β checks laid out side by side rather than stacked β so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level.
cellClick (cognitive 34) application/common/js/calendar.js:4β cellClick has cognitive complexity 34 (threshold 15). Drivers by points: if/else 15 (29 pts), match/switch 1 (2 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 16). Of this number, 32 points are the body's own statements and 2 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
(anonymous).onOk (cognitive 34) application/common/ckeditor/plugins/base64image/dialogs/base64image.js:346β (anonymous).onOk has cognitive complexity 34 (threshold 15). Drivers by points: if/else 15 (27 pts), match/switch 1 (3 pts), boolean chains 2, error handling 1, loops 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
QuoteFilter.reformatText (cognitive 33) src/main/java/com/jdon/jivejdon/domain/model/message/output/html/QuoteFilter.java:203β QuoteFilter.reformatText has cognitive complexity 33 (threshold 15). Drivers by points: if/else 9 (24 pts), loops 3 (6 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
base64image.CKEDITOR.dialog.add("base64imageDialog").onOk (cognitive 33) application/common/ckeditor/plugins/base64image/dialogs/base64image.js:346β base64image.CKEDITOR.dialog.add("base64imageDialog").onOk has cognitive complexity 33 (threshold 15). Drivers by points: if/else 15 (27 pts), match/switch 1 (3 pts), boolean chains 1, error handling 1, loops 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
plugin.CKEDITOR.htmlParser.fragment.fromBBCode (cognitive 33) application/common/ckeditor/plugins/bbcode/plugin.js:177β plugin.CKEDITOR.htmlParser.fragment.fromBBCode has cognitive complexity 33 (threshold 15). Drivers by points: boolean chains 22, if/else 5 (7 pts), loops 3 (4 pts) (nesting depth added 3). Most of this is not in the body itself: 8 of the 33 points are its own statements and the rest belongs to 7 function items inside it that branch (checkPendingBrs, checkPending, addElement, β¦). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
_setContainment (cognitive 33) REDACTED:1107β _setContainment has cognitive complexity 33 (threshold 15). Drivers by points: ternaries 8 (16 pts), boolean chains 11, if/else 5 (6 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
drag (cognitive 33) REDACTED:1425β drag has cognitive complexity 33 (threshold 15). Drivers by points: if/else 15 (27 pts), boolean chains 6 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
PinyinUtils.toPinyin (cognitive 32) src/main/java/com/jdon/jivejdon/util/PinyinUtils.java:10β PinyinUtils.toPinyin has cognitive complexity 32 (threshold 15). Drivers by points: if/else 9 (20 pts), loops 2 (5 pts), boolean chains 4, error handling 1 (3 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
_hideDatepicker (cognitive 32) REDACTED:7666β _hideDatepicker has cognitive complexity 32 (threshold 15). Drivers by points: ternaries 5 (15 pts), if/else 8 (14 pts), boolean chains 3 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
jquery-ui.$.effects.size (cognitive 31) REDACTED:5046β jquery-ui.$.effects.size has cognitive complexity 31 (threshold 15). Drivers by points: if/else 14 (21 pts), boolean chains 8, ternaries 2 (nesting depth added 7). None of this is in the body itself: all 31 points belong to 4 function literals inside it that branch (lines 5048, 5128, 5106, β¦). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
resize (cognitive 31) REDACTED:2523β resize has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (14 pts), ternaries 8 (14 pts), boolean chains 3 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
explode (cognitive 31) REDACTED:4766β explode has cognitive complexity 31 (threshold 15). Drivers by points: ternaries 11 (23 pts), boolean chains 4, loops 2 (3 pts), if/else 1 (nesting depth added 13). None of this is in the body itself: all 31 points belong to 2 function literals inside it that branch (lines 4768, 4815). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
(anonymous).imagePreview (cognitive 30) application/common/ckeditor/plugins/base64image/dialogs/base64image.js:79β (anonymous).imagePreview has cognitive complexity 30 (threshold 15). Drivers by points: if/else 13 (25 pts), boolean chains 3, error handling 1 (2 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
base64image.CKEDITOR.dialog.add("base64imageDialog").imagePreview (cognitive 29) application/common/ckeditor/plugins/base64image/dialogs/base64image.js:79β base64image.CKEDITOR.dialog.add("base64imageDialog").imagePreview has cognitive complexity 29 (threshold 15). Drivers by points: if/else 13 (25 pts), boolean chains 2, error handling 1 (2 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
_toggle (cognitive 28) REDACTED:5642β _toggle has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 6, ternaries 3 (5 pts) (nesting depth added 8). Of this number, 26 points are the body's own statements and 2 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
_resetButton (cognitive 27) REDACTED:6778β _resetButton has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (16 pts), ternaries 3 (9 pts), boolean chains 2 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
AuthorNameFilter.getUsernameFromBody (cognitive 26) src/main/java/com/jdon/jivejdon/domain/model/message/infilter/AuthorNameFilter.java:30β AuthorNameFilter.getUsernameFromBody has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (18 pts), boolean chains 7, error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
URLConverter.convertURL (cognitive 25) src/main/java/com/jdon/jivejdon/domain/model/message/output/html/URLConverter.java:150β URLConverter.convertURL has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (21 pts), boolean chains 3, loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
_create (cognitive 25) REDACTED:5883β _create has cognitive complexity 25 (threshold 15). Drivers by points: if/else 15 (20 pts), boolean chains 4, match/switch 1 (nesting depth added 5). Most of this is not in the body itself: 2 of the 25 points are its own statements and the rest belongs to 15 function items inside it that branch (a function literal at line 5898, focus, a function literal at line 5990, β¦). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
MessageForm.doValidate (cognitive 24) src/main/java/com/jdon/jivejdon/presentation/form/MessageForm.java:260β MessageForm.doValidate has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 6 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
IndexTag.doStartTag (cognitive 24) src/main/java/com/jdon/jivejdon/presentation/taglib/IndexTag.java:34β IndexTag.doStartTag has cognitive complexity 24 (threshold 15). Drivers by points: if/else 14 (18 pts), boolean chains 3, loops 2, error handling 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth β checks laid out side by side rather than stacked β so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level.
D2 Β· Cognitive ComplexityΒ· P (cognitive 24) Β· Γ1
P (cognitive 24) application/common/login2.js:5β P has cognitive complexity 24 (threshold 15). Drivers by points: if/else 14 (23 pts), boolean chains 1 (nesting depth added 9). None of this is in the body itself: all 24 points belong to 5 function items inside it that branch (a function literal at line 5, (anonymous)::onreadystatechange, (anonymous)::onreadystatechange, β¦). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
_slide (cognitive 24) REDACTED:10328β _slide has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 5, ternaries 2 (5 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
create (cognitive 24) application/common/js/calendar.js:4β create has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (12 pts), loops 5 (6 pts), ternaries 4, boolean chains 2 (nesting depth added 3). Of this number, 22 points are the body's own statements and 2 belong to one function item inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth β checks laid out side by side rather than stacked β so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level.
BlockStrategyFixed.locate (cognitive 23) src/main/java/com/jdon/jivejdon/util/BlockStrategyFixed.java:23β BlockStrategyFixed.locate has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (19 pts), boolean chains 2, error handling 1, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
calendar.Calendar.tableMouseOver (cognitive 22) application/common/js/calendar.js:4β calendar.Calendar.tableMouseOver has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12 (21 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
calendar.Calendar.hideShowCovered (cognitive 22) application/common/js/calendar.js:4β calendar.Calendar.hideShowCovered has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (17 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 10). Of this number, 16 points are the body's own statements and 6 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
drag (cognitive 22) REDACTED:1803β drag has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (8 pts), boolean chains 7, ternaries 5 (7 pts) (nesting depth added 3). Most of this is not in the body itself: 2 of the 22 points are its own statements and the rest belongs to one function literal inside it that branches (line 1809). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal's work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest.
_respectSize (cognitive 22) REDACTED:2240β _respectSize has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 12, if/else 10. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
_refreshItems (cognitive 22) REDACTED:3457β _refreshItems has cognitive complexity 22 (threshold 15). Drivers by points: loops 4 (8 pts), ternaries 2 (6 pts), if/else 2 (5 pts), boolean chains 3 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
_mouseStop (cognitive 21) REDACTED:937β _mouseStop has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 9, loops 1 (nesting depth added 3). Of this number, 19 points are the body's own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
_create::_renderAxis (cognitive 21) REDACTED:1955β _create::_renderAxis has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 4 (12 pts), if/else 3 (6 pts), boolean chains 2, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
_mouseStart (cognitive 21) REDACTED:3013β _mouseStart has cognitive complexity 21 (threshold 15). Drivers by points: if/else 13 (16 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth β checks laid out side by side rather than stacked β so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition.
_setContainment (cognitive 21) REDACTED:3745β _setContainment has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 10, ternaries 4 (8 pts), if/else 3 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
_attachments (cognitive 21) REDACTED:7077β _attachments has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (9 pts), ternaries 4 (8 pts), boolean chains 4 (nesting depth added 5). Of this number, 15 points are the body's own statements and 6 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
_getItemsAsjQuery (cognitive 20) REDACTED:3411β _getItemsAsjQuery has cognitive complexity 20 (threshold 15). Drivers by points: loops 3 (6 pts), ternaries 2 (6 pts), if/else 2 (5 pts), boolean chains 3 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
_setOption (cognitive 20) REDACTED:9275β _setOption has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 6, match/switch 1 (nesting depth added 6). The drivers above price the dispatch low by construction β a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full β so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident.
initialize (cognitive 20) REDACTED:1β initialize has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (19 pts), boolean chains 1 (nesting depth added 9). Most of this is not in the body itself: 7 of the 20 points are its own statements and the rest belongs to 4 function items inside it that branch (a function literal at line 1, a function literal at line 1, a function literal at line 1, β¦). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
ToolsUtil.convertTagsFirst (cognitive 19) src/main/java/com/jdon/jivejdon/domain/model/message/output/html/ToolsUtil.java:40β ToolsUtil.convertTagsFirst has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
jquery-ui.$.ui.intersect (cognitive 19) REDACTED:1709β jquery-ui.$.ui.intersect has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 17, if/else 1, match/switch 1. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators.
cancel (cognitive 19) REDACTED:3248β cancel has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
_optionDatepicker (cognitive 19) REDACTED:7321β _optionDatepicker has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (9 pts), ternaries 3 (6 pts), boolean chains 4 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
QuoteFilter.parseQuotes (cognitive 18) src/main/java/com/jdon/jivejdon/domain/model/message/output/html/QuoteFilter.java:122β QuoteFilter.parseQuotes has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (10 pts), loops 3 (5 pts), boolean chains 2, error handling 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
EmailTask.addMessage (cognitive 18) src/main/java/com/jdon/jivejdon/util/EmailTask.java:164β EmailTask.addMessage has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 2, error handling 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
prepareOffsets (cognitive 18) REDACTED:1759β prepareOffsets has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (9 pts), boolean chains 5, loops 2 (3 pts), ternaries 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
slide (cognitive 18) REDACTED:5192β slide has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 8 (10 pts), boolean chains 5, if/else 3 (nesting depth added 2). None of this is in the body itself: all 18 points belong to 2 function items inside it that branch (a function literal at line 5194, (anonymous)::complete). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
setDimensions (cognitive 18) REDACTED:1β setDimensions has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (18 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
_showTooltip (cognitive 18) REDACTED:1408β _showTooltip has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 2, loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
ejiaA1 (cognitive 18) application/forum/js/threadList.js:47β ejiaA1 has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (9 pts), ternaries 3 (8 pts), loops 1 (nesting depth added 9). Most of this is not in the body itself: 5 of the 18 points are its own statements and the rest belongs to 3 function items inside it that branch (onclick, onmouseout, onmouseover). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
fromBBCode::onTagOpen (cognitive 18) application/common/ckeditor/plugins/bbcode/plugin.js:251β fromBBCode::onTagOpen has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 4, ternaries 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth β checks laid out side by side rather than stacked β so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level.
afterInit (cognitive 18) application/common/ckeditor/plugins/bbcode/plugin.js:738β afterInit has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 4 (nesting depth added 6). Most of this is not in the body itself: 3 of the 18 points are its own statements and the rest belongs to one function literal inside it that branches (line 743). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal's work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest.
CodeHighlighter.highlightCode (cognitive 17) src/main/java/com/jdon/jivejdon/domain/model/message/output/codeviewer/CodeHighlighter.java:181β CodeHighlighter.highlightCode has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 3, loops 2 (3 pts), error handling 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
Newline.convertNewlinesAroundCode (cognitive 17) src/main/java/com/jdon/jivejdon/domain/model/message/output/html/Newline.java:151β Newline.convertNewlinesAroundCode has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (10 pts), loops 2 (4 pts), boolean chains 3 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
ThreadApprovedNewList.loadApprovedThreads (cognitive 17) src/main/java/com/jdon/jivejdon/spi/component/mapreduce/ThreadApprovedNewList.java:161β ThreadApprovedNewList.loadApprovedThreads has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (12 pts), loops 2 (3 pts), boolean chains 1, error handling 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
_createPlaceholder (cognitive 17) REDACTED:3540β _createPlaceholder has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 8 (nesting depth added 4). Most of this is not in the body itself: 3 of the 17 points are its own statements and the rest belongs to 2 function items inside it that branch (update, element). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
D2 Β· Cognitive ComplexityΒ· drop (cognitive 17) Β· Γ1
drop (cognitive 17) REDACTED:4727β drop has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 8 (9 pts), boolean chains 5, if/else 3 (nesting depth added 1). None of this is in the body itself: all 17 points belong to 2 function items inside it that branch (a function literal at line 4729, (anonymous)::complete). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
_create (cognitive 17) REDACTED:5285β _create has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 2 (nesting depth added 3). Of this number, 13 points are the body's own statements and 4 belong to 6 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth β checks laid out side by side rather than stacked β so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level.
_determineButtonType (cognitive 17) REDACTED:6678β _determineButtonType has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (13 pts), ternaries 1 (3 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
_autoSize (cognitive 17) REDACTED:7116β _autoSize has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (7 pts), ternaries 2 (6 pts), loops 1 (3 pts), boolean chains 1 (nesting depth added 10). Of this number, 10 points are the body's own statements and 7 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
_possibleChars (cognitive 17) REDACTED:8113β _possibleChars has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 2, match/switch 1 (2 pts), loops 1 (nesting depth added 6). Of this number, 15 points are the body's own statements and 2 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
_position (cognitive 17) REDACTED:9202β _position has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (12 pts), ternaries 1 (3 pts), boolean chains 2 (nesting depth added 7). Of this number, 14 points are the body's own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
CodeViewer.keywordFilter (cognitive 16) src/main/java/com/jdon/jivejdon/domain/model/message/output/codeviewer/CodeViewer.java:272β CodeViewer.keywordFilter has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (7 pts), boolean chains 6, loops 2 (3 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
ForumMessage.build (cognitive 16) src/main/java/com/jdon/jivejdon/domain/model/ForumMessage.java:404β ForumMessage.build has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 2 (8 pts), if/else 4 (7 pts), error handling 1 (nesting depth added 9). To reduce it, flatten the nesting: this score is depth rather than breadth β most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language's equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function.
RefererCaptchaAction.verifyAndRedirect (cognitive 16) src/main/java/com/jdon/jivejdon/presentation/action/query/RefererCaptchaAction.java:135β RefererCaptchaAction.verifyAndRedirect has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
RSSGenServlet.checkModifiedEtagFilter (cognitive 16) src/main/java/com/jdon/jivejdon/presentation/servlet/RSSGenServlet.java:95β RSSGenServlet.checkModifiedEtagFilter has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 3 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
bridge (cognitive 16) REDACTED:409β bridge has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (8 pts), boolean chains 5, ternaries 2 (3 pts) (nesting depth added 3). None of this is in the body itself: all 16 points belong to 3 function literals inside it that branch (lines 410, 426, 446). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals' work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest.
refreshPositions (cognitive 16) REDACTED:3499β refreshPositions has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (7 pts), boolean chains 4, loops 2 (3 pts), ternaries 1 (2 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body.
scale (cognitive 16) REDACTED:5004β scale has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (6 pts), boolean chains 5, ternaries 5 (nesting depth added 2). None of this is in the body itself: all 16 points belong to one function literal inside it that branches (line 5006). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal's work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest.
_clickHandler (cognitive 16) REDACTED:5556β _clickHandler has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 6, if/else 5 (6 pts), ternaries 4 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth β many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages.
setup (cognitive 16) REDACTED:1β setup has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 6, if/else 5 (6 pts), ternaries 3 (4 pts) (nesting depth added 2). None of this is in the body itself: all 16 points belong to 4 function items inside it that branch (a function literal at line 1, a function literal at line 1, $, β¦). The named helpers are already separate functions; the literals' work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal's work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest.
ClassTooLong: MessageQueryDaoSql src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:44β ClassTooLong β 438 significant lines (blank, comment-only and punctuation-only lines excluded), 22 methods. The bar is 400 significant lines; this is 38 over it, 1.10× the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility.
D31 Β· IaC & Container SecurityΒ· Medium IaC Β· Γ1
REDACTED
D4 Β· Code DuplicationΒ· Near-duplicate member family (4 members, 15 shared lines) Β· Γ1
Near-duplicate member family (4 members, 15 shared lines) src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:101β src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:101-132 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:134-165 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:289-323 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:333-368 β These 4 members are variants of one another: a block of 15 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 4 times. The repair is at the members' grain β factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times.
D4 Β· Code DuplicationΒ· Edited copy of a member (52 corresponding lines) Β· Γ1
Edited copy of a member (52 corresponding lines) src/main/java/com/jdon/jivejdon/domain/model/message/output/codeviewer/CodeViewer.java:355β src/main/java/com/jdon/jivejdon/domain/model/message/output/codeviewer/CodeViewer.java:355-409 | src/main/java/com/jdon/jivejdon/domain/model/message/output/codeviewer/JavaCodeViewer.java:986-1037 β These two members are one piece of code written twice and then edited apart: 52 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below β the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members' grain β factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart.
D4 Β· Code DuplicationΒ· Edited copy of a member (22 corresponding lines) Β· Γ1
Edited copy of a member (22 corresponding lines) src/main/java/com/jdon/jivejdon/domain/model/query/QueryCriteria.java:76β src/main/java/com/jdon/jivejdon/domain/model/query/QueryCriteria.java:76-102 | src/main/java/com/jdon/jivejdon/domain/model/query/QueryCriteria.java:133-156 β These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below β the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members' grain β factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart.
D4 Β· Code DuplicationΒ· Edited copy of a member (18 corresponding lines) Β· Γ1
Edited copy of a member (18 corresponding lines) src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageDaoSql.java:356β src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageDaoSql.java:356-374 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageDaoSql.java:376-393 β These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below β the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members' grain β factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart.
D4 Β· Code DuplicationΒ· Members sharing a duplicated core (9 members, 50+ identical tokens) Β· Γ1
Members sharing a duplicated core (9 members, 50+ identical tokens) src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/ForumDaoSql.java:213β src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/ForumDaoSql.java:213-229 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/ForumDaoSql.java:237-254 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/ForumDaoSql.java:256-271 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:84-99 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:167-183 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:185-201 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/SubscriptionDaoSql.java:160-176 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/SubscriptionDaoSql.java:201-218 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/TagDaoSql.java:329-362 β These 9 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below β it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 9 times. The repair is at the members' grain β factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 9 times.
D4 Β· Code DuplicationΒ· Members sharing a duplicated core (4 members, 50+ identical tokens) Β· Γ1
Members sharing a duplicated core (4 members, 50+ identical tokens) src/main/java/com/jdon/jivejdon/presentation/action/sub/SubAccountListAction.java:17β src/main/java/com/jdon/jivejdon/presentation/action/sub/SubAccountListAction.java:17-27 | src/main/java/com/jdon/jivejdon/presentation/action/sub/SubForumListAction.java:33-43 | src/main/java/com/jdon/jivejdon/presentation/action/sub/SubTagListAction.java:17-27 | src/main/java/com/jdon/jivejdon/presentation/action/sub/SubThreadListAction.java:17-27 β These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below β it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members' grain β factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times.
Duplicated block (42β46 lines × 2) src/main/java/com/jdon/jivejdon/domain/model/message/output/codeviewer/JavaCodeViewer.java:337β src/main/java/com/jdon/jivejdon/domain/model/message/output/codeviewer/JavaCodeViewer.java:337-382 | src/main/java/com/jdon/jivejdon/domain/model/message/output/codeviewer/JavaCodeViewer.java:766-807 β 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/com/jdon/jivejdon/domain/model/message/output/codeviewer/JavaCodeViewer.java:337` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand β widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (37 lines × 2) src/main/java/com/jdon/jivejdon/domain/model/message/output/beanutil/FiltersUtils.java:21β src/main/java/com/jdon/jivejdon/domain/model/message/output/beanutil/FiltersUtils.java:21-57 | src/main/java/com/jdon/jivejdon/util/FiltersUtils.java:35-71 β before extracting anything, compare `src/main/java/com/jdon/jivejdon/domain/model/message/output/beanutil/FiltersUtils.java` and `src/main/java/com/jdon/jivejdon/util/FiltersUtils.java` as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 94 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/com/jdon/jivejdon/domain/model/message/output/beanutil/FiltersUtils.java:21` it does not close everything it opens, so those exact lines cannot be lifted as they stand β widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (35 lines × 3) src/main/java/com/jdon/jivejdon/domain/model/message/output/beanutil/FiltersUtils.java:89β src/main/java/com/jdon/jivejdon/domain/model/message/output/beanutil/FiltersUtils.java:89-123 | src/main/java/com/jdon/jivejdon/domain/model/message/output/html/HTMLFilter.java:53-87 | src/main/java/com/jdon/jivejdon/util/FiltersUtils.java:103-137 β before extracting anything, compare `src/main/java/com/jdon/jivejdon/domain/model/message/output/beanutil/FiltersUtils.java` and `src/main/java/com/jdon/jivejdon/util/FiltersUtils.java` as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 94 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (23 lines × 3) src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/PropertyDaoSql.java:82β src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/PropertyDaoSql.java:82-104 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/PropertyDaoSql.java:108-130 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/PropertyDaoSql.java:134-156 β all 3 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/PropertyDaoSql.java:82` it runs out through the closing brace of the declaration holding it β the window is that declaration's tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand β widen the region to the smallest complete statement or declaration that contains it, and extract that. The `return` at the foot of the matched lines is the enclosing body's own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that `return` occupied β no decision has to be handed back and re-acted on.
Duplicated block (21 lines × 3) src/main/java/com/jdon/jivejdon/spi/component/throttle/hitkey/HitConf.java:31β src/main/java/com/jdon/jivejdon/spi/component/throttle/hitkey/HitConf.java:31-51 | src/main/java/com/jdon/jivejdon/spi/component/throttle/post/NewUserThrottleConf.java:36-56 | src/main/java/com/jdon/jivejdon/spi/component/throttle/post/VIPUserThrottleConf.java:41-61 β before extracting anything, compare `src/main/java/com/jdon/jivejdon/spi/component/throttle/hitkey/HitConf.java` and `src/main/java/com/jdon/jivejdon/spi/component/throttle/post/VIPUserThrottleConf.java` as WHOLE FILES: 83% of the shorter file's lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it β treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. β These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, `src/main/java/com/jdon/jivejdon/spi/component/throttle/post/NewUserThrottleConf.java:58` calls `parseInt` and `src/main/java/com/jdon/jivejdon/spi/component/throttle/hitkey/HitConf.java:53` does not β after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (15β17 lines × 3) src/main/java/com/jdon/jivejdon/domain/model/message/output/codeviewer/JavaCodeViewer.java:429β src/main/java/com/jdon/jivejdon/domain/model/message/output/codeviewer/JavaCodeViewer.java:429-444 | src/main/java/com/jdon/jivejdon/domain/model/message/output/codeviewer/JavaCodeViewer.java:466-480 | src/main/java/com/jdon/jivejdon/domain/model/message/output/codeviewer/JavaCodeViewer.java:501-517 β all 3 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/com/jdon/jivejdon/domain/model/message/output/codeviewer/JavaCodeViewer.java:429` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand β widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
Duplicated block (11β17 lines × 2) src/main/java/com/jdon/jivejdon/spi/pubsub/subscriber/MessageMovingListener.java:82β src/main/java/com/jdon/jivejdon/spi/pubsub/subscriber/MessageMovingListener.java:82-92 | src/main/java/com/jdon/jivejdon/spi/pubsub/subscriber/postThread/ThreadPostListener.java:75-91 β the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach β a location they all depend on today, or a new shared one if there is none β and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/com/jdon/jivejdon/spi/pubsub/subscriber/MessageMovingListener.java:82` it runs out through the closing brace of the declaration holding it β the window is that declaration's tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand β widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (16 lines × 2) src/main/java/com/jdon/jivejdon/api/impl/upload/UploadInfoVOServiceImp.java:52β src/main/java/com/jdon/jivejdon/api/impl/upload/UploadInfoVOServiceImp.java:52-67 | src/main/java/com/jdon/jivejdon/spi/component/query/SlideImageQueryManager.java:84-99 β the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach β a location they all depend on today, or a new shared one if there is none β and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (14β15 lines × 2) src/main/java/com/jdon/jivejdon/domain/model/message/output/codeviewer/JavaCodeViewer.java:720β src/main/java/com/jdon/jivejdon/domain/model/message/output/codeviewer/JavaCodeViewer.java:720-734 | src/main/java/com/jdon/jivejdon/domain/model/message/output/codeviewer/JavaCodeViewer.java:736-749 β 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/com/jdon/jivejdon/domain/model/message/output/codeviewer/JavaCodeViewer.java:720` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand β widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (14 lines × 3) src/main/java/com/jdon/jivejdon/domain/model/message/output/codeviewer/JavaCodeViewer.java:414β src/main/java/com/jdon/jivejdon/domain/model/message/output/codeviewer/JavaCodeViewer.java:414-427 | src/main/java/com/jdon/jivejdon/domain/model/message/output/codeviewer/JavaCodeViewer.java:452-465 | src/main/java/com/jdon/jivejdon/domain/model/message/output/codeviewer/JavaCodeViewer.java:500-513 β all 3 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/com/jdon/jivejdon/domain/model/message/output/codeviewer/JavaCodeViewer.java:414` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand β widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (12β14 lines × 3) src/main/java/com/jdon/jivejdon/presentation/taglib/IndexTag.java:36β src/main/java/com/jdon/jivejdon/presentation/taglib/IndexTag.java:36-47 | src/main/java/com/jdon/jivejdon/presentation/taglib/NextTag.java:44-57 | src/main/java/com/jdon/jivejdon/presentation/taglib/PrevTag.java:44-55 β before extracting anything, compare `src/main/java/com/jdon/jivejdon/presentation/taglib/NextTag.java` and `src/main/java/com/jdon/jivejdon/presentation/taglib/PrevTag.java` as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 39 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together β extracting one helper per block leaves the fork in place.
Duplicated block (11β14 lines × 2) src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageDaoSql.java:190β src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageDaoSql.java:190-200 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageDaoSql.java:254-267 β 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageDaoSql.java:190` it does not close everything it opens, so those exact lines cannot be lifted as they stand β widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (12β13 lines × 5) src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/ForumDaoSql.java:279β src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/ForumDaoSql.java:279-290 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageDaoSql.java:82-93 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageDaoSql.java:149-161 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:210-221 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:230-241 β there are 5 copies across 3 file(s) β more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 5 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/ForumDaoSql.java:279` it does not close everything it opens, so those exact lines cannot be lifted as they stand β widen the region to the smallest complete statement or declaration that contains it, and extract that. β These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, `src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:208` calls `debug` and `src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/ForumDaoSql.java:277` does not β after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (12β13 lines × 4) src/main/java/com/jdon/jivejdon/domain/model/message/output/codeviewer/JavaCodeViewer.java:681β src/main/java/com/jdon/jivejdon/domain/model/message/output/codeviewer/JavaCodeViewer.java:681-692 | src/main/java/com/jdon/jivejdon/domain/model/message/output/codeviewer/JavaCodeViewer.java:716-728 | src/main/java/com/jdon/jivejdon/domain/model/message/output/codeviewer/JavaCodeViewer.java:732-743 | src/main/java/com/jdon/jivejdon/domain/model/message/output/codeviewer/JavaCodeViewer.java:747-758 β 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.
Duplicated block (13 lines × 3) src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:302β src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:302-314 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:347-359 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:380-392 β all 3 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:302` it does not close everything it opens, so those exact lines cannot be lifted as they stand β widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (12 lines × 4) src/main/java/com/jdon/jivejdon/domain/model/message/output/codeviewer/JavaCodeViewer.java:621β src/main/java/com/jdon/jivejdon/domain/model/message/output/codeviewer/JavaCodeViewer.java:621-632 | src/main/java/com/jdon/jivejdon/domain/model/message/output/codeviewer/JavaCodeViewer.java:636-647 | src/main/java/com/jdon/jivejdon/domain/model/message/output/codeviewer/JavaCodeViewer.java:651-662 | src/main/java/com/jdon/jivejdon/domain/model/message/output/codeviewer/JavaCodeViewer.java:666-677 β 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.
Duplicated block (12 lines × 3) src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/ShortMessageDaoSql.java:204β src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/ShortMessageDaoSql.java:204-215 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/ShortMessageDaoSql.java:219-230 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/ShortMessageDaoSql.java:233-244 β all 3 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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any `return` inside it is the body's own exit and keeps its meaning in the moved unit.
Duplicated block (9β10 lines × 5) src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/ForumDaoSql.java:238β src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/ForumDaoSql.java:238-247 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:85-93 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:169-177 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:187-195 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/SubscriptionDaoSql.java:162-170 β there are 5 copies across 3 file(s) β more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 5 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/ForumDaoSql.java:238` it does not close everything it opens, so those exact lines cannot be lifted as they stand β widen the region to the smallest complete statement or declaration that contains it, and extract that. β These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, `src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/ForumDaoSql.java:249` calls `debug` and `src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:179` does not β after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (8β10 lines × 3) src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageDaoSql.java:188β src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageDaoSql.java:188-195 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageDaoSql.java:251-260 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageDaoSql.java:430-438 β all 3 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.
Duplicated block (9 lines × 4) src/main/java/com/jdon/jivejdon/domain/model/message/output/html/TextStyle.java:292β src/main/java/com/jdon/jivejdon/domain/model/message/output/html/TextStyle.java:292-300 | src/main/java/com/jdon/jivejdon/domain/model/message/output/html/TextStyle.java:302-310 | src/main/java/com/jdon/jivejdon/domain/model/message/output/html/TextStyle.java:312-320 | src/main/java/com/jdon/jivejdon/domain/model/message/output/html/TextStyle.java:322-330 β 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/com/jdon/jivejdon/domain/model/message/output/html/TextStyle.java:292` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand β widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (8β9 lines × 4) src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:125β src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:125-132 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:158-165 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:315-323 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:360-368 β 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:125` it runs out through the closing brace of the declaration holding it β the window is that declaration's tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand β widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
Duplicated block (8β9 lines × 3) src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageDaoSql.java:186β src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageDaoSql.java:186-193 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageDaoSql.java:224-231 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageDaoSql.java:428-436 β all 3 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.
Duplicated block (9 lines × 3) src/main/java/com/jdon/jivejdon/presentation/servlet/RSSGenServlet.java:271β src/main/java/com/jdon/jivejdon/presentation/servlet/RSSGenServlet.java:271-279 | src/main/java/com/jdon/jivejdon/presentation/servlet/RSSGenServlet.java:301-309 | src/main/java/com/jdon/jivejdon/presentation/servlet/RSSGenServlet.java:326-335 β all 3 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/com/jdon/jivejdon/presentation/servlet/RSSGenServlet.java:271` it runs out through the closing brace of the declaration holding it β the window is that declaration's tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand β widen the region to the smallest complete statement or declaration that contains it, and extract that. The `return` at the foot of the matched lines is the enclosing body's own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that `return` occupied β no decision has to be handed back and re-acted on.
Duplicated block (8β9 lines × 2) src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/AccountSSOSql.java:71β src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/AccountSSOSql.java:71-79 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/AccountSSOSql.java:173-180 β 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/AccountSSOSql.java:71` it does not close everything it opens, so those exact lines cannot be lifted as they stand β widen the region to the smallest complete statement or declaration that contains it, and extract that. β These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, `src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/AccountSSOSql.java:80` calls `debug` and `src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/AccountSSOSql.java:181` does not β after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (8 lines × 4) src/main/java/com/jdon/jivejdon/presentation/action/sub/SubAccountListAction.java:18β src/main/java/com/jdon/jivejdon/presentation/action/sub/SubAccountListAction.java:18-25 | src/main/java/com/jdon/jivejdon/presentation/action/sub/SubForumListAction.java:34-41 | src/main/java/com/jdon/jivejdon/presentation/action/sub/SubTagListAction.java:18-25 | src/main/java/com/jdon/jivejdon/presentation/action/sub/SubThreadListAction.java:18-25 β before extracting anything, compare `src/main/java/com/jdon/jivejdon/presentation/action/sub/SubAccountListAction.java` and `src/main/java/com/jdon/jivejdon/presentation/action/sub/SubForumListAction.java` as WHOLE FILES: 83% of the shorter file's lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it β treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together β extracting one helper per block leaves the fork in place.
Duplicated block (6β7 lines × 7) src/main/java/com/jdon/jivejdon/domain/model/message/output/codeviewer/JavaCodeViewer.java:601β src/main/java/com/jdon/jivejdon/domain/model/message/output/codeviewer/JavaCodeViewer.java:601-606 | src/main/java/com/jdon/jivejdon/domain/model/message/output/codeviewer/JavaCodeViewer.java:619-624 | src/main/java/com/jdon/jivejdon/domain/model/message/output/codeviewer/JavaCodeViewer.java:633-639 | src/main/java/com/jdon/jivejdon/domain/model/message/output/codeviewer/JavaCodeViewer.java:648-654 | src/main/java/com/jdon/jivejdon/domain/model/message/output/codeviewer/JavaCodeViewer.java:714-719 | src/main/java/com/jdon/jivejdon/domain/model/message/output/codeviewer/JavaCodeViewer.java:729-735 | src/main/java/com/jdon/jivejdon/domain/model/message/output/codeviewer/JavaCodeViewer.java:744-750 β all 7 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/com/jdon/jivejdon/domain/model/message/output/codeviewer/JavaCodeViewer.java:601` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand β widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (6β7 lines × 2) src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:68β src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:68-74 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:254-259 β 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:68` it does not close everything it opens, so those exact lines cannot be lifted as they stand β widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (6 lines × 9) src/main/java/com/jdon/jivejdon/domain/model/message/output/codeviewer/JavaCodeViewer.java:602β src/main/java/com/jdon/jivejdon/domain/model/message/output/codeviewer/JavaCodeViewer.java:602-607 | src/main/java/com/jdon/jivejdon/domain/model/message/output/codeviewer/JavaCodeViewer.java:620-625 | src/main/java/com/jdon/jivejdon/domain/model/message/output/codeviewer/JavaCodeViewer.java:635-640 | src/main/java/com/jdon/jivejdon/domain/model/message/output/codeviewer/JavaCodeViewer.java:650-655 | src/main/java/com/jdon/jivejdon/domain/model/message/output/codeviewer/JavaCodeViewer.java:665-670 | src/main/java/com/jdon/jivejdon/domain/model/message/output/codeviewer/JavaCodeViewer.java:680-685 | src/main/java/com/jdon/jivejdon/domain/model/message/output/codeviewer/JavaCodeViewer.java:715-720 | src/main/java/com/jdon/jivejdon/domain/model/message/output/codeviewer/JavaCodeViewer.java:731-736 | src/main/java/com/jdon/jivejdon/domain/model/message/output/codeviewer/JavaCodeViewer.java:746-751 β all 9 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. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/com/jdon/jivejdon/domain/model/message/output/codeviewer/JavaCodeViewer.java:602` it does not close everything it opens, so those exact lines cannot be lifted as they stand β widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (6 lines × 5) src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageDaoSql.java:364β src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageDaoSql.java:364-369 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageDaoSql.java:383-388 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:312-317 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:357-362 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:390-395 β there are 5 copies across 2 file(s) β more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 5 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageDaoSql.java:364` it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand β widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (5 lines × 7) src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageDaoSql.java:364β src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageDaoSql.java:364-368 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageDaoSql.java:383-387 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:312-316 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:357-361 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:390-394 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/TagDaoSql.java:145-149 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/TagDaoSql.java:372-376 β there are 7 copies across 3 file(s) β more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 7 sites; resolving a subset leaves the remainder to drift apart.
Duplicated block (5 lines × 3) src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:254β src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:254-258 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/TagDaoSql.java:143-147 | src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/TagDaoSql.java:370-374 β there are 3 copies across 2 file(s) β more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/sql/MessageQueryDaoSql.java:254` it does not close everything it opens, so those exact lines cannot be lifted as they stand β widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (17 lines × 3) src/main/java/com/jdon/jivejdon/domain/model/subscription/messsage/AccountNotifyMessage.java:15β src/main/java/com/jdon/jivejdon/domain/model/subscription/messsage/AccountNotifyMessage.java:15-31 | src/main/java/com/jdon/jivejdon/domain/model/subscription/messsage/ForumNotifyMessage.java:24-40 | src/main/java/com/jdon/jivejdon/domain/model/subscription/messsage/TagNotifyMessage.java:9-26 β the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach β a file they already depend on, or a new one alongside them β and call it from all 3 call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
Duplicated block (40 lines × 2) src/main/java/com/jdon/jivejdon/domain/model/attachment/UploadInfoVO.java:1β src/main/java/com/jdon/jivejdon/domain/model/attachment/UploadInfoVO.java:1-71 | src/main/java/com/jdon/jivejdon/presentation/form/ImageInfoForm.java:1-40 β the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach β a location they all depend on today, or a new shared one if there is none β and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/com/jdon/jivejdon/domain/model/attachment/UploadInfoVO.java:1` it does not close everything it opens, so those exact lines cannot be lifted as they stand β widen the region to the smallest complete statement or declaration that contains it, and extract that.
Duplicated block (38 lines × 2) src/main/java/com/jdon/jivejdon/spi/component/email/EmailContent.java:28β src/main/java/com/jdon/jivejdon/spi/component/email/EmailContent.java:28-65 | src/main/java/com/jdon/jivejdon/spi/component/email/EmailVO.java:28-73 β before extracting anything, compare `src/main/java/com/jdon/jivejdon/spi/component/email/EmailContent.java` and `src/main/java/com/jdon/jivejdon/spi/component/email/EmailVO.java` as WHOLE FILES: 95% of the shorter file's lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it β treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together β extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
Duplicated block (71 lines × 2) src/main/java/com/jdon/jivejdon/spi/pubsub/publish/MessageEventSourcingRole.java:1β src/main/java/com/jdon/jivejdon/spi/pubsub/publish/MessageEventSourcingRole.java:1-71 | src/main/java/com/jdon/jivejdon/spi/pubsub/reconstruction/LazyLoaderRole.java:1-100 β the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach β a location they all depend on today, or a new shared one if there is none β and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at `src/main/java/com/jdon/jivejdon/spi/pubsub/publish/MessageEventSourcingRole.java:1` it does not close everything it opens, so those exact lines cannot be lifted as they stand β widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
Duplicated block (5 lines × 16) src/main/java/com/jdon/jivejdon/presentation/action/MaxThreadListAction.java:25β src/main/java/com/jdon/jivejdon/presentation/action/MaxThreadListAction.java:25-29 | src/main/java/com/jdon/jivejdon/presentation/action/MessageForumListAction.java:40-45 | src/main/java/com/jdon/jivejdon/presentation/action/StickyListAction.java:31-35 | src/main/java/com/jdon/jivejdon/presentation/action/blog/UserFollowingThreadListAction.java:36-40 | src/main/java/com/jdon/jivejdon/presentation/action/blog/UserThreadListAction.java:35-39 | src/main/java/com/jdon/jivejdon/presentation/action/query/StickyThreadList.java:43-47 | src/main/java/com/jdon/jivejdon/presentation/action/query/TaggedThreadListAction.java:46-50 | src/main/java/com/jdon/jivejdon/presentation/action/query/ThreadApprovedHomeListAction.java:37-42 | src/main/java/com/jdon/jivejdon/presentation/action/query/ThreadApprovedNewListAction.java:19-23 | src/main/java/com/jdon/jivejdon/presentation/action/query/ThreadDigSortedListAction.java:25-30 | src/main/java/com/jdon/jivejdon/presentation/action/query/ThreadQueryAction.java:51-55 | src/main/java/com/jdon/jivejdon/presentation/action/query/ThreadQueryUserAction.java:26-30 | src/main/java/com/jdon/jivejdon/presentation/action/query/ThreadTagHotList2Action.java:29-33 | src/main/java/com/jdon/jivejdon/presentation/action/query/ThreadTagHotListAction.java:42-47 | src/main/java/com/jdon/jivejdon/presentation/action/query/ThreadTagListAction.java:40-45 | src/main/java/com/jdon/jivejdon/presentation/action/util/ThreadEtagFilter.java:36-41 β before extracting anything, compare `src/main/java/com/jdon/jivejdon/presentation/action/blog/UserFollowingThreadListAction.java` and `src/main/java/com/jdon/jivejdon/presentation/action/blog/UserThreadListAction.java` as WHOLE FILES: 89% of the shorter file's lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it β treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together β extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. β These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, `src/main/java/com/jdon/jivejdon/presentation/action/query/ThreadTagHotList2Action.java:24` calls `getName` and `src/main/java/com/jdon/jivejdon/presentation/action/query/ThreadApprovedNewListAction.java:15` does not β after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live.
Duplicated block (9 lines × 7) src/main/java/com/jdon/jivejdon/presentation/action/MaxThreadListAction.java:54β src/main/java/com/jdon/jivejdon/presentation/action/MaxThreadListAction.java:54-62 | src/main/java/com/jdon/jivejdon/presentation/action/ThreadListAction.java:108-116 | src/main/java/com/jdon/jivejdon/presentation/action/query/TaggedThreadListAction.java:91-99 | src/main/java/com/jdon/jivejdon/presentation/action/query/ThreadQueryAction.java:74-82 | src/main/java/com/jdon/jivejdon/presentation/action/query/ThreadQueryUserAction.java:70-78 | src/main/java/com/jdon/jivejdon/presentation/action/query/ThreadTagHotList2Action.java:82-90 | src/main/java/com/jdon/jivejdon/presentation/action/query/ThreadTagListAction.java:75-83 β the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 7 call sites can already reach β a location they all depend on today, or a new shared one if there is none β and call it from each site; until then, every change has to be made 7 times. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
Duplicated block (6 lines × 4) src/main/java/com/jdon/jivejdon/presentation/action/sub/SubAccountListAction.java:35β src/main/java/com/jdon/jivejdon/presentation/action/sub/SubAccountListAction.java:35-40 | src/main/java/com/jdon/jivejdon/presentation/action/sub/SubForumListAction.java:52-57 | src/main/java/com/jdon/jivejdon/presentation/action/sub/SubTagListAction.java:36-41 | src/main/java/com/jdon/jivejdon/presentation/action/sub/SubThreadListAction.java:36-41 β before extracting anything, compare `src/main/java/com/jdon/jivejdon/presentation/action/sub/SubAccountListAction.java` and `src/main/java/com/jdon/jivejdon/presentation/action/sub/SubForumListAction.java` as WHOLE FILES: 83% of the shorter file's lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it β treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together β extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it.
Low cohesion: UploadHelper (LCOM4 4) src/main/java/com/jdon/jivejdon/domain/model/message/upload/UploadHelper.java:25β UploadHelper's methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable β your repository's bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected β and which would otherwise dominate this list β are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting.
No CI pipeline β No CI workflow found (.github/workflows, azure-pipelines.yml, .gitlab-ci.yml, β¦) β changes aren't gated by an automated build/test.
Wholesale file copy (1081 identical lines × 2 files) application/common/js/window.js:2β application/common/js/window.js:2 · REDACTED:3 β these 2 files are line-for-line copies of one another β 1081 lines are identical, in the same order, in every one of them β so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) β the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done.
Duplicated block (124 lines × 2 locations) REDACTED:1157β REDACTED:1157 · application/common/js/window_effects.js:1 β 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.
Duplicated block (65 lines × 2 locations) REDACTED:1024β REDACTED:1024 · REDACTED:3663 β 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.
Duplicated block (59 lines × 2 locations) application/common/js/calendar-setup.js:1β application/common/js/calendar-setup.js:1 · application/common/js/calendar.js:55 β 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.
Duplicated block (39 lines × 2 locations) application/common/js/calendar-zh.js:2β application/common/js/calendar-zh.js:2 · application/common/js/calendar.js:7 β the 2 copies are spread across 2 files, 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.
Duplicated block (33 lines × 2 locations) application/common/form.js:54β application/common/form.js:54 · application/forum/js/form.js:159 β 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.
Duplicated block (21 lines × 2 locations) REDACTED:6410β REDACTED:6410 · REDACTED:6437 β 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.
Duplicated block (20 lines × 2 locations) REDACTED:9496β REDACTED:9496 · REDACTED:9521 β 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.
Duplicated block (14 lines × 2 locations) REDACTED:865β REDACTED:865 · REDACTED:3039 β 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.
Duplicated block (12 lines × 2 locations) REDACTED:4603β REDACTED:4603 · REDACTED:4886 β 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.
Duplicated block (10 lines × 6 locations) REDACTED:4715β REDACTED:4715 · REDACTED:4754 · REDACTED:4844 · REDACTED:4928 · +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.
Duplicated block (9 lines × 2 locations) REDACTED:10372β REDACTED:10372 · REDACTED:10386 β 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.
Duplicated block (8 lines × 4 locations) REDACTED:4826β REDACTED:4826 · REDACTED:4932 · REDACTED:4972 · REDACTED:5223 β all 4 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.
Duplicated block (8 lines × 2 locations) REDACTED:7247β REDACTED:7247 · REDACTED:7272 β 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.
Duplicated block (7 lines × 2 locations) REDACTED:6606β REDACTED:6606 · REDACTED:6614 β 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.
Duplicated block (6 lines × 3 locations) REDACTED:4630β REDACTED:4630 · REDACTED:4736 · REDACTED:5158 β all 3 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.
Complex function _generateHTML (cyclomatic 91, cognitive 210) REDACTED:8313β _generateHTML has cyclomatic complexity 91 and cognitive complexity 210; 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.
Complex function _doKeyDown (cyclomatic 45, cognitive 76) REDACTED:7392β _doKeyDown has cyclomatic complexity 45 and cognitive complexity 76; 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.
Complex function drag (cyclomatic 44, cognitive 49) REDACTED:1485β drag has cyclomatic complexity 44 and cognitive complexity 49; 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.
Complex function parseDate (cyclomatic 41, cognitive 47) REDACTED:7854β parseDate has cyclomatic complexity 41 and cognitive complexity 47; 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.
Complex function parseDate (cyclomatic 36, cognitive 58) application/common/js/calendar.js:4β parseDate has cyclomatic complexity 36 and cognitive complexity 58; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side β extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes.
Complex function _keyEvent (cyclomatic 35, cognitive 44) application/common/js/calendar.js:4β _keyEvent has cyclomatic complexity 35 and cognitive complexity 44; 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.
Complex function _generatePosition (cyclomatic 32, cognitive 58) REDACTED:1161β _generatePosition has cyclomatic complexity 32 and cognitive complexity 58; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side β extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes.
Complex function _mouseDrag (cyclomatic 32, cognitive 52) REDACTED:3129β _mouseDrag has cyclomatic complexity 32 and cognitive complexity 52; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side β extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes.
Complex function _clear (cyclomatic 32, cognitive 46) REDACTED:3870β _clear has cyclomatic complexity 32 and cognitive complexity 46; 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.
Complex function onShow (cyclomatic 31, cognitive 41) application/common/ckeditor/plugins/base64image/dialogs/base64image.js:274β onShow has cyclomatic complexity 31 and cognitive complexity 41; 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.
Complex function _generatePosition (cyclomatic 30, cognitive 51) REDACTED:3794β _generatePosition has cyclomatic complexity 30 and cognitive complexity 51; 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.
Complex function _respectSize (cyclomatic 29, cognitive 22) REDACTED:2240β _respectSize has cyclomatic complexity 29 and cognitive complexity 22; 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.
Complex function intersect (cyclomatic 29, cognitive 17) REDACTED:1709β intersect has cyclomatic complexity 29 and cognitive complexity 17; 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.
Complex function _tabify (cyclomatic 28, cognitive 43) REDACTED:10706β _tabify has cyclomatic complexity 28 and cognitive complexity 43; 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.
Complex function _generateMonthYearHeader (cyclomatic 27, cognitive 46) REDACTED:8481β _generateMonthYearHeader has cyclomatic complexity 27 and cognitive complexity 46; 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.
Complex function formatDate (cyclomatic 27, cognitive 42) REDACTED:8036β formatDate has cyclomatic complexity 27 and cognitive complexity 42; 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.
Complex function (anonymous) (cyclomatic 27, cognitive 35) REDACTED:4619β (anonymous) has cyclomatic complexity 27 and cognitive complexity 35; 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.
Complex function _showDatepicker (cyclomatic 27, cognitive 33) REDACTED:7503β _showDatepicker has cyclomatic complexity 27 and cognitive complexity 33; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side β extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes.
REDACTED: 9688 lines of code REDACTED:1β REDACTED has 9688 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: 1472 lines of code REDACTED:1β REDACTED has 1472 significant lines (blank lines excluded), over the 400-line bar, and contains logic β a file this long is usually several responsibilities in one module.
R3 Β· Large FilesΒ· application/common/js/window.js Β· Γ1
application/common/js/window.js: 1151 lines of code application/common/js/window.js:1β application/common/js/window.js has 1151 significant lines (blank lines excluded), over the 400-line bar, and contains logic β a file this long is usually several responsibilities in one module.
R3 Β· Large FilesΒ· application/common/ckeditor/plugins/bbcode/plugin.js Β· Γ1
application/common/ckeditor/plugins/bbcode/plugin.js: 639 lines of code application/common/ckeditor/plugins/bbcode/plugin.js:1β application/common/ckeditor/plugins/bbcode/plugin.js has 639 significant lines (blank lines excluded), over the 400-line bar, and contains logic β a file this long is usually several responsibilities in one module.
R3 Β· Large FilesΒ· application/common/ckeditor/plugins/base64image/dialogs/base64image.js Β· Γ1
application/common/ckeditor/plugins/base64image/dialogs/base64image.js: 444 lines of code application/common/ckeditor/plugins/base64image/dialogs/base64image.js:1β application/common/ckeditor/plugins/base64image/dialogs/base64image.js has 444 significant lines (blank lines excluded), over the 400-line bar, and contains logic β a file this long is usually several responsibilities in one module.
Test Coverage β 0% of 100 production file(s) reachable from 0 test file(s) via the import graph β 'production' here is the RESIDUE: every source file left once tests, tooling, generated output, config, declarations and declaration-only modules, fixture corpora, type fixtures, behaviour-free data modules, re-export barrels, registration/constant data modules and service workers are set aside, so the percentage is taken over a smaller denominator than the workspace's file count
Dead file (~11363 LoC) REDACTEDβ no import path from any entry point (2 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it β nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make
Dead file (~1545 LoC) REDACTEDβ no import path from any entry point (2 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it β nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make
Dead file (~1152 LoC) application/common/js/window.jsβ no import path from any entry point (2 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it β nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make
Dead file (~771 LoC) application/common/ckeditor/plugins/bbcode/plugin.jsβ no import path from any entry point (2 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it β nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make
Dead file (~203 LoC) application/forum/js/form.jsβ no import path from any entry point (2 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it β nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make
Dead file (~182 LoC) application/common/login2.jsβ no import path from any entry point (2 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it β nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make
Dead file (~166 LoC) application/common/ckeditor/build-config.jsβ no import path from any entry point (2 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it β nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make
Dead file (~163 LoC) application/common/js/waitingfor.jsβ no import path from any entry point (2 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it β nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make
Dead file (~156 LoC) application/common/js/window_effects.jsβ no import path from any entry point (2 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it β nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make
Dead file (~140 LoC) application/forum/js/threadList.jsβ no import path from any entry point (2 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it β nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make
Dead file (~136 LoC) application/common/ckeditor/styles.jsβ no import path from any entry point (2 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it β nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make
Dead file (~108 LoC) application/common/js/calendar-setup.jsβ no import path from any entry point (2 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it β nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make
Dead file (~100 LoC) application/common/form.jsβ no import path from any entry point (2 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it β nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make
Dead file (~70 LoC) application/common/ckeditor/plugins/autosave/plugin.jsβ no import path from any entry point (2 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it β nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make
Dead file (~67 LoC) application/common/js/pagination.jsβ no import path from any entry point (2 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it β nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make
Dead file (~61 LoC) application/message/js/messageEdit.jsβ no import path from any entry point (2 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it β nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make
Dead file (~57 LoC) application/common/ckeditor/plugins/base64image/plugin.jsβ no import path from any entry point (2 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it β nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make
Dead file (~50 LoC) application/common/messageList12.jsβ no import path from any entry point (2 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it β nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make
Dead file (~47 LoC) application/common/ckeditor/plugins/fixed/plugin.jsβ no import path from any entry point (2 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it β nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make
Dead file (~45 LoC) application/common/js/calendar-zh.jsβ no import path from any entry point (2 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it β nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make
Dead file (~38 LoC) application/common/ckeditor/config.jsβ no import path from any entry point (2 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it β nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make
Dead file (~17 LoC) application/common/js/index2.jsβ no import path from any entry point (2 application, 0 tooling, 0 test roots considered), and no other file in the scanned tree imports it β nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make
Third-party script without Subresource Integrity application/account/newAccount.jsp:36β `https://ssl.captcha.qq.com/TCaptcha.js` is executed by this page with no Subresource Integrity. Whoever can answer that request β the CDN, anyone who compromises it, anyone on the network path β runs arbitrary script in this page's origin, with its session. The URL also names no version, so it resolves to whatever that origin serves at fetch time β the executed bytes can change with nobody touching this repository. 15 such include(s) across the repository's markup.
X27 Β· Collection changed while being enumeratedΒ· Collection is structurally changed while it is being enumerated Β· Γ1
Collection is structurally changed while it is being enumerated src/main/java/com/jdon/jivejdon/spi/component/subscription/SubscriptionActionHolder.java:65β `subscriptionActions` is enumerated directly, and line 67 calls `subscriptionActions.remove(β¦)` inside the loop body β a structural change to a `ArrayList`. The loop's hidden iterator is fail-fast, so its next `next()` throws `ConcurrentModificationException`: every pass that reaches this call ends the loop by exception instead of by running out of elements, and the remaining elements are never seen.
Interpolated log message defeats structured logging src/main/java/com/jdon/jivejdon/util/BeanUtils.java:71β `debug` at line 71 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.
Interpolated log message defeats structured logging src/main/java/com/jdon/jivejdon/util/BeanUtils.java:72β `debug` at line 72 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.
Interpolated log message defeats structured logging src/main/java/com/jdon/jivejdon/util/BeanUtils.java:78β `error` at line 78 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.
Interpolated log message defeats structured logging src/main/java/com/jdon/jivejdon/util/BeanUtils.java:99β `debug` at line 99 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.
Interpolated log message defeats structured logging src/main/java/com/jdon/jivejdon/util/BeanUtils.java:108β `debug` at line 108 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.
Interpolated log message defeats structured logging src/main/java/com/jdon/jivejdon/util/BeanUtils.java:109β `debug` at line 109 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.
Interpolated log message defeats structured logging src/main/java/com/jdon/jivejdon/spi/pubsub/subscriber/MessageMovingListener.java:58β `warn` 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.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.
Interpolated log message defeats structured logging src/main/java/com/jdon/jivejdon/spi/pubsub/subscriber/MessageMovingListener.java:73β `info` at line 73 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.
Interpolated log message defeats structured logging src/main/java/com/jdon/jivejdon/spi/pubsub/subscriber/MessageMovingListener.java:76β `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.
Interpolated log message defeats structured logging src/main/java/com/jdon/jivejdon/spi/pubsub/subscriber/MessageMovingListener.java:88β `error` at line 88 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.
Interpolated log message defeats structured logging src/main/java/com/jdon/jivejdon/spi/pubsub/subscriber/postThread/ThreadPostListener.java:81β `error` at line 81 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.
Interpolated log message defeats structured logging src/main/java/com/jdon/jivejdon/spi/pubsub/reconstruction/impl/ForumStateLoader.java:37β `warn` at line 37 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.
Interpolated log message defeats structured logging src/main/java/com/jdon/jivejdon/spi/pubsub/reconstruction/impl/LoadRolename.java:43β `error` at line 43 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.
Interpolated log message defeats structured logging src/main/java/com/jdon/jivejdon/spi/pubsub/reconstruction/impl/ThreadStateLoader.java:48β `warn` at line 48 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.
Interpolated log message defeats structured logging src/main/java/com/jdon/jivejdon/spi/component/throttle/post/ThrottleManager.java:62β `error` at line 62 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.
Interpolated log message defeats structured logging src/main/java/com/jdon/jivejdon/spi/component/throttle/post/ThrottleManager.java:75β `error` at line 75 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.
Interpolated log message defeats structured logging src/main/java/com/jdon/jivejdon/spi/component/throttle/post/ThrottleManager.java:106β `debug` 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.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.
Interpolated log message defeats structured logging src/main/java/com/jdon/jivejdon/spi/component/throttle/post/ThrottleManager.java:111β `debug` 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.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.
Interpolated log message defeats structured logging src/main/java/com/jdon/jivejdon/spi/component/throttle/post/ThrottleManager.java:120β `debug` at line 120 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.
Interpolated log message defeats structured logging src/main/java/com/jdon/jivejdon/spi/component/throttle/post/ThrottleManager.java:128β `debug` at line 128 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.
Interpolated log message defeats structured logging src/main/java/com/jdon/jivejdon/spi/component/throttle/hitkey/CustomizedThrottleImp.java:53β `error` at line 53 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.
Interpolated log message defeats structured logging src/main/java/com/jdon/jivejdon/spi/component/throttle/hitkey/CustomizedThrottleImp.java:98β `debug` at line 98 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.
Interpolated log message defeats structured logging src/main/java/com/jdon/jivejdon/spi/component/throttle/hitkey/CustomizedThrottleImp.java:111β `debug` 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.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.
Interpolated log message defeats structured logging src/main/java/com/jdon/jivejdon/spi/component/throttle/hitkey/CustomizedThrottleImp.java:116β `debug` at line 116 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.
Interpolated log message defeats structured logging src/main/java/com/jdon/jivejdon/spi/component/throttle/hitkey/CustomizedThrottleImp.java:124β `debug` at line 124 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.
Duplicated predicate src/main/java/com/jdon/jivejdon/domain/model/message/output/beanutil/FiltersUtils.java:41β `"int".equals(className) || "double".equals(className) || "long".equals(className)` appears character-identically in 2 files β src/main/java/com/jdon/jivejdon/domain/model/message/output/beanutil/FiltersUtils.java, src/main/java/com/jdon/jivejdon/util/FiltersUtils.java. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
Duplicated predicate src/main/java/com/jdon/jivejdon/auth/CUDInputInterceptor.java:112β `(arg != null) && arg.getClass().isAssignableFrom(EventModel.class)` appears character-identically in 2 files β src/main/java/com/jdon/jivejdon/auth/CUDInputInterceptor.java, src/main/java/com/jdon/jivejdon/auth/PermissionInterceptor.java. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
Duplicated predicate src/main/java/com/jdon/jivejdon/presentation/taglib/IndexTag.java:37β `(dispStrs != null) && (!dispStrs.equals(""))` appears character-identically in 3 files β src/main/java/com/jdon/jivejdon/presentation/taglib/IndexTag.java, src/main/java/com/jdon/jivejdon/presentation/taglib/NextTag.java, src/main/java/com/jdon/jivejdon/presentation/taglib/PrevTag.java. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
Duplicated predicate src/main/java/com/jdon/jivejdon/presentation/form/AccountFaceFileForm.java:137β `(maxLengthExceeded != null) && (maxLengthExceeded.booleanValue())` appears character-identically in 2 files β src/main/java/com/jdon/jivejdon/presentation/form/AccountFaceFileForm.java, src/main/java/com/jdon/jivejdon/presentation/form/UpLoadFileForm.java. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
Duplicated predicate src/main/java/com/jdon/jivejdon/presentation/action/MessageListOwnerAction.java:55β `(threadId == null) || (!StringUtils.isNumeric(threadId)) || threadId.length() > 10` appears character-identically in 2 files β src/main/java/com/jdon/jivejdon/presentation/action/MessageListOwnerAction.java, src/main/java/com/jdon/jivejdon/presentation/action/util/ThreadEtagFilter.java. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
Duplicated predicate src/main/java/com/jdon/jivejdon/domain/model/message/upload/UploadFileFilter.java:50β `(uploadFiles == null) || (uploadFiles.size() == 0)` appears character-identically in 2 files β src/main/java/com/jdon/jivejdon/domain/model/message/upload/UploadFileFilter.java, src/main/java/com/jdon/jivejdon/domain/model/message/upload/UploadImageFilter.java. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
Duplicated predicate src/main/java/com/jdon/jivejdon/presentation/action/sub/SubAccountListAction.java:20β `(userId == null) || (!StringUtils.isNumeric(userId))` appears character-identically in 4 files β src/main/java/com/jdon/jivejdon/presentation/action/sub/SubAccountListAction.java, src/main/java/com/jdon/jivejdon/presentation/action/sub/SubForumListAction.java, src/main/java/com/jdon/jivejdon/presentation/action/sub/SubTagListAction.java, src/main/java/com/jdon/jivejdon/presentation/action/sub/SubThreadListAction.java. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
Duplicated predicate src/main/java/com/jdon/jivejdon/spi/component/throttle/hitkey/HitKeyDiff.java:56β `UtilValidate.isEmpty(ip) || UtilValidate.isEmpty(id)` appears character-identically in 2 files β src/main/java/com/jdon/jivejdon/spi/component/throttle/hitkey/HitKeyDiff.java, src/main/java/com/jdon/jivejdon/spi/component/throttle/hitkey/HitKeySame.java. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
Duplicated predicate src/main/java/com/jdon/jivejdon/presentation/action/util/ForumEtagFilterAction.java:48β `forumId != null && StringUtils.isNumeric(forumId) && forumId.length() <= 10` appears character-identically in 2 files β src/main/java/com/jdon/jivejdon/presentation/action/util/ForumEtagFilterAction.java, src/main/java/com/jdon/jivejdon/presentation/servlet/RSSGenServlet.java. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
Duplicated predicate src/main/java/com/jdon/jivejdon/domain/model/ForumThread.java:357β `pinyinFromName != null && !pinyinFromName.trim().isEmpty()` appears character-identically in 2 files β src/main/java/com/jdon/jivejdon/domain/model/ForumThread.java, src/main/java/com/jdon/jivejdon/presentation/action/ThreadRedirectAction.java. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
Duplicated predicate src/main/java/com/jdon/jivejdon/presentation/servlet/RegisterCodeAction.java:114β `registerCode == null || registerCode.length() == 0` appears character-identically in 2 files β src/main/java/com/jdon/jivejdon/presentation/servlet/RegisterCodeAction.java, src/main/java/com/jdon/jivejdon/presentation/servlet/VerifySpammerAction.java. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
Duplicated predicate src/main/java/com/jdon/jivejdon/presentation/action/query/TaggedThreadListAction.java:63β `tagID == null || !StringUtils.isNumeric(tagID) || tagID.length() > 10` appears character-identically in 3 files β src/main/java/com/jdon/jivejdon/presentation/action/query/TaggedThreadListAction.java, src/main/java/com/jdon/jivejdon/presentation/action/query/ThreadTagHotList2Action.java, src/main/java/com/jdon/jivejdon/presentation/action/util/TagEtagFilterAction.java. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
Duplicated predicate src/main/java/com/jdon/jivejdon/presentation/action/ThreadRedirectAction.java:35β `threadId == null || threadId.length() == 0 || !StringUtils.isNumeric(threadId) || threadId.length() > 20` appears character-identically in 2 files β src/main/java/com/jdon/jivejdon/presentation/action/ThreadRedirectAction.java, src/main/java/com/jdon/jivejdon/presentation/servlet/CounterServlet.java. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
Duplicated predicate src/main/java/com/jdon/jivejdon/spi/component/email/EmailVO.java:68β `toEmail == null || fromEmail == null || subject == null || body == null` appears character-identically in 2 files β src/main/java/com/jdon/jivejdon/spi/component/email/EmailVO.java, src/main/java/com/jdon/jivejdon/util/EmailTask.java. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
Duplicated predicate REDACTED:71β `userAgent != null && userAgent.length() > 0 && robotPattern.matcher(userAgent.toLowerCase()).matches()` appears character-identically in 2 files β REDACTED, src/main/java/com/jdon/jivejdon/presentation/servlet/RegisterCodeAction.java. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
Duplicated predicate src/main/java/com/jdon/jivejdon/presentation/form/BaseForm.java:65β `value == null || value.trim().length() < 1` appears character-identically in 2 files β src/main/java/com/jdon/jivejdon/presentation/form/BaseForm.java, src/main/java/com/jdon/jivejdon/presentation/sitemap/UrlForm.java. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
Duplicated predicate application/common/form.js:18β `document.getElementById('forumId_select') != null && document.getElementById('forumId_select').value == ""` appears character-identically in 2 files β application/common/form.js, application/forum/js/form.js. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
Duplicated predicate application/common/form.js:69β `myField.selectionStart || myField.selectionStart == '0'` appears character-identically in 2 files β application/common/form.js, application/forum/js/form.js. It is one line, so the duplication detector's token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home.
redundant comment REDACTED:880β "Generate the original position" repeats the code it sits on: 3 of its 3 words (generate, original, position) are already in `this.originalPosition = this.position = this._generatePosition(event);`. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence).
redundant comment REDACTED:3059β "Generate the original position" repeats the code it sits on: 3 of its 3 words (generate, original, position) are already in `this.originalPosition = this._generatePosition(event);`. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence).
redundant comment REDACTED:3175β "Set the helper position" repeats the code it sits on: 3 of its 3 words (set, helper, position) are already in `if(!this.options.axis || this.options.axis != "y") this.helper[0].style.left = this.position.left+'px';`. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence).
redundant comment REDACTED:8058β "Format a name, short or long as requested" repeats the code it sits on: 4 of its 5 words (format, name, short, long) are already in `var formatName = function(match, value, shortNames, longNames)`. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence).
redundant comment application/common/ckeditor/plugins/autosave/plugin.js:20β "check if the loaded editor content is the same as the autosaved content" repeats the code it sits on: 4 of its 5 words (check, loaded, editor, content) are already in `if (editorLoadedContent == autoSavedContent)`. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence).
redundant comment application/common/ckeditor/plugins/base64image/dialogs/base64image.js:26β "Load preview image" repeats the code it sits on: 3 of its 3 words (load, preview, image) are already in `function imagePreviewLoad(s)`. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence).
redundant comment application/common/ckeditor/plugins/base64image/dialogs/base64image.js:96β "Load preview image" repeats the code it sits on: 3 of its 3 words (load, preview, image) are already in `if(urlI) imagePreviewLoad(urlI.getValue());`. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence).
redundant comment application/common/ckeditor/plugins/bbcode/plugin.js:35β "List of block-like tags." repeats the code it sits on: 4 of its 4 words (list, block, like, tags) are already in `var dtd = CKEDITOR.dtd,`. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence).
redundant comment REDACTED:1457β "this.tooltipWindow.setAjaxContent(element.ajaxInfo.url, element.ajaxInfo.options); add by banq" repeats the code it sits on: 9 of its 11 words (tooltip, window, set, ajax, content, element, info, url, options) are already in `this.tooltipWindow.setAjaxContent(element.ajaxInfo.url, element.ajaxInfo.options, false, false);`. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence).
Hand-rolled JSON/XML parsing via regex src/main/java/com/jdon/jivejdon/util/TitleExtractor.java:34β A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand β malformed or differently-typed content (e.g. `"amount": "5"` as a string) silently mis-parses instead of failing validation. This JVM code already uses a real parser in the same package; use it here too.
Hand-rolled JSON/XML parsing via regex application/common/ckeditor/ckeditor.js:307β A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand β malformed or differently-typed content (e.g. `"amount": "5"` as a string) silently mis-parses instead of failing validation. This JavaScript/TypeScript code already uses a real parser in the same package; use it here too.
Hand-rolled JSON/XML parsing via regex application/common/ckeditor/ckeditor.js:319β A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand β malformed or differently-typed content (e.g. `"amount": "5"` as a string) silently mis-parses instead of failing validation. This JavaScript/TypeScript code already uses a real parser in the same package; use it here too.
Hand-rolled JSON/XML parsing via regex application/common/ckeditor/ckeditor.js:378β A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand β malformed or differently-typed content (e.g. `"amount": "5"` as a string) silently mis-parses instead of failing validation. This JavaScript/TypeScript code already uses a real parser in the same package; use it here too.
Hand-rolled JSON/XML parsing via regex application/common/ckeditor/ckeditor.js:679β A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand β malformed or differently-typed content (e.g. `"amount": "5"` as a string) silently mis-parses instead of failing validation. This JavaScript/TypeScript code already uses a real parser in the same package; use it here too.
Hand-rolled JSON/XML parsing via regex application/common/ckeditor/ckeditor.js:680β A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand β malformed or differently-typed content (e.g. `"amount": "5"` as a string) silently mis-parses instead of failing validation. This JavaScript/TypeScript code already uses a real parser in the same package; use it here too.
Hand-rolled JSON/XML parsing via regex application/common/ckeditor/ckeditor.js:704β A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand β malformed or differently-typed content (e.g. `"amount": "5"` as a string) silently mis-parses instead of failing validation. This JavaScript/TypeScript code already uses a real parser in the same package; use it here too.
Hand-rolled JSON/XML parsing via regex application/common/ckeditor/ckeditor.js:936β A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand β malformed or differently-typed content (e.g. `"amount": "5"` as a string) silently mis-parses instead of failing validation. This JavaScript/TypeScript code already uses a real parser in the same package; use it here too.
Hand-rolled JSON/XML parsing via regex application/common/ckeditor/ckeditor.js:1179β A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand β malformed or differently-typed content (e.g. `"amount": "5"` as a string) silently mis-parses instead of failing validation. This JavaScript/TypeScript code already uses a real parser in the same package; use it here too.
Fat interface: AccountService (21 abstract methods) src/main/java/com/jdon/jivejdon/api/account/AccountService.java:29β `AccountService` declares 21 abstract methods: `checkUser`, `createAccount`, `deleteAccount`, `deletePasswordassit`, `forgetPasswd`, `getAccount`, `getAccountByName`, `getAccountByNameLike`, `getAccounts`, `getLoginAccountByName`, `getPasswordassit`, `getUserpropertys`, `getloginAccount`, `initAccount`, `insertPasswordassit`, `saveUserpropertys`, `update`, `updateAccount`, `updateAccountAttachment`, `updateAccountEmailValidate`, `updatePasswordassit`. Counted over its ABSTRACT methods, once per signature; `default`, `static` and `private` methods and constants are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don't use (the Interface-Segregation 'I' in SOLID). Split it into focused role-interfaces.
Fat interface: ForumMessageQueryService (17 abstract methods) src/main/java/com/jdon/jivejdon/api/query/ForumMessageQueryService.java:11β `ForumMessageQueryService` declares 17 abstract methods under just 14 distinct name(s): `getDigThreads`, `getHotThreads`, `getMesageListByUser`, `getMessage`, `getMessages`, `getMessages`, `getRecursiveMessages`, `getThread`, `getThreadListByUser`, `getThreadModifiedDate`, `getThreadName`, `getThreads`, `getThreads`, `getThreads`, `getThreadsPrevNext`, `searchMessages`, `searchThreads`. Counted over its ABSTRACT methods, once per signature; `default`, `static` and `private` methods and constants are not counted, because no implementer is forced to write them. That is an OVERLOAD SET, not 17 separate responsibilities: a caller binds to 14 operation(s) and uses the overload it selected, so the Interface-Segregation harm does NOT apply on the caller's side and splitting this into role-interfaces would scatter one operation without relieving anything. The burden that does remain is the IMPLEMENTER's β all 17 signatures must be written and kept in step. Reduce it by collapsing overloads (optional or default parameters, or an options object) rather than by segregating the interface.
Fat interface: ShortMessageService (17 abstract methods) src/main/java/com/jdon/jivejdon/api/shortmessage/ShortMessageService.java:38β `ShortMessageService` declares 17 abstract methods: `checkReceiveShortMessages`, `deleInDraftMessage`, `deleteShortMessage`, `deleteUserAllShortMessage`, `deleteUserRecAllShortMessage`, `getFromShortMessage`, `getReceiveShortMessages`, `getSaveShortMessages`, `getSendShortMessages`, `getShortMessages`, `getToShortMessage`, `initShortMessage`, `saveInDraftMessage`, `saveShortMessage`, `sendInDraftMessage`, `sendShortMessage`, `updateShortMessage`. Counted over its ABSTRACT methods, once per signature; `default`, `static` and `private` methods and constants are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don't use (the Interface-Segregation 'I' in SOLID). Split it into focused role-interfaces.
Fat interface: MessageDao (18 abstract methods) src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/MessageDao.java:30β `MessageDao` declares 18 abstract methods: `createMessage`, `createMessageReply`, `createThread`, `delReBlog`, `deleteMessage`, `deleteThread`, `getAnemicMessage`, `getMessageVOCore`, `getReBlogByFrom`, `getReBlogByTo`, `getThreadCore`, `getThreadRootMessageId`, `saveReBlog`, `updateForum`, `updateMessage`, `updateMovingForum`, `updateThread`, `updateThreadName`. Counted over its ABSTRACT methods, once per signature; `default`, `static` and `private` methods and constants are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don't use (the Interface-Segregation 'I' in SOLID). Split it into focused role-interfaces.
Fat interface: MessageQueryDao (23 abstract methods) src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/MessageQueryDao.java:33β `MessageQueryDao` declares 23 abstract methods: `find`, `findThread`, `findThreadsAllCount`, `getDigThreadIDs`, `getForumLatestPostMessageId`, `getForumLatestThreadIds`, `getForumMessageCount`, `getHotThreadIDs`, `getLatestPostMessageId`, `getMesageListByUser`, `getMessageCount`, `getMessageCountOfUser`, `getMessages`, `getMessages`, `getThreadListByUser`, `getThreadModifiedDate`, `getThreadName`, `getThreads`, `getThreads`, `getThreads`, `getThreads`, `getThreadsPrevNext`, `getTreeModel`. Counted over its ABSTRACT methods, once per signature; `default`, `static` and `private` methods and constants are not counted, because no implementer is forced to write them. Those 23 declarations carry 19 distinct name(s), so part of the width is overloading rather than separate responsibilities β but 19 operations clears the >15 bar on its own, so the row is about responsibilities, not signatures. A wide interface forces every implementer and caller to depend on methods they don't use (the Interface-Segregation 'I' in SOLID). Split it into focused role-interfaces.
Fat interface: TagDao (17 abstract methods) src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/TagDao.java:25β `TagDao` declares 17 abstract methods under just 15 distinct name(s): `addThreadTag`, `checkThreadTagRelation`, `createTag`, `createThreadToken`, `delThreadTag`, `delThreadTag`, `delThreadToken`, `deleteTag`, `getTaggedThread`, `getTaggedThread`, `getThreadTag`, `getThreadTagByTitle`, `getThreadTagIDs`, `getThreadTags`, `getThreadToken`, `searchTitle`, `updateTag`. Counted over its ABSTRACT methods, once per signature; `default`, `static` and `private` methods and constants are not counted, because no implementer is forced to write them. That is an OVERLOAD SET, not 17 separate responsibilities: a caller binds to 15 operation(s) and uses the overload it selected, so the Interface-Segregation harm does NOT apply on the caller's side and splitting this into role-interfaces would scatter one operation without relieving anything. The burden that does remain is the IMPLEMENTER's β all 17 signatures must be written and kept in step. Reduce it by collapsing overloads (optional or default parameters, or an options object) rather than by segregating the interface.
Silent fallback default in catch src/main/java/com/jdon/jivejdon/domain/model/account/AccountState.java:130β `getSubscribedCount` swallows every exception into `return -1` β a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the Javadoc, and the row stops firing.
Silent fallback default in catch src/main/java/com/jdon/jivejdon/domain/model/account/AccountState.java:122β `getSubscriptionCount` swallows every exception into `return -1` β a data error becomes a silent behavior change with no trail. Log the failure or let it propagate. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the Javadoc, and the row stops firing.
No ADRs found β No ADRs found. No recognised ADR directory (`docs/adr/`, `docs/decisions/`, `adr/`, `docs/rfcs/`, an `ADR0001/` folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (`docs/adr/use-postgres.md`, `docs/adr/2024/0001-x.md`); or a file anywhere whose name is ADR-shaped (`0001-use-postgres.md`, `adr-012-caching.md`); or, when neither turned anything up, a document carrying the decision-record signature (an "Architecture Decision Record" heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these β unnumbered files outside any recognised directory, without those headings β is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in `docs/adr/`.
D28 Β· Secrets (history)Β· Rotate the exposed credentials Β· Γ1
No ADRs β No Architecture Decision Records found β no conventional ADR directory, no numbered `NNNN-title` documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer.
No tests/ separation β Tests aren't grouped in a dedicated test folder β the test surface isn't separable from production code at a glance.
P3 Β· Security & performance toolingΒ· No SAST Β· Γ1
No SAST β No static application security testing detected. For this repository's stack, add spotbugs with find-sec-bugs (or `semgrep --config=auto`, which runs on any language) β this repository has no CI pipeline yet, so run it locally to clear the existing findings, then make it a step of the first workflow you add so a regression fails the build. What was searched, so you can tell an absence from a miss: the 0 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge's web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen β if that is your case the row is wrong, and saying so is more useful than adding a second scanner.
Changelog looks stale/thin β The changelog this check read carries 0 versioned entries, against a bar of 3. Counted as either the distinct `x.y.z` versions it names (a link's target is not counted) or its version-shaped section headings (`## [1.2.0]`, `## V14.x.x`, `## Updates in 8.0.x`), whichever is the larger β so a log sectioned by minor series counts its sections, not its individual patch numbers. Entries recorded somewhere this check does not read β release notes generated at tag time from a generator config it did not recognise, or a log kept outside the repository β are not counted here, and this row is about what is re-findable in the tree rather than about how often you release.
X5 Β· Nullable reference typesΒ· Java packages are not null-marked everywhere Β· Γ1
Java packages are not null-marked everywhere β 0/114 of this repository's Java package directories are under a non-null default: a `package-info.java` declaring `@NullMarked` (JSpecify) or `@NonNullApi`, `@ParametersAreNonnullByDefault`, `@NonNullByDefault`, `@DefaultQualifier(NonNull.class)`; a `module-info.java` declaring `@NullMarked`; every type in it `@NullMarked`; or a build that runs NullAway with the package in `AnnotatedPackages`, or the Checker Framework's `NullnessChecker`. Elsewhere every reference admits null and no checker warns on the dereference that throws a `NullPointerException`.
Silent fallback default on parse failure src/main/java/com/jdon/jivejdon/domain/model/attachment/UploadFile.java:64β `getOid` returns `0` when `NumberFormatException` is thrown, with no log or throw β a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment in the catch or in the Javadoc, and the row stops firing.
Appendix B β Reproduction & audit trail
Every external tool invocation behind a deep-scan dimension β the tool, its captured version, the exact command, how many findings it yielded, and a link to the retained raw output. To reproduce any finding: check out the same commit and run the command shown (repo-relative β never an absolute scratch path). The complete raw scanner output is retained verbatim under artifacts/raw/ (indexed in artifacts/raw/index.json); per-invocation exit codes and wall-clock durations are in sidecar.json β kept out of this table so the rendered report stays byte-identical across runs of the same commit.
provenance: not applicable β No CI/build pipeline found (.github/.forgejo/.gitea workflows, .circleci, .buildkite, .woodpecker, .teamcity, .gitlab-ci.yml, .travis.yml, bitbucket-pipelines.yml, .drone.yml, .cirrus.yml, .woodpecker.yml, appveyor.yml, azure-pipelines*.yml, .pipelines/, .vsts-ci/, .azuredevops/, Jenkinsfile); there is no build to attest provenance for.
disclosure: not applicable β No vulnerability-disclosure policy file found (SECURITY.md/.markdown/.rst/.txt at root or under .github/.forgejo/.gitea/docs, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed.
runtime-hardening: not applicable β No Kubernetes/orchestration workloads found in the repository manifests; network egress policy is a cluster-native control that may live at the platform/firewall layer, so there is nothing to assess here.
runtime-hardening: not applicable β No Kubernetes/orchestration workloads found in the repository manifests; seccomp/AppArmor/SELinux confinement is a workload-level control, so there is nothing to assess here.
runtime-hardening: not applicable β No Kubernetes/orchestration workloads found in the repository manifests; runtime threat-detection and admission-control policy are cluster-level controls, so there is nothing to assess here.
Run 01a1c1c6-498e-7f76-8c9b-d38d9b2edf96 Β· every finding is also locatable in findings.md, and the complete scoring record (with exit codes + durations) in sidecar.json.
Issues: 115 Β· Warnings: 665 Β· Recommendations: 106 β Appendix A Β· all findings Β· full markdown report.
Generated by the Canine Code Analyzer: deterministic code-health analysis. 09-11-2026 @ 19:26 UTC.
Downloadable artifacts
Machine-readable and reproducible from this commit + frozen rubric β drop them straight into a contract appendix, a CRA dossier, or a downstream SCA / VEX tool.