Public report of sheng-jie/LearningMpaAbp, published 7 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 report Measured 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, 7 November 2026, 23:39 UTC · Survey ID cd_795f8581551d4e2c9c9c32730c68e01d

sheng-jie/LearningMpaAbp

Measured 7 November 2026, 23:38 UTC, at code version 2bf14b1

Code coverage is not measured: No coverage collector is wired up.

Test reliability is not measured: No test run produced results.

Boundary Type-Coupling is not measured: Bounded contexts not declared.

Supply-chain provenance & signing is not measured: Supply-chain provenance is not scored (this pipeline releases no artifact), but its build steps or GitHub Actions workflows have integrity defects, or nothing watches its dependency set for published advisories.

CAI score 21out of 100 At risk Down 1 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: 79,855 lines of product code in 8 projects, tests not counted · Estimated rebuild effort: about 0.5 person-years · Weakest lens: Security and Compliance, 15

Findings by how serious they are

65 critical 421 serious 128 minor

8 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

Assert small markCanine Code Analyzer
Producer
Canine Development
Analyzer
Canine Code Analyzer engine 1.0.0
Measured
7 November 2026, 23:38 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.
593of 614 findings point to an exact file and line, so you can open each one in the code. The other 21 concern the repository as a whole, such as missing documentation.
80dimensions across 7 lenses, read from 79,855 lines of product code in 8 projects.
Chapters

Executive summary

sheng-jie/LearningMpaAbp is rated At risk because critical security findings are open, most of them in the packages it uses. Its score is held back because we found no encryption of stored data, no key vault and no enforced HTTPS and no access checks on the code's endpoints or handlers. It scores 21 out of 100, which the At risk rating leaves unchanged.

Security and Compliance, at 15, is the weakest lens and counts most in the score. The best first step is replacing the two exposed passwords or keys and switching the old ones off, worth about 5 points. Encrypting the sensitive stored data and keeping its keys in a vault would lift Security and Compliance itself, worth about 4 points. Raising Security and Compliance to 70 would lift the score to about 27.

Ten known security holes in the packages the code depends on can be used by attackers. Two passwords or keys in the code and one in the code's history are open to anyone who can read the repository, and twenty-eight form fields can't be read by a screen reader. Updating the vulnerable packages, replacing each exposed password or key and labelling the form fields would close these risks. The place where the code runs text as code or as a command needs a direct call instead. The eight buttons or links with no name need a name, even when they only show an icon.

The product code is 79,855 lines, about €69,000 to rebuild.

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 for The 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.
Security and Compliance 15 · counts for 46%Production Readiness 16 · counts for 25%Accessibility 26 · counts for 14%Maturity 34 · counts for 8%Code Health 42 · counts for 4%Architecture 62 · counts for 2%Performance 100 · counts for 1%

If Security and Compliance rose from 15 to 70, the lowest score rated Strong, the score would rise from 21 to about 27.

Code composition: what the lines of code are
Business logic 12%Supporting code 67%Tests 10%Generated by tools 11%
New since the last survey: 38 findings

These 38 critical or serious findings weren't in the previous survey, on 21 October 2026.

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: 105 findings

These 105 critical or serious findings were in the previous survey, on 21 October 2026, and are gone from this one. The first 100 are listed here.

  • Code Coverage · Coverage not measured — no coverage collector is wired up
  • Static Analysis (SAST) · Medium: watchdog-regexp-from-parameter-ts LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js
  • Static Analysis (SAST) · Medium: watchdog-regexp-from-parameter-ts LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js
  • Static Analysis (SAST) · Medium: watchdog-regex-match-index-beyond-capture-groups-js LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js
  • Static Analysis (SAST) · Medium: watchdog-regex-match-index-beyond-capture-groups-js LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js
  • Static Analysis (SAST) · Medium: watchdog-regexp-from-parameter-ts LearningMpaAbp.Web/Scripts/moment-with-locales.js
  • Static Analysis (SAST) · Medium: watchdog-regexp-from-parameter-ts LearningMpaAbp.Web/Scripts/moment-with-locales.js
  • Code Duplication · Duplicated block (14 lines × 2 locations) LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js
  • Code Duplication · Duplicated block (13 lines × 2 locations) LearningMpaAbp.Web/Scripts/moment-with-locales.js
  • Code Duplication · Duplicated block (13 lines × 2 locations) LearningMpaAbp.Web/Scripts/moment-with-locales.js
  • Code Duplication · Duplicated block (12 lines × 2 locations) LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js
  • Code Duplication · Duplicated block (12 lines × 2 locations) LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js
  • Code Duplication · Duplicated block (12 lines × 3 locations) LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js
  • Code Duplication · Duplicated block (12 lines × 3 locations) LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js
  • Code Duplication · Duplicated block (12 lines × 2 locations) LearningMpaAbp.Web/Scripts/moment-with-locales.js
  • Code Duplication · Duplicated block (12 lines × 2 locations) LearningMpaAbp.Web/Scripts/select2.js
  • Code Duplication · Duplicated block (11 lines × 2 locations) LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js
  • Code Duplication · Duplicated block (11 lines × 2 locations) LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js
  • Code Duplication · Duplicated block (11 lines × 2 locations) LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js
  • Code Duplication · Duplicated block (11 lines × 2 locations) LearningMpaAbp.Web/Scripts/moment-with-locales.js
  • Code Duplication · Duplicated block (11 lines × 7 locations) LearningMpaAbp.Web/Scripts/moment-with-locales.js
  • Code Duplication · Duplicated block (11 lines × 2 locations) LearningMpaAbp.Web/Scripts/select2.js
  • Code Duplication · Duplicated block (11 lines × 2 locations) REDACTED
  • Code Duplication · Duplicated block (10 lines × 2 locations) LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js
  • Code Duplication · Duplicated block (10 lines × 2 locations) LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js
  • Code Duplication · Duplicated block (10 lines × 3 locations) LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js
  • Code Duplication · Duplicated block (10 lines × 2 locations) LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js
  • Code Duplication · Duplicated block (10 lines × 3 locations) LearningMpaAbp.Web/Scripts/moment-with-locales.js
  • Code Duplication · Duplicated block (10 lines × 3 locations) LearningMpaAbp.Web/Scripts/select2.js
  • Code Duplication · Duplicated block (10 lines × 2 locations) LearningMpaAbp.Web/Views/BackendTasks/list.js
  • Code Duplication · Duplicated block (9 lines × 2 locations) LearningMpaAbp.Web/Abp/Framework/scripts/abp.js
  • Code Duplication · Duplicated block (9 lines × 2 locations) LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js
  • Code Duplication · Duplicated block (9 lines × 3 locations) LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js
  • Code Duplication · Duplicated block (9 lines × 2 locations) LearningMpaAbp.Web/Scripts/moment-with-locales.js
  • Code Duplication · Duplicated block (9 lines × 2 locations) LearningMpaAbp.Web/Scripts/moment-with-locales.js
  • Code Duplication · Duplicated block (9 lines × 2 locations) LearningMpaAbp.Web/Scripts/moment-with-locales.js
  • Code Duplication · Duplicated block (9 lines × 2 locations) LearningMpaAbp.Web/Scripts/moment-with-locales.js
  • Code Duplication · Duplicated block (9 lines × 2 locations) LearningMpaAbp.Web/Scripts/select2.js
  • Code Duplication · Duplicated block (9 lines × 2 locations) LearningMpaAbp.Web/Views/BackendTasks/list.js
  • Code Duplication · Duplicated block (8 lines × 2 locations) LearningMpaAbp.Web/Abp/Framework/scripts/abp.js
  • Code Duplication · Duplicated block (8 lines × 2 locations) LearningMpaAbp.Web/Abp/Framework/scripts/abp.js
  • Code Duplication · Duplicated block (8 lines × 2 locations) LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js
  • Code Duplication · Duplicated block (8 lines × 2 locations) LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js
  • Code Duplication · Duplicated block (8 lines × 2 locations) LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js
  • Code Duplication · Duplicated block (8 lines × 2 locations) LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js
  • Code Duplication · Duplicated block (8 lines × 2 locations) LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js
  • Code Duplication · Duplicated block (8 lines × 2 locations) LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js
  • Code Duplication · Duplicated block (8 lines × 2 locations) LearningMpaAbp.Web/Scripts/moment-with-locales.js
  • Code Duplication · Duplicated block (7 lines × 2 locations) LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js
  • Code Duplication · Duplicated block (7 lines × 2 locations) LearningMpaAbp.Web/Scripts/moment-with-locales.js
  • Code Duplication · Duplicated block (6 lines × 2 locations) LearningMpaAbp.Web/Abp/Framework/scripts/libs/abp.toastr.js
  • Code Duplication · Duplicated block (6 lines × 2 locations) LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js
  • Code Duplication · Duplicated block (6 lines × 2 locations) LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js
  • Code Duplication · Duplicated block (6 lines × 2 locations) LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js
  • Code Duplication · Duplicated block (6 lines × 2 locations) LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js
  • Code Duplication · Duplicated block (6 lines × 2 locations) LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js
  • Code Duplication · Duplicated block (5 lines × 2 locations) LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js
  • Code Duplication · Duplicated block (5 lines × 2 locations) LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js
  • Access Controls · No authorization REDACTED
  • Access Controls · No authorization REDACTED
  • Visual & motion safety · Low contrast colour pair in CSS (2.1:1) LearningMpaAbp.Web/Content/bootstrap.css
  • Visual & motion safety · Low contrast colour pair in CSS (2.9:1) LearningMpaAbp.Web/Content/css/select2.css
  • Visual & motion safety · Focus outline removed in CSS without a :focus replacement LearningMpaAbp.Weixin/Content/bootstrap.css
  • Visual & motion safety · Focus outline removed in CSS without a :focus replacement LearningMpaAbp.Weixin/Content/bootstrap.css
  • Visual & motion safety · Focus outline removed in CSS without a :focus replacement LearningMpaAbp.Weixin/Content/bootstrap.css
  • Visual & motion safety · Focus outline removed in CSS without a :focus replacement LearningMpaAbp.Weixin/Content/bootstrap.css
  • Visual & motion safety · Focus outline removed in CSS without a :focus replacement LearningMpaAbp.Weixin/Content/bootstrap.css
  • Visual & motion safety · Focus outline removed in CSS without a :focus replacement LearningMpaAbp.Weixin/Content/bootstrap.css
  • Visual & motion safety · Focus outline removed in CSS without a :focus replacement LearningMpaAbp.Weixin/Content/bootstrap.css
  • Visual & motion safety · Focus outline removed in CSS without a :focus replacement LearningMpaAbp.Web/Content/bootstrap.css
  • Visual & motion safety · Focus outline removed in CSS without a :focus replacement LearningMpaAbp.Web/Content/bootstrap.css
  • Visual & motion safety · Focus outline removed in CSS without a :focus replacement LearningMpaAbp.Web/Content/bootstrap.css
  • Visual & motion safety · Focus outline removed in CSS without a :focus replacement LearningMpaAbp.Web/Content/bootstrap.css
  • Visual & motion safety · Focus outline removed in CSS without a :focus replacement LearningMpaAbp.Web/Content/bootstrap.css
  • Visual & motion safety · Focus outline removed in CSS without a :focus replacement LearningMpaAbp.Web/Content/bootstrap.css
  • Visual & motion safety · Focus outline removed in CSS without a :focus replacement LearningMpaAbp.Web/Content/bootstrap.css
  • Visual & motion safety · Focus outline removed in CSS without a :focus replacement LearningMpaAbp.Web/Content/bootstrap.css
  • Visual & motion safety · Focus outline removed in CSS without a :focus replacement LearningMpaAbp.Web/Content/themes/base/core.css
  • Visual & motion safety · Focus outline removed in CSS without a :focus replacement LearningMpaAbp.Web/Content/themes/base/dialog.css
  • Visual & motion safety · Focus outline removed in CSS without a :focus replacement LearningMpaAbp.Web/Content/themes/base/menu.css
  • Visual & motion safety · Focus outline removed in CSS without a :focus replacement LearningMpaAbp.Web/Content/css/select2.css
  • Visual & motion safety · Focus outline removed in CSS without a :focus replacement LearningMpaAbp.Web/Content/css/select2.css
  • Visual & motion safety · Focus outline removed in CSS without a :focus replacement LearningMpaAbp.Web/Content/css/select2.css
  • Visual & motion safety · Focus outline removed in CSS without a :focus replacement LearningMpaAbp.Web/Content/css/select2.css
  • Visual & motion safety · Animation without a prefers-reduced-motion guard LearningMpaAbp.Weixin/Content/bootstrap.css
  • Visual & motion safety · Animation without a prefers-reduced-motion guard LearningMpaAbp.Weixin/Content/bootstrap.css
  • Visual & motion safety · Animation without a prefers-reduced-motion guard LearningMpaAbp.Weixin/Content/bootstrap.css
  • Visual & motion safety · Animation without a prefers-reduced-motion guard LearningMpaAbp.Weixin/Content/bootstrap.css
  • Visual & motion safety · Animation without a prefers-reduced-motion guard LearningMpaAbp.Weixin/Content/bootstrap.css
  • Visual & motion safety · Animation without a prefers-reduced-motion guard LearningMpaAbp.Web/Scripts/sweetalert/sweet-alert.css
  • Visual & motion safety · Animation without a prefers-reduced-motion guard LearningMpaAbp.Web/Scripts/sweetalert/sweet-alert.css
  • Visual & motion safety · Animation without a prefers-reduced-motion guard LearningMpaAbp.Web/Scripts/sweetalert/sweet-alert.css
  • Visual & motion safety · Animation without a prefers-reduced-motion guard LearningMpaAbp.Web/Scripts/sweetalert/sweet-alert.css
  • Visual & motion safety · Animation without a prefers-reduced-motion guard LearningMpaAbp.Web/Scripts/sweetalert/sweet-alert.css
  • Visual & motion safety · Animation without a prefers-reduced-motion guard LearningMpaAbp.Web/Scripts/sweetalert/sweet-alert.css
  • Visual & motion safety · Animation without a prefers-reduced-motion guard LearningMpaAbp.Web/Scripts/sweetalert/sweet-alert.css
  • Visual & motion safety · Animation without a prefers-reduced-motion guard LearningMpaAbp.Web/Content/bootstrap.css
  • Visual & motion safety · Animation without a prefers-reduced-motion guard LearningMpaAbp.Web/Content/bootstrap.css
  • Visual & motion safety · Animation without a prefers-reduced-motion guard LearningMpaAbp.Web/Content/bootstrap.css
  • Visual & motion safety · Animation without a prefers-reduced-motion guard LearningMpaAbp.Web/Content/bootstrap.css
Rebuild cost: about €69,000 · Estimate
Cost to rebuild€23,000 to €110,000, for 381 to 1,207 hours of work, about 0.5 person-years for one engineer
Difficulty of the problemStandard, 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 21. 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.
SizeMedium: 79,855 lines of product code
What it is notNot 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.

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 Leaked secret finding(s) in Secret Scanning — start with REDACTED, REDACTED.
Raises the score by about 5 points · Low effort · Secret Scanning
2
Resolve the 2 Banned license finding(s) in License Compliance.
Raises the score by about 5 points · Low effort · License Compliance
3
Resolve the 9 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED (3), REDACTED (3), REDACTED (3).
Raises the score by about 2 points · Low effort · Static Analysis (SAST)

Diagnosis: what the measurements show together

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 €69,000 to build again, about 0.5 person-years of work. Its weakest lens is Security and Compliance, at 15 (Critical). Security and Compliance is about how well the product is protected, and how it handles personal data. Because the weakest lens counts most in the score, work on Security and Compliance also moves the score most.
Based on: the rebuild estimate · the Security and Compliance grade · how much each lens counts
What to do: Start with the Security and Compliance actions in Top priorities.
If you do one thing first · First action
Resolve the 2 Leaked secret finding(s) in Secret Scanning. Of all the actions in this report, it raises the score most for the work it takes: about 5 points for low effort, because it clears the 2 Secret Scanning 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.2 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.
How this is estimated: It rests on an assumption 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. The result is a range for planning, not a measurement.
Based on: Cyclomatic Complexity · Cognitive Complexity · Code Duplication · Cohesion (LCOM4)
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 — module dependency graph

Project dependencies, layered top-to-bottom; arrows show direction. Any dashed red edge points upward or sideways, which only happens where the projects form a dependency cycle. A graph without cycles has none.

arch LearningMpaAbp.Application Application LearningMpaAbp.Core Core LearningMpaAbp.Application->LearningMpaAbp.Core LearningMpaAbp.EntityFramework EntityFramework LearningMpaAbp.EntityFramework->LearningMpaAbp.Core LearningMpaAbp.Migrator Migrator LearningMpaAbp.Migrator->LearningMpaAbp.Core LearningMpaAbp.Migrator->LearningMpaAbp.EntityFramework LearningMpaAbp.Web Web LearningMpaAbp.Web->LearningMpaAbp.Application LearningMpaAbp.Web->LearningMpaAbp.Core LearningMpaAbp.Web->LearningMpaAbp.EntityFramework LearningMpaAbp.WebApi WebApi LearningMpaAbp.Web->LearningMpaAbp.WebApi LearningMpaAbp.WebApi->LearningMpaAbp.Application LearningMpaAbp.WebApi->LearningMpaAbp.Core LearningMpaAbp.Weixin Weixin

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.

54 modules, with 55 dependencies between them. 2 loops run through 5 of the modules, marked above the diagonal.

The table shows the 40 modules with the most connections; 14 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.
uses →1 Api2 Api.Models3 App4 Authorization.Roles5 Dto6 Editions7 Extensions8 MultiTenancy.Dto9 Roles.Dto10 Sessions.Dto11 Users.Dto12 Web13 Web.Controllers.Results14 Web.Models.Account15 Web.Views16 Weixin17 Weixin.Controllers18 MultiTenancy19 Tasks.Dtos20 Users21 Web.Models.Layout22 LearningMpaAbp23 Authorization24 Features25 Jobs26 Migrator27 Workers28 Api.Controllers29 Api.Providers30 Roles31 Sessions32 Tasks33 EntityFramework34 IRepositories35 Notifications36 Web.Models.Tasks37 EntityFramework.Repositories38 Migrations39 Migrations.SeedData40 Web.Controllers
1 Api
2 Api.Models
3 App
4 Authorization.Roles
5 Dto
6 Editions
7 Extensions
8 MultiTenancy.Dto
9 Roles.Dto
10 Sessions.Dto
11 Users.Dto
12 Web
13 Web.Controllers.Results
14 Web.Models.Account
15 Web.Views
16 Weixin
17 Weixin.Controllers
18 MultiTenancy1241
19 Tasks.Dtos15
20 Users261
21 Web.Models.Layout1
22 LearningMpaAbp22
23 Authorization111
24 Features1
25 Jobs1
26 Migrator1
27 Workers1
28 Api.Controllers1111
29 Api.Providers111
30 Roles121
31 Sessions21
32 Tasks1352
33 EntityFramework1
34 IRepositories1
35 Notifications11
36 Web.Models.Tasks31
37 EntityFramework.Repositories121
38 Migrations1
39 Migrations.SeedData18
40 Web.Controllers123551131
Uses a module listed above itPart of a loopThe module itself
1 Api2 Api.Models3 App4 Authorization.Roles5 Dto6 Editions7 Extensions8 MultiTenancy.Dto9 Roles.Dto10 Sessions.Dto11 Users.Dto12 Web13 Web.Controllers.Results14 Web.Models.Account15 Web.Views16 Weixin17 Weixin.Controllers18 MultiTenancy19 Tasks.Dtos20 Users21 Web.Models.Layout22 LearningMpaAbp23 Authorization24 Features25 Jobs26 Migrator27 Workers28 Api.Controllers29 Api.Providers30 Roles31 Sessions32 Tasks33 EntityFramework34 IRepositories35 Notifications36 Web.Models.Tasks37 EntityFramework.Repositories38 Migrations39 Migrations.SeedData40 Web.ControllersApi1Api.Models2App3Authorization.Roles4Dto5Editions6Extensions7MultiTenancy.Dto8Roles.Dto9Sessions.Dto10Users.Dto11Web12Web.Controllers.Results13Web.Models.Account14Web.Views15Weixin16Weixin.Controllers17MultiTenancy18Tasks.Dtos19Users20Web.Models.Layout21LearningMpaAbp22Authorization23Features24Jobs25Migrator26Workers27Api.Controllers28Api.Providers29Roles30Sessions31Tasks32EntityFramework33IRepositories34Notifications35Web.Models.Tasks36EntityFramework.Repositories37Migrations38Migrations.SeedData39Web.Controllers4012411526112211111111111111121211352111131121118123551131+14 more modules (most-connected shown)

At a glance — Code Health · 42% · Weak · gated by D2, R1, R2 ·

At a glance — Architecture · 62% · Adequate · gated by AX2 ·

At a glance — Maturity · 34% · Weak · gated by D34, M2 ·

At a glance — Readiness · 16% · Critical · gated by D13, D14, R4, P2, P3, P7 ·

At a glance — Security · 15% · Critical · gated by D29, C1, C2, S1 ·

At a glance — Accessibility · 26% · Weak · gated by AC1, AC4, AC6 ·

At a glance — Performance · 100% · Exemplary ·

Security & Compliance — OWASP Top-10 mapping

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 categoryFindingsSeverity
A05:2025 — Injection19High / Critical
A03:2025 — Software Supply Chain Failures17High / Critical
A07:2025 — Authentication Failures4High / Critical

Roadmap

Top priorities: Resolve the 2 Leaked secret finding(s) in Secret Scanning — start with REDACTED, REDACTED; Resolve the 2 Banned license finding(s) in License Compliance; Encrypt sensitive data at rest (ASP.NET Core Data Protection / column encryption) and manage keys in a vault. Skip if delegated to infra (Postgres TDE, KMS, etc.).

Ranked by impact ÷ effort. "Helps" is the estimated gain on the 0–100 health score.

Do thisHelpsEffortDimension
Resolve the 2 Leaked secret finding(s) in Secret Scanning — start with REDACTED, REDACTED.+5.2 ptsLowSecret Scanning
Resolve the 2 Banned license finding(s) in License Compliance.+4.8 ptsLowLicense Compliance
Resolve the 9 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED (3), REDACTED (3), REDACTED (3).+2.5 ptsLowStatic Analysis (SAST)
Encrypt sensitive data at rest (ASP.NET Core Data Protection / column encryption) and manage keys in a vault. Skip if delegated to infra (Postgres TDE, KMS, etc.).+4.2 ptsMediumData Protection
Protect endpoints by default-deny: [Authorize] + role/policy authorization, or imperative guard methods (throw-on-violation) called from every handler.+4.2 ptsMediumAccess Controls
Resolve the 1 No ADRs found finding(s) in ADR Quality.+2.0 ptsLowADR Quality
Resolve the 9 High CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (9).+1.8 ptsLowDependency Vulnerabilities
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.+3.3 ptsMediumWeb-Security Posture

File quality

Per-file score 0–10 — a quality signature. Of 52 files carrying findings, judged against the Production bar: 6% slop · 50% mixed · 44% near-clean.

FileScoreBandWorst signal
REDACTED0.8SlopDependency Vulnerabilities: Critical CVE: REDACTED
REDACTED2.0SlopDependency Vulnerabilities: High CVE: REDACTED
REDACTED2.9SlopSecret Scanning: Leaked secret: REDACTED
REDACTED4.0MixedStatic Analysis (SAST): Medium: REDACTED
REDACTED4.1MixedStatic Analysis (SAST): Medium: REDACTED
REDACTED4.2MixedStatic Analysis (SAST): Medium: REDACTED
LearningMpaAbp.Application/Tasks/TaskAppService.cs4.6MixedExplicit Debt: WriteOnlyPrivateField
REDACTED4.9MixedStatic Analysis (SAST): Medium: REDACTED
REDACTED5.0MixedStatic Analysis (SAST): High: REDACTED
LearningMpaAbp.Core/Tasks/TaskAssignedToUser.cs5.8MixedExplicit Debt: WriteOnlyPrivateField
REDACTED6.3MixedStatic Analysis (SAST): Medium: REDACTED
REDACTED6.3MixedStatic Analysis (SAST): Medium: REDACTED
REDACTED6.4MixedStatic Analysis (SAST): Medium: REDACTED
REDACTED6.4MixedStatic Analysis (SAST): Medium: REDACTED
LearningMpaAbp.Core/Tasks/TaskManager.cs6.4MixedExplicit Debt: WriteOnlyPrivateField
LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js6.7MixedCyclomatic Complexity: jquery-ui-1.11.4.$.fn.position (cyclomatic 34)
REDACTED6.9MixedDependency Vulnerabilities: Medium CVE: REDACTED
LearningMpaAbp.Web/Scripts/moment-with-locales.js7.0MixedCyclomatic Complexity: moment-with-locales.sl__processRelativeTime (cyclomatic 72)
LearningMpaAbp.Weixin/Scripts/jquery-1.10.2.js7.0MixedCyclomatic Complexity: jquery-1.10.2.Sizzle (cyclomatic 39)
LearningMpaAbp.Web/Scripts/jquery-2.2.0.js7.0MixedCyclomatic Complexity: jquery-2.2.0.defaultPrefilter (cyclomatic 38)

How the grades work

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 — 65

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 — 421

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 — 128

Recorded, with no effect on how the codebase functions. Present so the survey is complete, not because it needs doing.

Could not be resolved — 8

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
D1D2D3D4D5D6D9D10D13D14D15D17D18D20D24D26D28D29D30D34D35D43AC1AC2AC3AC4AC5AC6AC7AX10AX2AX3AX4AX5AX6C1C2GD1IC1M1M2M3P1P2P3P4P6P7PF3R1R10R2R3R4R7R9S1X1X12X13X14X15X16X17X18X19X2X20X21X22X23X24X25X26X27X28X29X3X30X32

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
  1. 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, 593 of 614 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.)
  2. Is there a tool behind the number? Every score below names the method that produced it: Roslyn, git or a scanner, not a narrative.
  3. 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.

MethodBacksVersionEvaluator
Roslyn static analysisComplexity, cohesion, coupling, dead code, API surface, layering5.3.0✓ deterministic
Native secret scannerHardcoded secrets / credentials1.0.0✓ deterministic
Canine Code Analyzer duplication detector (in-process)Code duplication1.0.0✓ deterministic
Coverage (coverlet / dotnet-coverage)Line & branch coverage10.0.400✓ deterministic
NuGet / dotnetOutdated, vulnerable & deprecated dependencies10.0.400✓ deterministic
git / LibGit2SharpChurn hotspots, knowledge concentration, history2.43.0 · 0.31.0✓ deterministic
gitleaks · semgrep · trivySecrets in history, SAST, CVEs, IaC & container, PII / GDPR1.86.0 · 0.69.3✓ deterministic

Every finding is locatable in findings.md. Run 01a1b860-e383-79af-bd41-5bc437afb581.

The exact command behind every deep-scan dimension — tool, version, invocation and retained raw output — is in Appendix B — Reproduction & audit trail.

Run transparency — what happened this run

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 — 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. Coverage NOT MEASURED: `--collect:"XPlat Code Coverage"` names a data collector that ships in the `coverlet.collector` package, and this repository wires up none — no test project references it and no runsettings declares one. The absence of coverage here is therefore not evidence about the suite or about our analyzer environment: without a collector, `--collect` produces nothing even from a suite that builds and passes. Add a `coverlet.collector` PackageReference to the test project(s) (or commit the Cobertura/OpenCover/lcov report your CI produces) and real coverage will be measured. It is excluded from the score rather than counted as a near-zero defect. You can widen what we reach: add the `coverlet.collector` package to the test projects to enable coverage (or commit the Cobertura/OpenCover/lcov report your CI produces).
  • D11 Test Reliability — 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. Test reliability NOT MEASURED: the test run produced no results for any test tier, so no test ever ran and flakiness could not be exercised. The cause could not be attributed, so it is excluded from the score rather than read as an absence of tests.
  • 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. `dotnet list package` did not return usable output (restore or query failed); no outdated/vulnerable/deprecated data to assess. The tool said: error: The imported project "/usr/share/dotnet/sdk/10.0.400/Microsoft/VisualStudio/v18.0/WebApplications/Microsoft.WebApplication.targets" was not found. Confirm that the expression in the Import declaration "$(VSToolsPath)/WebApplications/Microsoft.WebApplication.targets", which evaluated to "/usr/….
  • 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-contributor repository — bus factor is not applicable (1 contributor(s) across 106 commit(s) sampled, automation and bot accounts excluded). Concentration needs a team to concentrate: with one contributor there is nobody to spread the knowledge to, so there is nothing here for the owner to act on.
  • D17 Explicit Debt — 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. The C# workspace loaded this repository's projects but reported a load failure, and the dead-code reference search is unreliable over a graph that did not load cleanly, so it was skipped. The other debt markers on this row were read; dead symbols were not, and their absence from the score is not a finding that the code has none. First load diagnostic: Failure: Msbuild failed when processing the file 'LearningMpaAbp.Core/LearningMpaAbp.Core.csproj' with message: This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is ..\packages\Micros….
  • D17 Explicit Debt — 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. The 17 deducted marker(s) and the 1.1/KLoC density on this row were taken over this repository's .NET projects ALONE: .js (74,930 lines, 94% of production source) went unread, because every marker collector on this path is reached through a C# workspace. D17's marker collectors need a compiler we do not have for that language, so none of its nine marker kinds were read there. The debt in that source is UNMEASURED — its absence from the score above is a gap in this analyzer's language coverage, not a finding that the code carries none.
  • D18 Solution Shape — 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. `dotnet build` reported 8 error(s), and the diagnostics it printed were: MSB3073: The command "mono --runtime=v4.0.30319 ".nuget/NuGet.exe" install "LearningMpaAbp.Core/packages.config" -source "" -RequireConsent -solutionDir """ exited with code 127.; MSB3073: The command "mono --runtime=v4.0.30319 ".nuget/NuGet.exe" install "REDACTED" -source "" -RequireConsent -solutionDir """ exited with code 127.; MSB3073: The command "mono --runtime=v4.0.30319 ".nuget/NuGet.exe" install "LearningMpaAbp.EntityFramework/packages.config" -source "" -RequireConsent -solutionDir """ exited with code 127.; MSB3073: The command "mono --runtime=v4.0.30319 ".nuget/NuGet.exe" install "REDACTED" -source "" -RequireConsent -solutionDir """ exited with code 127.; MSB4019: The imported project "/usr/share/dotnet/sdk/10.0.400/Microsoft/VisualStudio/v18.0/WebApplications/Microsoft.WebApplication.targets" was not found. Confirm that the expression in the Import declaration "$(VSToolsPath)/WebApplications/Microsoft.WebApplication.targets", which evaluated to "/usr/share/dotnet/sdk/10.0.400/Microsoft/VisualStudio/v18.0/WebApplications/Microsoft.WebApplication.targets", is correct, and that the file exists on disk.. None of them is a .NET compiler diagnostic, which is the only signal this check reads as "the code does not compile", so the failure is recorded as a build-environment gap rather than a code defect. The usual causes are a project that targets a platform this run cannot build (a Windows-only target framework on a Linux worker) or a build step that shells out to a tool the image does not carry. Solution Shape is scored on structure and is NOT capped. Semantic analysis is independent of this build and covers every project that loaded — but a project whose restore did not complete has no resolved references, so treat its results as absent rather than clean. ★ The reach of that test, stated so this classification can be checked rather than taken on trust: it reads the C# (CS), Visual Basic (BC) and F# (FS) compiler series, and treats SDK, NuGet-restore and MSBuild codes (NETSDK, NU, MSB) as evidence that the build did not run rather than that the code is broken — read the diagnostics named above and judge for yourself. You can widen what we reach: if this build is meant to run off its own platform, without host tooling we do not carry, the diagnostics named above are what stopped it. If it is deliberately platform-bound — a Windows-only desktop product, say — there is nothing to do here: the note records our reach, not a defect in your build.
  • D19 Documentation Quality — 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 kind did not reach the 95 % precision gate in three adjudicated runs (docs/plans/deterministic-engine/adjudication/D19-sample3-v3.md), so by the pre-registered fallback it publishes no row until a re-measurement shows it does. The candidates are counted here, not reported as findings, and the score does not include them.
  • 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 — 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. The loaded project set declares no packable project and no `.Contracts` project, so there is no intentionally-exposed surface for API consistency to be judged over.
  • D23 Boundary Type-Coupling — 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. Large codebase (79,957 production LoC in the .NET projects) with no declared bounded contexts — cross-boundary type coupling is unassessed Bounded contexts cannot be inferred from a codebase that is not physically organised by them (D-321), so with none declared there are no boundaries for the coupling pass to measure across. You can widen what we reach: name this codebase's bounded contexts (≥2 module groups, e.g. per subsystem) so cross-boundary type coupling can 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"]`.
  • D28 Secrets (history) — 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. D28's config-credential rule (WD-SECRET-0002) parses each committed `.json` config as a document and reads credential-named values; `LearningMpaAbp.Web/js/Area.json` did not parse (JSON5, a template, several concatenated documents), so a credential bound there is UNMEASURED by that rule. gitleaks still scanned the same files as text.
  • D30 Dependency Vulnerabilities — measured, with a gap in what it reached — 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. The solution did not restore on the analyzer's .NET SDK (an SDK/target-framework/restore mismatch, common for an older codebase), so there was no restored dependency graph to scan. 1 of 2 declared ecosystem(s) (nuget REDACTED) WERE scanned and every vulnerability they reported is included in this result; nuget was not, so this dimension's score covers less than the dependency surface this repository declares, and nothing here is evidence that nuget is free of known-vulnerable dependencies.
  • D39 IL Efficiency — 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. IL NOT MEASURED: the analyzer's own build of this repository failed for an ENVIRONMENT reason (exit 1) — MSBuild's engine or the CLR gave up, or our image does not carry the SDK band/targeting pack this repository needs. This is OUR limitation, not a defect in the repo, and it is not a statement that this repository fails to build. D18 owns the question of whether this repository builds; it was not answered here.
  • D44 Platform End-of-Life — 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 dimension reads a project's own statement about the platform it runs on: a TargetFramework in a .NET project file, a .nvmrc or .python-version, a capped requires-python, a Rust toolchain file or Cargo.toml rust-version, a .go-version, .java-version, .ruby-version, .tool-versions or .sdkmanrc, a go.mod go directive, a Maven or Gradle Java level or toolchain, a Gemfile's ruby directive, a mix.exs elixir requirement, a rebar.config minimum_otp_vsn, a pubspec.yaml SDK constraint, a build.sbt scalaVersion, or a framework major pinned by a dependency constraint. This repository carries none of them, so nothing about its platform was established. That is a gap in this analyzer's coverage, NOT a finding that the platform is supported — a language whose runtime is declared elsewhere (Package.swift, a Dockerfile) is simply not read here yet.
  • 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. 46 further occurrence(s) are not listed individually; the score already reflects all 86.
  • AXB1 Runtime evidence locked — no reproducible boot — 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. Subject: 37 markup document(s) — HTML, Razor, JSX, Vue, Svelte or server templates. The Runtime Evidence tier boots an app only via docker-compose, an Aspire AppHost, a Dockerfile, an npm dev script, a web service's own toolchain entry point (cargo, go, dotnet, Python, Spring Boot), or an Android app's own Gradle wrapper (run on an emulator); an Apple or Flutter app needs a host it lacks. None applied, so no live runtime a11y/egress/header evidence was collected. You can widen what we reach: add a docker-compose.yml (or an Aspire AppHost) that brings the app up with its dependencies. We then boot it in an isolated sandbox and gathers real runtime evidence — you change nothing in your pipeline (no CI step, no SDK).
  • C2 Access Controls — 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.
  • IC1 Incompleteness & stubs — 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. 6 further occurrence(s) are not listed individually; the score already reflects all 46.
  • R10 Code Duplication — 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. 51 further occurrence(s) are not listed individually; the score already reflects all 91.

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.
  • D5 Coupling: Coupling is measured between projects/assemblies — runtime coupling through DI, reflection, messaging or shared databases is invisible to a static reference graph.
  • D6 Cohesion (LCOM4): LCOM4 cohesion is syntactic — it infers connectivity from which methods touch which fields/methods by name, not from real runtime behaviour or intent.
  • D9 Test Distribution: The test-pyramid shape is inferred from project/folder naming and references, with a single test host bucketed per-file by its path tier and content signals — a suite that names tiers unconventionally and gives no per-file signal can still be mis-bucketed.
  • D10 Test Quality: Assertion density is structural — it cannot tell a meaningful behavioural assertion from a trivial one, only that an assertion is present.
  • D13 Secret Scanning: Secret detection is signature- and entropy-based on the current tree — a secret that does not match a known pattern, or one already rotated, will not be flagged (a clean scan is "nothing matched", not "no secrets exist").
  • D14 License Compliance: License compatibility is checked against declared package metadata and a policy — mislabelled or missing license metadata, and obligations that depend on how you distribute, are not resolved here.
  • D15 Churn × Complexity Hotspots: Churn hotspots come from git history — a freshly imported or squashed repository has no churn signal, and recent rewrites can mask a historically risky file.
  • 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.
  • D18 Solution Shape: Build integrity reflects whether the solution compiled in this environment — a build that needs a private feed, a specific SDK, or a generated file absent from the repo can read as broken when it is merely unreproducible here.
  • 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.
  • D26 Project Cohesion: Project focus is sized from members/namespaces per project — a project that is broad by deliberate design reads the same as one that has sprawled.
  • D28 Secrets (history): Secret-history scanning sweeps the git log for known patterns — a secret that predates the available history, or never matched a signature, is not found (clean means "nothing matched in the history we can see").
  • D29 Static Analysis (SAST): SAST findings are pattern-based (semgrep) — it finds classes of bug it has rules for; logic flaws, auth/authorization gaps and issues needing runtime context are out of reach (and clean means "no rule matched").
  • D30 Dependency Vulnerabilities: CVE matching depends on accurate package/version metadata and on the advisory databases — a vulnerability with no published advisory, or in code not declared as a dependency, is not seen. Coverage needs a RESOLVED graph: an unpinned requirements.txt, or a pom without a resolved build, yields partial coverage rather than a clean verdict. An ecosystem the analyzer cannot scan is reported as unmeasured, never as clean.
  • D34 Knowledge Freshness: Freshness is decayed commit RECENCY, not comprehension — code read often but rarely committed reads as orphaned, and stable code that genuinely needs no changes is penalised the same as forgotten code; bot/squash commits distort it like the bus factor.
  • D35 Change Coupling: Change coupling is co-change in COMMITS — files split across separate commits, or coupled only through a shared config/build step, read as uncoupled, and a sweeping commit (rename/format) is excluded so it doesn't couple everything. It shows that files change together, not WHY: a high coupling can be a healthy cohesive pair as readily as a hidden leak.
  • D43 Malicious Dependencies: Only packages some vulnerability database has already NAMED as malicious are seen — a compromise published in the last hours, or never reported at all, is invisible here, and this dimension reading 10 is not evidence that a dependency is trustworthy. There is no typosquat or dependency-confusion analysis: a package nobody has reported is simply absent from the feeds. Coverage is the dependency scan's: an ecosystem that could not be scanned is disclosed as unmeasured, never as clean.
  • 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.
  • 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.

Dimensions

D1 · Cyclomatic Complexity5.2 / 10Adequate✓ Tool-verified

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.

Maturity: Documented → Verified → Prevented · effective 5.2 / 10 · rule-coverage 100% · ceiling Prevented

60 method(s) exceeded the cyclomatic complexity threshold of 15; the worst was jquery.blockUI.setup::install at 73. A further 2 method(s) were over the threshold but excluded as flat dispatchers (a long switch/match over independent cases: many branches, almost no nesting), the largest being moment-with-locales.relativeTimeMr at 24 — they are counted neither in the figure above nor in this dimension's score.

sweet-alert.modalDependant::onButtonEvent (cyclomatic 24) · ×2REDACTED:323
bootstrap.Tooltip.show (cyclomatic 22) · ×2LearningMpaAbp.Web/Scripts/bootstrap.js:1421
jquery.blockUI.setup::install (cyclomatic 73)LearningMpaAbp.Web/Scripts/jquery.blockUI.js:250
moment-with-locales.sl__processRelativeTime (cyclomatic 72)LearningMpaAbp.Web/Scripts/moment-with-locales.js:9539
moment-with-locales.is__translate (cyclomatic 42)LearningMpaAbp.Web/Scripts/moment-with-locales.js:7083

+ 53 more group(s) — more in Appendix A; the complete list is findings.md.

What to do

  1. Bring the 2 bodies over 60 down to 60 or less in Cyclomatic Complexity — start with jquery.blockUI.setup::install (cyclomatic 73), moment-with-locales.sl__processRelativeTime (cyclomatic 72). — 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 2 together lifts Cyclomatic Complexity from 5.2 to about 5.6/10, projected with the scoring formula itself and assuming each lands exactly at 60; a cleaner split scores higher.
  2. Enforce Cyclomatic Complexity in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.

Detailed fixes: d1_recommendation.md · top locations in Appendix A, every location in findings.md.

D2 · Cognitive Complexity3.7 / 10Weak✓ Tool-verified

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.

Maturity: Documented → Verified → Prevented · effective 3.7 / 10 · rule-coverage 100% · ceiling Prevented

80 method(s) exceeded the cognitive complexity threshold of 15; the worst was jquery.blockUI.setup::install at 96.

sweet-alert.modalDependant::onButtonEvent (cognitive 31) · ×3REDACTED:323
jquery.blockUI.setup::install (cognitive 96)LearningMpaAbp.Web/Scripts/jquery.blockUI.js:250
jquery-2.2.0.ajaxConvert (cognitive 73)LearningMpaAbp.Web/Scripts/jquery-2.2.0.js:8163
jquery-1.10.2.Sizzle (cognitive 73)LearningMpaAbp.Weixin/Scripts/jquery-1.10.2.js:1183
jquery-1.10.2.ajaxConvert (cognitive 73)LearningMpaAbp.Weixin/Scripts/jquery-1.10.2.js:8351

+ 73 more group(s) — more in Appendix A; the complete list is findings.md.

What to do

  1. Bring the 4 bodies over 60 down to 60 or less in Cognitive Complexity — start with jquery.blockUI.setup::install (cognitive 96), jquery-2.2.0.ajaxConvert (cognitive 73), jquery-1.10.2.Sizzle (cognitive 73). — 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 Cognitive Complexity from 3.7 to about 4.8/10, projected with the scoring formula itself and assuming each lands exactly at 60; a cleaner split scores higher.
  2. Enforce Cognitive Complexity in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.

Detailed fixes: d2_recommendation.md · top locations in Appendix A, every location in findings.md.

D3 · God Classes9.2 / 10Stronggated by 15 serious findings✓ 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.

Maturity: Documented → Verified → Prevented · effective 9.2 / 10 · rule-coverage 100% · ceiling Prevented

15 god class(es) detected.

FileTooLong: Scripts/jquery-ui-1.11.4.js · ×10LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js
FunctionTooLong: jquery.blockUI.setup · ×4LearningMpaAbp.Web/Scripts/jquery.blockUI.js:19
ClassTooLong: abpLearningMpaAbp.Web/Abp/Framework/scripts/abp.js:1

What to do

  1. Resolve the 10 FileTooLong finding(s) in God Classes — start with bootstrap.js (2), jquery-ui-1.11.4.js, moment-with-locales.js. — One of this dimension's main actionable groups (10 warning-level).
  2. Resolve the 4 FunctionTooLong finding(s) in God Classes — start with REDACTED (2), jquery.blockUI.js, jquery-ui-1.11.4.js. — One of this dimension's main actionable groups (4 warning-level).
  3. Resolve the 1 ClassTooLong finding(s) in God Classes — start with abp.js. — One of this dimension's main actionable groups (1 warning-level).
  4. Enforce God Classes in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.

Detailed fixes: d3_recommendation.md · top locations in Appendix A, every location in findings.md.

D4 · Code Duplication9.9 / 10Stronggated by 9 serious findings✓ Tool-verified

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.

Maturity: Documented → Verified → Prevented · effective 9.9 / 10 · rule-coverage 100% · ceiling Verified

9 duplicated block group(s) detected. Measured on part of this repository only: .js (94% of production source) was not exposed to THIS dimension's token comparison and is not in this count; duplication there is measured by R10 Code Duplication, the frontend lens's card running the same clone algorithm over the JS/TS token stream.

Duplicated block (34–35 lines × 2)REDACTED:122
Duplicated block (21–25 lines × 2)REDACTED:143
Duplicated block (24 lines × 2)LearningMpaAbp.EntityFramework/Migrations/SeedData/HostRoleAndUserCreator.cs:48
Duplicated block (22–23 lines × 3)REDACTED:87
Duplicated block (17 lines × 2)REDACTED:71

+ 4 more group(s) — more in Appendix A; the complete list is findings.md.

What to do

  1. Resolve the 1 Duplicated block (34–35 lines × 2) finding(s) in Code Duplication — start with REDACTED. — One of this dimension's main actionable groups (1 warning-level).
  2. Resolve the 1 Duplicated block (21–25 lines × 2) finding(s) in Code Duplication — start with REDACTED. — One of this dimension's main actionable groups (1 warning-level).
  3. Resolve the 1 Duplicated block (24 lines × 2) finding(s) in Code Duplication — start with HostRoleAndUserCreator.cs. — One of this dimension's main actionable groups (1 warning-level).
  4. Enforce Code Duplication in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Verified — provenance only; does not change the score.

Detailed fixes: d4_recommendation.md · top locations in Appendix A, every location in findings.md.

D5 · Coupling9.0 / 10Stronggated by 1 serious finding✓ Tool-verified

What it measures: Whether volatile projects sit underneath others that depend on them (so their churn ripples upward), and whether project dependencies form cycles. A widely-depended-on but stable shared/kernel project is healthy, not penalised.

Method: Dependency cycles via elementary-DFS over real .csproj references, plus Martin instability (afferent/efferent) per project. Exhaustive over the reference graph, deterministic.

Coverage: Exhaustive · type-level: afferent/efferent coupling + cycles computed over every production type — the population is all types, not a name convention.

Maturity: Documented → Verified → Prevented · effective 9.0 / 10 · rule-coverage 100% · ceiling Prevented

8 projects, 0 dependency cycle(s), 0 unstable depended-on project(s).

Off the main sequence: LearningMpaAbp.CoreLearningMpaAbp.Core/LearningMpaAbp.Core.csproj:1

What to do

  1. Resolve the 1 Off the main sequence finding(s) in Coupling — start with LearningMpaAbp.Core.csproj. — One of this dimension's main actionable groups (1 warning-level).
  2. Enforce Coupling in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.

Detailed fixes: d5_recommendation.md · top locations in Appendix A, every location in findings.md.

D6 · Cohesion (LCOM4)10.0 / 10Exemplary✓ Tool-verified

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.

Maturity: Documented → Verified → Prevented · effective 10.0 / 10 · rule-coverage 100% · ceiling Verified

0 of 17 classes have LCOM4 above 3.

✓ On the Gold path — maintain.

Detailed fixes: d6_recommendation.md.

D9 · Test Distribution10.0 / 10Exemplary✓ Tool-verified

What it measures: Whether the test suite has a healthy mix of unit / integration / end-to-end tests.

Method: Test projects classified (Unit/Integration/BDD/E2E) from compiled metadata; test methods counted exhaustively across projects with placement-agnostic disk fallback. Deterministic.

Maturity: Documented → Verified → Prevented · effective 10.0 / 10 · rule-coverage 100% · ceiling Documented

13 test methods: 13 unit, 0 integration, 0 BDD, 0 e2e.

✓ On the Gold path — maintain.

Detailed fixes: d9_recommendation.md.

D10 · Test Quality10.0 / 10Exemplary✓ Tool-verified

What it measures: Whether the tests truly assert behaviour rather than just running the code.

Method: Per-test assertions, skips, and mock references analyzed via Roslyn; structured skip-reason tags (BUG:/ENV:) separate documented deferrals from debt. Deterministic.

Maturity: Documented → Verified → Prevented · effective 10.0 / 10 · rule-coverage 100% · ceiling Prevented

0 skipped, 0 zero-assertion, no mocking-framework packages referenced (hand-written doubles or no mocking) across 13 tests.

✓ On the Gold path — maintain.

Detailed fixes: d10_recommendation.md.

D13 · Secret Scanning0.0 / 10Critical✓ Tool-verified

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.

Maturity: Documented → Verified → Prevented · effective 0.0 / 10 · rule-coverage 100% · ceiling Prevented

2 secret(s) detected.

REDACTED

What to do

  1. Resolve the 2 Leaked secret finding(s) in Secret Scanning — start with REDACTED, REDACTED. — One of this dimension's main actionable groups (2 issue-level).
  2. Enforce Secret Scanning in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.

Detailed fixes: d13_recommendation.md · top locations in Appendix A, every location in findings.md.

D14 · License Compliance2.0 / 10Critical✓ Tool-verified

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.

Maturity: Documented → Verified → Prevented · effective 2.0 / 10 · rule-coverage 100% · ceiling Verified

4 of 410 packages use a banned license. The depth of this set was not established for this repository: the graded packages are what this pass resolved, and no lockfile was read, so it is not certified to be the full transitive closure.

Banned license: MySql.Data · ×2

What to do

  1. Resolve the 2 Banned license finding(s) in License Compliance. — One of this dimension's main actionable groups (2 issue-level).
  2. Enforce License Compliance in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Verified — provenance only; does not change the score.

Detailed fixes: d14_recommendation.md · top locations in Appendix A, every location in findings.md.

D15 · Churn × Complexity Hotspots10.0 / 10Exemplary✓ Tool-verified

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.

Maturity: Documented → Verified → Prevented · effective 10.0 / 10 · rule-coverage 100% · ceiling Documented

No churn × complexity hotspots in the window.

✓ On the Gold path — maintain.

Detailed fixes: d15_recommendation.md.

D17 · Explicit Debt7.8 / 10Adequategated by 6 critical findings✓ Tool-verified

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.

Maturity: Documented → Verified → Prevented · effective 7.8 / 10 · rule-coverage 100% · ceiling Prevented

17 deducted debt markers + unmeasured dead symbols across 5027 LoC in the .NET projects (1.1/KLoC) → score 7.8. Dead code not measured: the solution did not load cleanly, so the reference search was skipped. Measured on the .NET source only: .js (94% of production source) was not read, and carries at least 0 uncounted task marker(s) in 0 file(s).

WriteOnlyPrivateField · ×6LearningMpaAbp.Application/Tasks/TaskAppService.cs:36
TodoComment · ×7LearningMpaAbp.Application/Tasks/TaskAppService.cs:201
CommentedOutCode · ×3LearningMpaAbp.Web/App_Start/LearningMpaAbpWebModule.cs:40
Whole file has no live code — 1 debt marker inside itLearningMpaAbp.Web/GlimpseSecurityPolicy.cs:15

What to do

  1. Resolve the 6 WriteOnlyPrivateField finding(s) in Explicit Debt — start with TaskAppService.cs (2), TaskManager.cs (2), TaskAssignedToUser.cs. — One of this dimension's main actionable groups (6 issue-level).
  2. Resolve the 7 TodoComment finding(s) in Explicit Debt — start with REDACTED (3), TaskAppService.cs, TaskAssignedToUser.cs. — One of this dimension's main actionable groups (7 warning-level).
  3. Resolve the 3 CommentedOutCode finding(s) in Explicit Debt — start with LearningMpaAbpWebModule.cs, Startup.cs, LearningMpaAbpWebApiModule.cs. — One of this dimension's main actionable groups (3 warning-level).
  4. Enforce Explicit Debt in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.

Detailed fixes: d17_recommendation.md · top locations in Appendix A, every location in findings.md.

D18 · Solution Shape10.0 / 10Exemplary✓ Tool-verified

What it measures: Whether the solution is laid out in a sensible, conventional structure.

Method: Solution structure: project count, decomposition, shell-project detection, build success (confirmed failures cap the score); traced to actual .sln files and binaries. Deterministic.

Maturity: Documented → Verified → Prevented · effective 10.0 / 10 · rule-coverage 100% · ceiling Documented

8 projects, 148 source files, 5715 hand-written lines of code (5027 production / 688 test — the split is derived per file: test is what its project, its own path, or a compile-guarded region marks as test, and a file carrying no test signal counts as production), plus 702 generated (machine-written code — designer, scaffolded and tool-emitted files — excluded from quality), 13 inter-project edges (build NOT measured — `dotnet build` did not complete in the analyzer, so the build half of this dimension is unmeasured rather than failed: the score above rests on structure alone and is not capped. The diagnostics that stopped it are named under Limitations.)

✓ On the Gold path — maintain.

Detailed fixes: d18_recommendation.md.

D20 · ADR Quality0.0 / 10Critical✓ Tool-verified

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.

Maturity: Documented → Verified → Prevented · effective 0.0 / 10 · rule-coverage 100% · ceiling Documented

No architecture decision records were found.

No ADRs found

What to do

  1. Resolve the 1 No ADRs found finding(s) in ADR Quality. — One of this dimension's main actionable groups (1 recommendation-level).

Detailed fixes: d20_recommendation.md · top locations in Appendix A, every location in findings.md.

D24 · Comment Value6.0 5.2 / 10Adequate✓ Tool-verified

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.

Maturity: Documented → Verified → Prevented · effective 5.2 / 10 · rule-coverage 87% · ceiling Documented

39 of 975 judged comments only repeat the code they sit on (4.0 %). 249 comment(s) in another language or script were not judged.

redundant comment · ×35LearningMpaAbp.Application/MultiTenancy/TenantAppService.cs:71
doc comments repeat the namesLearningMpaAbp.WebApi/Api/OAuthOptions.cs:13

What to do

  1. Resolve the 35 redundant comment finding(s) in Comment Value — start with AssemblyInfo.cs (28), TenantAppService.cs (2), REDACTED (2). — One of this dimension's main actionable groups (35 recommendation-level).

Detailed fixes: d24_recommendation.md · top locations in Appendix A, every location in findings.md.

D26 · Project Cohesion10.0 / 10Exemplary✓ Tool-verified

What it measures: Whether each project is a focused, coherent unit rather than an oversized grab-bag.

Method: Project size overshoot penalties (LoC / public-type count / namespace count, 2-of-3 flag) weighted by log magnitude. Exhaustive across projects, deterministic.

Maturity: Documented → Verified → Prevented · effective 10.0 / 10 · rule-coverage 100% · ceiling Documented

0 of 8 projects flagged as possibly oversized/incoherent.

✓ On the Gold path — maintain.

Detailed fixes: d26_recommendation.md.

D28 · Secrets (history)9.0 / 10Adequategated by 1 critical finding✓ Tool-verified

What it measures: Whether any secrets were ever committed — scanned across the full git history, not just now.

Method: Secret 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.

Maturity: Documented → Verified → Prevented · effective 9.0 / 10 · rule-coverage 100% · ceiling Documented

1 finding(s): 0 critical, 1 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

  1. Resolve the 1 High secret finding(s) in Secrets (history) — start with REDACTED. — One of this dimension's main actionable groups (1 issue-level).
  2. 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.

D29 · Static Analysis (SAST)3.3 / 10Weak✓ Tool-verified

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).

Maturity: Documented → Verified → Prevented · effective 3.3 / 10 · rule-coverage 100% · ceiling Documented

19 finding(s): 0 critical, 1 high, 18 medium, 0 low. semgrep hit a parse error in 6 file(s) — `LearningMpaAbp.Web/Scripts/jquery-2.2.0-vsdoc.js`, `LearningMpaAbp.Web/Scripts/jquery-2.2.0.js`, `LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js`, `LearningMpaAbp.Web/Scripts/moment-with-locales.js`, `LearningMpaAbp.Web/Scripts/select2.js`, … (+1 more) — 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

What to do

  1. Resolve the 9 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED (3), REDACTED (3), REDACTED (3). — One of this dimension's main actionable groups (9 warning-level).
  2. Resolve the 1 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED. — One of this dimension's main actionable groups (1 issue-level).
  3. Resolve the 4 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED, REDACTED, REDACTED. — One of this dimension's main actionable groups (4 warning-level).

Detailed fixes: d29_recommendation.md · top locations in Appendix A, every location in findings.md.

D30 · Dependency Vulnerabilities1.8 / 10Critical✓ Tool-verified

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.

Maturity: Documented → Verified → Prevented · effective 1.8 / 10 · rule-coverage 100% · ceiling Documented

17 finding(s): 1 critical, 9 high, 7 medium, 0 low. Partial dependency scan: 1 of 2 declared ecosystem(s) were scanned (nuget REDACTED), and the findings above are real and complete for them. nuget was not scanned (nuget: the solution did not restore on the analyzer's .NET SDK (an SDK/target-framework/restore mismatch, common for an older codebase), so there was no restored dependency graph to scan), so this is not the whole dependency surface and the result is reported at reduced confidence.

REDACTED
REDACTED
REDACTED

What to do

  1. Resolve the 9 High CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (9). — One of this dimension's main actionable groups (9 issue-level).
  2. Resolve the 7 Medium CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (7). — One of this dimension's main actionable groups (7 warning-level).
  3. Resolve the 1 Critical CVE finding(s) in Dependency Vulnerabilities — start with REDACTED. — One of this dimension's main actionable groups (1 issue-level).

Detailed fixes: d30_recommendation.md · top locations in Appendix A, every location in findings.md.

D34 · Knowledge Freshness0.0 / 10Critical✓ Tool-verified

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.

Maturity: Documented → Verified → Prevented · effective 0.0 / 10 · rule-coverage 100% · ceiling Documented

17 of 17 significant source file(s) are orphaned — their living knowledge has decayed to nothing, so no one currently understands them. The largest is REDACTED. Counted over 17 of the 138 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over.

Orphaned file · ×17REDACTED:1
Orphaned files with no living knowledge

What to do

  1. Resolve the 17 Orphaned file finding(s) in Knowledge Freshness — start with REDACTED (2), TaskAppService.cs, REDACTED. — One of this dimension's main actionable groups (17 recommendation-level).
  2. Resolve the 1 Orphaned files with no living knowledge finding(s) in Knowledge Freshness. — One of this dimension's main actionable groups (1 recommendation-level).

Detailed fixes: d34_recommendation.md · top locations in Appendix A, every location in findings.md.

D35 · Change Coupling9.9 / 10Stronggated by 1 serious finding✓ Tool-verified

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.

Maturity: Documented → Verified → Prevented · effective 9.9 / 10 · rule-coverage 100% · ceiling Documented

Strongest change-coupling: TasksController.cs↔index.js 80%

Change coupling: TasksController.cs ↔ index.jsLearningMpaAbp.Web/Controllers/TasksController.cs:1

What to do

  1. Resolve the 1 Change coupling finding(s) in Change Coupling — start with TasksController.cs. — One of this dimension's main actionable groups (1 warning-level).

Detailed fixes: d35_recommendation.md · top locations in Appendix A, every location in findings.md.

D43 · Malicious Dependencies10.0 / 10Exemplary✓ Tool-verified

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.

Maturity: Documented → Verified → Prevented · effective 10.0 / 10 · rule-coverage 100% · ceiling Documented

No dependency in any ecosystem this repository declares is published as malicious.

✓ On the Gold path — maintain.

Detailed fixes: d43_recommendation.md.

Frontend & cross-cutting dimensions

R = React/JS · M = Maturity · P = Readiness.

AC1 · Text alternatives1.0 / 10Critical✓ 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. (×2) — LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:4001, LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:4004
  • A <object> with no aria-label/title and no inner fallback content can't be described by assistive tech. Add a name or fallback content. — LearningMpaAbp.Weixin/Scripts/jquery-1.10.2.js:6020

What to do

  • Add a text alternative — alt on images (alt="" for purely decorative ones), a title or aria-label on meaningful svg, an aria-label or inner fallback content on canvas, and a captions <track> on video.
AC2 · Forms & labels4.1 / 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. (×19) — LearningMpaAbp.Web/Scripts/jquery-2.2.0.js:1185, LearningMpaAbp.Web/Scripts/jquery-2.2.0.js:2645, LearningMpaAbp.Web/Scripts/jquery-2.2.0.js:4251, …
  • A link with no text, aria-label or labelled child (e.g. an icon-only link) has no accessible name, so assistive tech can't say where it goes. Add visible text or an aria-label. (×4) — LearningMpaAbp.Web/Scripts/jquery-2.2.0.js:2632, LearningMpaAbp.Web/Views/Tasks/PagedList.cshtml:15, LearningMpaAbp.Web/Views/Tasks/_List.cshtml:13, …
  • A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one). (×4) — LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:3412, LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:4003, LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:8481, …
  • 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. (×9) — LearningMpaAbp.Web/Views/Account/Login.cshtml:24, LearningMpaAbp.Web/Views/Account/Login.cshtml:36, LearningMpaAbp.Web/Views/Account/Login.cshtml:42, …
  • A fieldset groups related controls but has no <legend> to name the group. Add a <legend> as its first child — or, if the group already has a visible caption beside it (or the fieldset is there only to disable its subtree and carries no group box), point aria-labelledby at that caption's id instead, which names the group without rendering a second one. — LearningMpaAbp.Weixin/Scripts/jquery-1.10.2.js:6018

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.
AC3 · Page structure5.2 / 10Adequate✓ Tool-verified

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.

  • An iframe with no title (or an empty one) is announced only as "frame". Add a non-empty title describing its content, or an aria-label. (×2) — LearningMpaAbp.Web/Scripts/jquery-2.2.0.js:5614, LearningMpaAbp.Weixin/Scripts/jquery-1.10.2.js:7277
  • No <main> (or role="main") means no "skip to content" target and a weaker landmark map. Wrap the primary content in <main>. (×2) — LearningMpaAbp.Web/Views/Shared/_Layout.cshtml:9, LearningMpaAbp.Weixin/Views/Shared/_Layout.cshtml:2
  • 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). — LearningMpaAbp.Weixin/Scripts/jquery-1.10.2.js:3489
  • The page declares no language, so assistive tech can't pick the right pronunciation. Add lang (e.g. lang="en"). — LearningMpaAbp.Weixin/Views/Shared/_Layout.cshtml:2

What to do

  • Declare <html lang>, a document <title> and a <main> landmark, keep headings in order, leave zoom enabled, title iframes and drop meta-refresh.
AC4 · Keyboard semantics1.9 / 10Critical✓ Tool-verified

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".

  • 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. (×9) — LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:146, LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:202, LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:5428, …
  • This <div role="dialog"> is a modal dialog, but nothing moves focus into it when it opens and nothing keeps focus inside it while it is open, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native <dialog> opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close. (×4) — LearningMpaAbp.Web/Views/BackendTasks/_CreateTask.cshtml:6, LearningMpaAbp.Web/Views/BackendTasks/_EditTask.cshtml:8, LearningMpaAbp.Web/Views/Tasks/_CreateTask.cshtml:6, …

What to do

  • Make custom controls keyboard-operable (role + tabindex + key handler), drop positive tabindex, and give anchors a real href.
AC5 · ARIA correctness10.0 / 10Exemplary○ Nothing flagged

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.

AC6 · Visual & motion safety1.0 / 10Critical✓ Tool-verified

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: #ffffff on background-color: #428bca — 3.6:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them. — LearningMpaAbp.Weixin/Content/bootstrap.css:2081
  • `.btn-warning:hover, .btn-warning:focus, .btn-warning:active, .btn-warning.active, .open .dropdown-toggle.btn-warning` sets color: #ffffff on background-color: #ed9c28 — 2.2:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them. — LearningMpaAbp.Weixin/Content/bootstrap.css:2132
  • `.btn-danger` sets color: #ffffff on background-color: #d9534f — 4.0:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them. — LearningMpaAbp.Weixin/Content/bootstrap.css:2163
  • `.btn-success` sets color: #ffffff on background-color: #5cb85c — 2.5:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them. — LearningMpaAbp.Weixin/Content/bootstrap.css:2204
  • `.btn-success:hover, .btn-success:focus, .btn-success:active, .btn-success.active, .open .dropdown-toggle.btn-success` sets color: #ffffff on background-color: #47a447 — 3.1:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them. — LearningMpaAbp.Weixin/Content/bootstrap.css:2214
  • `.btn-info` sets color: #ffffff on background-color: #5bc0de — 2.1:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them. — LearningMpaAbp.Weixin/Content/bootstrap.css:2245
  • `.btn-info:hover, .btn-info:focus, .btn-info:active, .btn-info.active, .open .dropdown-toggle.btn-info` sets color: #ffffff on background-color: #39b3d7 — 2.4:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them. — LearningMpaAbp.Weixin/Content/bootstrap.css:2255
  • `.dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus` sets color: #ffffff on background-color: #428bca — 3.6:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them. — LearningMpaAbp.Weixin/Content/bootstrap.css:3268
  • `.dropdown-menu > .active > a, .dropdown-menu > .active > a:hover, .dropdown-menu > .active > a:focus` sets color: #ffffff on background-color: #428bca — 3.6:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them. — LearningMpaAbp.Weixin/Content/bootstrap.css:3276
  • `.nav-pills > li.active > a, .nav-pills > li.active > a:hover, .nav-pills > li.active > a:focus` sets color: #ffffff on background-color: #428bca — 3.6:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them. — LearningMpaAbp.Weixin/Content/bootstrap.css:3922
  • `.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus` sets color: #ffffff on background-color: #428bca — 3.6:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them. (×2) — LearningMpaAbp.Weixin/Content/bootstrap.css:4681, LearningMpaAbp.Web/Content/PagedList.css:49
  • `a.list-group-item.active > .badge, .nav-pills > .active > a > .badge` sets color: #428bca on background-color: #ffffff — 3.6:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them. — LearningMpaAbp.Weixin/Content/bootstrap.css:4910
  • `.alert-warning` sets color: #c09853 on background-color: #fcf8e3 — 2.5:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them. — LearningMpaAbp.Weixin/Content/bootstrap.css:5055
  • `.alert-danger` sets color: #b94a48 on background-color: #f2dede — 3.9:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them. — LearningMpaAbp.Weixin/Content/bootstrap.css:5069
  • `.list-group-item.active, .list-group-item.active:hover, .list-group-item.active:focus` sets color: #ffffff on background-color: #428bca — 3.6:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them. — LearningMpaAbp.Weixin/Content/bootstrap.css:5288
  • `.panel-primary > .panel-heading` sets color: #ffffff on background-color: #428bca — 3.6:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them. — LearningMpaAbp.Weixin/Content/bootstrap.css:5452
  • `.panel-success > .panel-heading` sets color: #468847 on background-color: #dff0d8 — 3.6:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them. — LearningMpaAbp.Weixin/Content/bootstrap.css:5470
  • `.panel-warning > .panel-heading` sets color: #c09853 on background-color: #fcf8e3 — 2.5:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them. — LearningMpaAbp.Weixin/Content/bootstrap.css:5488
  • `.panel-danger > .panel-heading` sets color: #b94a48 on background-color: #f2dede — 3.9:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them. — LearningMpaAbp.Weixin/Content/bootstrap.css:5506
  • `.panel-info > .panel-heading` sets color: #3a87ad on background-color: #d9edf7 — 3.3:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them. — LearningMpaAbp.Weixin/Content/bootstrap.css:5524
  • `.sweet-alert button` sets color: #fff on background-color: #AEDEF4 — 1.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). — LearningMpaAbp.Web/Scripts/sweetalert/sweet-alert.css:1
  • `.btn-success` sets color: #fff on background-color: #5cb85c — 2.5:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them. — LearningMpaAbp.Web/Content/bootstrap.css:3176
  • `.btn-success:focus, .btn-success.focus` sets color: #fff on background-color: #449d44 — 3.4:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them. — LearningMpaAbp.Web/Content/bootstrap.css:3182
  • `.btn-success:hover` sets color: #fff on background-color: #449d44 — 3.4:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them. — LearningMpaAbp.Web/Content/bootstrap.css:3187
  • `.btn-success:active, .btn-success.active, .open > .dropdown-toggle.btn-success` sets color: #fff on background-color: #449d44 — 3.4:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them. — LearningMpaAbp.Web/Content/bootstrap.css:3194
  • `.btn-success .badge` sets color: #5cb85c on background-color: #fff — 2.5:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them. — LearningMpaAbp.Web/Content/bootstrap.css:3229
  • `.btn-info` sets color: #fff on background-color: #5bc0de — 2.1:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them. — LearningMpaAbp.Web/Content/bootstrap.css:3233
  • `.btn-info:focus, .btn-info.focus` sets color: #fff on background-color: #31b0d5 — 2.5:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them. — LearningMpaAbp.Web/Content/bootstrap.css:3239
  • `.btn-info:hover` sets color: #fff on background-color: #31b0d5 — 2.5:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them. — LearningMpaAbp.Web/Content/bootstrap.css:3244
  • `.btn-info:active, .btn-info.active, .open > .dropdown-toggle.btn-info` sets color: #fff on background-color: #31b0d5 — 2.5:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them. — LearningMpaAbp.Web/Content/bootstrap.css:3251
  • `.btn-info:active:hover, .btn-info.active:hover, .open > .dropdown-toggle.btn-info:hover, .btn-info:active:focus, .btn-info.active:focus, .open > .dropdown-toggle.btn-info:focus, .btn-info:active.focus, .btn-info.active.focus, .open > .dropdown-toggle.btn-info.focus` sets color: #fff on background-color: #269abc — 3.3:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them. — LearningMpaAbp.Web/Content/bootstrap.css:3264
  • `.btn-info .badge` sets color: #5bc0de on background-color: #fff — 2.1:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them. — LearningMpaAbp.Web/Content/bootstrap.css:3286
  • `.btn-warning:active, .btn-warning.active, .open > .dropdown-toggle.btn-warning` sets color: #fff on background-color: #ec971f — 2.3:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them. — LearningMpaAbp.Web/Content/bootstrap.css:3308
  • `.btn-warning:active:hover, .btn-warning.active:hover, .open > .dropdown-toggle.btn-warning:hover, .btn-warning:active:focus, .btn-warning.active:focus, .open > .dropdown-toggle.btn-warning:focus, .btn-warning:active.focus, .btn-warning.active.focus, .open > .dropdown-toggle.btn-warning.focus` sets color: #fff on background-color: #d58512 — 2.9:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them. — LearningMpaAbp.Web/Content/bootstrap.css:3321
  • `.btn-danger` sets color: #fff on background-color: #d9534f — 4.0:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them. — LearningMpaAbp.Web/Content/bootstrap.css:3347
  • `.btn-danger .badge` sets color: #d9534f on background-color: #fff — 4.0:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them. — LearningMpaAbp.Web/Content/bootstrap.css:3400
  • `a.list-group-item-success:hover, button.list-group-item-success:hover, a.list-group-item-success:focus, button.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. Darken or lighten one of them. — LearningMpaAbp.Web/Content/bootstrap.css:5344
  • `a.list-group-item-info:hover, button.list-group-item-info:hover, a.list-group-item-info:focus, button.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. Darken or lighten one of them. — LearningMpaAbp.Web/Content/bootstrap.css:5373
  • `a.list-group-item-warning:hover, button.list-group-item-warning:hover, a.list-group-item-warning:focus, button.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. Darken or lighten one of them. — LearningMpaAbp.Web/Content/bootstrap.css:5402

What to do

  • Keep a visible focus style (don't remove the outline without a replacement), guard animation with prefers-reduced-motion, and raise low-contrast colour pairs to at least 4.5:1.
AC7 · A11y enforcement4.0 / 10Weak✓ Tool-verified

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 automated accessibility check runs over the HTML your app renders. Assert the accessibility invariants over that HTML in the test suite you already have (parse the output and assert, or drive a browser), and gate that test in CI so a regression blocks the merge. What was searched, so you can tell an absence from a miss: the 37 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 test suite you already have: assert the accessibility invariants over the HTML your app renders — parse the rendered output in an existing test, or drive a real browser from one — and gate that test in CI so a regression blocks the merge.
AX10 · Code composition4.8 / 10Weak✓ Tool-verified

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.

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.

What to do

  • The domain core is a small share of production code — check that business logic isn't leaking into the application/infrastructure layers (a thin domain is the anemic-domain smell).
AX2 · Stateful singletons1.0 / 10Critical✓ Tool-verified

Other · Architecture — Whether singleton services avoid mutable shared instance state that concurrent callers would race on.

Method: Roslyn scan: singleton field mutations unguarded by lock or Interlocked, per type; syntax-based guard detection. Deterministic, traceable per field.

  • `OAuthOptions` keeps mutable `static` state — one slot for the whole process, shared by every thread that reaches the type however its instances are created — and mutates it outside any lock (_serverOptions; e.g. `_serverOptions` at line 34). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt. — LearningMpaAbp.WebApi/Api/OAuthOptions.cs:16

What to do

  • A `static` field is one slot for the whole process, however its type is created: back it with a thread-safe type (ConcurrentDictionary, Interlocked), take a lock around every write, or move it into a registered singleton that does.
AX3 · Project dependency cycles10.0 / 10Exemplary✓ Tool-verified

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.

  • The namespaces LearningMpaAbp ↔ LearningMpaAbp.MultiTenancy ↔ LearningMpaAbp.Users depend on each other. The lightest dependency in the cycle is LearningMpaAbp.MultiTenancy → LearningMpaAbp (LearningMpaAbp.MultiTenancy.TenantAppService → LearningMpaAbp.LearningMpaAbpAppServiceBase, 1 type pair(s)); cut that one first, e.g. by moving the shared type to a namespace both can use or inverting it behind an interface. — LearningMpaAbp.Application/MultiTenancy/TenantAppService.cs:18
  • The namespaces LearningMpaAbp.Tasks ↔ LearningMpaAbp.Tasks.Dtos depend on each other. The lightest dependency in the cycle is LearningMpaAbp.Tasks.Dtos → LearningMpaAbp.Tasks (LearningMpaAbp.Tasks.Dtos.CreateTaskInput → LearningMpaAbp.Tasks.TaskState, 5 type pair(s)); cut that one first, e.g. by moving the shared type to a namespace both can use or inverting it behind an interface. — LearningMpaAbp.Application/Tasks/Dtos/CreateTaskInput.cs:5

What to do

  • Break namespace cycles inside a project by moving the shared type to a namespace both sides can use, or by inverting the back edge behind an interface.
AX4 · Dependency direction10.0 / 10Exemplary✓ Tool-verified

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.

AX5 · Architecture & structure10.0 / 10Exemplary✓ Tool-verified

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.

AX6 · Interface segregation10.0 / 10Exemplary✓ Tool-verified

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.

C1 · Data Protection0.0 / 10Critical✓ Tool-verified

Other · Security — Whether sensitive data is encrypted at rest and in transit and keys are vaulted.

Method: Roslyn plus filesystem scan: encryption presence (EF ColumnEncryption, key-vault references, HTTPS enforcement) and key-derivation KDF detection. Deterministic.

  • No data-protection or encryption usage (ASP.NET Data Protection, AES, column encryption, PBKDF2) was found — sensitive data at rest may be unprotected. If TDE/KMS/vault is delegated to infrastructure, ignore.

What to do

  • Encrypt sensitive data at rest (ASP.NET Core Data Protection / column encryption) and manage keys in a vault. Skip if delegated to infra (Postgres TDE, KMS, etc.).
  • Enforce HTTPS (UseHttpsRedirection / RequireHttpsMetadata) so data in transit is always encrypted.
C2 · Access Controls0.0 / 10Critical✓ Tool-verified

Other · Security — Whether access is authorized by default — a framework authorization attribute/decorator or policy, or imperative guard methods (throw-on-violation) called from handlers.

Method: Roslyn scan: [Authorize] usage and authorization policies, plus imperative throw-on-violation guard methods detected via syntax. Deterministic.

  • No [Authorize]/policies and no imperative guard methods (throw-on-violation) were found — endpoints may be unprotected.
  • `AboutController.Index` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase. — LearningMpaAbp.Web/Controllers/AboutController.cs:7
  • `AccountController.Login` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase. (×2) — REDACTED:79, REDACTED:94
  • `AccountController.Logout` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase. — REDACTED:169
  • `AccountController.Register` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase. (×2) — REDACTED:179, REDACTED:193
  • `AccountController.ExternalLogin` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase. — REDACTED:311
  • `AccountController.ExternalLoginCallback` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase. — REDACTED:326
  • `AddressController.Index` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase. — REDACTED:19
  • `AddressController.GetProvinces` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase. — REDACTED:28
  • `AddressController.GetCities` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase. — REDACTED:67
  • `AddressController.GetCounties` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase. — REDACTED:108
  • `BackendTasksController.List` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase. — LearningMpaAbp.Web/Controllers/BackendTasksController.cs:27
  • `BackendTasksController.GetAllTasks` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase. — LearningMpaAbp.Web/Controllers/BackendTasksController.cs:36
  • `BackendTasksController.Create` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase. — LearningMpaAbp.Web/Controllers/BackendTasksController.cs:64
  • `BackendTasksController.Edit` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase. (×2) — LearningMpaAbp.Web/Controllers/BackendTasksController.cs:71, LearningMpaAbp.Web/Controllers/BackendTasksController.cs:85
  • `HomeController.Index` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase. — LearningMpaAbp.Web/Controllers/HomeController.cs:9
  • `LayoutController.TopMenu` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase. — REDACTED:32
  • `LayoutController.LanguageSelection` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase. — REDACTED:44
  • `LayoutController.UserMenuOrLoginLink` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase. — REDACTED:56
  • `TasksController.Index` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase. — LearningMpaAbp.Web/Controllers/TasksController.cs:33
  • `TasksController.PagedList` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase. — LearningMpaAbp.Web/Controllers/TasksController.cs:45
  • `TasksController.GetList` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase. — LearningMpaAbp.Web/Controllers/TasksController.cs:67
  • `TasksController.RemoteCreate` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase. — LearningMpaAbp.Web/Controllers/TasksController.cs:78
  • `TasksController.Create` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase. (×2) — LearningMpaAbp.Web/Controllers/TasksController.cs:106, LearningMpaAbp.Web/Controllers/TasksController.cs:118
  • `TasksController.Edit` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase. (×2) — LearningMpaAbp.Web/Controllers/TasksController.cs:130, LearningMpaAbp.Web/Controllers/TasksController.cs:147
  • `TasksController.NotifyUser` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase. — LearningMpaAbp.Web/Controllers/TasksController.cs:157
  • `TenantsController.Index` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase. — LearningMpaAbp.Web/Controllers/TenantsController.cs:18
  • `UsersController.Index` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase. — LearningMpaAbp.Web/Controllers/UsersController.cs:19
  • `AccountController.Authenticate` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase. — LearningMpaAbp.WebApi/Api/Controllers/AccountController.cs:36
  • `WeixinController.Index` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase. — REDACTED:40
  • `WeixinController.SendRequest` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase. — REDACTED:53
  • `WeixinController.GetAbpToken` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase. — REDACTED:62
  • `WeixinController.SendRequestBasedCookie` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase. — REDACTED:78
  • `WeixinController.CookieBasedAuth` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase. — REDACTED:85
  • `WeixinController.GetOAuth2Token` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase. — REDACTED:121

What to do

  • Protect endpoints by default-deny: [Authorize] + role/policy authorization, or imperative guard methods (throw-on-violation) called from every handler.
GD1 · Unfinished & placeholder code9.9 / 10Exemplary✓ Tool-verified

Other · Code Health — Unreviewed-generation residue: shipped members still throwing NotImplementedException, and placeholder string literals left in non-test, non-generated code. Scored as a quality signature, never as a claim about authorship.

Method: Roslyn syntax scan: NotImplementedException throws and placeholder string literals in non-test, non-generated shipped code. Deterministic, code-shape signature.

  • A shipped member still throws NotImplementedException — generated scaffolding that was never completed. Implement it or remove the dead surface. (×3) — LearningMpaAbp.Core/Users/UserManager.cs:47, LearningMpaAbp.WebApi/Api/Providers/SimpleRefreshTokenProvider.cs:50, LearningMpaAbp.WebApi/Api/Providers/SimpleRefreshTokenProvider.cs:55

What to do

  • Finish or delete NotImplementedException stubs and replace placeholder literals before shipping.
IC1 · Incompleteness & stubs6.7 / 10Adequate✓ Tool-verified

Other · Code Health — Unfinished work detected by code SHAPE, not keywords: members that only throw a "not implemented" exception, methods that take inputs and return a constant, async methods that never await, dead `if (false)` / `#if false` branches, and skeleton types most of whose members are holes. A real, objective slice of technical debt.

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.

  • `LoginAsync` is a shipped member whose whole body throws NotImplementedException — scaffolding that was never completed. Implement it or remove the dead surface. — LearningMpaAbp.Core/Users/UserManager.cs:47
  • `SimpleRefreshTokenProvider` has 2 unfinished members out of 4 declared members (methods, properties, indexers and events, whether or not each carries a body) — a scaffolded type that was never implemented. — LearningMpaAbp.WebApi/Api/Providers/SimpleRefreshTokenProvider.cs:13
  • `Create` is a shipped member whose whole body throws NotImplementedException — scaffolding that was never completed. Implement it or remove the dead surface. — LearningMpaAbp.WebApi/Api/Providers/SimpleRefreshTokenProvider.cs:50
  • `Receive` is a shipped member whose whole body throws NotImplementedException — scaffolding that was never completed. Implement it or remove the dead surface. — LearningMpaAbp.WebApi/Api/Providers/SimpleRefreshTokenProvider.cs:55
  • `Index` is declared `async` but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop `async` or do the real async work. — REDACTED:40
  • A line of code has been commented out rather than removed — dead weight that rots and confuses. Delete it (version control remembers). (×32) — LearningMpaAbp.Application/Tasks/TaskAppService.cs:116, LearningMpaAbp.Application/Tasks/TaskAppService.cs:172, LearningMpaAbp.Application/Tasks/TaskAppService.cs:195, …
  • 5 consecutive lines of code sit inside a `/* … */` block — a block of code switched off rather than removed, which rots and confuses. Delete it (version control remembers). — LearningMpaAbp.Web/GlimpseSecurityPolicy.cs:15
  • A line of JavaScript has been commented out of this view's inline script rather than removed — dead weight that rots and confuses. Delete it (version control remembers). (×2) — LearningMpaAbp.Web/Views/Address/Index.cshtml:25, LearningMpaAbp.Web/Views/Address/Index.cshtml:28

What to do

  • Finish or delete the unfinished stubs (NotImplementedException / empty / constant-returning bodies) — they are dead surface that looks live.
  • Clear the softer debt: remove commented-out code and dead branches, re-enable or delete skipped tests, and replace blanket warning suppressions with targeted ones.
M1 · Documentation (README)4.0 / 10Weak✓ Tool-verified

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.

  • The root README is 66 words, against a bar of 120. Of the three newcomer-critical sections this check looks for by heading, in the README and in the repository documents it links, it found no a build/run or getting-started section, no a testing section, no an architecture or project-map section. Sections are matched on HEADING text only, so material written under a heading this check does not recognise — or with no heading at all — is not seen and this row may understate what the document covers. — README.md:1

What to do

  • Expand the README with getting-started, architecture overview and a project map.
  • Add a build/run (quick start) section to the root README — the first thing a newcomer needs.
  • Explain in the README how to run the tests. Add a section called Testing to the README in the repository's top folder, saying how to run the test suite.
  • Add an 'Architecture' / 'How it works' section to the root README — the high-level shape.
  • Add a README to the 7 of 7 project(s) that lack one — worth up to 2 pts.
M2 · Architecture documentation0.0 / 10Critical✓ Tool-verified

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.
  • No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named `architecture` or `design` in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape — no `## Architecture` heading, no "architecture overview"/"high-level design" phrasing, no "the architecture is …" introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document — not evidence that nobody wrote the shape down.

What to do

  • Record 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.
  • Add a C4 context/container diagram (Structurizr, PlantUML or Mermaid) or an architecture.md overview.
M3 · Folder & project structure8.0 / 10Strong✓ Tool-verified

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.

  • Production code isn't grouped under a src/ folder — it's spread across several top-level directories, so there's no one place that says 'this is the product'.

What to do

  • Group production code under src/ (or split deliberately, e.g. backend/ + frontend/) so production and tooling code aren't mixed at the root.
P1 · CI/CD gates10.0 / 10Exemplary○ Nothing flagged

Readiness · Readiness — Whether an automated pipeline builds and tests every change.

Method: Filesystem scan: CI workflow files (.github/workflows, .gitlab-ci.yml, etc.) for build and test stages. Exhaustive, deterministic.

P2 · Observability0.0 / 10Critical✓ Tool-verified

Readiness · Readiness — Whether the code is diagnosable in production — structured logging, tracing/metrics, health checks.

Method: Filesystem/Roslyn scan: structured-logging frameworks (Serilog, NLog), OpenTelemetry, and health-check endpoint patterns. Exhaustive, deterministic.

  • No logging call was found in the 7 JavaScript/TypeScript production file(s) this check read across 1 module(s). Each was searched for its ecosystem's logging libraries (JavaScript/TypeScript: pino, winston, bunyan, log4js, loglevel, consola, the NestJS Logger) and for a call on a receiver named `log`/`logger` (or ending in `Logger`/`_logger`) with a level verb. It cannot see logging through a repo-local wrapper named otherwise, or in source it did not read — this is 'no logging found by this walk', not a verdict that nothing here logs. If it is right, production issues will be hard to diagnose.

What to do

  • Adopt pino (or winston) and log at meaningful points in the services you run.
  • Consider OpenTelemetry tracing/metrics (@opentelemetry/sdk-node) and a health-check endpoint (@godaddy/terminus or a /health route) for operability.
P3 · Security & performance tooling0.0 / 10Critical✓ Tool-verified

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 CodeQL's csharp pack, or a .NET security analyzer package (or `semgrep --config=auto`, which runs on any language) as a CI step. What was searched, so you can tell an absence from a miss: the 857 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.
  • `REDACTED` declares packages, and nothing in the repository keeps them current: no Dependabot or Renovate configuration that schedules updates, and no dependency-review gate on pull requests. A pinned dependency stays at the version it was added at until someone notices — including after an advisory is published against it. Add a `.github/dependabot.yml` with one `package-ecosystem` entry per ecosystem the tree uses (or an enabled `renovate.json`), and gate pull requests with `actions/dependency-review-action`. — REDACTED:3

What to do

  • Add a SAST step to CI running what this repository's stack ships: CodeQL's csharp pack, or a .NET security analyzer package — or `semgrep --config=auto`, which runs on any language — 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.
P4 · Deployment & Rollback5.0 / 10Adequate✓ Tool-verified

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

  • Add an approval/environment gate (required reviewers / protection rules) before production promotion.
P6 · Release Hygiene5.0 / 10Adequate✓ Tool-verified

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.

  • No CHANGELOG/HISTORY/RELEASES file — what shipped when isn't easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)

What to do

  • Keep a changelog (e.g. Keep-a-Changelog) recording what shipped in each release.
P7 · Outbound HTTP resilience3.0 / 10Weak✓ Tool-verified

Readiness · Readiness — Whether outbound HTTP calls are wrapped in resilience (retry/timeout/circuit-breaker) so a failing dependency doesn't cascade.

Method: Source scan: outbound HTTP clients and what bounds them — resilience handlers (Polly, AddStandardResilienceHandler) on .NET; on Go, the JVM, Python, JavaScript/TypeScript, Ruby, PHP, Rust, Elixir, Swift, Dart and Erlang, a timeout, deadline, retry or breaker beside each call, or a process-wide client default (a framework-wide deadline such as Drupal core's, Laravel's or actix's awc counts). Exhaustive, deterministic.

  • `new HttpClient(handler)` builds an outbound HTTP client and nothing bounds it: no timeout is set on it and no retry or resilience policy wraps its calls in the type that owns it. A slow or failing dependency will hold this service's request, thread or connection — and cascade — until the call gives up on its own (100 s for HttpClient's default). (×3) — REDACTED:90, REDACTED:126, REDACTED:163

What to do

  • Add `AddStandardResilienceHandler()` (or a Polly policy and an explicit timeout) to each client registration flagged here, so a flaky dependency can't take the app down.
PF3 · Async & latency hygiene10.0 / 10Exemplary✓ Tool-verified

Readiness · Performance — Whether asynchronous code stays responsive — it avoids sync-over-async blocking (a .NET .Wait()/.GetAwaiter().GetResult(), a time.sleep or blocking HTTP call inside a Python coroutine, a *Sync call inside an async JavaScript function, block_on inside a Rust async fn, runBlocking inside a Kotlin suspend function, block() inside a Reactor publisher) that stalls a thread or event loop and risks deadlock, and, where the code is a reusable library on .NET, awaits with ConfigureAwait(false) so it never captures and stalls its caller's context.

Method: Production-source scan: sync-over-async blocking counted everywhere — .Wait()/.GetAwaiter().GetResult() in .NET; off .NET, read from each language's code model, a blocking call inside an async function (Python, TS/JS, Rust, Kotlin, Swift, Dart) or inside a Java method returning a Reactor Mono/Flux or a Scala method returning a Future or effect — and, for a .NET library with ≥5 awaits, the share of awaits using ConfigureAwait(false). Deterministic, syntax/text detection.

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 · 26 plain JS — the untyped files are LearningMpaAbp.Web/Abp/Framework/scripts/abp.js, LearningMpaAbp.Web/Abp/Framework/scripts/libs/abp.blockUI.js, LearningMpaAbp.Web/Abp/Framework/scripts/libs/abp.jquery.js, LearningMpaAbp.Web/Abp/Framework/scripts/libs/abp.jtable.js, LearningMpaAbp.Web/Abp/Framework/scripts/libs/abp.moment.js, LearningMpaAbp.Web/Abp/Framework/scripts/libs/abp.signalr.js (+20 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.
R10 · Code Duplication8.8 / 10Strong✓ Tool-verified

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.

  • LearningMpaAbp.Web/Scripts/moment-with-locales.js:4563 · LearningMpaAbp.Web/Scripts/moment-with-locales.js:6678 — 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. — LearningMpaAbp.Web/Scripts/moment-with-locales.js:4563
  • LearningMpaAbp.Web/Scripts/moment-with-locales.js:4650 · LearningMpaAbp.Web/Scripts/moment-with-locales.js:6767 — 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. — LearningMpaAbp.Web/Scripts/moment-with-locales.js:4650
  • LearningMpaAbp.Web/Scripts/moment-with-locales.js:4861 · LearningMpaAbp.Web/Scripts/moment-with-locales.js:9468 — 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. — LearningMpaAbp.Web/Scripts/moment-with-locales.js:4861
  • LearningMpaAbp.Web/Scripts/moment-with-locales.js:5088 · LearningMpaAbp.Web/Scripts/moment-with-locales.js:5154 — 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. — LearningMpaAbp.Web/Scripts/moment-with-locales.js:5088
  • LearningMpaAbp.Web/Scripts/moment-with-locales.js:8418 · LearningMpaAbp.Web/Scripts/moment-with-locales.js:8489 — 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. — LearningMpaAbp.Web/Scripts/moment-with-locales.js:8418
  • LearningMpaAbp.Web/Scripts/moment-with-locales.js:4775 · LearningMpaAbp.Web/Scripts/moment-with-locales.js:9404 — 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. — LearningMpaAbp.Web/Scripts/moment-with-locales.js:4775
  • LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:1427 · LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:1461 — 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. — LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:1427
  • LearningMpaAbp.Web/Scripts/moment-with-locales.js:4241 · LearningMpaAbp.Web/Scripts/moment-with-locales.js:8145 — 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. — LearningMpaAbp.Web/Scripts/moment-with-locales.js:4241
  • LearningMpaAbp.Web/Scripts/moment-with-locales.js:7012 · LearningMpaAbp.Web/Scripts/moment-with-locales.js:7313 · LearningMpaAbp.Web/Scripts/moment-with-locales.js:8396 · LearningMpaAbp.Web/Scripts/moment-with-locales.js:8467 — 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. — LearningMpaAbp.Web/Scripts/moment-with-locales.js:7012
  • LearningMpaAbp.Web/Scripts/moment-with-locales.js:8975 · LearningMpaAbp.Web/Scripts/moment-with-locales.js:9024 — 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. — LearningMpaAbp.Web/Scripts/moment-with-locales.js:8975
  • LearningMpaAbp.Web/Scripts/moment-with-locales.js:4167 · LearningMpaAbp.Web/Scripts/moment-with-locales.js:10804 — 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. — LearningMpaAbp.Web/Scripts/moment-with-locales.js:4167
  • LearningMpaAbp.Web/Scripts/moment-with-locales.js:8046 · LearningMpaAbp.Web/Scripts/moment-with-locales.js:9787 · LearningMpaAbp.Web/Scripts/moment-with-locales.js:9884 — 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. — LearningMpaAbp.Web/Scripts/moment-with-locales.js:8046
  • LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:1354 · LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:1391 — 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. — LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:1354
  • LearningMpaAbp.Web/Scripts/moment-with-locales.js:4210 · LearningMpaAbp.Web/Scripts/moment-with-locales.js:8114 — 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. — LearningMpaAbp.Web/Scripts/moment-with-locales.js:4210
  • LearningMpaAbp.Web/Scripts/moment-with-locales.js:11008 · LearningMpaAbp.Web/Scripts/moment-with-locales.js:11103 — 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. — LearningMpaAbp.Web/Scripts/moment-with-locales.js:11008
  • LearningMpaAbp.Web/Views/Tenants/Index.js:1 · LearningMpaAbp.Web/Views/Users/Index.js:1 — 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. — LearningMpaAbp.Web/Views/Tenants/Index.js:1
  • LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:6212 · LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:14441 — 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. — LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:6212
  • LearningMpaAbp.Web/Scripts/moment-with-locales.js:6648 · LearningMpaAbp.Web/Scripts/moment-with-locales.js:8349 · LearningMpaAbp.Web/Scripts/moment-with-locales.js:8710 · LearningMpaAbp.Web/Scripts/moment-with-locales.js:10199 — 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. — LearningMpaAbp.Web/Scripts/moment-with-locales.js:6648
  • LearningMpaAbp.Web/Scripts/moment-with-locales.js:9192 · LearningMpaAbp.Web/Scripts/moment-with-locales.js:9214 — 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. — LearningMpaAbp.Web/Scripts/moment-with-locales.js:9192
  • LearningMpaAbp.Web/Scripts/moment-with-locales.js:3752 · LearningMpaAbp.Web/Scripts/moment-with-locales.js:3923 · LearningMpaAbp.Web/Scripts/moment-with-locales.js:5265 — 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. — LearningMpaAbp.Web/Scripts/moment-with-locales.js:3752
  • LearningMpaAbp.Web/Scripts/moment-with-locales.js:4079 · LearningMpaAbp.Web/Scripts/moment-with-locales.js:10703 — 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. — LearningMpaAbp.Web/Scripts/moment-with-locales.js:4079
  • LearningMpaAbp.Web/Scripts/moment-with-locales.js:8388 · LearningMpaAbp.Web/Scripts/moment-with-locales.js:8459 — 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. — LearningMpaAbp.Web/Scripts/moment-with-locales.js:8388
  • LearningMpaAbp.Web/Scripts/moment-with-locales.js:9268 · LearningMpaAbp.Web/Scripts/moment-with-locales.js:11010 · LearningMpaAbp.Web/Scripts/moment-with-locales.js:11105 — 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. — LearningMpaAbp.Web/Scripts/moment-with-locales.js:9268
  • LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:3083 · LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:12699 — 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. — LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:3083
  • LearningMpaAbp.Web/Abp/Framework/scripts/libs/abp.jquery.js:65 · LearningMpaAbp.Web/Abp/Framework/scripts/libs/angularjs/abp.ng.js:30 — the two spans are one implementation copied and then locally edited — 112 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — LearningMpaAbp.Web/Abp/Framework/scripts/libs/abp.jquery.js:65
  • LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:6742 · LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:6931 — 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. — LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:6742
  • LearningMpaAbp.Web/Scripts/moment-with-locales.js:5404 · LearningMpaAbp.Web/Scripts/moment-with-locales.js:5623 — all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct — the members of a type, or the entries of an object or array literal — with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal's entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or — where the copies are a literal's entries rather than a type's members — one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared — a decorator and its options, an annotation, a registration table's keys — the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases. — LearningMpaAbp.Web/Scripts/moment-with-locales.js:5404
  • LearningMpaAbp.Web/Abp/Framework/scripts/libs/abp.jtable.js:60 · LearningMpaAbp.Web/Abp/Framework/scripts/libs/abp.jtable.js:84 · LearningMpaAbp.Web/Abp/Framework/scripts/libs/abp.jtable.js:117 — 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. — LearningMpaAbp.Web/Abp/Framework/scripts/libs/abp.jtable.js:60
  • LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:2678 · LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:2703 — 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. — LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:2678
  • LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:6278 · LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:14505 — 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. — LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:6278
  • LearningMpaAbp.Web/Scripts/moment-with-locales.js:4459 · LearningMpaAbp.Web/Scripts/moment-with-locales.js:6670 — 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. — LearningMpaAbp.Web/Scripts/moment-with-locales.js:4459
  • LearningMpaAbp.Web/Scripts/moment-with-locales.js:5740 · LearningMpaAbp.Web/Scripts/moment-with-locales.js:6318 · LearningMpaAbp.Web/Scripts/moment-with-locales.js:8773 — 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. — LearningMpaAbp.Web/Scripts/moment-with-locales.js:5740
  • LearningMpaAbp.Web/Scripts/moment-with-locales.js:8012 · LearningMpaAbp.Web/Scripts/moment-with-locales.js:9754 · LearningMpaAbp.Web/Scripts/moment-with-locales.js:9851 — 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. — LearningMpaAbp.Web/Scripts/moment-with-locales.js:8012
  • LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:10931 · LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:11705 — 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. — LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:10931
  • LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:13324 · LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:15088 — 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. — LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:13324
  • LearningMpaAbp.Web/Scripts/moment-with-locales.js:734 · LearningMpaAbp.Web/Scripts/moment-with-locales.js:751 — 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. — LearningMpaAbp.Web/Scripts/moment-with-locales.js:734
  • LearningMpaAbp.Web/Scripts/moment-with-locales.js:4359 · LearningMpaAbp.Web/Scripts/moment-with-locales.js:4458 · LearningMpaAbp.Web/Scripts/moment-with-locales.js:6669 · LearningMpaAbp.Web/Scripts/moment-with-locales.js:8368 · +1 more site(s) not listed — all 5 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. — LearningMpaAbp.Web/Scripts/moment-with-locales.js:4359
  • LearningMpaAbp.Web/Scripts/moment-with-locales.js:4712 · LearningMpaAbp.Web/Scripts/moment-with-locales.js:5756 · LearningMpaAbp.Web/Scripts/moment-with-locales.js:6450 — 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. — LearningMpaAbp.Web/Scripts/moment-with-locales.js:4712
  • LearningMpaAbp.Web/Scripts/moment-with-locales.js:4818 · LearningMpaAbp.Web/Scripts/moment-with-locales.js:9447 — 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. — LearningMpaAbp.Web/Scripts/moment-with-locales.js:4818
  • LearningMpaAbp.Web/Views/BackendTasks/list.js:199 · LearningMpaAbp.Web/Views/Tasks/index.js:51 — 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. — LearningMpaAbp.Web/Views/BackendTasks/list.js:199

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.
R2 · Cyclomatic Complexity2.0 / 10Critical✓ Tool-verified

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 87 and cognitive complexity 206; 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. — LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:5378
  • sl__processRelativeTime has cyclomatic complexity 72 and cognitive complexity 115; 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. — LearningMpaAbp.Web/Scripts/moment-with-locales.js:9539
  • _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. — LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:4337
  • is__translate has cyclomatic complexity 42 and cognitive complexity 61; 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. — LearningMpaAbp.Web/Scripts/moment-with-locales.js:7083
  • parseDate has cyclomatic complexity 42 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. — LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:4865
  • apply has cyclomatic complexity 40 and cognitive complexity 74; 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. — LearningMpaAbp.Web/Scripts/select2.js:4565
  • cs__translate has cyclomatic complexity 39 and cognitive complexity 56; 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. — LearningMpaAbp.Web/Scripts/moment-with-locales.js:4777
  • sk__translate has cyclomatic complexity 39 and cognitive complexity 56; 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. — LearningMpaAbp.Web/Scripts/moment-with-locales.js:9406
  • hu__translate has cyclomatic complexity 34 and cognitive complexity 34; 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. — LearningMpaAbp.Web/Scripts/moment-with-locales.js:6822
  • _mouseDrag has cyclomatic complexity 33 and cognitive complexity 54; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:13782
  • drag has cyclomatic complexity 33 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. — LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:6843
  • normalize has cyclomatic complexity 32 and cognitive complexity 63; 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. — LearningMpaAbp.Web/Scripts/select2.js:65
  • _respectSize has cyclomatic complexity 29 and cognitive complexity 20; 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. — LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:7509
  • _generatePosition has cyclomatic complexity 27 and cognitive complexity 57; 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. — LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:6392
  • _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. — LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:5562
  • 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. — LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:5074
  • _clear has cyclomatic complexity 27 and cognitive complexity 36; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:14665
  • bs__translate has cyclomatic complexity 27 and cognitive complexity 28; 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. — LearningMpaAbp.Web/Scripts/moment-with-locales.js:4575
  • hr__translate has cyclomatic complexity 27 and cognitive complexity 28; 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. — LearningMpaAbp.Web/Scripts/moment-with-locales.js:6689
  • _generatePosition has cyclomatic complexity 26 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. — LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:14578

What to do

  • Break down the listed branch-heavy functions; aim P95 cyclomatic ≤ 5.
R3 · Large Files10.0 / 10Exemplary✓ 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.

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 26 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).
R7 · Dead Code10.0 / 10Exemplary✓ 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.

  • 29 file(s) (~37962 LoC) were excluded from dead-code analysis — declare main/module/exports or a conventional entry (src/index.*, an index.html script) so reachability can see this package.
R9 · Circular Imports10.0 / 10Exemplary✓ Tool-verified

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.

S1 · Web-Security Posture2.5 / 10Weak✓ Tool-verified

Other · Security — Transport security, security headers, secure cookies, input validation, middleware order and crypto hygiene (presence, not runtime).

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.

  • `http://cdnjs.cloudflare.com/ajax/libs/bootstrap-table/1.11.0/bootstrap-table.min.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. 2 such include(s) across the repository's markup. — REDACTED:13
  • None of the 11 security response headers the OWASP Secure Headers Project recommends (Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, X-Frame-Options, …) is configured — defense in depth, even when a reverse proxy could set them. (−2.0 on this card.)
  • No UseHttpsRedirection/UseHsts and no reverse-proxy signal — transport security is unverified at the app layer. (−2.0 on this card.)
  • No CookieSecurePolicy/HttpOnly/SameSite configuration found. (−1.5 on this card; skip if the app sets no cookies.) — REDACTED:152

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.
  • Add security response headers (Content-Security-Policy first, then Strict-Transport-Security, X-Content-Type-Options and a frame policy) — defense in depth, even when a reverse proxy could set them.
  • Enforce HTTPS at the app layer (UseHttpsRedirection / UseHsts) — only skip this if a reverse proxy demonstrably terminates TLS.
  • Set secure cookie flags — CookieSecurePolicy.Always, HttpOnly, and SameSite (Strict/Lax) on auth/session cookies. Skip only if the app sets no cookies.
X1 · Async correctness10.0 / 10Exemplary○ Nothing flagged

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.

X12 · Unreachable branch10.0 / 10Exemplary○ Nothing flagged

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.

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.

X14 · Bypassable address classification10.0 / 10Exemplary○ Nothing flagged

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.

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.

X16 · Unfloored truncation loop10.0 / 10Exemplary○ Nothing flagged

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.

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.

X18 · Disposal-pattern correctness10.0 / 10Exemplary○ Nothing flagged

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.

X19 · Unrestored process-global state10.0 / 10Exemplary○ Nothing flagged

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.

X2 · Cancellation propagation4.0 / 10Weak✓ Tool-verified

Other · Code Health — Whether async methods accept a CancellationToken so work can be cancelled (adoption curve).

Method: Roslyn scan: every async method (excluding framework-fixed overrides/Blazor handlers) checked for CancellationToken parameter presence. Deterministic, adoption percentage. 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 question: every named async function that itself makes a request an AbortSignal can cancel (global `fetch`, axios and its file-local instances, ky, ofetch) counts, and it is compliant when its parameters or body name a signal or it hands one of its own parameters to the request as options; signatures a framework fixes (JSX event handlers, route and lifecycle exports, request-first handlers, `override`, `'use server'` modules, TanStack `mutationFn`) are exempt unless they take a signal. Deterministic, adoption percentage.

  • Only 0/23 async methods accept a CancellationToken, so in-flight work can't be stopped early when the caller gives up — whatever ends it in your host (shutdown signal, timeout, abandoned request, user cancel). Thread a token through the call chain and honour it at each await and loop; where a method genuinely cannot be interrupted, omitting it is a deliberate choice — judge against your hosting model.
  • No CancellationToken parameter — this work can't be stopped early once started. (×23) — LearningMpaAbp.Application/MultiTenancy/TenantAppService.cs:48, LearningMpaAbp.Application/Tasks/TaskAppService.cs:124, LearningMpaAbp.Application/Roles/RoleAppService.cs:22, …

What to do

  • Thread a CancellationToken through async methods so work stops promptly on cancellation.
X20 · Mistyped argument guard10.0 / 10Exemplary○ Nothing flagged

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 `ArgumentNullException` 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.

X21 · Side-effecting pattern guard10.0 / 10Exemplary○ Nothing flagged

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.

X22 · Contradicted release guard10.0 / 10Exemplary○ Nothing flagged

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.

X23 · Unguarded diagnostic materialisation10.0 / 10Exemplary○ Nothing flagged

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.

X24 · Document value interpolated into markup unescaped4.5 / 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.

  • `Model.GetShownLoginName()` is text this program did not author, and it is written into the text of an element through Razor's `Html.Raw` 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. — LearningMpaAbp.Web/Views/Layout/_UserMenuOrLoginLink.cshtml:5
  • `wrap[1]+elem.replace(rxhtmlTag,"<$1></$2>")+wrap[2]` 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) — LearningMpaAbp.Web/Scripts/jquery-2.2.0-vsdoc.js:1130, LearningMpaAbp.Weixin/Scripts/jquery-1.10.2.js:6569
  • `value` 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. (×3) — LearningMpaAbp.Web/Scripts/jquery-2.2.0-vsdoc.js:4234, LearningMpaAbp.Web/Scripts/jquery-2.2.0.js:5508, LearningMpaAbp.Weixin/Scripts/jquery-1.10.2.js:6163
  • `expando` 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) — LearningMpaAbp.Web/Scripts/jquery-2.2.0.js:1184, LearningMpaAbp.Web/Scripts/jquery-2.2.0.js:1185
  • `wrap[1]+jQuery.htmlPrefilter(elem)+wrap[2]` 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. — LearningMpaAbp.Web/Scripts/jquery-2.2.0.js:4334
  • `style` 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) — LearningMpaAbp.Web/Scripts/modernizr-2.8.3.js:125, LearningMpaAbp.Weixin/Scripts/modernizr-2.6.2.js:125
  • `cssText` 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) — LearningMpaAbp.Web/Scripts/modernizr-2.8.3.js:1077, LearningMpaAbp.Weixin/Scripts/modernizr-2.6.2.js:1071
  • `q` 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. — LearningMpaAbp.Web/Scripts/others/respond.src.js:22
  • `(params.html)?params.title:escapeHtml(params.title).split("\n").join("<br>")` 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. — REDACTED:561
  • `(params.html)?params.text:escapeHtml(params.text||'').split("\n").join("<br>")` 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. — REDACTED:564
  • `src.outerHTML` is text this program did not author, and it is written into the text of an element through `outerHTML` 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. — LearningMpaAbp.Weixin/Scripts/jquery-1.10.2.js:6390
  • `src.innerHTML` 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. — LearningMpaAbp.Weixin/Scripts/jquery-1.10.2.js:6398
  • `elem.outerHTML` 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. — LearningMpaAbp.Weixin/Scripts/jquery-1.10.2.js:6491

What to do

  • Each finding names the expression, the attribute it lands in and the line. Confirm the value's origin from the read this analyzer traced, then escape it at the sink or validate it against the shape the attribute accepts before interpolating.
X25 · Inert configuration knob10.0 / 10Exemplary○ Nothing flagged

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.

X26 · Unsynchronised callback handoff10.0 / 10Exemplary○ Nothing flagged

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.

X27 · Collection changed while being enumerated10.0 / 10Exemplary○ Nothing flagged

Other · Code Health — Whether a `foreach` leaves the collection it is walking alone — a body that adds to or removes from the very collection the loop is enumerating invalidates the enumerator it is holding, so the next `MoveNext` throws `InvalidOperationException` and the remaining items 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.

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.

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.

X3 · Exception handling10.0 / 10Exemplary○ Nothing flagged

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.

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.

X32 · Type resolved by simple name across every loaded assembly10.0 / 10Exemplary○ Nothing flagged

Other · Code Health — Whether a plugin lookup names the type it means — searching every assembly loaded into the process for a candidate whose SIMPLE name equals a string supplied at runtime, and taking the first one found, is decided by assembly LOAD ORDER rather than by this source, so the same name can resolve to a different type on the next run.

Method: Roslyn syntax only, no semantic model: every invocation of `First`/`FirstOrDefault`/`Single`/`SingleOrDefault` whose OWN expression subtree contains both a `GetAssemblies()` call and a `GetTypes()`/`GetExportedTypes()` call — a single-element pick out of every type loaded into the process. A nested selector in the same chain sees no `GetAssemblies()` in its own subtree and is outside the population, so one lookup counts once however many links its chain has. A finding additionally needs both remaining halves: the selector must be `First`/`FirstOrDefault` (`Single`/`SingleOrDefault` reports the ambiguity rather than resolving it, and is counted and never reported), and the chain must carry an `==` comparison of `<lambda parameter>.Name` against something that is not a literal. The receiver must be a plain identifier bound by one of the chain’s own lambdas, which places `assembly.GetName().Name == "X"` outside the rule by construction. One exemption: a `.Name` test joined by `&&` to a `FullName`/`AssemblyQualifiedName` test on the same identifier is spared; joined by `||` it is not. Deterministic, provable per finding. Advisory.

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).

DimensionWCAG 2.2 A/AA criteriaCoverage
AC1 · Text alternatives1.1.1, 1.2.2, 1.2.5Partial signal
AC2 · Forms & labels1.3.1, 3.3.2, 4.1.2Partial signal
AC3 · Page structure1.4.4, 2.2.1, 2.4.1, 2.4.2, 3.1.1, 4.1.2Partial signal
AC4 · Keyboard semantics2.1.1, 2.4.3Partial signal
AC5 · ARIA correctness4.1.2Partial signal
AC6 · Visual & motion safety1.4.3, 2.4.7Partial — literal CSS only
AC7 · A11y enforcementenforcement — no page criterionEnforcement posture (process)

Not statically assessed — these 40 Level A/AA criteria need runtime or manual evaluation (WCAG-EM): 1.2.1, 1.2.3, 1.2.4, 1.3.2, 1.3.3, 1.3.4, 1.3.5, 1.4.1, 1.4.2, 1.4.5, 1.4.10, 1.4.11, 1.4.12, 1.4.13, 2.1.2, 2.1.4, 2.2.2, 2.3.1, 2.4.4, 2.4.5, 2.4.6, 2.4.11, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.5.7, 2.5.8, 3.1.2, 3.2.1, 3.2.2, 3.2.3, 3.2.4, 3.2.6, 3.3.1, 3.3.3, 3.3.4, 3.3.7, 3.3.8, 4.1.3.

Reference — by lens

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.

LensScoreRatingImpact
Code Health42%Weak — gated by D2, R1, R2Capped at Fair by a Critical contributor — resolve it before relying on this lens.
Architecture62%Adequate — gated by AX2Capped at Fair by a Critical contributor — resolve it before relying on this lens.
Maturity34%Weak — gated by D34, M2Capped at Fair by a Critical contributor — resolve it before relying on this lens.
Readiness16%Critical — gated by D13, D14, R4, P2, P3, P7Capped at Fair by a Critical contributor — resolve it before relying on this lens.
Security15%Critical — gated by D29, C1, C2, S1Capped at Fair by a Critical contributor — resolve it before relying on this lens.
Accessibility26%Weak — gated by AC1, AC4, AC6Capped at Fair by a Critical contributor — resolve it before relying on this lens.
Performance100%ExemplaryStrongest area.
Unscored — 2 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.

  • SC1 Supply-chain hygiene — 1 observation(s) recorded · Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
  • X10 Duplicated predicate — 25 observation(s) recorded · Advisory — this card reports evidence and never carries a score.
Not evidenced — 4 control(s) we could not find positive evidence for

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 — Repo shows no audit-logging mechanism (IAuditable, an immutable audit log, an EF SaveChanges interceptor) for sensitive changes — absence of evidence is not evidence of a working control. Record an audit trail in code (or document where it lives) so this dimension can be scored.
  • C4 Data Retention — Repo shows no data-retention / TTL / cleanup mechanism for personal data — absence of evidence is not evidence of a working control. Define retention periods and a purge/cleanup job (or TTL) in code, or document where retention is enforced, so this dimension can be scored.
  • C5 Data-Subject Rights — Repo shows no corroborated data-subject-rights mechanism (erasure / export-portability / consent) tied to a subject id or GDPR vocabulary — absence of evidence is not evidence of a working control. Implement erasure, data export/portability and consent tracking over the subject's records.
  • P5 DR & Backup — not evidenced — repo shows no backup/RTO/RPO controls; absence of evidence is not evidence of a working control
Not included — 45 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 — no DI registrations detected
  • 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
  • AXB1 Runtime evidence locked — no reproducible boot — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
  • AXB2 Runtime readiness — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
  • D11 Test Reliability — Test reliability not measured — no test run produced results
  • D12 Dependency Hygiene — Dependency hygiene not measured
  • D16 Bus Factor — single-contributor repository — bus factor is not applicable
  • D19 Documentation Quality — D19 withholds "XML-doc coverage": 7 candidate(s) (0 of them low-coverage Warnings on library projects) were measured and not published.
  • D21 Naming Consistency — Naming consistency is measured on C# and TypeScript only; JavaScript not measured.
  • D22 Internal API Consistency — No intentionally-exposed public API to evaluate for consistency.
  • D23 Boundary Type-Coupling — Cross-context type coupling could not be assessed — this codebase's bounded contexts are neither declared nor inferable.
  • D25 ADR Conformance — no ADRs to check
  • D27 Navigability — symbol resolution incomplete — navigability not assessed
  • D31 IaC & Container Security — No Infrastructure-as-Code or container manifests found (Dockerfile, Docker Compose, Terraform, Kubernetes/Helm, CloudFormation, ARM, Bicep, Ansible); nothing to scan.
  • D32 Data Compliance (PII/GDPR) — No personal data was found crossing a boundary the PII/GDPR ruleset checks — nothing written to a log or console sink, placed in a URL or query string, or persisted to browser storage. That is a clean result for the LEAK surface only: this ruleset detects personal data escaping, it does not inventory the personal data a repository holds, so it is not evidence that this repository has no personal-data surface. The personal-data map (Appendix C) and the C1-C5 compliance cards are what speak to that.
  • D36 Supply-chain Provenance & Signing — The CI pipeline builds and tests but publishes no released artifact — no package publish, container push, GitHub release or deployment step. Supply-chain provenance, signing and SBOM attest RELEASED artifacts, so there is nothing to attest here. Add them to the release pipeline when this repo starts shipping artifacts (a published package, a container image, a deployed service or a tagged release). Build integrity and workflow-token hygiene are reported below: they describe what the CI runs and the token it runs with, neither of which is affected by whether the pipeline ships an artifact.
  • D37 Vulnerability-disclosure Policy — No vulnerability-disclosure policy file found (SECURITY.md/.markdown/.rst/.txt at root or under .github/.forgejo/.gitea/docs, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed.
  • D39 IL Efficiency — IL not measured — the analyzer's build of the target did not succeed
  • D40 Network Egress Confinement — No Kubernetes/orchestration workloads found in the repository manifests; network egress policy is a cluster-native control that may live at the platform/firewall layer, so there is nothing to assess here.
  • D41 Kernel & Syscall Confinement — No Kubernetes/orchestration workloads found in the repository manifests; seccomp/AppArmor/SELinux confinement is a workload-level control, so there is nothing to assess here.
  • D42 Runtime Threat Enforcement — No Kubernetes/orchestration workloads found in the repository manifests; runtime threat-detection and admission-control policy are cluster-level controls, so there is nothing to assess here.
  • D44 Platform End-of-Life — Platform end-of-life not assessed — this repository declares no platform this pass reads
  • D7 Architectural Integrity — no checkable ADRs and no dependency cycles — architectural integrity not assessed
  • D8 Code Coverage — Coverage not measured — no coverage collector is wired up
  • DM1 Domain Modelling — not scored — this repository shows none of the 3 signals this lens looks for
  • ED1 Event-Driven — not scored — this repository shows only 1 of the 3 signals this lens looks for (a message-bus package)
  • 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
  • M4 Documentation accuracy — Not applicable: the 1 current-state document(s) make no claim of a kind M4 checks.
  • P12 CI test-gate honesty — Reported, not scored — and nothing was matched here. The coverage check applies to any stack, and the automatic-re-run check to any GitHub-Actions workflow, but the checks for excluded tests, skipped tests and sleep-based synchronisation currently recognise only some ecosystems' test-runner idioms, so on a repository built with another stack the zeros below mean 'not checked', not 'clean'.
  • P8 Schema migrations — no EF Core usage detected
  • P9 Domain vs controller coverage — no coverage report found on disk — produce a coverage report in a standard format (Cobertura — `dotnet test --collect:"XPlat Code Coverage"` with a `coverlet.collector` PackageReference) 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 — Performance is assessed only for perf-relevant repos — a packaged library, one that ships benchmarks, or one already using allocation-aware APIs. This repo isn't one, so the Performance lens is not applicable and is excluded from the score.
  • 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.
  • 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).
  • X4 Structured logging — This check asks whether log calls keep a message's values apart from its text, which needs a logger that can carry them as fields. This repository's C# was read, and every log call in it goes through a logger that takes one finished message — its own wrapper, log4net, Console or Debug — so an interpolated message there loses nothing the API could have kept. Calls through Microsoft.Extensions.Logging, Serilog, NLog or ZLogger, or any logger with a message-template overload, would be judged.
  • X5 Nullable reference types — no NRT-eligible projects
  • X6 Hand-rolled structured-format parsing — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
  • X7 Silent fallback defaults — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
  • X9 Subsumed condition operand — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.

Appendix A — Findings (grouped)

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 — 65 finding(s)
AC2 · Forms & labels · <input> without a programmatic label · ×17
  • <input> without a programmatic label LearningMpaAbp.Web/Scripts/jquery-2.2.0.js:2645 — 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 LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:2773 — 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 LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:4086 — 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 LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:14812 — 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 LearningMpaAbp.Web/Scripts/select2.js:1839 — 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 LearningMpaAbp.Web/Scripts/select2.js:3890 — 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 LearningMpaAbp.Web/Views/Account/Login.cshtml:24 — 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 LearningMpaAbp.Web/Views/Account/Login.cshtml:36 — 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 LearningMpaAbp.Web/Views/Account/Login.cshtml:42 — 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 LearningMpaAbp.Web/Views/Account/Register.cshtml:29 — 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 LearningMpaAbp.Web/Views/Account/Register.cshtml:38 — 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 LearningMpaAbp.Web/Views/Account/Register.cshtml:44 — 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 LearningMpaAbp.Web/Views/Account/Register.cshtml:50 — 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 LearningMpaAbp.Web/Views/Account/Register.cshtml:56 — 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 LearningMpaAbp.Web/Views/Account/Register.cshtml:62 — 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 LearningMpaAbp.Weixin/Scripts/jquery-1.10.2.js:2945 — 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 LearningMpaAbp.Weixin/Scripts/jquery-1.10.2.js:3326 — 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 · <select> without a programmatic label · ×10
  • <select> without a programmatic label LearningMpaAbp.Web/Scripts/jquery-2.2.0.js:1185 — This control has no associated label. Add a <label for> / wrapping <label> / aria-label / aria-labelledby so assistive tech can name it.
  • <select> without a programmatic label LearningMpaAbp.Web/Scripts/jquery-2.2.0.js:4251 — This control has no associated label. Add a <label for> / wrapping <label> / aria-label / aria-labelledby so assistive tech can name it.
  • <select> without a programmatic label LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:5578 — This control has no associated label. Add a <label for> / wrapping <label> / aria-label / aria-labelledby so assistive tech can name it.
  • <select> without a programmatic label LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:5612 — This control has no associated label. Add a <label for> / wrapping <label> / aria-label / aria-labelledby so assistive tech can name it.
  • <select> without a programmatic label LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:12200 — This control has no associated label. Add a <label for> / wrapping <label> / aria-label / aria-labelledby so assistive tech can name it.
  • <select> without a programmatic label LearningMpaAbp.Web/Views/Address/Index.cshtml:9 — This control has no associated label. Add a <label for> / wrapping <label> / aria-label / aria-labelledby so assistive tech can name it.
  • <select> without a programmatic label LearningMpaAbp.Web/Views/Address/Index.cshtml:12 — This control has no associated label. Add a <label for> / wrapping <label> / aria-label / aria-labelledby so assistive tech can name it.
  • <select> without a programmatic label LearningMpaAbp.Web/Views/Address/Index.cshtml:15 — This control has no associated label. Add a <label for> / wrapping <label> / aria-label / aria-labelledby so assistive tech can name it.
  • <select> without a programmatic label LearningMpaAbp.Weixin/Scripts/jquery-1.10.2.js:1601 — This control has no associated label. Add a <label for> / wrapping <label> / aria-label / aria-labelledby so assistive tech can name it.
  • <select> without a programmatic label LearningMpaAbp.Weixin/Scripts/jquery-1.10.2.js:6017 — This control has no associated label. Add a <label for> / wrapping <label> / aria-label / aria-labelledby so assistive tech can name it.
D30 · Dependency Vulnerabilities · High CVE · ×9
  • REDACTED
  • REDACTED
  • REDACTED
  • REDACTED
  • REDACTED
  • REDACTED
  • REDACTED
  • REDACTED
  • REDACTED
D17 · Explicit Debt · WriteOnlyPrivateField · ×6
  • WriteOnlyPrivateField LearningMpaAbp.Application/Tasks/TaskAppService.cs:36 — private INotificationPublisher _notificationPublisher — assigned 1 time(s), read never — this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments — or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there.
  • WriteOnlyPrivateField LearningMpaAbp.Application/Tasks/TaskAppService.cs:37 — private ISmtpEmailSender _smtpEmailSender — assigned 1 time(s), read never — this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments — or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there.
  • WriteOnlyPrivateField LearningMpaAbp.Core/Tasks/TaskAssignedToUser.cs:15 — private ISmtpEmailSender _smtpEmailSender — assigned 1 time(s), read never — this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments — or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there.
  • WriteOnlyPrivateField LearningMpaAbp.Core/Tasks/TaskManager.cs:18 — private IPermissionChecker _permissionChecker — assigned 1 time(s), read never — this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments — or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there.
  • WriteOnlyPrivateField LearningMpaAbp.Core/Tasks/TaskManager.cs:19 — private IAbpSession _abpSession — assigned 1 time(s), read never — this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments — or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there.
  • WriteOnlyPrivateField Tests/LearningMpaAbp.Tests/TestDatas/TestTasksBuilder.cs:13 — private int _tenantId — assigned 1 time(s), read never — this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments — or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there.
AC2 · Forms & labels · Link with no accessible name · ×4
  • Link with no accessible name LearningMpaAbp.Web/Scripts/jquery-2.2.0.js:2632 — A link with no text, aria-label or labelled child (e.g. an icon-only link) has no accessible name, so assistive tech can't say where it goes. Add visible text or an aria-label.
  • Link with no accessible name LearningMpaAbp.Web/Views/Tasks/PagedList.cshtml:15 — A link with no text, aria-label or labelled child (e.g. an icon-only link) has no accessible name, so assistive tech can't say where it goes. Add visible text or an aria-label.
  • Link with no accessible name LearningMpaAbp.Web/Views/Tasks/_List.cshtml:13 — A link with no text, aria-label or labelled child (e.g. an icon-only link) has no accessible name, so assistive tech can't say where it goes. Add visible text or an aria-label.
  • Link with no accessible name LearningMpaAbp.Weixin/Scripts/jquery-1.10.2.js:2932 — A link with no text, aria-label or labelled child (e.g. an icon-only link) has no accessible name, so assistive tech can't say where it goes. Add visible text or an aria-label.
AC2 · Forms & labels · <button> with no accessible text · ×4
  • <button> with no accessible text LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:3412 — A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one).
  • <button> with no accessible text LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:4003 — A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one).
  • <button> with no accessible text LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:8481 — A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one).
  • <button> with no accessible text LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:8558 — A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one).
AC1 · Text alternatives · <img> without a text alternative · ×2
  • <img> without a text alternative LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:4001 — 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 LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:4004 — An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt — alt="" if it's purely decorative.
AC3 · Page structure · <iframe> without a title · ×2
  • <iframe> without a title LearningMpaAbp.Web/Scripts/jquery-2.2.0.js:5614 — An iframe with no title (or an empty one) is announced only as "frame". Add a non-empty title describing its content, or an aria-label.
  • <iframe> without a title LearningMpaAbp.Weixin/Scripts/jquery-1.10.2.js:7277 — An iframe with no title (or an empty one) is announced only as "frame". Add a non-empty title describing its content, or an aria-label.
AX3 · Project dependency cycles · Namespace dependency cycle · ×2
  • Namespace dependency cycle LearningMpaAbp.Application/MultiTenancy/TenantAppService.cs:18 — The namespaces LearningMpaAbp ↔ LearningMpaAbp.MultiTenancy ↔ LearningMpaAbp.Users depend on each other. The lightest dependency in the cycle is LearningMpaAbp.MultiTenancy → LearningMpaAbp (LearningMpaAbp.MultiTenancy.TenantAppService → LearningMpaAbp.LearningMpaAbpAppServiceBase, 1 type pair(s)); cut that one first, e.g. by moving the shared type to a namespace both can use or inverting it behind an interface.
  • Namespace dependency cycle LearningMpaAbp.Application/Tasks/Dtos/CreateTaskInput.cs:5 — The namespaces LearningMpaAbp.Tasks ↔ LearningMpaAbp.Tasks.Dtos depend on each other. The lightest dependency in the cycle is LearningMpaAbp.Tasks.Dtos → LearningMpaAbp.Tasks (LearningMpaAbp.Tasks.Dtos.CreateTaskInput → LearningMpaAbp.Tasks.TaskState, 5 type pair(s)); cut that one first, e.g. by moving the shared type to a namespace both can use or inverting it behind an interface.
D13 · Secret Scanning · Leaked secret · ×2
  • REDACTED
  • REDACTED
D14 · License Compliance · Banned license · ×2
  • Banned license: MySql.Data — `MySql.Data` 6.9.10 resolves to SPDX id GPL-2.0, and this run's banned set is AGPL-3.0, GPL-2.0, GPL-3.0, LGPL-3.0. The id is read as an SPDX expression: an `OR` is a choice and is charged only when every branch is banned, an `AND` binds every operand, and a `WITH` exception leaves the licence it attaches to as it is. Each licence id is then matched as a SUBSTRING that starts at a token boundary, not an exact comparison — which is how variants like `-only` and `-or-later` are caught while `LGPL-2.0-only` is not read as `GPL-2.0`, and it is the rule to apply if you re-check this by hand. The set is policy, not law: it is configurable, so a licence banned here may be acceptable in your context, and the row is then something to record an exception for rather than to fix. ★ This arm reads the resolved package list and knows nothing about dependency SCOPE — it cannot tell a runtime dependency from a build- or test-only one, so unlike the Bundler arm it is NOT claiming this ships to your users. Check where it sits before acting. The depth of this set was not established for this repository: the graded packages are what this pass resolved, and no lockfile was read, so it is not certified to be the full transitive closure.
  • Banned license: MySql.Data.Entity — `MySql.Data.Entity` 6.9.10 resolves to SPDX id GPL-2.0, and this run's banned set is AGPL-3.0, GPL-2.0, GPL-3.0, LGPL-3.0. The id is read as an SPDX expression: an `OR` is a choice and is charged only when every branch is banned, an `AND` binds every operand, and a `WITH` exception leaves the licence it attaches to as it is. Each licence id is then matched as a SUBSTRING that starts at a token boundary, not an exact comparison — which is how variants like `-only` and `-or-later` are caught while `LGPL-2.0-only` is not read as `GPL-2.0`, and it is the rule to apply if you re-check this by hand. The set is policy, not law: it is configurable, so a licence banned here may be acceptable in your context, and the row is then something to record an exception for rather than to fix. ★ This arm reads the resolved package list and knows nothing about dependency SCOPE — it cannot tell a runtime dependency from a build- or test-only one, so unlike the Bundler arm it is NOT claiming this ships to your users. Check where it sits before acting. The depth of this set was not established for this repository: the graded packages are what this pass resolved, and no lockfile was read, so it is not certified to be the full transitive closure.
AC2 · Forms & labels · <textarea> without a programmatic label · ×1
  • <textarea> without a programmatic label LearningMpaAbp.Web/Scripts/jquery-2.2.0.js:4415 — 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 · <html> without a lang · ×1
  • <html> without a lang LearningMpaAbp.Weixin/Views/Shared/_Layout.cshtml:2 — The page declares no language, so assistive tech can't pick the right pronunciation. Add lang (e.g. lang="en").
D28 · Secrets (history) · High secret · ×1
  • REDACTED
D29 · Static Analysis (SAST) · REDACTED · ×1
  • REDACTED
D30 · Dependency Vulnerabilities · Critical CVE · ×1
  • REDACTED
Serious — 421 finding(s)
C2 · Access Controls · No authorization · ×40
  • No authorization — No [Authorize]/policies and no imperative guard methods (throw-on-violation) were found — endpoints may be unprotected.
  • No authorization LearningMpaAbp.Web/Controllers/AboutController.cs:7 — `AboutController.Index` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase.
  • No authorization REDACTED:79 — `AccountController.Login` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase.
  • No authorization REDACTED:94 — `AccountController.Login` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase.
  • No authorization REDACTED:169 — `AccountController.Logout` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase.
  • No authorization REDACTED:179 — `AccountController.Register` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase.
  • No authorization REDACTED:193 — `AccountController.Register` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase.
  • No authorization REDACTED:311 — `AccountController.ExternalLogin` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase.
  • No authorization REDACTED:326 — `AccountController.ExternalLoginCallback` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase.
  • No authorization REDACTED:19 — `AddressController.Index` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase.
  • No authorization REDACTED:28 — `AddressController.GetProvinces` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase.
  • No authorization REDACTED:67 — `AddressController.GetCities` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase.
  • No authorization REDACTED:108 — `AddressController.GetCounties` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase.
  • No authorization LearningMpaAbp.Web/Controllers/BackendTasksController.cs:27 — `BackendTasksController.List` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase.
  • No authorization LearningMpaAbp.Web/Controllers/BackendTasksController.cs:36 — `BackendTasksController.GetAllTasks` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase.
  • No authorization LearningMpaAbp.Web/Controllers/BackendTasksController.cs:64 — `BackendTasksController.Create` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase.
  • No authorization LearningMpaAbp.Web/Controllers/BackendTasksController.cs:71 — `BackendTasksController.Edit` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase.
  • No authorization LearningMpaAbp.Web/Controllers/BackendTasksController.cs:85 — `BackendTasksController.Edit` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase.
  • No authorization LearningMpaAbp.Web/Controllers/HomeController.cs:9 — `HomeController.Index` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase.
  • No authorization REDACTED:32 — `LayoutController.TopMenu` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase.
  • No authorization REDACTED:44 — `LayoutController.LanguageSelection` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase.
  • No authorization REDACTED:56 — `LayoutController.UserMenuOrLoginLink` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase.
  • No authorization LearningMpaAbp.Web/Controllers/TasksController.cs:33 — `TasksController.Index` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase.
  • No authorization LearningMpaAbp.Web/Controllers/TasksController.cs:45 — `TasksController.PagedList` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase.
  • No authorization LearningMpaAbp.Web/Controllers/TasksController.cs:67 — `TasksController.GetList` serves requests and nothing authorizes it: no [Authorize] or RequireAuthorization on it or its controller/group, no fallback policy, no auth-gate middleware and no imperative guard in this codebase.
  • + 15 more in this group — see findings.md.
X2 · Cancellation propagation · Async method without CancellationToken · ×23
  • Async method without CancellationToken: CreateTenant LearningMpaAbp.Application/MultiTenancy/TenantAppService.cs:48 — No CancellationToken parameter — this work can't be stopped early once started.
  • Async method without CancellationToken: GetTaskByIdAsync LearningMpaAbp.Application/Tasks/TaskAppService.cs:124 — No CancellationToken parameter — this work can't be stopped early once started.
  • Async method without CancellationToken: UpdateRolePermissions LearningMpaAbp.Application/Roles/RoleAppService.cs:22 — No CancellationToken parameter — this work can't be stopped early once started.
  • Async method without CancellationToken: ProhibitPermission LearningMpaAbp.Application/Users/UserAppService.cs:26 — No CancellationToken parameter — this work can't be stopped early once started.
  • Async method without CancellationToken: RemoveFromRole LearningMpaAbp.Application/Users/UserAppService.cs:35 — No CancellationToken parameter — this work can't be stopped early once started.
  • Async method without CancellationToken: GetUsersAsync LearningMpaAbp.Application/Users/UserAppService.cs:40 — No CancellationToken parameter — this work can't be stopped early once started.
  • Async method without CancellationToken: CreateUser LearningMpaAbp.Application/Users/UserAppService.cs:58 — No CancellationToken parameter — this work can't be stopped early once started.
  • Async method without CancellationToken: GetLoginResultAsync LearningMpaAbp.WebApi/Api/Controllers/AccountController.cs:55 — No CancellationToken parameter — this work can't be stopped early once started.
  • Async method without CancellationToken: GetLoginResultAsync LearningMpaAbp.WebApi/Api/Providers/SimpleAuthorizationServerProvider.cs:87 — No CancellationToken parameter — this work can't be stopped early once started.
  • Async method without CancellationToken: GetActiveTenantAsync REDACTED:63 — No CancellationToken parameter — this work can't be stopped early once started.
  • Async method without CancellationToken: Login REDACTED:94 — No CancellationToken parameter — this work can't be stopped early once started.
  • Async method without CancellationToken: GetLoginResultAsync REDACTED:115 — No CancellationToken parameter — this work can't be stopped early once started.
  • Async method without CancellationToken: SignInAsync REDACTED:129 — No CancellationToken parameter — this work can't be stopped early once started.
  • Async method without CancellationToken: Register REDACTED:193 — No CancellationToken parameter — this work can't be stopped early once started.
  • Async method without CancellationToken: ExternalLoginCallback REDACTED:326 — No CancellationToken parameter — this work can't be stopped early once started.
  • Async method without CancellationToken: FindPossibleTenantsOfUserAsync REDACTED:395 — No CancellationToken parameter — this work can't be stopped early once started.
  • Async method without CancellationToken: Index LearningMpaAbp.Web/Controllers/UsersController.cs:19 — No CancellationToken parameter — this work can't be stopped early once started.
  • Async method without CancellationToken: Index REDACTED:40 — No CancellationToken parameter — this work can't be stopped early once started.
  • Async method without CancellationToken: GetAbpToken REDACTED:62 — No CancellationToken parameter — this work can't be stopped early once started.
  • Async method without CancellationToken: CookieBasedAuth REDACTED:85 — No CancellationToken parameter — this work can't be stopped early once started.
  • Async method without CancellationToken: GetOAuth2Token REDACTED:121 — No CancellationToken parameter — this work can't be stopped early once started.
  • Async method without CancellationToken: GetOAuth2TokenByRefreshToken REDACTED:158 — No CancellationToken parameter — this work can't be stopped early once started.
  • Async method without CancellationToken: GetUserList REDACTED:213 — No CancellationToken parameter — this work can't be stopped early once started.
X24 · Document value interpolated into markup unescaped · Untrusted text written into markup unescaped · ×19
  • Untrusted text written into markup unescaped LearningMpaAbp.Web/Views/Layout/_UserMenuOrLoginLink.cshtml:5 — `Model.GetShownLoginName()` is text this program did not author, and it is written into the text of an element through Razor's `Html.Raw` 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 LearningMpaAbp.Web/Scripts/jquery-2.2.0-vsdoc.js:1130 — `wrap[1]+elem.replace(rxhtmlTag,"<$1></$2>")+wrap[2]` 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 LearningMpaAbp.Web/Scripts/jquery-2.2.0-vsdoc.js:4234 — `value` 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 LearningMpaAbp.Web/Scripts/jquery-2.2.0.js:1184 — `expando` 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 LearningMpaAbp.Web/Scripts/jquery-2.2.0.js:1185 — `expando` 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 LearningMpaAbp.Web/Scripts/jquery-2.2.0.js:4334 — `wrap[1]+jQuery.htmlPrefilter(elem)+wrap[2]` 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 LearningMpaAbp.Web/Scripts/jquery-2.2.0.js:5508 — `value` 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 LearningMpaAbp.Web/Scripts/modernizr-2.8.3.js:125 — `style` 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 LearningMpaAbp.Web/Scripts/modernizr-2.8.3.js:1077 — `cssText` 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 LearningMpaAbp.Web/Scripts/others/respond.src.js:22 — `q` 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:561 — `(params.html)?params.title:escapeHtml(params.title).split("\n").join("<br>")` 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:564 — `(params.html)?params.text:escapeHtml(params.text||'').split("\n").join("<br>")` 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 LearningMpaAbp.Weixin/Scripts/jquery-1.10.2.js:6163 — `value` 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 LearningMpaAbp.Weixin/Scripts/jquery-1.10.2.js:6390 — `src.outerHTML` is text this program did not author, and it is written into the text of an element through `outerHTML` 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 LearningMpaAbp.Weixin/Scripts/jquery-1.10.2.js:6398 — `src.innerHTML` 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 LearningMpaAbp.Weixin/Scripts/jquery-1.10.2.js:6491 — `elem.outerHTML` 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 LearningMpaAbp.Weixin/Scripts/jquery-1.10.2.js:6569 — `wrap[1]+elem.replace(rxhtmlTag,"<$1></$2>")+wrap[2]` 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 LearningMpaAbp.Weixin/Scripts/modernizr-2.6.2.js:125 — `style` 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 LearningMpaAbp.Weixin/Scripts/modernizr-2.6.2.js:1071 — `cssText` 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.
AC6 · Visual & motion safety · Low contrast colour pair in CSS (3.6 · ×10
  • Low contrast colour pair in CSS (3.6:1) LearningMpaAbp.Weixin/Content/bootstrap.css:2081 — `.btn-primary` sets color: #ffffff on background-color: #428bca — 3.6:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them.
  • Low contrast colour pair in CSS (3.6:1) LearningMpaAbp.Weixin/Content/bootstrap.css:3268 — `.dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus` sets color: #ffffff on background-color: #428bca — 3.6:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them.
  • Low contrast colour pair in CSS (3.6:1) LearningMpaAbp.Weixin/Content/bootstrap.css:3276 — `.dropdown-menu > .active > a, .dropdown-menu > .active > a:hover, .dropdown-menu > .active > a:focus` sets color: #ffffff on background-color: #428bca — 3.6:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them.
  • Low contrast colour pair in CSS (3.6:1) LearningMpaAbp.Weixin/Content/bootstrap.css:3922 — `.nav-pills > li.active > a, .nav-pills > li.active > a:hover, .nav-pills > li.active > a:focus` sets color: #ffffff on background-color: #428bca — 3.6:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them.
  • Low contrast colour pair in CSS (3.6:1) LearningMpaAbp.Weixin/Content/bootstrap.css:4681 — `.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus` sets color: #ffffff on background-color: #428bca — 3.6:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them.
  • Low contrast colour pair in CSS (3.6:1) LearningMpaAbp.Weixin/Content/bootstrap.css:4910 — `a.list-group-item.active > .badge, .nav-pills > .active > a > .badge` sets color: #428bca on background-color: #ffffff — 3.6: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.6:1) LearningMpaAbp.Weixin/Content/bootstrap.css:5288 — `.list-group-item.active, .list-group-item.active:hover, .list-group-item.active:focus` sets color: #ffffff on background-color: #428bca — 3.6:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them.
  • Low contrast colour pair in CSS (3.6:1) LearningMpaAbp.Weixin/Content/bootstrap.css:5452 — `.panel-primary > .panel-heading` sets color: #ffffff on background-color: #428bca — 3.6:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them.
  • Low contrast colour pair in CSS (3.6:1) LearningMpaAbp.Weixin/Content/bootstrap.css:5470 — `.panel-success > .panel-heading` sets color: #468847 on background-color: #dff0d8 — 3.6: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.6:1) LearningMpaAbp.Web/Content/PagedList.css:49 — `.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus` sets color: #ffffff on background-color: #428bca — 3.6:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them.
D3 · God Classes · FileTooLong · ×10
  • FileTooLong: Scripts/jquery-ui-1.11.4.js LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js — FileTooLong — 9956 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 9456 over it, 19.91× 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: Scripts/moment-with-locales.js LearningMpaAbp.Web/Scripts/moment-with-locales.js — FileTooLong — 8089 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 7589 over it, 16.18× 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: Scripts/jquery-1.10.2.js LearningMpaAbp.Weixin/Scripts/jquery-1.10.2.js — FileTooLong — 5026 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 4526 over it, 10.05× 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: Scripts/jquery-2.2.0.js LearningMpaAbp.Web/Scripts/jquery-2.2.0.js — FileTooLong — 4829 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 4329 over it, 9.66× 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 — 2143 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1643 over it, 4.29× 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: Scripts/jquery.signalR-2.2.0.js LearningMpaAbp.Web/Scripts/jquery.signalR-2.2.0.js — FileTooLong — 1571 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1071 over it, 3.14× 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: Scripts/bootstrap.js LearningMpaAbp.Web/Scripts/bootstrap.js — FileTooLong — 1337 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 837 over it, 2.67× 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: Scripts/bootstrap.js LearningMpaAbp.Weixin/Scripts/bootstrap.js — FileTooLong — 998 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 498 over it, 2.00× 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 — 822 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 322 over it, 1.64× 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 — 709 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 209 over it, 1.42× 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.
AC4 · Keyboard semantics · Anchor without href · ×9
  • Anchor without href LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:146 — 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 LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:202 — 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 LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:5428 — 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 LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:5430 — 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 LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:5438 — 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 LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:5440 — 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 LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:15033 — 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 LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:15036 — 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 LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:16178 — 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.
D29 · Static Analysis (SAST) · REDACTED
  • REDACTED
  • REDACTED
  • REDACTED
  • REDACTED
  • REDACTED
  • REDACTED
  • REDACTED
  • REDACTED
  • REDACTED
AC6 · Visual & motion safety · Low contrast colour pair in CSS (2.5 · ×8
  • Low contrast colour pair in CSS (2.5:1) LearningMpaAbp.Weixin/Content/bootstrap.css:2204 — `.btn-success` sets color: #ffffff on background-color: #5cb85c — 2.5:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them.
  • Low contrast colour pair in CSS (2.5:1) LearningMpaAbp.Weixin/Content/bootstrap.css:5055 — `.alert-warning` sets color: #c09853 on background-color: #fcf8e3 — 2.5:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them.
  • Low contrast colour pair in CSS (2.5:1) LearningMpaAbp.Weixin/Content/bootstrap.css:5488 — `.panel-warning > .panel-heading` sets color: #c09853 on background-color: #fcf8e3 — 2.5:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them.
  • Low contrast colour pair in CSS (2.5:1) LearningMpaAbp.Web/Content/bootstrap.css:3176 — `.btn-success` sets color: #fff on background-color: #5cb85c — 2.5:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them.
  • Low contrast colour pair in CSS (2.5:1) LearningMpaAbp.Web/Content/bootstrap.css:3229 — `.btn-success .badge` sets color: #5cb85c on background-color: #fff — 2.5:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them.
  • Low contrast colour pair in CSS (2.5:1) LearningMpaAbp.Web/Content/bootstrap.css:3239 — `.btn-info:focus, .btn-info.focus` sets color: #fff on background-color: #31b0d5 — 2.5:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them.
  • Low contrast colour pair in CSS (2.5:1) LearningMpaAbp.Web/Content/bootstrap.css:3244 — `.btn-info:hover` sets color: #fff on background-color: #31b0d5 — 2.5:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them.
  • Low contrast colour pair in CSS (2.5:1) LearningMpaAbp.Web/Content/bootstrap.css:3251 — `.btn-info:active, .btn-info.active, .open > .dropdown-toggle.btn-info` sets color: #fff on background-color: #31b0d5 — 2.5:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them.
D17 · Explicit Debt · TodoComment · ×7
  • TodoComment LearningMpaAbp.Application/Tasks/TaskAppService.cs:201 — //TODO:需要重新配置QQ邮箱密码 — 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 LearningMpaAbp.Core/Tasks/TaskAssignedToUser.cs:25 — //TODO:需要重新配置QQ邮箱密码 — 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 LearningMpaAbp.EntityFramework/EntityFramework/LearningMpaAbpDbContext.cs:55 — //TODO: Define an IDbSet for your Entities... — 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 LearningMpaAbp.EntityFramework/Migrations/SeedData/DefaultEditionsCreator.cs:31 — //TODO: Add desired features to the standard edition, if wanted! — 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 REDACTED:161 — //TODO: localize message — 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 LearningMpaAbp.WebApi/Api/Controllers/AccountController.cs:84 — //TODO: localize message — 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 REDACTED:255 — //TODO: Needed? — 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.
D30 · Dependency Vulnerabilities · Medium CVE · ×7
  • REDACTED
  • REDACTED
  • REDACTED
  • REDACTED
  • REDACTED
  • REDACTED
  • REDACTED
R10 · Code Duplication · Duplicated block (15 lines × 2 locations) · ×5
  • Duplicated block (15 lines × 2 locations) LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:10931 — LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:10931 · LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:11705 — 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 (15 lines × 2 locations) LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:13324 — LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:13324 · LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:15088 — 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 (15 lines × 2 locations) LearningMpaAbp.Web/Scripts/moment-with-locales.js:734 — LearningMpaAbp.Web/Scripts/moment-with-locales.js:734 · LearningMpaAbp.Web/Scripts/moment-with-locales.js:751 — 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 (15 lines × 2 locations) LearningMpaAbp.Web/Scripts/moment-with-locales.js:4818 — LearningMpaAbp.Web/Scripts/moment-with-locales.js:4818 · LearningMpaAbp.Web/Scripts/moment-with-locales.js:9447 — 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 (15 lines × 2 locations) LearningMpaAbp.Web/Views/BackendTasks/list.js:199 — LearningMpaAbp.Web/Views/BackendTasks/list.js:199 · LearningMpaAbp.Web/Views/Tasks/index.js:51 — 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.
AC4 · Keyboard semantics · Modal dialog does not manage focus · ×4
  • Modal dialog does not manage focus LearningMpaAbp.Web/Views/BackendTasks/_CreateTask.cshtml:6 — This <div role="dialog"> is a modal dialog, but nothing moves focus into it when it opens and nothing keeps focus inside it while it is open, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native <dialog> opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close.
  • Modal dialog does not manage focus LearningMpaAbp.Web/Views/BackendTasks/_EditTask.cshtml:8 — This <div role="dialog"> is a modal dialog, but nothing moves focus into it when it opens and nothing keeps focus inside it while it is open, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native <dialog> opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close.
  • Modal dialog does not manage focus LearningMpaAbp.Web/Views/Tasks/_CreateTask.cshtml:6 — This <div role="dialog"> is a modal dialog, but nothing moves focus into it when it opens and nothing keeps focus inside it while it is open, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native <dialog> opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close.
  • Modal dialog does not manage focus LearningMpaAbp.Web/Views/Tasks/_EditTask.cshtml:7 — This <div role="dialog"> is a modal dialog, but nothing moves focus into it when it opens and nothing keeps focus inside it while it is open, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native <dialog> opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close.
D29 · Static Analysis (SAST) · REDACTED
  • REDACTED
  • REDACTED
  • REDACTED
  • REDACTED
D29 · Static Analysis (SAST) · REDACTED
  • REDACTED
  • REDACTED
  • REDACTED
  • REDACTED
D3 · God Classes · FunctionTooLong · ×4
  • FunctionTooLong: jquery.blockUI.setup LearningMpaAbp.Web/Scripts/jquery.blockUI.js:19 — FunctionTooLong — setup runs 356 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 256 over it, 3.56× 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: sweet-alert.modalDependant REDACTED:230 — FunctionTooLong — modalDependant runs 180 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 80 over it, 1.80× 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: jquery-ui-1.11.4.$.fn.position LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:1169 — FunctionTooLong — $.fn.position runs 123 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 23 over it, 1.23× 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: sweet-alert.getModal REDACTED:34 — FunctionTooLong — getModal runs 104 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 4 over it, 1.04× 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.
AC6 · Visual & motion safety · Low contrast colour pair in CSS (4.0 · ×3
  • Low contrast colour pair in CSS (4.0:1) LearningMpaAbp.Weixin/Content/bootstrap.css:2163 — `.btn-danger` sets color: #ffffff on background-color: #d9534f — 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) LearningMpaAbp.Web/Content/bootstrap.css:3347 — `.btn-danger` sets color: #fff on background-color: #d9534f — 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) LearningMpaAbp.Web/Content/bootstrap.css:3400 — `.btn-danger .badge` sets color: #d9534f on background-color: #fff — 4.0:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them.
AC6 · Visual & motion safety · Low contrast colour pair in CSS (2.1 · ×3
  • Low contrast colour pair in CSS (2.1:1) LearningMpaAbp.Weixin/Content/bootstrap.css:2245 — `.btn-info` sets color: #ffffff on background-color: #5bc0de — 2.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 (2.1:1) LearningMpaAbp.Web/Content/bootstrap.css:3233 — `.btn-info` sets color: #fff on background-color: #5bc0de — 2.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 (2.1:1) LearningMpaAbp.Web/Content/bootstrap.css:3286 — `.btn-info .badge` sets color: #5bc0de on background-color: #fff — 2.1:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them.
AC6 · Visual & motion safety · Low contrast colour pair in CSS (3.4 · ×3
  • Low contrast colour pair in CSS (3.4:1) LearningMpaAbp.Web/Content/bootstrap.css:3182 — `.btn-success:focus, .btn-success.focus` sets color: #fff on background-color: #449d44 — 3.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 (3.4:1) LearningMpaAbp.Web/Content/bootstrap.css:3187 — `.btn-success:hover` sets color: #fff on background-color: #449d44 — 3.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 (3.4:1) LearningMpaAbp.Web/Content/bootstrap.css:3194 — `.btn-success:active, .btn-success.active, .open > .dropdown-toggle.btn-success` sets color: #fff on background-color: #449d44 — 3.4:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them.
D17 · Explicit Debt · CommentedOutCode · ×3
  • CommentedOutCode LearningMpaAbp.Web/App_Start/LearningMpaAbpWebModule.cs:40 — 4 consecutive commented-code lines
  • CommentedOutCode LearningMpaAbp.Web/App_Start/Startup.cs:64 — 4 consecutive commented-code lines
  • CommentedOutCode LearningMpaAbp.WebApi/Api/LearningMpaAbpWebApiModule.cs:40 — 4 consecutive commented-code lines
D2 · Cognitive Complexity · sweet-alert.modalDependant · ×3
  • sweet-alert.modalDependant::onButtonEvent (cognitive 31) REDACTED:323 — sweet-alert.modalDependant::onButtonEvent has cognitive complexity 31 (threshold 15). Drivers by points: if/else 12 (24 pts), boolean chains 6, match/switch 1 (nesting depth added 12). 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. This shape REPEATS in the file: 2 other methods here (sweet-alert.modalDependant::handleKeyDown, sweet-alert.modalDependant::handleOnBlur) have the same decision points, in the same order, at the same nesting depths — so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared.
  • sweet-alert.modalDependant::handleKeyDown (cognitive 28) REDACTED:423 — sweet-alert.modalDependant::handleKeyDown has cognitive complexity 28 (threshold 15). Drivers by points: if/else 14 (22 pts), boolean chains 5, 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. This shape REPEATS in the file: 2 other methods here (sweet-alert.modalDependant::onButtonEvent, sweet-alert.modalDependant::handleOnBlur) have the same decision points, in the same order, at the same nesting depths — so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared.
  • sweet-alert.modalDependant::handleOnBlur (cognitive 16) REDACTED:486 — sweet-alert.modalDependant::handleOnBlur has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 1 (3 pts), boolean chains 2 (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. This shape REPEATS in the file: 2 other methods here (sweet-alert.modalDependant::onButtonEvent, sweet-alert.modalDependant::handleKeyDown) have the same decision points, in the same order, at the same nesting depths — so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared.
GD1 · Unfinished & placeholder code · Unfinished stub · ×3
  • Unfinished stub — throws NotImplementedException LearningMpaAbp.Core/Users/UserManager.cs:47 — A shipped member still throws NotImplementedException — generated scaffolding that was never completed. Implement it or remove the dead surface.
  • Unfinished stub — throws NotImplementedException LearningMpaAbp.WebApi/Api/Providers/SimpleRefreshTokenProvider.cs:50 — A shipped member still throws NotImplementedException — generated scaffolding that was never completed. Implement it or remove the dead surface.
  • Unfinished stub — throws NotImplementedException LearningMpaAbp.WebApi/Api/Providers/SimpleRefreshTokenProvider.cs:55 — A shipped member still throws NotImplementedException — generated scaffolding that was never completed. Implement it or remove the dead surface.
IC1 · Incompleteness & stubs · Unfinished stub · ×3
  • Unfinished stub — throws NotImplementedException LearningMpaAbp.Core/Users/UserManager.cs:47 — `LoginAsync` is a shipped member whose whole body throws NotImplementedException — scaffolding that was never completed. Implement it or remove the dead surface.
  • Unfinished stub — throws NotImplementedException LearningMpaAbp.WebApi/Api/Providers/SimpleRefreshTokenProvider.cs:50 — `Create` is a shipped member whose whole body throws NotImplementedException — scaffolding that was never completed. Implement it or remove the dead surface.
  • Unfinished stub — throws NotImplementedException LearningMpaAbp.WebApi/Api/Providers/SimpleRefreshTokenProvider.cs:55 — `Receive` is a shipped member whose whole body throws NotImplementedException — scaffolding that was never completed. Implement it or remove the dead surface.
P7 · Outbound HTTP resilience · Outbound HTTP without resilience · ×3
  • Outbound HTTP without resilience REDACTED:90 — `new HttpClient(handler)` builds an outbound HTTP client and nothing bounds it: no timeout is set on it and no retry or resilience policy wraps its calls in the type that owns it. A slow or failing dependency will hold this service's request, thread or connection — and cascade — until the call gives up on its own (100 s for HttpClient's default).
  • Outbound HTTP without resilience REDACTED:126 — `new HttpClient(handler)` builds an outbound HTTP client and nothing bounds it: no timeout is set on it and no retry or resilience policy wraps its calls in the type that owns it. A slow or failing dependency will hold this service's request, thread or connection — and cascade — until the call gives up on its own (100 s for HttpClient's default).
  • Outbound HTTP without resilience REDACTED:163 — `new HttpClient(handler)` builds an outbound HTTP client and nothing bounds it: no timeout is set on it and no retry or resilience policy wraps its calls in the type that owns it. A slow or failing dependency will hold this service's request, thread or connection — and cascade — until the call gives up on its own (100 s for HttpClient's default).
R10 · Code Duplication · Duplicated block (25 lines × 2 locations) · ×3
  • Duplicated block (25 lines × 2 locations) LearningMpaAbp.Web/Scripts/moment-with-locales.js:4210 — LearningMpaAbp.Web/Scripts/moment-with-locales.js:4210 · LearningMpaAbp.Web/Scripts/moment-with-locales.js:8114 — 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 (25 lines × 2 locations) LearningMpaAbp.Web/Scripts/moment-with-locales.js:11008 — LearningMpaAbp.Web/Scripts/moment-with-locales.js:11008 · LearningMpaAbp.Web/Scripts/moment-with-locales.js:11103 — 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 (25 lines × 2 locations) LearningMpaAbp.Web/Views/Tenants/Index.js:1 — LearningMpaAbp.Web/Views/Tenants/Index.js:1 · LearningMpaAbp.Web/Views/Users/Index.js:1 — 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.
R10 · Code Duplication · Duplicated block (16 lines × 3 locations) · ×3
  • Duplicated block (16 lines × 3 locations) LearningMpaAbp.Web/Abp/Framework/scripts/libs/abp.jtable.js:60 — LearningMpaAbp.Web/Abp/Framework/scripts/libs/abp.jtable.js:60 · LearningMpaAbp.Web/Abp/Framework/scripts/libs/abp.jtable.js:84 · LearningMpaAbp.Web/Abp/Framework/scripts/libs/abp.jtable.js:117 — 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 (16 lines × 3 locations) LearningMpaAbp.Web/Scripts/moment-with-locales.js:5740 — LearningMpaAbp.Web/Scripts/moment-with-locales.js:5740 · LearningMpaAbp.Web/Scripts/moment-with-locales.js:6318 · LearningMpaAbp.Web/Scripts/moment-with-locales.js:8773 — 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 (16 lines × 3 locations) LearningMpaAbp.Web/Scripts/moment-with-locales.js:8012 — LearningMpaAbp.Web/Scripts/moment-with-locales.js:8012 · LearningMpaAbp.Web/Scripts/moment-with-locales.js:9754 · LearningMpaAbp.Web/Scripts/moment-with-locales.js:9851 — 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.
R10 · Code Duplication · Duplicated block (16 lines × 2 locations) · ×3
  • Duplicated block (16 lines × 2 locations) LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:2678 — LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:2678 · LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:2703 — 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 (16 lines × 2 locations) LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:6278 — LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:6278 · LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:14505 — 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 (16 lines × 2 locations) LearningMpaAbp.Web/Scripts/moment-with-locales.js:4459 — LearningMpaAbp.Web/Scripts/moment-with-locales.js:4459 · LearningMpaAbp.Web/Scripts/moment-with-locales.js:6670 — 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.
AC3 · Page structure · Page without a main landmark · ×2
  • Page without a main landmark LearningMpaAbp.Web/Views/Shared/_Layout.cshtml:9 — 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 LearningMpaAbp.Weixin/Views/Shared/_Layout.cshtml:2 — No <main> (or role="main") means no "skip to content" target and a weaker landmark map. Wrap the primary content in <main>.
AC6 · Visual & motion safety · Low contrast colour pair in CSS (3.9 · ×2
  • Low contrast colour pair in CSS (3.9:1) LearningMpaAbp.Weixin/Content/bootstrap.css:5069 — `.alert-danger` sets color: #b94a48 on background-color: #f2dede — 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) LearningMpaAbp.Weixin/Content/bootstrap.css:5506 — `.panel-danger > .panel-heading` sets color: #b94a48 on background-color: #f2dede — 3.9:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them.
AC6 · Visual & motion safety · Low contrast colour pair in CSS (3.3 · ×2
  • Low contrast colour pair in CSS (3.3:1) LearningMpaAbp.Weixin/Content/bootstrap.css:5524 — `.panel-info > .panel-heading` sets color: #3a87ad on background-color: #d9edf7 — 3.3: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.3:1) LearningMpaAbp.Web/Content/bootstrap.css:3264 — `.btn-info:active:hover, .btn-info.active:hover, .open > .dropdown-toggle.btn-info:hover, .btn-info:active:focus, .btn-info.active:focus, .open > .dropdown-toggle.btn-info:focus, .btn-info:active.focus, .btn-info.active.focus, .open > .dropdown-toggle.btn-info.focus` sets color: #fff on background-color: #269abc — 3.3:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them.
D1 · Cyclomatic Complexity · sweet-alert.modalDependant · ×2
  • sweet-alert.modalDependant::onButtonEvent (cyclomatic 24) REDACTED:323 — sweet-alert.modalDependant::onButtonEvent 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. This shape REPEATS in the file: one other method here (sweet-alert.modalDependant::handleKeyDown) has the same decision points, in the same order, at the same nesting depths — so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared.
  • sweet-alert.modalDependant::handleKeyDown (cyclomatic 16) REDACTED:423 — sweet-alert.modalDependant::handleKeyDown 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. This shape REPEATS in the file: one other method here (sweet-alert.modalDependant::onButtonEvent) has the same decision points, in the same order, at the same nesting depths — so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared.
D1 · Cyclomatic Complexity · bootstrap.Tooltip.show (cyclomatic 22) · ×2
  • bootstrap.Tooltip.show (cyclomatic 22) LearningMpaAbp.Web/Scripts/bootstrap.js:1421 — bootstrap.Tooltip.show has cyclomatic complexity 22 (threshold 15). Of this number, 21 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.
  • bootstrap.Tooltip.show (cyclomatic 22) LearningMpaAbp.Weixin/Scripts/bootstrap.js:1208 — bootstrap.Tooltip.show 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.
R10 · Code Duplication · Duplicated block (32 lines × 2 locations) · ×2
  • Duplicated block (32 lines × 2 locations) LearningMpaAbp.Web/Scripts/moment-with-locales.js:4241 — LearningMpaAbp.Web/Scripts/moment-with-locales.js:4241 · LearningMpaAbp.Web/Scripts/moment-with-locales.js:8145 — 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 (32 lines × 2 locations) LearningMpaAbp.Web/Scripts/moment-with-locales.js:8975 — LearningMpaAbp.Web/Scripts/moment-with-locales.js:8975 · LearningMpaAbp.Web/Scripts/moment-with-locales.js:9024 — 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.
R10 · Code Duplication · Duplicated block (20 lines × 3 locations) · ×2
  • Duplicated block (20 lines × 3 locations) LearningMpaAbp.Web/Scripts/moment-with-locales.js:3752 — LearningMpaAbp.Web/Scripts/moment-with-locales.js:3752 · LearningMpaAbp.Web/Scripts/moment-with-locales.js:3923 · LearningMpaAbp.Web/Scripts/moment-with-locales.js:5265 — 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 (20 lines × 3 locations) LearningMpaAbp.Web/Scripts/moment-with-locales.js:9268 — LearningMpaAbp.Web/Scripts/moment-with-locales.js:9268 · LearningMpaAbp.Web/Scripts/moment-with-locales.js:11010 · LearningMpaAbp.Web/Scripts/moment-with-locales.js:11105 — 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.
R10 · Code Duplication · Duplicated block (20 lines × 2 locations) · ×2
  • Duplicated block (20 lines × 2 locations) LearningMpaAbp.Web/Scripts/moment-with-locales.js:4079 — LearningMpaAbp.Web/Scripts/moment-with-locales.js:4079 · LearningMpaAbp.Web/Scripts/moment-with-locales.js:10703 — 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) LearningMpaAbp.Web/Scripts/moment-with-locales.js:8388 — LearningMpaAbp.Web/Scripts/moment-with-locales.js:8388 · LearningMpaAbp.Web/Scripts/moment-with-locales.js:8459 — 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.
R10 · Code Duplication · Duplicated block (18 lines × 2 locations) · ×2
  • Duplicated block (18 lines × 2 locations) LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:6742 — LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:6742 · LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:6931 — 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 (18 lines × 2 locations) LearningMpaAbp.Web/Scripts/moment-with-locales.js:5404 — LearningMpaAbp.Web/Scripts/moment-with-locales.js:5404 · LearningMpaAbp.Web/Scripts/moment-with-locales.js:5623 — all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct — the members of a type, or the entries of an object or array literal — with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal's entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or — where the copies are a literal's entries rather than a type's members — one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared — a decorator and its options, an annotation, a registration table's keys — the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases.
AC1 · Text alternatives · <object> without a text alternative · ×1
  • <object> without a text alternative LearningMpaAbp.Weixin/Scripts/jquery-1.10.2.js:6020 — A <object> with no aria-label/title and no inner fallback content can't be described by assistive tech. Add a name or fallback content.
AC2 · Forms & labels · <fieldset> without a <legend> · ×1
  • <fieldset> without a <legend> LearningMpaAbp.Weixin/Scripts/jquery-1.10.2.js:6018 — A fieldset groups related controls but has no <legend> to name the group. Add a <legend> as its first child — or, if the group already has a visible caption beside it (or the fieldset is there only to disable its subtree and carries no group box), point aria-labelledby at that caption's id instead, which names the group without rendering a second one.
AC3 · Page structure · Data table has no header cells · ×1
  • Data table has no header cells LearningMpaAbp.Weixin/Scripts/jquery-1.10.2.js:3489 — 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).
AC6 · Visual & motion safety · Low contrast colour pair in CSS (2.2 · ×1
  • Low contrast colour pair in CSS (2.2:1) LearningMpaAbp.Weixin/Content/bootstrap.css:2132 — `.btn-warning:hover, .btn-warning:focus, .btn-warning:active, .btn-warning.active, .open .dropdown-toggle.btn-warning` sets color: #ffffff on background-color: #ed9c28 — 2.2:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them.
AC6 · Visual & motion safety · Low contrast colour pair in CSS (3.1 · ×1
  • Low contrast colour pair in CSS (3.1:1) LearningMpaAbp.Weixin/Content/bootstrap.css:2214 — `.btn-success:hover, .btn-success:focus, .btn-success:active, .btn-success.active, .open .dropdown-toggle.btn-success` sets color: #ffffff on background-color: #47a447 — 3.1:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them.
AC6 · Visual & motion safety · Low contrast colour pair in CSS (2.4 · ×1
  • Low contrast colour pair in CSS (2.4:1) LearningMpaAbp.Weixin/Content/bootstrap.css:2255 — `.btn-info:hover, .btn-info:focus, .btn-info:active, .btn-info.active, .open .dropdown-toggle.btn-info` sets color: #ffffff on background-color: #39b3d7 — 2.4:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them.
AC6 · Visual & motion safety · Low contrast colour pair in CSS (1.4 · ×1
  • Low contrast colour pair in CSS (1.4:1) LearningMpaAbp.Web/Scripts/sweetalert/sweet-alert.css:1 — `.sweet-alert button` sets color: #fff on background-color: #AEDEF4 — 1.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).
AC6 · Visual & motion safety · Low contrast colour pair in CSS (2.3 · ×1
  • Low contrast colour pair in CSS (2.3:1) LearningMpaAbp.Web/Content/bootstrap.css:3308 — `.btn-warning:active, .btn-warning.active, .open > .dropdown-toggle.btn-warning` sets color: #fff on background-color: #ec971f — 2.3:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them.
AC6 · Visual & motion safety · Low contrast colour pair in CSS (2.9 · ×1
  • Low contrast colour pair in CSS (2.9:1) LearningMpaAbp.Web/Content/bootstrap.css:3321 — `.btn-warning:active:hover, .btn-warning.active:hover, .open > .dropdown-toggle.btn-warning:hover, .btn-warning:active:focus, .btn-warning.active:focus, .open > .dropdown-toggle.btn-warning:focus, .btn-warning:active.focus, .btn-warning.active.focus, .open > .dropdown-toggle.btn-warning.focus` sets color: #fff on background-color: #d58512 — 2.9:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them.
AC6 · Visual & motion safety · Low contrast colour pair in CSS (4.2 · ×1
  • Low contrast colour pair in CSS (4.2:1) LearningMpaAbp.Web/Content/bootstrap.css:5344 — `a.list-group-item-success:hover, button.list-group-item-success:hover, a.list-group-item-success:focus, button.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. Darken or lighten one of them.
AC6 · Visual & motion safety · Low contrast colour pair in CSS (4.1 · ×1
  • Low contrast colour pair in CSS (4.1:1) LearningMpaAbp.Web/Content/bootstrap.css:5373 — `a.list-group-item-info:hover, button.list-group-item-info:hover, a.list-group-item-info:focus, button.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. Darken or lighten one of them.
AC6 · Visual & motion safety · Low contrast colour pair in CSS (4.3 · ×1
  • Low contrast colour pair in CSS (4.3:1) LearningMpaAbp.Web/Content/bootstrap.css:5402 — `a.list-group-item-warning:hover, button.list-group-item-warning:hover, a.list-group-item-warning:focus, button.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. 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 automated accessibility check runs over the HTML your app renders. Assert the accessibility invariants over that HTML in the test suite you already have (parse the output and assert, or drive a browser), and gate that test in CI so a regression blocks the merge. What was searched, so you can tell an absence from a miss: the 37 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.
AX2 · Stateful singletons · Process-global static state · ×1
  • Process-global static state: OAuthOptions LearningMpaAbp.WebApi/Api/OAuthOptions.cs:16 — `OAuthOptions` keeps mutable `static` state — one slot for the whole process, shared by every thread that reaches the type however its instances are created — and mutates it outside any lock (_serverOptions; e.g. `_serverOptions` at line 34). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt.
C1 · Data Protection · No data-protection/encryption · ×1
  • No data-protection/encryption — No data-protection or encryption usage (ASP.NET Data Protection, AES, column encryption, PBKDF2) was found — sensitive data at rest may be unprotected. If TDE/KMS/vault is delegated to infrastructure, ignore.
D1 · Cyclomatic Complexity · jquery.blockUI.setup · ×1
  • jquery.blockUI.setup::install (cyclomatic 73) LearningMpaAbp.Web/Scripts/jquery.blockUI.js:250 — jquery.blockUI.setup::install has cyclomatic complexity 73 (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.
D1 · Cyclomatic Complexity · moment-with-locales.sl__processRelativeTime (cyclomatic 72) · ×1
  • moment-with-locales.sl__processRelativeTime (cyclomatic 72) LearningMpaAbp.Web/Scripts/moment-with-locales.js:9539 — moment-with-locales.sl__processRelativeTime has cyclomatic complexity 72 (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.
D1 · Cyclomatic Complexity · moment-with-locales.is__translate (cyclomatic 42) · ×1
  • moment-with-locales.is__translate (cyclomatic 42) LearningMpaAbp.Web/Scripts/moment-with-locales.js:7083 — moment-with-locales.is__translate has cyclomatic complexity 42 (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.
D1 · Cyclomatic Complexity · moment-with-locales.cs__translate (cyclomatic 39) · ×1
  • moment-with-locales.cs__translate (cyclomatic 39) LearningMpaAbp.Web/Scripts/moment-with-locales.js:4777 — moment-with-locales.cs__translate has cyclomatic complexity 39 (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. This shape REPEATS in the file: one other method here (moment-with-locales.sk__translate) has the same decision points, in the same order, at the same nesting depths — so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared.
D1 · Cyclomatic Complexity · moment-with-locales.sk__translate (cyclomatic 39) · ×1
  • moment-with-locales.sk__translate (cyclomatic 39) LearningMpaAbp.Web/Scripts/moment-with-locales.js:9406 — moment-with-locales.sk__translate has cyclomatic complexity 39 (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. This shape REPEATS in the file: one other method here (moment-with-locales.cs__translate) has the same decision points, in the same order, at the same nesting depths — so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared.
D1 · Cyclomatic Complexity · jquery-1.10.2.Sizzle (cyclomatic 39) · ×1
  • jquery-1.10.2.Sizzle (cyclomatic 39) LearningMpaAbp.Weixin/Scripts/jquery-1.10.2.js:1183 — jquery-1.10.2.Sizzle has cyclomatic complexity 39 (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.
D1 · Cyclomatic Complexity · jquery-2.2.0.defaultPrefilter (cyclomatic 38) · ×1
  • jquery-2.2.0.defaultPrefilter (cyclomatic 38) LearningMpaAbp.Web/Scripts/jquery-2.2.0.js:6511 — jquery-2.2.0.defaultPrefilter has cyclomatic complexity 38 (threshold 15). Of this number, 35 points are the body's own statements and 3 belong to 3 function literals 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.
D1 · Cyclomatic Complexity · jquery-1.10.2.jQuery.Callbacks (cyclomatic 37) · ×1
  • jquery-1.10.2.jQuery.Callbacks (cyclomatic 37) LearningMpaAbp.Weixin/Scripts/jquery-1.10.2.js:3015 — jquery-1.10.2.jQuery.Callbacks has cyclomatic complexity 37 (threshold 15). Most of this is not in the body itself: 4 of the 37 points are its own statements and the rest belongs to 8 function items inside it that branch (fire, a function literal at line 3074, a function literal at line 3153, …). 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.
D1 · Cyclomatic Complexity · jquery-ui-1.11.4.$.fn.position (cyclomatic 34) · ×1
  • jquery-ui-1.11.4.$.fn.position (cyclomatic 34) LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:1169 — jquery-ui-1.11.4.$.fn.position has cyclomatic complexity 34 (threshold 15). Most of this is not in the body itself: 10 of the 34 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 1197, 1248, 1307, …). 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.
D1 · Cyclomatic Complexity · moment-with-locales.hu__translate (cyclomatic 34) · ×1
  • moment-with-locales.hu__translate (cyclomatic 34) LearningMpaAbp.Web/Scripts/moment-with-locales.js:6822 — moment-with-locales.hu__translate has cyclomatic complexity 34 (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.
D1 · Cyclomatic Complexity · jquery-1.10.2.defaultPrefilter (cyclomatic 34) · ×1
  • jquery-1.10.2.defaultPrefilter (cyclomatic 34) LearningMpaAbp.Weixin/Scripts/jquery-1.10.2.js:9063 — jquery-1.10.2.defaultPrefilter has cyclomatic complexity 34 (threshold 15). Of this number, 31 points are the body's own statements and 3 belong to 3 function literals 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.
D1 · Cyclomatic Complexity · jquery-1.10.2.matcherFromGroupMatchers · ×1
  • jquery-1.10.2.matcherFromGroupMatchers::superMatcher (cyclomatic 33) LearningMpaAbp.Weixin/Scripts/jquery-1.10.2.js:2713 — jquery-1.10.2.matcherFromGroupMatchers::superMatcher has cyclomatic complexity 33 (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.
D1 · Cyclomatic Complexity · jquery-1.10.2.setMatcher (cyclomatic 32) · ×1
  • jquery-1.10.2.setMatcher (cyclomatic 32) LearningMpaAbp.Weixin/Scripts/jquery-1.10.2.js:2560 — jquery-1.10.2.setMatcher has cyclomatic complexity 32 (threshold 15). Most of this is not in the body itself: 5 of the 32 points are its own statements and the rest belongs to one function literal inside it that branches (line 2567). 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.
D1 · Cyclomatic Complexity · respond.src.applyMedia (cyclomatic 30) · ×1
  • respond.src.applyMedia (cyclomatic 30) LearningMpaAbp.Web/Scripts/others/respond.src.js:216 — respond.src.applyMedia 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.
D1 · Cyclomatic Complexity · jquery-2.2.0.jQuery.Callbacks (cyclomatic 29) · ×1
  • jquery-2.2.0.jQuery.Callbacks (cyclomatic 29) LearningMpaAbp.Web/Scripts/jquery-2.2.0.js:3139 — jquery-2.2.0.jQuery.Callbacks has cyclomatic complexity 29 (threshold 15). Most of this is not in the body itself: 2 of the 29 points are its own statements and the rest belongs to 8 function items inside it that branch (fire, a function literal at line 3227, a function literal at line 3217, …). 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.
D1 · Cyclomatic Complexity · json2.str (cyclomatic 29) · ×1
  • json2.str (cyclomatic 29) REDACTED:229 — json2.str has cyclomatic complexity 29 (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.
D1 · Cyclomatic Complexity · jquery-2.2.0.jQuery.ajaxTransport() (cyclomatic 27) · ×1
  • jquery-2.2.0.jQuery.ajaxTransport() (cyclomatic 27) LearningMpaAbp.Web/Scripts/jquery-2.2.0.js:9051 — jquery-2.2.0.jQuery.ajaxTransport() 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 5 function literals inside it that branch (lines 9057, 9097, 9148, …). 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.
D1 · Cyclomatic Complexity · moment-with-locales.bs__translate (cyclomatic 27) · ×1
  • moment-with-locales.bs__translate (cyclomatic 27) LearningMpaAbp.Web/Scripts/moment-with-locales.js:4575 — moment-with-locales.bs__translate has cyclomatic complexity 27 (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. This shape REPEATS in the file: one other method here (moment-with-locales.hr__translate) has the same decision points, in the same order, at the same nesting depths — so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared.
D1 · Cyclomatic Complexity · moment-with-locales.hr__translate (cyclomatic 27) · ×1
  • moment-with-locales.hr__translate (cyclomatic 27) LearningMpaAbp.Web/Scripts/moment-with-locales.js:6689 — moment-with-locales.hr__translate has cyclomatic complexity 27 (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. This shape REPEATS in the file: one other method here (moment-with-locales.bs__translate) has the same decision points, in the same order, at the same nesting depths — so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared.
D1 · Cyclomatic Complexity · moment-with-locales.checkOverflow (cyclomatic 26) · ×1
  • moment-with-locales.checkOverflow (cyclomatic 26) LearningMpaAbp.Web/Scripts/moment-with-locales.js:802 — moment-with-locales.checkOverflow has cyclomatic complexity 26 (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.
D1 · Cyclomatic Complexity · moment.checkOverflow (cyclomatic 26) · ×1
  • moment.checkOverflow (cyclomatic 26) REDACTED:808 — moment.checkOverflow has cyclomatic complexity 26 (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.
D1 · Cyclomatic Complexity · jquery-2.2.0.ajaxConvert (cyclomatic 25) · ×1
  • jquery-2.2.0.ajaxConvert (cyclomatic 25) LearningMpaAbp.Web/Scripts/jquery-2.2.0.js:8163 — jquery-2.2.0.ajaxConvert 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.
D1 · Cyclomatic Complexity · jquery-1.10.2.ajaxConvert (cyclomatic 25) · ×1
  • jquery-1.10.2.ajaxConvert (cyclomatic 25) LearningMpaAbp.Weixin/Scripts/jquery-1.10.2.js:8351 — jquery-1.10.2.ajaxConvert 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.
D1 · Cyclomatic Complexity · jquery-1.10.2.internalData (cyclomatic 24) · ×1
  • jquery-1.10.2.internalData (cyclomatic 24) LearningMpaAbp.Weixin/Scripts/jquery-1.10.2.js:3568 — jquery-1.10.2.internalData has cyclomatic complexity 24 (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.
D1 · Cyclomatic Complexity · moment-with-locales.fi__translate (cyclomatic 23) · ×1
  • moment-with-locales.fi__translate (cyclomatic 23) LearningMpaAbp.Web/Scripts/moment-with-locales.js:6028 — moment-with-locales.fi__translate has cyclomatic complexity 23 (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. This is NOT this file's highest cyclomatic complexity: moment-with-locales.relativeTimeMr (cyclomatic 24) is higher and carries no row of its own — it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension's figures nor in its score.
D1 · Cyclomatic Complexity · sweet-alert.setParameters (cyclomatic 23) · ×1
  • sweet-alert.setParameters (cyclomatic 23) REDACTED:552 — sweet-alert.setParameters has cyclomatic complexity 23 (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.
D1 · Cyclomatic Complexity · jquery-2.2.0.adjustCSS (cyclomatic 22) · ×1
  • jquery-2.2.0.adjustCSS (cyclomatic 22) LearningMpaAbp.Web/Scripts/jquery-2.2.0.js:4182 — jquery-2.2.0.adjustCSS has cyclomatic complexity 22 (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.
D1 · Cyclomatic Complexity · jquery-2.2.0.domManip (cyclomatic 22) · ×1
  • jquery-2.2.0.domManip (cyclomatic 22) LearningMpaAbp.Web/Scripts/jquery-2.2.0.js:5206 — jquery-2.2.0.domManip has cyclomatic complexity 22 (threshold 15). Of this number, 21 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.
D1 · Cyclomatic Complexity · moment-with-locales.duration_humanize__relativeTime (cyclomatic 21) · ×1
  • moment-with-locales.duration_humanize__relativeTime (cyclomatic 21) LearningMpaAbp.Web/Scripts/moment-with-locales.js:3410 — moment-with-locales.duration_humanize__relativeTime has cyclomatic complexity 21 (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. This is NOT this file's highest cyclomatic complexity: moment-with-locales.relativeTimeMr (cyclomatic 24) is higher and carries no row of its own — it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension's figures nor in its score.
D1 · Cyclomatic Complexity · moment.duration_humanize__relativeTime (cyclomatic 21) · ×1
  • moment.duration_humanize__relativeTime (cyclomatic 21) REDACTED:3416 — moment.duration_humanize__relativeTime has cyclomatic complexity 21 (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.
D1 · Cyclomatic Complexity · jquery-1.10.2.addCombinator (cyclomatic 21) · ×1
  • jquery-1.10.2.addCombinator (cyclomatic 21) LearningMpaAbp.Weixin/Scripts/jquery-1.10.2.js:2475 — jquery-1.10.2.addCombinator has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 3 of the 21 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 2491, 2482). 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.
D1 · Cyclomatic Complexity · jquery-2.2.0.buildFragment (cyclomatic 20) · ×1
  • jquery-2.2.0.buildFragment (cyclomatic 20) LearningMpaAbp.Web/Scripts/jquery-2.2.0.js:4304 — jquery-2.2.0.buildFragment 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.
D1 · Cyclomatic Complexity · jquery-1.10.2.select (cyclomatic 20) · ×1
  • jquery-1.10.2.select (cyclomatic 20) LearningMpaAbp.Weixin/Scripts/jquery-1.10.2.js:2845 — jquery-1.10.2.select 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.
D1 · Cyclomatic Complexity · jquery-1.10.2.showHide (cyclomatic 20) · ×1
  • jquery-1.10.2.showHide (cyclomatic 20) LearningMpaAbp.Weixin/Scripts/jquery-1.10.2.js:6846 — jquery-1.10.2.showHide 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.
D1 · Cyclomatic Complexity · moment-with-locales.configFromArray (cyclomatic 19) · ×1
  • moment-with-locales.configFromArray (cyclomatic 19) LearningMpaAbp.Web/Scripts/moment-with-locales.js:1148 — moment-with-locales.configFromArray has cyclomatic complexity 19 (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. This is NOT this file's highest cyclomatic complexity: moment-with-locales.relativeTimeMr (cyclomatic 24) is higher and carries no row of its own — it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension's figures nor in its score.
D1 · Cyclomatic Complexity · moment.configFromArray (cyclomatic 19) · ×1
  • moment.configFromArray (cyclomatic 19) REDACTED:1154 — moment.configFromArray has cyclomatic complexity 19 (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.
D1 · Cyclomatic Complexity · jquery-1.10.2.internalRemoveData (cyclomatic 19) · ×1
  • jquery-1.10.2.internalRemoveData (cyclomatic 19) LearningMpaAbp.Weixin/Scripts/jquery-1.10.2.js:3657 — jquery-1.10.2.internalRemoveData 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.
D1 · Cyclomatic Complexity · jquery-2.2.0.showHide (cyclomatic 18) · ×1
  • jquery-2.2.0.showHide (cyclomatic 18) LearningMpaAbp.Web/Scripts/jquery-2.2.0.js:6006 — jquery-2.2.0.showHide 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.
D1 · Cyclomatic Complexity · jquery-2.2.0.jQuery.speed (cyclomatic 18) · ×1
  • jquery-2.2.0.jQuery.speed (cyclomatic 18) LearningMpaAbp.Web/Scripts/jquery-2.2.0.js:6838 — jquery-2.2.0.jQuery.speed has cyclomatic complexity 18 (threshold 15). Of this number, 16 points are the body's own statements and 2 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.
D1 · Cyclomatic Complexity · jquery-2.2.0.jQuery.ajaxPrefilter("json jsonp") (cyclomatic 18) · ×1
  • jquery-2.2.0.jQuery.ajaxPrefilter("json jsonp") (cyclomatic 18) LearningMpaAbp.Web/Scripts/jquery-2.2.0.js:9272 — jquery-2.2.0.jQuery.ajaxPrefilter("json jsonp") has cyclomatic complexity 18 (threshold 15). Of this number, 13 points are the body's own statements and 5 belong to 2 function literals 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.
D1 · Cyclomatic Complexity · jquery-1.10.2.matcherFromTokens (cyclomatic 18) · ×1
  • jquery-1.10.2.matcherFromTokens (cyclomatic 18) LearningMpaAbp.Weixin/Scripts/jquery-1.10.2.js:2653 — jquery-1.10.2.matcherFromTokens has cyclomatic complexity 18 (threshold 15). Of this number, 14 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.
D1 · Cyclomatic Complexity · jquery-1.10.2.fixCloneNodeIssues (cyclomatic 18) · ×1
  • jquery-1.10.2.fixCloneNodeIssues (cyclomatic 18) LearningMpaAbp.Weixin/Scripts/jquery-1.10.2.js:6359 — jquery-1.10.2.fixCloneNodeIssues 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.
D1 · Cyclomatic Complexity · jquery-1.10.2.jQuery.speed (cyclomatic 18) · ×1
  • jquery-1.10.2.jQuery.speed (cyclomatic 18) LearningMpaAbp.Weixin/Scripts/jquery-1.10.2.js:9446 — jquery-1.10.2.jQuery.speed has cyclomatic complexity 18 (threshold 15). Of this number, 16 points are the body's own statements and 2 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.
D1 · Cyclomatic Complexity · bootstrap.Modal.backdrop (cyclomatic 17) · ×1
  • bootstrap.Modal.backdrop (cyclomatic 17) LearningMpaAbp.Web/Scripts/bootstrap.js:1093 — bootstrap.Modal.backdrop has cyclomatic complexity 17 (threshold 15). Of this number, 13 points are the body's own statements and 4 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.
D1 · Cyclomatic Complexity · jquery-2.2.0.Animation (cyclomatic 17) · ×1
  • jquery-2.2.0.Animation (cyclomatic 17) LearningMpaAbp.Web/Scripts/jquery-2.2.0.js:6684 — jquery-2.2.0.Animation has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 6 of the 17 points are its own statements and the rest belongs to 3 function items inside it that branch (tick, a function literal at line 6739, a function literal at line 6733). 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.
D1 · Cyclomatic Complexity · moment-with-locales.configFromISO (cyclomatic 17) · ×1
  • moment-with-locales.configFromISO (cyclomatic 17) LearningMpaAbp.Web/Scripts/moment-with-locales.js:900 — moment-with-locales.configFromISO 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. This is NOT this file's highest cyclomatic complexity: moment-with-locales.relativeTimeMr (cyclomatic 24) is higher and carries no row of its own — it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension's figures nor in its score.
D1 · Cyclomatic Complexity · moment-with-locales.localeWeekdaysParse (cyclomatic 17) · ×1
  • moment-with-locales.localeWeekdaysParse (cyclomatic 17) LearningMpaAbp.Web/Scripts/moment-with-locales.js:2572 — moment-with-locales.localeWeekdaysParse 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. This is NOT this file's highest cyclomatic complexity: moment-with-locales.relativeTimeMr (cyclomatic 24) is higher and carries no row of its own — it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension's figures nor in its score.
D1 · Cyclomatic Complexity · moment.configFromISO (cyclomatic 17) · ×1
  • moment.configFromISO (cyclomatic 17) REDACTED:906 — moment.configFromISO 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.
D1 · Cyclomatic Complexity · moment.localeWeekdaysParse (cyclomatic 17) · ×1
  • moment.localeWeekdaysParse (cyclomatic 17) REDACTED:2578 — moment.localeWeekdaysParse 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.
D1 · Cyclomatic Complexity · respond.src.translate (cyclomatic 17) · ×1
  • respond.src.translate (cyclomatic 17) LearningMpaAbp.Web/Scripts/others/respond.src.js:120 — respond.src.translate has cyclomatic complexity 17 (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.
D1 · Cyclomatic Complexity · jquery-1.10.2.jQuery.ajaxPrefilter("json jsonp") (cyclomatic 17) · ×1
  • jquery-1.10.2.jQuery.ajaxPrefilter("json jsonp") (cyclomatic 17) LearningMpaAbp.Weixin/Scripts/jquery-1.10.2.js:8541 — jquery-1.10.2.jQuery.ajaxPrefilter("json jsonp") has cyclomatic complexity 17 (threshold 15). Of this number, 13 points are the body's own statements and 4 belong to 2 function literals 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.
D1 · Cyclomatic Complexity · jquery-2.2.0.ajaxHandleResponses (cyclomatic 16) · ×1
  • jquery-2.2.0.ajaxHandleResponses (cyclomatic 16) LearningMpaAbp.Web/Scripts/jquery-2.2.0.js:8105 — jquery-2.2.0.ajaxHandleResponses 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.
D1 · Cyclomatic Complexity · bootstrap.Affix.checkPosition (cyclomatic 16) · ×1
  • bootstrap.Affix.checkPosition (cyclomatic 16) LearningMpaAbp.Weixin/Scripts/bootstrap.js:1922 — bootstrap.Affix.checkPosition 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.
D1 · Cyclomatic Complexity · jquery-1.10.2.tokenize (cyclomatic 16) · ×1
  • jquery-1.10.2.tokenize (cyclomatic 16) LearningMpaAbp.Weixin/Scripts/jquery-1.10.2.js:2398 — jquery-1.10.2.tokenize 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.
D1 · Cyclomatic Complexity · jquery-1.10.2.ajaxHandleResponses (cyclomatic 16) · ×1
  • jquery-1.10.2.ajaxHandleResponses (cyclomatic 16) LearningMpaAbp.Weixin/Scripts/jquery-1.10.2.js:8296 — jquery-1.10.2.ajaxHandleResponses 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.
D1 · Cyclomatic Complexity · jquery-1.10.2.Animation (cyclomatic 16) · ×1
  • jquery-1.10.2.Animation (cyclomatic 16) LearningMpaAbp.Weixin/Scripts/jquery-1.10.2.js:8892 — jquery-1.10.2.Animation has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 5 of the 16 points are its own statements and the rest belongs to 3 function items inside it that branch (tick, a function literal at line 8941, a function literal at line 8935). 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.
D17 · Explicit Debt · Whole file has no live code · ×1
  • Whole file has no live code — 1 debt marker inside it LearningMpaAbp.Web/GlimpseSecurityPolicy.cs:15 — Every line in this file is a comment or blank — it declares no type, member, using or attribute, so nothing in it reaches the build. Its 1 debt marker (1 CommentedOutCode) all sit inside that dead text: one decision to leave the whole file switched off, not 1 independent debts. It records no note anywhere: the file is switched off with nothing in it saying why, so a reader cannot tell whether it is waiting on something or was simply abandoned — which is the harder of the two to bring back. Decide the FILE rather than its lines — restore it, or delete it and let version control hold the history. (Every occurrence still counts toward the score and metrics.)
D2 · Cognitive Complexity · jquery.blockUI.setup · ×1
  • jquery.blockUI.setup::install (cognitive 96) LearningMpaAbp.Web/Scripts/jquery.blockUI.js:250 — jquery.blockUI.setup::install has cognitive complexity 96 (threshold 15). Drivers by points: if/else 40 (54 pts), boolean chains 25, ternaries 9 (17 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.
D2 · Cognitive Complexity · jquery-2.2.0.ajaxConvert (cognitive 73) · ×1
  • jquery-2.2.0.ajaxConvert (cognitive 73) LearningMpaAbp.Web/Scripts/jquery-2.2.0.js:8163 — jquery-2.2.0.ajaxConvert has cognitive complexity 73 (threshold 15). Drivers by points: if/else 14 (47 pts), loops 3 (8 pts), ternaries 1 (7 pts), error handling 1 (6 pts), boolean chains 5 (nesting depth added 49). 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.
D2 · Cognitive Complexity · jquery-1.10.2.Sizzle (cognitive 73) · ×1
  • jquery-1.10.2.Sizzle (cognitive 73) LearningMpaAbp.Weixin/Scripts/jquery-1.10.2.js:1183 — jquery-1.10.2.Sizzle has cognitive complexity 73 (threshold 15). Drivers by points: if/else 20 (50 pts), boolean chains 15, error handling 1 (4 pts), loops 1 (4 pts) (nesting depth added 36). 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.
D2 · Cognitive Complexity · jquery-1.10.2.ajaxConvert (cognitive 73) · ×1
  • jquery-1.10.2.ajaxConvert (cognitive 73) LearningMpaAbp.Weixin/Scripts/jquery-1.10.2.js:8351 — jquery-1.10.2.ajaxConvert has cognitive complexity 73 (threshold 15). Drivers by points: if/else 14 (47 pts), loops 3 (8 pts), ternaries 1 (7 pts), error handling 1 (6 pts), boolean chains 5 (nesting depth added 49). 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.
D2 · Cognitive Complexity · moment-with-locales.sl__processRelativeTime (cognitive 58) · ×1
  • moment-with-locales.sl__processRelativeTime (cognitive 58) LearningMpaAbp.Web/Scripts/moment-with-locales.js:9539 — moment-with-locales.sl__processRelativeTime has cognitive complexity 58 (threshold 15). Drivers by points: if/else 19 (24 pts), boolean chains 21, ternaries 6 (12 pts), match/switch 1 (nesting depth added 11). 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.
D2 · Cognitive Complexity · jquery-2.2.0.defaultPrefilter (cognitive 55) · ×1
  • jquery-2.2.0.defaultPrefilter (cognitive 55) LearningMpaAbp.Web/Scripts/jquery-2.2.0.js:6511 — jquery-2.2.0.defaultPrefilter has cognitive complexity 55 (threshold 15). Drivers by points: if/else 21 (40 pts), boolean chains 10, loops 3 (5 pts) (nesting depth added 21). Of this number, 51 points are the body's own statements and 4 belong to 3 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.
D2 · Cognitive Complexity · jquery-1.10.2.addCombinator (cognitive 54) · ×1
  • jquery-1.10.2.addCombinator (cognitive 54) LearningMpaAbp.Weixin/Scripts/jquery-1.10.2.js:2475 — jquery-1.10.2.addCombinator has cognitive complexity 54 (threshold 15). Drivers by points: if/else 10 (37 pts), boolean chains 8, loops 3 (8 pts), ternaries 1 (nesting depth added 32). Most of this is not in the body itself: 2 of the 54 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 2491, 2482). 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.
D2 · Cognitive Complexity · jquery-1.10.2.matcherFromGroupMatchers · ×1
  • jquery-1.10.2.matcherFromGroupMatchers::superMatcher (cognitive 54) LearningMpaAbp.Weixin/Scripts/jquery-1.10.2.js:2713 — jquery-1.10.2.matcherFromGroupMatchers::superMatcher has cognitive complexity 54 (threshold 15). Drivers by points: if/else 13 (32 pts), boolean chains 12, loops 4 (10 pts) (nesting depth added 25). 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.
D2 · Cognitive Complexity · jquery-1.10.2.jQuery.Callbacks (cognitive 53) · ×1
  • jquery-1.10.2.jQuery.Callbacks (cognitive 53) LearningMpaAbp.Weixin/Scripts/jquery-1.10.2.js:3015 — jquery-1.10.2.jQuery.Callbacks has cognitive complexity 53 (threshold 15). Drivers by points: if/else 20 (37 pts), boolean chains 12, loops 2 (3 pts), ternaries 1 (nesting depth added 18). Most of this is not in the body itself: 2 of the 53 points are its own statements and the rest belongs to 8 function items inside it that branch (fire, a function literal at line 3102, a function literal at line 3153, …). 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.
D2 · Cognitive Complexity · jquery-1.10.2.defaultPrefilter (cognitive 53) · ×1
  • jquery-1.10.2.defaultPrefilter (cognitive 53) LearningMpaAbp.Weixin/Scripts/jquery-1.10.2.js:9063 — jquery-1.10.2.defaultPrefilter has cognitive complexity 53 (threshold 15). Drivers by points: if/else 20 (39 pts), boolean chains 9, loops 3 (5 pts) (nesting depth added 21). Of this number, 49 points are the body's own statements and 4 belong to 3 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.
D2 · Cognitive Complexity · jquery-2.2.0.domManip (cognitive 51) · ×1
  • jquery-2.2.0.domManip (cognitive 51) LearningMpaAbp.Web/Scripts/jquery-2.2.0.js:5206 — jquery-2.2.0.domManip has cognitive complexity 51 (threshold 15). Drivers by points: if/else 12 (39 pts), loops 2 (7 pts), boolean chains 5 (nesting depth added 32). Of this number, 49 points are the body's own statements and 2 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.
D2 · Cognitive Complexity · jquery-1.10.2.setMatcher (cognitive 49) · ×1
  • jquery-1.10.2.setMatcher (cognitive 49) LearningMpaAbp.Weixin/Scripts/jquery-1.10.2.js:2560 — jquery-1.10.2.setMatcher has cognitive complexity 49 (threshold 15). Drivers by points: if/else 13 (26 pts), boolean chains 10, loops 3 (9 pts), ternaries 3 (4 pts) (nesting depth added 20). Most of this is not in the body itself: 4 of the 49 points are its own statements and the rest belongs to one function literal inside it that branches (line 2567). 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.
D2 · Cognitive Complexity · moment-with-locales.cs__translate (cognitive 43) · ×1
  • moment-with-locales.cs__translate (cognitive 43) LearningMpaAbp.Web/Scripts/moment-with-locales.js:4777 — moment-with-locales.cs__translate has cognitive complexity 43 (threshold 15). Drivers by points: ternaries 8 (18 pts), if/else 10 (15 pts), boolean chains 9, match/switch 1 (nesting depth added 15). 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. This shape REPEATS in the file: one other method here (moment-with-locales.sk__translate) has the same decision points, in the same order, at the same nesting depths — so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared.
D2 · Cognitive Complexity · moment-with-locales.sk__translate (cognitive 43) · ×1
  • moment-with-locales.sk__translate (cognitive 43) LearningMpaAbp.Web/Scripts/moment-with-locales.js:9406 — moment-with-locales.sk__translate has cognitive complexity 43 (threshold 15). Drivers by points: ternaries 8 (18 pts), if/else 10 (15 pts), boolean chains 9, match/switch 1 (nesting depth added 15). 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. This shape REPEATS in the file: one other method here (moment-with-locales.cs__translate) has the same decision points, in the same order, at the same nesting depths — so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared.
D2 · Cognitive Complexity · json2.str (cognitive 42) · ×1
  • json2.str (cognitive 42) REDACTED:229 — json2.str has cognitive complexity 42 (threshold 15). Drivers by points: if/else 10 (27 pts), loops 3 (9 pts), boolean chains 3, ternaries 1 (2 pts), match/switch 1 (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.
D2 · Cognitive Complexity · respond.src.applyMedia (cognitive 42) · ×1
  • respond.src.applyMedia (cognitive 42) LearningMpaAbp.Web/Scripts/others/respond.src.js:216 — respond.src.applyMedia has cognitive complexity 42 (threshold 15). Drivers by points: if/else 12 (28 pts), boolean chains 11, loops 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.
D2 · Cognitive Complexity · moment-with-locales.is__translate (cognitive 40) · ×1
  • moment-with-locales.is__translate (cognitive 40) LearningMpaAbp.Web/Scripts/moment-with-locales.js:7083 — moment-with-locales.is__translate has cognitive complexity 40 (threshold 15). Drivers by points: if/else 12 (23 pts), ternaries 5 (10 pts), boolean chains 6, match/switch 1 (nesting depth added 16). 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.
D2 · Cognitive Complexity · jquery-2.2.0.buildFragment (cognitive 39) · ×1
  • jquery-2.2.0.buildFragment (cognitive 39) LearningMpaAbp.Web/Scripts/jquery-2.2.0.js:4304 — jquery-2.2.0.buildFragment has cognitive complexity 39 (threshold 15). Drivers by points: if/else 9 (20 pts), loops 4 (9 pts), boolean chains 6, ternaries 1 (4 pts) (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.
D2 · Cognitive Complexity · jquery-2.2.0.jQuery.Callbacks (cognitive 37) · ×1
  • jquery-2.2.0.jQuery.Callbacks (cognitive 37) LearningMpaAbp.Web/Scripts/jquery-2.2.0.js:3139 — jquery-2.2.0.jQuery.Callbacks has cognitive complexity 37 (threshold 15). Drivers by points: if/else 16 (26 pts), boolean chains 6, loops 3 (4 pts), ternaries 1 (nesting depth added 11). None of this is in the body itself: all 37 points belong to 8 function items inside it that branch (fire, a function literal at line 3217, a function literal at line 3227, …). 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.
D2 · Cognitive Complexity · jquery-1.10.2.select (cognitive 37) · ×1
  • jquery-1.10.2.select (cognitive 37) LearningMpaAbp.Weixin/Scripts/jquery-1.10.2.js:2845 — jquery-1.10.2.select has cognitive complexity 37 (threshold 15). Drivers by points: if/else 8 (29 pts), boolean chains 5, loops 1 (3 pts) (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.
D2 · Cognitive Complexity · jquery-1.10.2.internalRemoveData (cognitive 35) · ×1
  • jquery-1.10.2.internalRemoveData (cognitive 35) LearningMpaAbp.Weixin/Scripts/jquery-1.10.2.js:3657 — jquery-1.10.2.internalRemoveData has cognitive complexity 35 (threshold 15). Drivers by points: if/else 16 (29 pts), loops 1 (3 pts), ternaries 2, boolean chains 1 (nesting depth added 15). 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 · jquery-1.10.2.showHide (cognitive 35) · ×1
  • jquery-1.10.2.showHide (cognitive 35) LearningMpaAbp.Weixin/Scripts/jquery-1.10.2.js:6846 — jquery-1.10.2.showHide has cognitive complexity 35 (threshold 15). Drivers by points: if/else 9 (22 pts), boolean chains 6, ternaries 1 (5 pts), loops 2 (nesting depth added 17). 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.
D2 · Cognitive Complexity · moment-with-locales.configFromISO (cognitive 34) · ×1
  • moment-with-locales.configFromISO (cognitive 34) LearningMpaAbp.Web/Scripts/moment-with-locales.js:900 — moment-with-locales.configFromISO has cognitive complexity 34 (threshold 15). Drivers by points: if/else 11 (24 pts), boolean chains 5, loops 2 (5 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.
D2 · Cognitive Complexity · moment.configFromISO (cognitive 34) · ×1
  • moment.configFromISO (cognitive 34) REDACTED:906 — moment.configFromISO has cognitive complexity 34 (threshold 15). Drivers by points: if/else 11 (24 pts), boolean chains 5, loops 2 (5 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.
D2 · Cognitive Complexity · jquery-2.2.0.jQuery.ajaxTransport() (cognitive 31) · ×1
  • jquery-2.2.0.jQuery.ajaxTransport() (cognitive 31) LearningMpaAbp.Web/Scripts/jquery-2.2.0.js:9051 — jquery-2.2.0.jQuery.ajaxTransport() has cognitive complexity 31 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 9, loops 2 (5 pts), error handling 1 (2 pts) (nesting depth added 11). Most of this is not in the body itself: 3 of the 31 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 9057, 9182, 9097, …). 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.
D2 · Cognitive Complexity · sweet-alert.setParameters (cognitive 30) · ×1
  • sweet-alert.setParameters (cognitive 30) REDACTED:552 — sweet-alert.setParameters has cognitive complexity 30 (threshold 15). Drivers by points: if/else 16 (22 pts), boolean chains 3, loops 1 (2 pts), match/switch 1 (2 pts), ternaries 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.
D2 · Cognitive Complexity · jquery-2.2.0.showHide (cognitive 29) · ×1
  • jquery-2.2.0.showHide (cognitive 29) LearningMpaAbp.Web/Scripts/jquery-2.2.0.js:6006 — jquery-2.2.0.showHide has cognitive complexity 29 (threshold 15). Drivers by points: if/else 8 (18 pts), boolean chains 5, ternaries 1 (4 pts), loops 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.
D2 · Cognitive Complexity · bootstrap.Tooltip.show (cognitive 29) · ×1
  • bootstrap.Tooltip.show (cognitive 29) LearningMpaAbp.Weixin/Scripts/bootstrap.js:1208 — bootstrap.Tooltip.show has cognitive complexity 29 (threshold 15). Drivers by points: ternaries 5 (13 pts), if/else 5 (9 pts), boolean chains 7 (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.
D2 · Cognitive Complexity · moment-with-locales.bs__translate (cognitive 28) · ×1
  • moment-with-locales.bs__translate (cognitive 28) LearningMpaAbp.Web/Scripts/moment-with-locales.js:4575 — moment-with-locales.bs__translate has cognitive complexity 28 (threshold 15). Drivers by points: if/else 14 (19 pts), boolean chains 4, ternaries 2 (4 pts), match/switch 1 (nesting depth added 7). 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. This shape REPEATS in the file: one other method here (moment-with-locales.hr__translate) has the same decision points, in the same order, at the same nesting depths — so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared.
D2 · Cognitive Complexity · moment-with-locales.hr__translate (cognitive 28) · ×1
  • moment-with-locales.hr__translate (cognitive 28) LearningMpaAbp.Web/Scripts/moment-with-locales.js:6689 — moment-with-locales.hr__translate has cognitive complexity 28 (threshold 15). Drivers by points: if/else 14 (19 pts), boolean chains 4, ternaries 2 (4 pts), match/switch 1 (nesting depth added 7). 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. This shape REPEATS in the file: one other method here (moment-with-locales.bs__translate) has the same decision points, in the same order, at the same nesting depths — so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared.
D2 · Cognitive Complexity · jquery-2.2.0.access (cognitive 27) · ×1
  • jquery-2.2.0.access (cognitive 27) LearningMpaAbp.Web/Scripts/jquery-2.2.0.js:3585 — jquery-2.2.0.access has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (12 pts), ternaries 4 (10 pts), loops 2 (5 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.
D2 · Cognitive Complexity · jquery-1.10.2.internalData (cognitive 27) · ×1
  • jquery-1.10.2.internalData (cognitive 27) LearningMpaAbp.Weixin/Scripts/jquery-1.10.2.js:3568 — jquery-1.10.2.internalData has cognitive complexity 27 (threshold 15). Drivers by points: if/else 15 (19 pts), boolean chains 6, ternaries 2 (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 · jquery-2.2.0.ajaxHandleResponses (cognitive 26) · ×1
  • jquery-2.2.0.ajaxHandleResponses (cognitive 26) LearningMpaAbp.Web/Scripts/jquery-2.2.0.js:8105 — jquery-2.2.0.ajaxHandleResponses has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (17 pts), loops 3 (5 pts), boolean chains 4 (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.
D2 · Cognitive Complexity · jquery-1.10.2.matcherFromTokens (cognitive 26) · ×1
  • jquery-1.10.2.matcherFromTokens (cognitive 26) LearningMpaAbp.Weixin/Scripts/jquery-1.10.2.js:2653 — jquery-1.10.2.matcherFromTokens has cognitive complexity 26 (threshold 15). Drivers by points: if/else 4 (11 pts), boolean chains 9, loops 2 (5 pts), ternaries 1 (nesting depth added 10). Of this number, 23 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.
D2 · Cognitive Complexity · jquery-1.10.2.ajaxHandleResponses (cognitive 26) · ×1
  • jquery-1.10.2.ajaxHandleResponses (cognitive 26) LearningMpaAbp.Weixin/Scripts/jquery-1.10.2.js:8296 — jquery-1.10.2.ajaxHandleResponses has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (17 pts), loops 3 (5 pts), boolean chains 4 (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.
D2 · Cognitive Complexity · bootstrap.Tooltip.show (cognitive 25) · ×1
  • bootstrap.Tooltip.show (cognitive 25) LearningMpaAbp.Web/Scripts/bootstrap.js:1421 — bootstrap.Tooltip.show has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 8, ternaries 3 (6 pts) (nesting depth added 8). Of this number, 23 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.
D2 · Cognitive Complexity · jquery-1.10.2.tokenize (cognitive 25) · ×1
  • jquery-1.10.2.tokenize (cognitive 25) LearningMpaAbp.Weixin/Scripts/jquery-1.10.2.js:2398 — jquery-1.10.2.tokenize has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (13 pts), ternaries 3 (5 pts), boolean chains 4, loops 2 (3 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.
D2 · Cognitive Complexity · moment-with-locales.moment_calendar__calendar (cognitive 24) · ×1
  • moment-with-locales.moment_calendar__calendar (cognitive 24) LearningMpaAbp.Web/Scripts/moment-with-locales.js:1969 — moment-with-locales.moment_calendar__calendar has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 6 (21 pts), boolean chains 3 (nesting depth added 15). 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.
D2 · Cognitive Complexity · moment.moment_calendar__calendar (cognitive 24) · ×1
  • moment.moment_calendar__calendar (cognitive 24) REDACTED:1975 — moment.moment_calendar__calendar has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 6 (21 pts), boolean chains 3 (nesting depth added 15). 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.
D2 · Cognitive Complexity · abp.abp.utils.buildQueryString (cognitive 23) · ×1
  • abp.abp.utils.buildQueryString (cognitive 23) LearningMpaAbp.Web/Abp/Framework/scripts/abp.js:653 — abp.abp.utils.buildQueryString has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (17 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 9). Of this number, 19 points are the body's own statements and 4 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.
D2 · Cognitive Complexity · bootstrap.Modal.backdrop (cognitive 23) · ×1
  • bootstrap.Modal.backdrop (cognitive 23) LearningMpaAbp.Web/Scripts/bootstrap.js:1093 — bootstrap.Modal.backdrop has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (11 pts), ternaries 4 (7 pts), boolean chains 5 (nesting depth added 7). Of this number, 16 points are the body's own statements and 7 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 · moment-with-locales.getSetOffset (cognitive 23) · ×1
  • moment-with-locales.getSetOffset (cognitive 23) LearningMpaAbp.Web/Scripts/moment-with-locales.js:1689 — moment-with-locales.getSetOffset has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (16 pts), ternaries 2 (4 pts), boolean chains 3 (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.
D2 · Cognitive Complexity · moment.getSetOffset (cognitive 23) · ×1
  • moment.getSetOffset (cognitive 23) REDACTED:1695 — moment.getSetOffset has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (16 pts), ternaries 2 (4 pts), boolean chains 3 (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.
D2 · Cognitive Complexity · moment-with-locales.dayOfYearFromWeekInfo (cognitive 22) · ×1
  • moment-with-locales.dayOfYearFromWeekInfo (cognitive 22) LearningMpaAbp.Web/Scripts/moment-with-locales.js:1210 — moment-with-locales.dayOfYearFromWeekInfo has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 5 (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.
D2 · Cognitive Complexity · moment.dayOfYearFromWeekInfo (cognitive 22) · ×1
  • moment.dayOfYearFromWeekInfo (cognitive 22) REDACTED:1216 — moment.dayOfYearFromWeekInfo has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 5 (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.
D2 · Cognitive Complexity · jquery-1.10.2.jQuery.ready.promise (cognitive 22) · ×1
  • jquery-1.10.2.jQuery.ready.promise (cognitive 22) LearningMpaAbp.Weixin/Scripts/jquery-1.10.2.js:917 — jquery-1.10.2.jQuery.ready.promise has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (12 pts), error handling 2 (8 pts), boolean chains 2 (nesting depth added 12). Of this number, 13 points are the body's own statements and 9 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.
D2 · Cognitive Complexity · AccountController.Register (cognitive 21) · ×1
  • AccountController.Register (cognitive 21) REDACTED:191 — AccountController.Register has cognitive complexity 21 (threshold 15). 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 · jquery-2.2.0.Animation (cognitive 21) · ×1
  • jquery-2.2.0.Animation (cognitive 21) LearningMpaAbp.Web/Scripts/jquery-2.2.0.js:6684 — jquery-2.2.0.Animation has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 5, loops 3, ternaries 1 (nesting depth added 3). Most of this is not in the body itself: 8 of the 21 points are its own statements and the rest belongs to 3 function items inside it that branch (tick, a function literal at line 6739, a function literal at line 6733). 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.
D2 · Cognitive Complexity · jquery-1.10.2.fixCloneNodeIssues (cognitive 21) · ×1
  • jquery-1.10.2.fixCloneNodeIssues (cognitive 21) LearningMpaAbp.Weixin/Scripts/jquery-1.10.2.js:6359 — jquery-1.10.2.fixCloneNodeIssues has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 6, 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.
D2 · Cognitive Complexity · AccountController.TryExtractNameAndSurnameFromClaims (cognitive 20) · ×1
  • AccountController.TryExtractNameAndSurnameFromClaims (cognitive 20) REDACTED:409 — AccountController.TryExtractNameAndSurnameFromClaims has cognitive complexity 20 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function.
D2 · Cognitive Complexity · jquery-ui-1.11.4.$.fn.position (cognitive 20) · ×1
  • jquery-ui-1.11.4.$.fn.position (cognitive 20) LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:1169 — jquery-ui-1.11.4.$.fn.position has cognitive complexity 20 (threshold 15). Drivers by points: if/else 15, boolean chains 5. Most of this is not in the body itself: 9 of the 20 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 1248, 1197, 1286, …). 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.
D2 · Cognitive Complexity · moment-with-locales.checkOverflow (cognitive 20) · ×1
  • moment-with-locales.checkOverflow (cognitive 20) LearningMpaAbp.Web/Scripts/moment-with-locales.js:802 — moment-with-locales.checkOverflow has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 13, if/else 4 (7 pts) (nesting depth added 3). 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.
D2 · Cognitive Complexity · moment-with-locales.configFromStringAndFormat (cognitive 20) · ×1
  • moment-with-locales.configFromStringAndFormat (cognitive 20) LearningMpaAbp.Web/Scripts/moment-with-locales.js:1267 — moment-with-locales.configFromStringAndFormat has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 4, loops 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.
D2 · Cognitive Complexity · moment.checkOverflow (cognitive 20) · ×1
  • moment.checkOverflow (cognitive 20) REDACTED:808 — moment.checkOverflow has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 13, if/else 4 (7 pts) (nesting depth added 3). 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.
D2 · Cognitive Complexity · moment.configFromStringAndFormat (cognitive 20) · ×1
  • moment.configFromStringAndFormat (cognitive 20) REDACTED:1273 — moment.configFromStringAndFormat has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 4, loops 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.
D2 · Cognitive Complexity · bootstrap.Modal.backdrop (cognitive 20) · ×1
  • bootstrap.Modal.backdrop (cognitive 20) LearningMpaAbp.Weixin/Scripts/bootstrap.js:977 — bootstrap.Modal.backdrop has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (9 pts), ternaries 4 (7 pts), boolean chains 4 (nesting depth added 6). Of this number, 16 points are the body's own statements and 4 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.
D2 · Cognitive Complexity · jquery-2.2.0.adjustCSS (cognitive 19) · ×1
  • jquery-2.2.0.adjustCSS (cognitive 19) LearningMpaAbp.Web/Scripts/jquery-2.2.0.js:4182 — jquery-2.2.0.adjustCSS has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 12, if/else 3 (4 pts), loops 1 (2 pts), ternaries 1 (nesting depth added 2). 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.
D2 · Cognitive Complexity · respond.src.translate (cognitive 19) · ×1
  • respond.src.translate (cognitive 19) LearningMpaAbp.Web/Scripts/others/respond.src.js:120 — respond.src.translate has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 11, if/else 4 (5 pts), loops 2 (3 pts) (nesting depth added 2). 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.
D2 · Cognitive Complexity · bootstrap.Affix.getState (cognitive 18) · ×1
  • bootstrap.Affix.getState (cognitive 18) LearningMpaAbp.Web/Scripts/bootstrap.js:2241 — bootstrap.Affix.getState has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 5 (9 pts), if/else 5 (6 pts), boolean chains 3 (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.
D2 · Cognitive Complexity · jquery-2.2.0.augmentWidthOrHeight (cognitive 18) · ×1
  • jquery-2.2.0.augmentWidthOrHeight (cognitive 18) LearningMpaAbp.Web/Scripts/jquery-2.2.0.js:5904 — jquery-2.2.0.augmentWidthOrHeight has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (14 pts), ternaries 2 (3 pts), loops 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.
D2 · Cognitive Complexity · bootstrap.Carousel.slide (cognitive 18) · ×1
  • bootstrap.Carousel.slide (cognitive 18) LearningMpaAbp.Weixin/Scripts/bootstrap.js:374 — bootstrap.Carousel.slide has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 5, ternaries 2 (nesting depth added 3). 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, 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 · jquery-1.10.2.augmentWidthOrHeight (cognitive 18) · ×1
  • jquery-1.10.2.augmentWidthOrHeight (cognitive 18) LearningMpaAbp.Weixin/Scripts/jquery-1.10.2.js:7183 — jquery-1.10.2.augmentWidthOrHeight has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (14 pts), ternaries 2 (3 pts), loops 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.
D2 · Cognitive Complexity · jquery-1.10.2.Animation (cognitive 18) · ×1
  • jquery-1.10.2.Animation (cognitive 18) LearningMpaAbp.Weixin/Scripts/jquery-1.10.2.js:8892 — jquery-1.10.2.Animation has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (9 pts), boolean chains 5, loops 3, ternaries 1 (nesting depth added 1). 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 (tick, a function literal at line 8941, a function literal at line 8935). 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.
D2 · Cognitive Complexity · abp.spin.abp.ui.setBusy (cognitive 17) · ×1
  • abp.spin.abp.ui.setBusy (cognitive 17) LearningMpaAbp.Web/Abp/Framework/scripts/libs/abp.spin.js:35 — abp.spin.abp.ui.setBusy has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 2 (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.
D2 · Cognitive Complexity · jquery-1.10.2.getAll (cognitive 17) · ×1
  • jquery-1.10.2.getAll (cognitive 17) LearningMpaAbp.Weixin/Scripts/jquery-1.10.2.js:6452 — jquery-1.10.2.getAll has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 6, if/else 3 (5 pts), ternaries 3 (4 pts), loops 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.
D2 · Cognitive Complexity · jquery-2.2.0.on (cognitive 16) · ×1
  • jquery-2.2.0.on (cognitive 16) LearningMpaAbp.Web/Scripts/jquery-2.2.0.js:4441 — jquery-2.2.0.on has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 3, loops 1 (2 pts) (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.
D2 · Cognitive Complexity · jquery-2.2.0.getWidthOrHeight (cognitive 16) · ×1
  • jquery-2.2.0.getWidthOrHeight (cognitive 16) LearningMpaAbp.Web/Scripts/jquery-2.2.0.js:5948 — jquery-2.2.0.getWidthOrHeight has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (8 pts), boolean chains 7, ternaries 1 (nesting depth added 3). 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 · jquery-2.2.0.propFilter (cognitive 16) · ×1
  • jquery-2.2.0.propFilter (cognitive 16) LearningMpaAbp.Web/Scripts/jquery-2.2.0.js:6647 — jquery-2.2.0.propFilter has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 2 (4 pts), boolean chains 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.
D2 · Cognitive Complexity · jquery-2.2.0.jQuery.ajaxPrefilter("json jsonp") (cognitive 16) · ×1
  • jquery-2.2.0.jQuery.ajaxPrefilter("json jsonp") (cognitive 16) LearningMpaAbp.Web/Scripts/jquery-2.2.0.js:9272 — jquery-2.2.0.jQuery.ajaxPrefilter("json jsonp") has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 5 (nesting depth added 4). Of this number, 8 points are the body's own statements and 8 belong to 2 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.
D2 · Cognitive Complexity · moment-with-locales.copyConfig (cognitive 16) · ×1
  • moment-with-locales.copyConfig (cognitive 16) LearningMpaAbp.Web/Scripts/moment-with-locales.js:126 — moment-with-locales.copyConfig has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12 (14 pts), loops 1 (2 pts) (nesting depth added 3). 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.
D2 · Cognitive Complexity · moment-with-locales.localeWeekdaysParse (cognitive 16) · ×1
  • moment-with-locales.localeWeekdaysParse (cognitive 16) LearningMpaAbp.Web/Scripts/moment-with-locales.js:2572 — moment-with-locales.localeWeekdaysParse has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 5, loops 1 (nesting depth added 3). 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 · moment-with-locales.pluralForm (cognitive 16) · ×1
  • moment-with-locales.pluralForm (cognitive 16) LearningMpaAbp.Web/Scripts/moment-with-locales.js:3881 — moment-with-locales.pluralForm has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 5 (15 pts), boolean chains 1 (nesting depth added 10). 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.
D2 · Cognitive Complexity · moment.copyConfig (cognitive 16) · ×1
  • moment.copyConfig (cognitive 16) REDACTED:132 — moment.copyConfig has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12 (14 pts), loops 1 (2 pts) (nesting depth added 3). 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.
D2 · Cognitive Complexity · moment.localeWeekdaysParse (cognitive 16) · ×1
  • moment.localeWeekdaysParse (cognitive 16) REDACTED:2578 — moment.localeWeekdaysParse has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 5, loops 1 (nesting depth added 3). 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 · respond.src.ripCSS (cognitive 16) · ×1
  • respond.src.ripCSS (cognitive 16) LearningMpaAbp.Web/Scripts/others/respond.src.js:75 — respond.src.ripCSS has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (10 pts), boolean chains 5, loops 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.
D2 · Cognitive Complexity · bootstrap.Affix.checkPosition (cognitive 16) · ×1
  • bootstrap.Affix.checkPosition (cognitive 16) LearningMpaAbp.Weixin/Scripts/bootstrap.js:1922 — bootstrap.Affix.checkPosition has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7, ternaries 3 (6 pts), boolean chains 3 (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.
D2 · Cognitive Complexity · jquery-1.10.2.propFilter (cognitive 16) · ×1
  • jquery-1.10.2.propFilter (cognitive 16) LearningMpaAbp.Weixin/Scripts/jquery-1.10.2.js:8996 — jquery-1.10.2.propFilter has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 2 (4 pts), boolean chains 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.
D29 · Static Analysis (SAST) · REDACTED · ×1
  • REDACTED
D3 · God Classes · ClassTooLong · ×1
  • ClassTooLong: abp LearningMpaAbp.Web/Abp/Framework/scripts/abp.js:1 — ClassTooLong — 452 significant lines (blank, comment-only and punctuation-only lines excluded), 62 methods. The bar is 400 significant lines; this is 52 over it, 1.13× 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.
D35 · Change Coupling · Change coupling · ×1
  • Change coupling: TasksController.cs ↔ index.js LearningMpaAbp.Web/Controllers/TasksController.cs:1 — `LearningMpaAbp.Web/Controllers/TasksController.cs` and `LearningMpaAbp.Web/Views/Tasks/index.js` change together 80% of the time (8 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well — a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) and are written in DIFFERENT LANGUAGES, so no import can join them and they cannot be co-located into one unit — they compile and ship as separate artifacts. What binds them is a CONTRACT across that boundary — an event or message name, a route, a serialised shape — that each side currently spells out on its own, which is exactly why a change to one drags the other. Declare that contract once where both sides read it (a shared schema, a generated constants file, an interface-definition file) so a change on one side fails the other's build instead of drifting silently; where the surface is too small to be worth that, name the counterpart in a comment on both sides so the next reader finds it. There is nothing here to merge. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are `64d7bd8e` 使用后台任务发送通知给拥有未完成任务的用户; `044a28f0` 重命名控制器及代码逻辑优化; `56031eff` 删除log文件,优化前台任务清单展示效果 — run `git show` on any of them.
D4 · Code Duplication · Duplicated block (34–35 lines × 2) · ×1
  • Duplicated block (34–35 lines × 2) REDACTED:122 — REDACTED:122-156 | REDACTED:159-192 — 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.
D4 · Code Duplication · Duplicated block (21–25 lines × 2) · ×1
  • Duplicated block (21–25 lines × 2) REDACTED:143 — REDACTED:143-167 | LearningMpaAbp.WebApi/Api/Controllers/AccountController.cs:69-89 — 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.
D4 · Code Duplication · Duplicated block (24 lines × 2) · ×1
  • Duplicated block (24 lines × 2) LearningMpaAbp.EntityFramework/Migrations/SeedData/HostRoleAndUserCreator.cs:48 — LearningMpaAbp.EntityFramework/Migrations/SeedData/HostRoleAndUserCreator.cs:48-71 | LearningMpaAbp.EntityFramework/Migrations/SeedData/TenantRoleAndUserBuilder.cs:47-71 — 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 `LearningMpaAbp.EntityFramework/Migrations/SeedData/HostRoleAndUserCreator.cs:48` 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.
D4 · Code Duplication · Duplicated block (22–23 lines × 3) · ×1
  • Duplicated block (22–23 lines × 3) REDACTED:87 — REDACTED:87-108 | REDACTED:123-145 | REDACTED:160-181 — 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 `REDACTED:87` 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. 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.
D4 · Code Duplication · Duplicated block (17 lines × 2) · ×1
  • Duplicated block (17 lines × 2) REDACTED:71 — REDACTED:71-87 | REDACTED:112-128 — 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 `REDACTED: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.
D4 · Code Duplication · Duplicated block (19 lines × 2) · ×1
  • Duplicated block (19 lines × 2) LearningMpaAbp.Application/Users/Dto/UserListDto.cs:8 — LearningMpaAbp.Application/Users/Dto/UserListDto.cs:8-26 | LearningMpaAbp.Weixin/Models/UserListDto.cs:9-27 — 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 `LearningMpaAbp.Application/Users/Dto/UserListDto.cs:8` 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, `LearningMpaAbp.Application/Users/Dto/UserListDto.cs:7` calls `AutoMapFrom` and `LearningMpaAbp.Weixin/Models/UserListDto.cs:8` 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.
D4 · Code Duplication · Duplicated block (12 lines × 3) · ×1
  • Duplicated block (12 lines × 3) REDACTED:32 — REDACTED:32-43 | REDACTED:71-82 | REDACTED:112-123 — 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 `REDACTED:32` 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, `REDACTED:84` calls `FirstOrDefault` and `REDACTED:45` 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.
D4 · Code Duplication · Duplicated block (9 lines × 2) · ×1
  • Duplicated block (9 lines × 2) LearningMpaAbp.Web/Controllers/BackendTasksController.cs:73 — LearningMpaAbp.Web/Controllers/BackendTasksController.cs:73-81 | LearningMpaAbp.Web/Controllers/TasksController.cs:132-140 — 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.
D4 · Code Duplication · Duplicated block (10 lines × 2) · ×1
  • Duplicated block (10 lines × 2) REDACTED:118 — REDACTED:118-127 | LearningMpaAbp.WebApi/Api/Controllers/AccountController.cs:57-66 — 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.
D5 · Coupling · Off the main sequence · ×1
  • Off the main sequence: LearningMpaAbp.Core LearningMpaAbp.Core/LearningMpaAbp.Core.csproj:1 — LearningMpaAbp.Core: abstractness 0.10, instability 0.00, distance 0.90 — zone of pain — concrete and depended on by 4 project(s), so it's rigid to change.
IC1 · Incompleteness & stubs · Skeleton type · ×1
  • Skeleton type — most members are unfinished LearningMpaAbp.WebApi/Api/Providers/SimpleRefreshTokenProvider.cs:13 — `SimpleRefreshTokenProvider` has 2 unfinished members out of 4 declared members (methods, properties, indexers and events, whether or not each carries a body) — a scaffolded type that was never implemented.
IC1 · Incompleteness & stubs · Fake-async · ×1
  • Fake-async — async method never awaits REDACTED:40 — `Index` is declared `async` but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop `async` or do the real async work.
P2 · Observability · No structured logging · ×1
  • No structured logging — No logging call was found in the 7 JavaScript/TypeScript production file(s) this check read across 1 module(s). Each was searched for its ecosystem's logging libraries (JavaScript/TypeScript: pino, winston, bunyan, log4js, loglevel, consola, the NestJS Logger) and for a call on a receiver named `log`/`logger` (or ending in `Logger`/`_logger`) with a level verb. It cannot see logging through a repo-local wrapper named otherwise, or in source it did not read — this is 'no logging found by this walk', not a verdict that nothing here logs. If it is right, production issues will be hard to diagnose.
R1 · Type Safety · Type Safety · ×1
  • Type Safety — 0 typed · 26 plain JS — the untyped files are LearningMpaAbp.Web/Abp/Framework/scripts/abp.js, LearningMpaAbp.Web/Abp/Framework/scripts/libs/abp.blockUI.js, LearningMpaAbp.Web/Abp/Framework/scripts/libs/abp.jquery.js, LearningMpaAbp.Web/Abp/Framework/scripts/libs/abp.jtable.js, LearningMpaAbp.Web/Abp/Framework/scripts/libs/abp.moment.js, LearningMpaAbp.Web/Abp/Framework/scripts/libs/abp.signalr.js (+20 more).
R10 · Code Duplication · Duplicated block (60 lines × 2 locations) · ×1
  • Duplicated block (60 lines × 2 locations) LearningMpaAbp.Web/Scripts/moment-with-locales.js:4563 — LearningMpaAbp.Web/Scripts/moment-with-locales.js:4563 · LearningMpaAbp.Web/Scripts/moment-with-locales.js:6678 — 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.
R10 · Code Duplication · Duplicated block (50 lines × 2 locations) · ×1
  • Duplicated block (50 lines × 2 locations) LearningMpaAbp.Web/Scripts/moment-with-locales.js:4650 — LearningMpaAbp.Web/Scripts/moment-with-locales.js:4650 · LearningMpaAbp.Web/Scripts/moment-with-locales.js:6767 — 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.
R10 · Code Duplication · Duplicated block (46 lines × 2 locations) · ×1
  • Duplicated block (46 lines × 2 locations) LearningMpaAbp.Web/Scripts/moment-with-locales.js:4861 — LearningMpaAbp.Web/Scripts/moment-with-locales.js:4861 · LearningMpaAbp.Web/Scripts/moment-with-locales.js:9468 — 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.
R10 · Code Duplication · Duplicated block (41 lines × 2 locations) · ×1
  • Duplicated block (41 lines × 2 locations) LearningMpaAbp.Web/Scripts/moment-with-locales.js:5088 — LearningMpaAbp.Web/Scripts/moment-with-locales.js:5088 · LearningMpaAbp.Web/Scripts/moment-with-locales.js:5154 — 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.
R10 · Code Duplication · Duplicated block (37 lines × 2 locations) · ×1
  • Duplicated block (37 lines × 2 locations) LearningMpaAbp.Web/Scripts/moment-with-locales.js:8418 — LearningMpaAbp.Web/Scripts/moment-with-locales.js:8418 · LearningMpaAbp.Web/Scripts/moment-with-locales.js:8489 — 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.
R10 · Code Duplication · Duplicated block (36 lines × 2 locations) · ×1
  • Duplicated block (36 lines × 2 locations) LearningMpaAbp.Web/Scripts/moment-with-locales.js:4775 — LearningMpaAbp.Web/Scripts/moment-with-locales.js:4775 · LearningMpaAbp.Web/Scripts/moment-with-locales.js:9404 — 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.
R10 · Code Duplication · Duplicated block (33 lines × 2 locations) · ×1
  • Duplicated block (33 lines × 2 locations) LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:1427 — LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:1427 · LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:1461 — 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.
R10 · Code Duplication · Duplicated block (32 lines × 4 locations) · ×1
  • Duplicated block (32 lines × 4 locations) LearningMpaAbp.Web/Scripts/moment-with-locales.js:7012 — LearningMpaAbp.Web/Scripts/moment-with-locales.js:7012 · LearningMpaAbp.Web/Scripts/moment-with-locales.js:7313 · LearningMpaAbp.Web/Scripts/moment-with-locales.js:8396 · LearningMpaAbp.Web/Scripts/moment-with-locales.js:8467 — 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.
R10 · Code Duplication · Duplicated block (29 lines × 2 locations) · ×1
  • Duplicated block (29 lines × 2 locations) LearningMpaAbp.Web/Scripts/moment-with-locales.js:4167 — LearningMpaAbp.Web/Scripts/moment-with-locales.js:4167 · LearningMpaAbp.Web/Scripts/moment-with-locales.js:10804 — 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.
R10 · Code Duplication · Duplicated block (27 lines × 3 locations) · ×1
  • Duplicated block (27 lines × 3 locations) LearningMpaAbp.Web/Scripts/moment-with-locales.js:8046 — LearningMpaAbp.Web/Scripts/moment-with-locales.js:8046 · LearningMpaAbp.Web/Scripts/moment-with-locales.js:9787 · LearningMpaAbp.Web/Scripts/moment-with-locales.js:9884 — 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.
R10 · Code Duplication · Duplicated block (26 lines × 2 locations) · ×1
  • Duplicated block (26 lines × 2 locations) LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:1354 — LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:1354 · LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:1391 — 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.
R10 · Code Duplication · Duplicated block (22 lines × 2 locations) · ×1
  • Duplicated block (22 lines × 2 locations) LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:6212 — LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:6212 · LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:14441 — 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.
R10 · Code Duplication · Duplicated block (22 lines × 4 locations) · ×1
  • Duplicated block (22 lines × 4 locations) LearningMpaAbp.Web/Scripts/moment-with-locales.js:6648 — LearningMpaAbp.Web/Scripts/moment-with-locales.js:6648 · LearningMpaAbp.Web/Scripts/moment-with-locales.js:8349 · LearningMpaAbp.Web/Scripts/moment-with-locales.js:8710 · LearningMpaAbp.Web/Scripts/moment-with-locales.js:10199 — 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.
R10 · Code Duplication · Duplicated block (21 lines × 2 locations) · ×1
  • Duplicated block (21 lines × 2 locations) LearningMpaAbp.Web/Scripts/moment-with-locales.js:9192 — LearningMpaAbp.Web/Scripts/moment-with-locales.js:9192 · LearningMpaAbp.Web/Scripts/moment-with-locales.js:9214 — 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.
R10 · Code Duplication · Duplicated block (19 lines × 2 locations) · ×1
  • Duplicated block (19 lines × 2 locations) LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:3083 — LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:3083 · LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:12699 — 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.
R10 · Code Duplication · Duplicated block with local edits (18 matched lines × 2 locations) · ×1
  • Duplicated block with local edits (18 matched lines × 2 locations) LearningMpaAbp.Web/Abp/Framework/scripts/libs/abp.jquery.js:65 — LearningMpaAbp.Web/Abp/Framework/scripts/libs/abp.jquery.js:65 · LearningMpaAbp.Web/Abp/Framework/scripts/libs/angularjs/abp.ng.js:30 — the two spans are one implementation copied and then locally edited — 112 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one.
R10 · Code Duplication · Duplicated block (15 lines × 5 locations) · ×1
  • Duplicated block (15 lines × 5 locations) LearningMpaAbp.Web/Scripts/moment-with-locales.js:4359 — LearningMpaAbp.Web/Scripts/moment-with-locales.js:4359 · LearningMpaAbp.Web/Scripts/moment-with-locales.js:4458 · LearningMpaAbp.Web/Scripts/moment-with-locales.js:6669 · LearningMpaAbp.Web/Scripts/moment-with-locales.js:8368 · +1 more site(s) not listed — all 5 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.
R10 · Code Duplication · Duplicated block (15 lines × 3 locations) · ×1
  • Duplicated block (15 lines × 3 locations) LearningMpaAbp.Web/Scripts/moment-with-locales.js:4712 — LearningMpaAbp.Web/Scripts/moment-with-locales.js:4712 · LearningMpaAbp.Web/Scripts/moment-with-locales.js:5756 · LearningMpaAbp.Web/Scripts/moment-with-locales.js:6450 — 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.
R2 · Cyclomatic Complexity · Complex function _generateHTML (cyclomatic 87, cognitive 206) · ×1
  • Complex function _generateHTML (cyclomatic 87, cognitive 206) LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:5378 — _generateHTML has cyclomatic complexity 87 and cognitive complexity 206; 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.
R2 · Cyclomatic Complexity · Complex function sl__processRelativeTime (cyclomatic 72, cognitive 115) · ×1
  • Complex function sl__processRelativeTime (cyclomatic 72, cognitive 115) LearningMpaAbp.Web/Scripts/moment-with-locales.js:9539 — sl__processRelativeTime has cyclomatic complexity 72 and cognitive complexity 115; 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.
R2 · Cyclomatic Complexity · Complex function _doKeyDown (cyclomatic 45, cognitive 76) · ×1
  • Complex function _doKeyDown (cyclomatic 45, cognitive 76) LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:4337 — _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.
R2 · Cyclomatic Complexity · Complex function is__translate (cyclomatic 42, cognitive 61) · ×1
  • Complex function is__translate (cyclomatic 42, cognitive 61) LearningMpaAbp.Web/Scripts/moment-with-locales.js:7083 — is__translate has cyclomatic complexity 42 and cognitive complexity 61; 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.
R2 · Cyclomatic Complexity · Complex function parseDate (cyclomatic 42, cognitive 49) · ×1
  • Complex function parseDate (cyclomatic 42, cognitive 49) LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:4865 — parseDate has cyclomatic complexity 42 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.
R2 · Cyclomatic Complexity · Complex function apply (cyclomatic 40, cognitive 74) · ×1
  • Complex function apply (cyclomatic 40, cognitive 74) LearningMpaAbp.Web/Scripts/select2.js:4565 — apply has cyclomatic complexity 40 and cognitive complexity 74; 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.
R2 · Cyclomatic Complexity · Complex function cs__translate (cyclomatic 39, cognitive 56) · ×1
  • Complex function cs__translate (cyclomatic 39, cognitive 56) LearningMpaAbp.Web/Scripts/moment-with-locales.js:4777 — cs__translate has cyclomatic complexity 39 and cognitive complexity 56; 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.
R2 · Cyclomatic Complexity · Complex function sk__translate (cyclomatic 39, cognitive 56) · ×1
  • Complex function sk__translate (cyclomatic 39, cognitive 56) LearningMpaAbp.Web/Scripts/moment-with-locales.js:9406 — sk__translate has cyclomatic complexity 39 and cognitive complexity 56; 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.
R2 · Cyclomatic Complexity · Complex function hu__translate (cyclomatic 34, cognitive 34) · ×1
  • Complex function hu__translate (cyclomatic 34, cognitive 34) LearningMpaAbp.Web/Scripts/moment-with-locales.js:6822 — hu__translate has cyclomatic complexity 34 and cognitive complexity 34; 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.
R2 · Cyclomatic Complexity · Complex function _mouseDrag (cyclomatic 33, cognitive 54) · ×1
  • Complex function _mouseDrag (cyclomatic 33, cognitive 54) LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:13782 — _mouseDrag has cyclomatic complexity 33 and cognitive complexity 54; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes.
R2 · Cyclomatic Complexity · Complex function drag (cyclomatic 33, cognitive 43) · ×1
  • Complex function drag (cyclomatic 33, cognitive 43) LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:6843 — drag has cyclomatic complexity 33 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.
R2 · Cyclomatic Complexity · Complex function normalize (cyclomatic 32, cognitive 63) · ×1
  • Complex function normalize (cyclomatic 32, cognitive 63) LearningMpaAbp.Web/Scripts/select2.js:65 — normalize has cyclomatic complexity 32 and cognitive complexity 63; 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.
R2 · Cyclomatic Complexity · Complex function _respectSize (cyclomatic 29, cognitive 20) · ×1
  • Complex function _respectSize (cyclomatic 29, cognitive 20) LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:7509 — _respectSize has cyclomatic complexity 29 and cognitive complexity 20; 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.
R2 · Cyclomatic Complexity · Complex function _generatePosition (cyclomatic 27, cognitive 57) · ×1
  • Complex function _generatePosition (cyclomatic 27, cognitive 57) LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:6392 — _generatePosition has cyclomatic complexity 27 and cognitive complexity 57; 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.
R2 · Cyclomatic Complexity · Complex function _generateMonthYearHeader (cyclomatic 27, cognitive 46) · ×1
  • Complex function _generateMonthYearHeader (cyclomatic 27, cognitive 46) LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:5562 — _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.
R2 · Cyclomatic Complexity · Complex function formatDate (cyclomatic 27, cognitive 42) · ×1
  • Complex function formatDate (cyclomatic 27, cognitive 42) LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:5074 — 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.
R2 · Cyclomatic Complexity · Complex function _clear (cyclomatic 27, cognitive 36) · ×1
  • Complex function _clear (cyclomatic 27, cognitive 36) LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:14665 — _clear has cyclomatic complexity 27 and cognitive complexity 36; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes.
R2 · Cyclomatic Complexity · Complex function bs__translate (cyclomatic 27, cognitive 28) · ×1
  • Complex function bs__translate (cyclomatic 27, cognitive 28) LearningMpaAbp.Web/Scripts/moment-with-locales.js:4575 — bs__translate has cyclomatic complexity 27 and cognitive complexity 28; 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.
R2 · Cyclomatic Complexity · Complex function hr__translate (cyclomatic 27, cognitive 28) · ×1
  • Complex function hr__translate (cyclomatic 27, cognitive 28) LearningMpaAbp.Web/Scripts/moment-with-locales.js:6689 — hr__translate has cyclomatic complexity 27 and cognitive complexity 28; 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.
R2 · Cyclomatic Complexity · Complex function _generatePosition (cyclomatic 26, cognitive 47) · ×1
  • Complex function _generatePosition (cyclomatic 26, cognitive 47) LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:14578 — _generatePosition has cyclomatic complexity 26 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.
R4 · Test Coverage · Test Coverage · ×1
  • Test Coverage — 0% of 26 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
S1 · Web-Security Posture · Third-party script without Subresource Integrity · ×1
  • Third-party script without Subresource Integrity REDACTED:13 — `http://cdnjs.cloudflare.com/ajax/libs/bootstrap-table/1.11.0/bootstrap-table.min.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. 2 such include(s) across the repository's markup.
SC1 · Supply-chain hygiene · NuGet dependencies are not locked · ×1
  • NuGet dependencies are not locked — No packages.lock.json and no central package management — restores aren't reproducible or pinned (SSDF PW.4.4). Enable <RestorePackagesWithLockFile>true</RestorePackagesWithLockFile> (commit the lockfile) or adopt Directory.Packages.props. Advisory — never scored.
Minor — 127 finding(s)
D24 · Comment Value · redundant comment · ×35
  • redundant comment LearningMpaAbp.Application/MultiTenancy/TenantAppService.cs:71 — "Create static roles for new tenant" repeats the code it sits on: 4 of its 5 words (create, static, roles, tenant) are already in `CheckErrors(await _roleManager.CreateStaticRoles(tenant.Id));`. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence).
  • redundant comment LearningMpaAbp.Application/MultiTenancy/TenantAppService.cs:80 — "Create admin user for the tenant" repeats the code it sits on: 4 of its 4 words (create, admin, user, tenant) are already in `var adminUser = User.CreateTenantAdminUser(tenant.Id, input.AdminEmailAddress, User.DefaultPassword);`. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence).
  • redundant comment LearningMpaAbp.Application/Properties/AssemblyInfo.cs:5 — "General Information about an assembly is controlled through the following set of attributes. Change these attribute values to modify the information associated …" is Visual Studio AssemblyInfo template text, left in place. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence).
  • redundant comment LearningMpaAbp.Application/Properties/AssemblyInfo.cs:18 — "Setting ComVisible to false makes the types in this assembly not visible to COM components. If you need to access a type in this assembly from COM, set the ComV …" is Visual Studio AssemblyInfo template text, left in place. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence).
  • redundant comment LearningMpaAbp.Application/Properties/AssemblyInfo.cs:23 — "The following GUID is for the ID of the typelib if this project is exposed to COM" is Visual Studio AssemblyInfo template text, left in place. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence).
  • redundant comment LearningMpaAbp.Application/Properties/AssemblyInfo.cs:26 — "Version information for an assembly consists of the following four values: Major Version Minor Version Build Number Revision You can specify all the values or y …" is Visual Studio AssemblyInfo template text, left in place. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence).
  • redundant comment LearningMpaAbp.Core/Properties/AssemblyInfo.cs:5 — "General Information about an assembly is controlled through the following set of attributes. Change these attribute values to modify the information associated …" is Visual Studio AssemblyInfo template text, left in place. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence).
  • redundant comment LearningMpaAbp.Core/Properties/AssemblyInfo.cs:18 — "Setting ComVisible to false makes the types in this assembly not visible to COM components. If you need to access a type in this assembly from COM, set the ComV …" is Visual Studio AssemblyInfo template text, left in place. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence).
  • redundant comment LearningMpaAbp.Core/Properties/AssemblyInfo.cs:23 — "The following GUID is for the ID of the typelib if this project is exposed to COM" is Visual Studio AssemblyInfo template text, left in place. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence).
  • redundant comment LearningMpaAbp.Core/Properties/AssemblyInfo.cs:26 — "Version information for an assembly consists of the following four values: Major Version Minor Version Build Number Revision You can specify all the values or y …" is Visual Studio AssemblyInfo template text, left in place. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence).
  • redundant comment LearningMpaAbp.EntityFramework/Migrations/SeedData/HostRoleAndUserCreator.cs:30 — "Admin role for host" repeats the code it sits on: 3 of its 3 words (admin, role, host) are already in `var adminRoleForHost =`. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence).
  • redundant comment LearningMpaAbp.EntityFramework/Properties/AssemblyInfo.cs:5 — "General Information about an assembly is controlled through the following set of attributes. Change these attribute values to modify the information associated …" is Visual Studio AssemblyInfo template text, left in place. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence).
  • redundant comment LearningMpaAbp.EntityFramework/Properties/AssemblyInfo.cs:18 — "Setting ComVisible to false makes the types in this assembly not visible to COM components. If you need to access a type in this assembly from COM, set the ComV …" is Visual Studio AssemblyInfo template text, left in place. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence).
  • redundant comment LearningMpaAbp.EntityFramework/Properties/AssemblyInfo.cs:23 — "The following GUID is for the ID of the typelib if this project is exposed to COM" is Visual Studio AssemblyInfo template text, left in place. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence).
  • redundant comment LearningMpaAbp.EntityFramework/Properties/AssemblyInfo.cs:26 — "Version information for an assembly consists of the following four values: Major Version Minor Version Build Number Revision You can specify all the values or y …" is Visual Studio AssemblyInfo template text, left in place. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence).
  • redundant comment LearningMpaAbp.Web/Properties/AssemblyInfo.cs:5 — "General Information about an assembly is controlled through the following set of attributes. Change these attribute values to modify the information associated …" is Visual Studio AssemblyInfo template text, left in place. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence).
  • redundant comment LearningMpaAbp.Web/Properties/AssemblyInfo.cs:18 — "Setting ComVisible to false makes the types in this assembly not visible to COM components. If you need to access a type in this assembly from COM, set the ComV …" is Visual Studio AssemblyInfo template text, left in place. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence).
  • redundant comment LearningMpaAbp.Web/Properties/AssemblyInfo.cs:23 — "The following GUID is for the ID of the typelib if this project is exposed to COM" is Visual Studio AssemblyInfo template text, left in place. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence).
  • redundant comment LearningMpaAbp.Web/Properties/AssemblyInfo.cs:26 — "Version information for an assembly consists of the following four values: Major Version Minor Version Build Number Revision You can specify all the values or y …" is Visual Studio AssemblyInfo template text, left in place. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence).
  • redundant comment LearningMpaAbp.Web/Scripts/jquery-ui-1.11.4.js:2484 — 5 comments in this file only repeat the code they sit on (lines 2484, 3736, 6020, 10131, 13696), for example "Highlight active parent menu item, if any". Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence).
  • redundant comment REDACTED:658 — "Set confirm button to selected background color" repeats the code it sits on: 5 of its 6 words (set, confirm, button, background, color) are already in `$confirmBtn.style.backgroundColor = params.confirmButtonColor;`. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence).
  • redundant comment REDACTED:664 — "Allow outside click?" repeats the code it sits on: 3 of its 3 words (allow, outside, click) are already in `modal.setAttribute('data-allow-ouside-click', params.allowOutsideClick);`. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence).
  • redundant comment LearningMpaAbp.WebApi/Properties/AssemblyInfo.cs:5 — "General Information about an assembly is controlled through the following set of attributes. Change these attribute values to modify the information associated …" is Visual Studio AssemblyInfo template text, left in place. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence).
  • redundant comment LearningMpaAbp.WebApi/Properties/AssemblyInfo.cs:18 — "Setting ComVisible to false makes the types in this assembly not visible to COM components. If you need to access a type in this assembly from COM, set the ComV …" is Visual Studio AssemblyInfo template text, left in place. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence).
  • redundant comment LearningMpaAbp.WebApi/Properties/AssemblyInfo.cs:23 — "The following GUID is for the ID of the typelib if this project is exposed to COM" is Visual Studio AssemblyInfo template text, left in place. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence).
  • + 10 more in this group — see findings.md.
IC1 · Incompleteness & stubs · Commented-out code · ×35
  • Commented-out code LearningMpaAbp.Application/Tasks/TaskAppService.cs:116 — A line of code has been commented out rather than removed — dead weight that rots and confuses. Delete it (version control remembers).
  • Commented-out code LearningMpaAbp.Application/Tasks/TaskAppService.cs:172 — A line of code has been commented out rather than removed — dead weight that rots and confuses. Delete it (version control remembers).
  • Commented-out code LearningMpaAbp.Application/Tasks/TaskAppService.cs:195 — A line of code has been commented out rather than removed — dead weight that rots and confuses. Delete it (version control remembers).
  • Commented-out code LearningMpaAbp.Application/Tasks/TaskAppService.cs:196 — A line of code has been commented out rather than removed — dead weight that rots and confuses. Delete it (version control remembers).
  • Commented-out code LearningMpaAbp.Application/Tasks/TaskAppService.cs:202 — A line of code has been commented out rather than removed — dead weight that rots and confuses. Delete it (version control remembers).
  • Commented-out code LearningMpaAbp.Core/Tasks/TaskAssignedToUser.cs:26 — A line of code has been commented out rather than removed — dead weight that rots and confuses. Delete it (version control remembers).
  • Commented-out code LearningMpaAbp.EntityFramework/EntityFramework/LearningMpaAbpDbContext.cs:28 — A line of code has been commented out rather than removed — dead weight that rots and confuses. Delete it (version control remembers).
  • Commented-out code LearningMpaAbp.EntityFramework/EntityFramework/LearningMpaAbpDbContext.cs:42 — A line of code has been commented out rather than removed — dead weight that rots and confuses. Delete it (version control remembers).
  • Commented-out code LearningMpaAbp.EntityFramework/EntityFramework/LearningMpaAbpDbContext.cs:52 — A line of code has been commented out rather than removed — dead weight that rots and confuses. Delete it (version control remembers).
  • Commented-out code LearningMpaAbp.Web/App_Start/LearningMpaAbpWebModule.cs:42 — A line of code has been commented out rather than removed — dead weight that rots and confuses. Delete it (version control remembers).
  • Commented-out code LearningMpaAbp.Web/App_Start/LearningMpaAbpWebModule.cs:46 — A line of code has been commented out rather than removed — dead weight that rots and confuses. Delete it (version control remembers).
  • Commented-out code REDACTED:37 — A line of code has been commented out rather than removed — dead weight that rots and confuses. Delete it (version control remembers).
  • Commented-out code REDACTED:38 — A line of code has been commented out rather than removed — dead weight that rots and confuses. Delete it (version control remembers).
  • Commented-out code REDACTED:76 — A line of code has been commented out rather than removed — dead weight that rots and confuses. Delete it (version control remembers).
  • Commented-out code REDACTED:77 — A line of code has been commented out rather than removed — dead weight that rots and confuses. Delete it (version control remembers).
  • Commented-out code REDACTED:117 — A line of code has been commented out rather than removed — dead weight that rots and confuses. Delete it (version control remembers).
  • Commented-out code REDACTED:118 — A line of code has been commented out rather than removed — dead weight that rots and confuses. Delete it (version control remembers).
  • Commented-out code LearningMpaAbp.Web/Controllers/TasksController.cs:81 — A line of code has been commented out rather than removed — dead weight that rots and confuses. Delete it (version control remembers).
  • Commented-out code LearningMpaAbp.Web/Controllers/TasksController.cs:90 — A line of code has been commented out rather than removed — dead weight that rots and confuses. Delete it (version control remembers).
  • Commented-out code LearningMpaAbp.Web/Controllers/TasksController.cs:93 — A line of code has been commented out rather than removed — dead weight that rots and confuses. Delete it (version control remembers).
  • Commented-out code LearningMpaAbp.Web/GlimpseSecurityPolicy.cs:15 — 5 consecutive lines of code sit inside a `/* … */` block — a block of code switched off rather than removed, which rots and confuses. Delete it (version control remembers).
  • Commented-out code LearningMpaAbp.Web/Views/Address/Index.cshtml:25 — A line of JavaScript has been commented out of this view's inline script rather than removed — dead weight that rots and confuses. Delete it (version control remembers).
  • Commented-out code LearningMpaAbp.Web/Views/Address/Index.cshtml:28 — A line of JavaScript has been commented out of this view's inline script rather than removed — dead weight that rots and confuses. Delete it (version control remembers).
  • Commented-out code LearningMpaAbp.WebApi/Api/LearningMpaAbpWebApiModule.cs:23 — A line of code has been commented out rather than removed — dead weight that rots and confuses. Delete it (version control remembers).
  • Commented-out code LearningMpaAbp.WebApi/Api/LearningMpaAbpWebApiModule.cs:24 — A line of code has been commented out rather than removed — dead weight that rots and confuses. Delete it (version control remembers).
  • + 10 more in this group — see findings.md.
X10 · Duplicated predicate · Duplicated predicate · ×25
  • Duplicated predicate LearningMpaAbp.Web/Scripts/modernizr-2.8.3.js:821 — `!!document.createElementNS && !!document.createElementNS(ns.svg, 'svg').createSVGRect` appears character-identically in 2 files — LearningMpaAbp.Web/Scripts/modernizr-2.8.3.js, LearningMpaAbp.Weixin/Scripts/modernizr-2.6.2.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 LearningMpaAbp.Web/Scripts/modernizr-2.8.3.js:834 — `!!document.createElementNS && /SVGAnimate/.test(toString.call(document.createElementNS(ns.svg, 'animate')))` appears character-identically in 2 files — LearningMpaAbp.Web/Scripts/modernizr-2.8.3.js, LearningMpaAbp.Weixin/Scripts/modernizr-2.6.2.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 LearningMpaAbp.Web/Scripts/modernizr-2.8.3.js:843 — `!!document.createElementNS && /SVGClipPath/.test(toString.call(document.createElementNS(ns.svg, 'clipPath')))` appears character-identically in 2 files — LearningMpaAbp.Web/Scripts/modernizr-2.8.3.js, LearningMpaAbp.Weixin/Scripts/modernizr-2.6.2.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 LearningMpaAbp.Web/Scripts/jquery-2.2.0.js:9048 — `!!xhrSupported && ( "withCredentials" in xhrSupported )` appears character-identically in 2 files — LearningMpaAbp.Web/Scripts/jquery-2.2.0.js, LearningMpaAbp.Weixin/Scripts/jquery-1.10.2.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 LearningMpaAbp.Web/Scripts/modernizr-2.8.3.js:337 — `!contains(prop, "-") && mStyle[prop] !== undefined` appears character-identically in 2 files — LearningMpaAbp.Web/Scripts/modernizr-2.8.3.js, LearningMpaAbp.Weixin/Scripts/modernizr-2.6.2.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 LearningMpaAbp.Web/Scripts/jquery-2.2.0.js:1925 — `!document.hasFocus || document.hasFocus()` appears character-identically in 2 files — LearningMpaAbp.Web/Scripts/jquery-2.2.0.js, LearningMpaAbp.Weixin/Scripts/jquery-1.10.2.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 LearningMpaAbp.Web/Scripts/jquery-2.2.0.js:6110 — `!elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style` appears character-identically in 2 files — LearningMpaAbp.Web/Scripts/jquery-2.2.0.js, LearningMpaAbp.Weixin/Scripts/jquery-1.10.2.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 LearningMpaAbp.Web/Scripts/modernizr-2.8.3.js:230 — `!is(_hasOwnProperty, 'undefined') && !is(_hasOwnProperty.call, 'undefined')` appears character-identically in 2 files — LearningMpaAbp.Web/Scripts/modernizr-2.8.3.js, LearningMpaAbp.Weixin/Scripts/modernizr-2.6.2.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 LearningMpaAbp.Web/Scripts/moment-with-locales.js:87 — `!isNaN(m._d.getTime()) && flags.overflow < 0 && !flags.empty && !flags.invalidMonth && !flags.invalidWeekday && !flags.nullInput && !flags.i…` appears character-identically in 2 files — LearningMpaAbp.Web/Scripts/moment-with-locales.js, REDACTED. 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 LearningMpaAbp.Web/Scripts/jquery-2.2.0.js:2650 — `!isXML && elem.nodeName.toLowerCase() === "input"` appears character-identically in 2 files — LearningMpaAbp.Web/Scripts/jquery-2.2.0.js, LearningMpaAbp.Weixin/Scripts/jquery-1.10.2.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 LearningMpaAbp.Web/Scripts/moment-with-locales.js:1710 — `!keepLocalTime || this._changeInProgress` appears character-identically in 2 files — LearningMpaAbp.Web/Scripts/moment-with-locales.js, REDACTED. 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 LearningMpaAbp.Web/Scripts/jquery-2.2.0.js:2345 — `!leadingRelative && ( xml || context !== outermostContext )` appears character-identically in 2 files — LearningMpaAbp.Web/Scripts/jquery-2.2.0.js, LearningMpaAbp.Weixin/Scripts/jquery-1.10.2.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 LearningMpaAbp.Web/Scripts/jquery-2.2.0.js:2074 — `!matched || (match = rcomma.exec( soFar ))` appears character-identically in 2 files — LearningMpaAbp.Web/Scripts/jquery-2.2.0.js, LearningMpaAbp.Weixin/Scripts/jquery-1.10.2.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 LearningMpaAbp.Web/Scripts/moment-with-locales.js:1545 — `!moments[i].isValid() || moments[i][fn](res)` appears character-identically in 2 files — LearningMpaAbp.Web/Scripts/moment-with-locales.js, REDACTED. 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 LearningMpaAbp.Web/Scripts/jquery-2.2.0.js:7803 — `!onlyHandlers && !event.isDefaultPrevented()` appears character-identically in 2 files — LearningMpaAbp.Web/Scripts/jquery-2.2.0.js, LearningMpaAbp.Weixin/Scripts/jquery-1.10.2.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 LearningMpaAbp.Web/Scripts/jquery-2.2.0.js:7759 — `!onlyHandlers && !special.noBubble && !jQuery.isWindow( elem )` appears character-identically in 2 files — LearningMpaAbp.Web/Scripts/jquery-2.2.0.js, LearningMpaAbp.Weixin/Scripts/jquery-1.10.2.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 LearningMpaAbp.Web/Scripts/jquery-2.2.0.js:7753 — `!onlyHandlers && special.trigger && special.trigger.apply( elem, data ) === false` appears character-identically in 2 files — LearningMpaAbp.Web/Scripts/jquery-2.2.0.js, LearningMpaAbp.Weixin/Scripts/jquery-1.10.2.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 LearningMpaAbp.Web/Scripts/jquery-2.2.0.js:7630 — `!option.parentNode.disabled || !jQuery.nodeName( option.parentNode, "optgroup" )` appears character-identically in 2 files — LearningMpaAbp.Web/Scripts/jquery-2.2.0.js, LearningMpaAbp.Weixin/Scripts/jquery-1.10.2.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 LearningMpaAbp.Web/Scripts/bootstrap.js:1414 — `!self.options.delay || !self.options.delay.hide` appears character-identically in 2 files — LearningMpaAbp.Web/Scripts/bootstrap.js, LearningMpaAbp.Weixin/Scripts/bootstrap.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 LearningMpaAbp.Web/Scripts/bootstrap.js:1380 — `!self.options.delay || !self.options.delay.show` appears character-identically in 2 files — LearningMpaAbp.Web/Scripts/bootstrap.js, LearningMpaAbp.Weixin/Scripts/bootstrap.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 LearningMpaAbp.Web/Scripts/jquery-2.2.0.js:6058 — `!show || elem.style.display === "none" || elem.style.display === ""` appears character-identically in 2 files — LearningMpaAbp.Web/Scripts/jquery-2.2.0.js, LearningMpaAbp.Weixin/Scripts/jquery-1.10.2.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 LearningMpaAbp.Web/Scripts/jquery-2.2.0.js:4588 — `!special.setup || special.setup.call( elem, data, namespaces, eventHandle ) === false` appears character-identically in 2 files — LearningMpaAbp.Web/Scripts/jquery-2.2.0.js, LearningMpaAbp.Weixin/Scripts/jquery-1.10.2.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 LearningMpaAbp.Web/Scripts/jquery-2.2.0.js:4676 — `!special.teardown || special.teardown.call( elem, namespaces, elemData.handle ) === false` appears character-identically in 2 files — LearningMpaAbp.Web/Scripts/jquery-2.2.0.js, LearningMpaAbp.Weixin/Scripts/jquery-1.10.2.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 LearningMpaAbp.Web/Scripts/moment-with-locales.js:692 — `!strict && this._monthsParse[i].test(monthName)` appears character-identically in 2 files — LearningMpaAbp.Web/Scripts/moment-with-locales.js, REDACTED. 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 LearningMpaAbp.Web/Scripts/moment-with-locales.js:2602 — `!strict && this._weekdaysParse[i].test(weekdayName)` appears character-identically in 2 files — LearningMpaAbp.Web/Scripts/moment-with-locales.js, REDACTED. 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.
D34 · Knowledge Freshness · Orphaned file · ×17
  • Orphaned file REDACTED:1 — No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for.
  • Orphaned file LearningMpaAbp.Application/Tasks/TaskAppService.cs:1 — No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for.
  • Orphaned file REDACTED:1 — No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for.
  • Orphaned file LearningMpaAbp.WebApi/Api/Providers/SimpleAuthorizationServerProvider.cs:1 — No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for.
  • Orphaned file LearningMpaAbp.Web/Controllers/TasksController.cs:1 — No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for.
  • Orphaned file REDACTED:1 — No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for.
  • Orphaned file Tools/LearningMpaAbp.Migrator/MultiTenantMigrateExecuter.cs:1 — No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for.
  • Orphaned file LearningMpaAbp.WebApi/Api/Controllers/AccountController.cs:1 — No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for.
  • Orphaned file LearningMpaAbp.Web/Controllers/BackendTasksController.cs:1 — No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for.
  • Orphaned file LearningMpaAbp.Web/App_Start/Startup.cs:1 — No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for.
  • Orphaned file LearningMpaAbp.Application/MultiTenancy/TenantAppService.cs:1 — No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for.
  • Orphaned file LearningMpaAbp.Web/App_Start/BundleConfig.cs:1 — No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for.
  • Orphaned file LearningMpaAbp.EntityFramework/Migrations/SeedData/HostRoleAndUserCreator.cs:1 — No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for.
  • Orphaned file LearningMpaAbp.EntityFramework/Migrations/SeedData/TenantRoleAndUserBuilder.cs:1 — No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for.
  • Orphaned file REDACTED:1 — No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for.
  • Orphaned file LearningMpaAbp.WebApi/Api/LearningMpaAbpWebApiModule.cs:1 — No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for.
  • Orphaned file LearningMpaAbp.Web/App_Start/LearningMpaAbpNavigationProvider.cs:1 — No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for.
D20 · ADR Quality · No ADRs found · ×1
  • 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
  • REDACTED
D34 · Knowledge Freshness · Orphaned files with no living knowledge · ×1
  • Orphaned files with no living knowledge — 17 of 17 analysed file(s) have no living knowledge left — their last meaningful change has decayed away, so if one breaks, no one currently understands it (counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 17 of the 138 production source files in this repository met that bar). None is large enough to earn a read-through of its own, so this row stands in for the per-file rows rather than raising one each — most significant first: REDACTED, LearningMpaAbp.Application/Tasks/TaskAppService.cs, REDACTED, Tools/LearningMpaAbp.Migrator/MultiTenantMigrateExecuter.cs, LearningMpaAbp.WebApi/Api/Providers/SimpleAuthorizationServerProvider.cs, LearningMpaAbp.Application/MultiTenancy/TenantAppService.cs, LearningMpaAbp.Web/Controllers/TasksController.cs, REDACTED (and 9 more). Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway.
D36 · Supply-chain Provenance & Signing · REDACTED · ×1
  • REDACTED
M1 · Documentation (README) · Thin README · ×1
  • Thin README README.md:1 — The root README is 66 words, against a bar of 120. Of the three newcomer-critical sections this check looks for by heading, in the README and in the repository documents it links, it found no a build/run or getting-started section, no a testing section, no an architecture or project-map section. Sections are matched on HEADING text only, so material written under a heading this check does not recognise — or with no heading at all — is not seen and this row may understate what the document covers.
M2 · Architecture documentation · No ADRs · ×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.
M2 · Architecture documentation · No architecture diagram/doc · ×1
  • No architecture diagram/doc — No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named `architecture` or `design` in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape — no `## Architecture` heading, no "architecture overview"/"high-level design" phrasing, no "the architecture is …" introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document — not evidence that nobody wrote the shape down.
M3 · Folder & project structure · No src/ separation · ×1
  • No src/ separation — Production code isn't grouped under a src/ folder — it's spread across several top-level directories, so there's no one place that says 'this is the product'.
P3 · Security & performance tooling · No SAST · ×1
  • No SAST — No static application security testing detected. For this repository's stack, add CodeQL's csharp pack, or a .NET security analyzer package (or `semgrep --config=auto`, which runs on any language) as a CI step. What was searched, so you can tell an absence from a miss: the 857 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.
P3 · Security & performance tooling · No dependency-update automation · ×1
  • No dependency-update automation REDACTED:3 — `REDACTED` declares packages, and nothing in the repository keeps them current: no Dependabot or Renovate configuration that schedules updates, and no dependency-review gate on pull requests. A pinned dependency stays at the version it was added at until someone notices — including after an advisory is published against it. Add a `.github/dependabot.yml` with one `package-ecosystem` entry per ecosystem the tree uses (or an enabled `renovate.json`), and gate pull requests with `actions/dependency-review-action`.
P6 · Release Hygiene · No changelog · ×1
  • No changelog — No CHANGELOG/HISTORY/RELEASES file — what shipped when isn't easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)
S1 · Web-Security Posture · No security response headers detected · ×1
  • No security response headers detected — None of the 11 security response headers the OWASP Secure Headers Project recommends (Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, X-Frame-Options, …) is configured — defense in depth, even when a reverse proxy could set them. (−2.0 on this card.)
S1 · Web-Security Posture · No app-layer HTTPS enforcement detected · ×1
  • No app-layer HTTPS enforcement detected — No UseHttpsRedirection/UseHsts and no reverse-proxy signal — transport security is unverified at the app layer. (−2.0 on this card.)
S1 · Web-Security Posture · Secure cookie flags not detected · ×1
  • Secure cookie flags not detected REDACTED:152 — No CookieSecurePolicy/HttpOnly/SameSite configuration found. (−1.5 on this card; skip if the app sets no cookies.)
X2 · Cancellation propagation · Not all async methods take a CancellationToken · ×1
  • Not all async methods take a CancellationToken — Only 0/23 async methods accept a CancellationToken, so in-flight work can't be stopped early when the caller gives up — whatever ends it in your host (shutdown signal, timeout, abandoned request, user cancel). Thread a token through the call chain and honour it at each await and loop; where a method genuinely cannot be interrupted, omitting it is a deliberate choice — judge against your hosting model.
Minor — 1 finding(s)
D24 · Comment Value · doc comments repeat the names · ×1
  • doc comments repeat the names LearningMpaAbp.WebApi/Api/OAuthOptions.cs:13 — 0 of 0 documented parameters and 3 of 3 summaries in `LearningMpaAbp.WebApi` only repeat the member or parameter name (e.g. "Class OAuthOptions." for `OAuthOptions`). Delete the restating tags, or add what the name does not say.

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.

DimensionToolVersionCommandFindingsRaw output
D28 · Secrets (history)gitleaks—gitleaks detect --no-banner --config /opt/gitleaks-rules/canine-gitleaks.toml --report-format json --report-path /tmp/watchdog-gitleaks-9340adddd662453c83f4891076a2d3fc/history.json --exit-code 0 --source .0artifacts/raw/gitleaks-history.json
D28 · Secrets (history)gitleaks—gitleaks detect --no-git --no-banner --config /opt/gitleaks-rules/canine-gitleaks.toml --report-format json --report-path /tmp/watchdog-gitleaks-9340adddd662453c83f4891076a2d3fc/tree.json --exit-code 0 --source .0artifacts/raw/gitleaks-tree.json
D29 · Static Analysis (SAST)semgrep—semgrep --config /opt/semgrep-rules/security-audit.yml --config /opt/semgrep-rules/owasp-top-ten.yml --config /opt/semgrep-rules/canine-sast.yml --json --quiet --timeout 10 --timeout-threshold 3 --metrics off --exclude *.arrow --exclude *.avro --exclude *.csv --exclude *.dat --exclude *.db --exclude *.feather --exclude *.geojson --exclude *.h5 --exclude *.hdf5 --exclude *.jsonl --exclude *.log --exclude *.ndjson --exclude *.npy --exclude *.npz --exclude *.orc --exclude *.parquet --exclude *.pickle --exclude *.pkl --exclude *.psv --exclude *.sqlite --exclude *.sqlite3 --exclude *.tfrecord --exclude *.tsv --exclude *.txt .19artifacts/raw/semgrep.json
D30 · Dependency Vulnerabilitiesnuget—nuget: not applicable — nuget: the solution did not restore on the analyzer's .NET SDK (an SDK/target-framework/restore mismatch, common for an older codebase), so there was no restored dependency graph to scan0—
D30 · Dependency Vulnerabilitiesosv-scanner—osv-scanner --format json --recursive --experimental-disable-plugins transitivedependency/requirements --experimental-disable-plugins dotnet/csproj --experimental-disable-plugins dotnet/nugetcpm .17artifacts/raw/osv-scanner.json
D31 · IaC & Container Securitytrivy—trivy: not applicable — No Infrastructure-as-Code or container manifests found (Dockerfile, Docker Compose, Terraform, Kubernetes/Helm, CloudFormation, ARM, Bicep, Ansible); nothing to scan.0—
D32 · Data Compliance (PII/GDPR)semgrep—semgrep: not applicable — No personal data was found crossing a boundary the PII/GDPR ruleset checks — nothing written to a log or console sink, placed in a URL or query string, or persisted to browser storage. That is a clean result for the LEAK surface only: this ruleset detects personal data escaping, it does not inventory the personal data a repository holds, so it is not evidence that this repository has no personal-data surface. The personal-data map (Appendix C) and the C1-C5 compliance cards are what speak to that.0—
D37 · Vulnerability-disclosure Policydisclosure—disclosure: not applicable — No vulnerability-disclosure policy file found (SECURITY.md/.markdown/.rst/.txt at root or under .github/.forgejo/.gitea/docs, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed.0—
D40 · Network Egress Confinementruntime-hardening—runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; network egress policy is a cluster-native control that may live at the platform/firewall layer, so there is nothing to assess here.0—
D41 · Kernel & Syscall Confinementruntime-hardening—runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; seccomp/AppArmor/SELinux confinement is a workload-level control, so there is nothing to assess here.0—
D42 · Runtime Threat Enforcementruntime-hardening—runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; runtime threat-detection and admission-control policy are cluster-level controls, so there is nothing to assess here.0—
D43 · Malicious Dependenciesosv-scanner—osv-scanner --format json --recursive --experimental-disable-plugins transitivedependency/requirements --experimental-disable-plugins dotnet/csproj --experimental-disable-plugins dotnet/nugetcpm .0artifacts/raw/osv-scanner.json

Run 01a1b860-e383-79af-bd41-5bc437afb581 · every finding is also locatable in findings.md, and the complete scoring record (with exit codes + durations) in sidecar.json.

Appendix C — Personal-data map

Every field, property and record parameter whose name is conventional personal data — 19 field(s) across 2 categories, each with an exact repo-relative file:line. This is the data inventory a compliance review starts from — right-to-erasure, retention, minimisation. Detected by NAME, from the C# syntax tree, with a deliberately specific identifier classifier — the same one the C1–C5 compliance cards use to decide whether personal data is present, so CardDefinition or FileName don't trip. Two caveats stated rather than glossed: those cards additionally require corroboration (a persistence/account signal, or two distinct PII categories) that this inventory deliberately does not, so it lists more than they gate on; and D32 Data Compliance shares nothing with it — that dimension is a separate semgrep ruleset for personal data leaking into logs, URLs and browser storage, and a clean D32 result says nothing about this list. Informational — it feeds no score.

Email — 11 field(s)
  • CreateTenantInput.AdminEmailAddress LearningMpaAbp.Application/MultiTenancy/Dto/CreateTenantInput.cs:22
  • UserLoginInfoDto.EmailAddress LearningMpaAbp.Application/Sessions/Dto/UserLoginInfoDto.cs:16
  • CreateUserInput.EmailAddress LearningMpaAbp.Application/Users/Dto/CreateUserInput.cs:26
  • UserListDto.EmailAddress LearningMpaAbp.Application/Users/Dto/UserListDto.cs:18
  • AbpSessionExtension.Email LearningMpaAbp.Core/Extensions/AbpSessionExtension.cs:17
  • IAbpSessionExtension.Email LearningMpaAbp.Core/Extensions/IAbpSessionExtension.cs:7
  • LoginViewModel.UsernameOrEmailAddress LearningMpaAbp.Web/Models/Account/LoginViewModel.cs:10
  • RegisterResultViewModel.EmailAddress LearningMpaAbp.Web/Models/Account/RegisterResultViewModel.cs:9
  • RegisterViewModel.EmailAddress LearningMpaAbp.Web/Models/Account/RegisterViewModel.cs:32
  • LoginModel.UsernameOrEmailAddress LearningMpaAbp.WebApi/Api/Models/LoginModel.cs:10
  • UserListDto.EmailAddress LearningMpaAbp.Weixin/Models/UserListDto.cs:19
Name — 8 field(s)
  • UserLoginInfoDto.Surname LearningMpaAbp.Application/Sessions/Dto/UserLoginInfoDto.cs:12
  • CreateUserInput.Surname LearningMpaAbp.Application/Users/Dto/CreateUserInput.cs:21
  • UserListDto.Surname LearningMpaAbp.Application/Users/Dto/UserListDto.cs:12
  • UserListDto.FullName LearningMpaAbp.Application/Users/Dto/UserListDto.cs:16
  • RegisterResultViewModel.NameAndSurname LearningMpaAbp.Web/Models/Account/RegisterResultViewModel.cs:11
  • RegisterViewModel.Surname LearningMpaAbp.Web/Models/Account/RegisterViewModel.cs:24
  • UserListDto.Surname LearningMpaAbp.Weixin/Models/UserListDto.cs:13
  • UserListDto.FullName LearningMpaAbp.Weixin/Models/UserListDto.cs:17

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.

⬇ Findings, MITRE CWE-tagged .sarif⬇ Health changelog .md