Skip to content
Release 1 in development, 16 of 16 sprints done. Early access is open. 16 of 16 sprints done · Join early accessJoin early access
Reference

Code Analyzer results

What Salesforce Code Analyzer reports on the Sojourn package, and every finding accepted with its reason.

The Code Analyzer workflow scans the package directories sojourn/ and sojourn-omni/ on every pull request, every push to main, and every week. It runs the AppExchange and Recommended rule selectors, which include every rule in the command the AppExchange security review prescribes, and Salesforce Graph Engine, which follows data from each entry point through the Apex classes to find missing access checks. This page is generated from those scans, and the workflow fails when the page and the scans disagree.

Engines: code-analyzer 0.53.0, cpd 0.46.0, eslint 0.47.0, flow 0.41.0, pmd 0.46.0, regex 0.40.0, retire-js 0.39.0, sfge 0.25.0.

Rule-based findings#

Severity Findings
Critical 0
High 0
Moderate 0
Low 0
Info 0

Total: 0.

No findings at any severity.

Graph Engine findings#

Severity Findings
Critical 0
High 0
Moderate 0
Low 0
Info 0

Total: 0.

No findings at any severity.

Accepted with a reason#

Rules turned off#

Rule Engine Reason
ApexDoc pmd Accepted (D-308): the documentation standard is a one-line purpose comment on every class and on every non-obvious member; full ApexDoc blocks with @param and @return on every member only restate signatures.
TriggerEntryCriteria flow Accepted (D-321): a Sojourn capture Flow must see every create and update; the engine decides which tracked fields changed, so entry criteria on the template would hide changes.

Files not scanned#

Path Reason
**/__tests__/** Jest tests never ship (.forceignore excludes /tests/); the LWC rules guard component code.
**/lwc/motion/motion.js Accepted (D-757): the one frame loop in the package, the dashboard Number's 650 ms count-up. Every other motion is CSS or the Web Animations API; this file holds only requestAnimationFrame, which LWS allows, and nothing else.

Suppressed in code#

Rule Classes Reason
PMD.ApexUnitTestClassShouldHaveAsserts DashboardControllerTest assertEveryMethodRefused holds the assertions both refusal tests share.
PMD.ApexUnitTestClassShouldHaveAsserts ErrorLogServiceTest assertRefusedAsLater holds the assertions both refusal tests share.
PMD.AvoidBooleanMethodParameters SetupService A facade of one-line methods (highest complexity 1), one per Settings page use case; setActive, setPaused, and saveSettings take a switch's new state.
PMD.AvoidBooleanMethodParameters SummaryRows A row's count, one more when the Interval is one it counts; a count a stored row lacks starts from 0. counted is the Interval's own flag, read by the caller, not a mode of this method.
PMD.AvoidBooleanMethodParameters SetupServiceImpl One method per Settings page use case of ISetupService (highest complexity 8), each handing the work to support classes, so the totals grow with the screens; setActive, setPaused, and saveSettings take a switch's new state.
PMD.AvoidBooleanMethodParameters GetStartedServiceImpl One method per step is the design (sprint 15 ruling), so the class holds twelve small checks and their totals; setOpensFirst takes the switch's new state.
PMD.AvoidBooleanMethodParameters SetupModels The Boolean parameters are the generated setters of Aura-serialised properties.
PMD.AvoidBooleanMethodParameters RetentionSettings The Retention and purge screen's inputs and the settings they change (D-389).
PMD.AvoidBooleanMethodParameters ExternalChange The constructor takes the four facts every change has; ends is a data property the analyzer reads as a flag parameter.
PMD.AvoidBooleanMethodParameters PurgeServiceTest The mock keeps the interface's signatures: start's scheduled switch.
PMD.AvoidBooleanMethodParameters GoalServiceImpl The total is the sum of small independent steps (no method above 11); the goal checks already live in GoalRules. saveBreachAlerts takes the new state of the Breach alerts switch (D-624).
PMD.AvoidBooleanMethodParameters SetupController Thin methods, each check, call, wrap (highest complexity 3), one per action on the Settings screens it serves; setActive, setPaused, and saveSettings take a switch's new state.
PMD.AvoidBooleanMethodParameters IntervalsSelector atRisk chooses which of the widget's two lists to read, each one fixed query.
PMD.AvoidBooleanMethodParameters ITimelineService breaches takes the widget's Show at risk property, a Boolean on the dashboard (D-839); timeline takes the record and the timeline's three page properties, one value each from the wire, which a holder would only rename (D-701).
PMD.AvoidBooleanMethodParameters DashboardSettings colour and dataTables are the Printing card's two switches.
PMD.AvoidBooleanMethodParameters DataController keepEverything, days, archive, and the typed word are the four inputs of the screen.
PMD.AvoidBooleanMethodParameters ChartPeriods monthly is Chart.byMonth as the data service read it, passed through, not a mode of this class.
PMD.AvoidBooleanMethodParameters ConfigTransferService, ConfigTransferServiceImpl, DataController, IConfigTransferService replace and apply are the screen's switch and its Apply button.
PMD.AvoidBooleanMethodParameters ConfigImport replace is the screen's Replace what is here switch; uow is the service's, which it commits on apply.
PMD.AvoidBooleanMethodParameters GoalService, GoalsController, IGoalService saveBreachAlerts takes the new state of the Breach alerts switch (D-624).
PMD.AvoidBooleanMethodParameters ISetupService setActive, setPaused, and saveSettings take the new state of a switch on the Settings page; saveObject sends the object screen's four parts (D-398) and saveRetention the Retention and purge screen's four inputs (D-389).
PMD.AvoidBooleanMethodParameters GetStartedController, GetStartedService, IGetStartedService setOpensFirst takes the new state of the Open this guide first switch.
PMD.AvoidBooleanMethodParameters TimelineController, TimelineService, TimelineServiceImpl showAtRisk is the widget's Show at risk property, a Boolean on the dashboard (D-839).
PMD.AvoidBooleanMethodParameters IPurgeService, PurgeService start takes whether the nightly schedule or Purge now started it.
PMD.AvoidBooleanMethodParameters PurgeServiceImpl start takes whether the nightly schedule or Purge now started it; the total complexity is the sum of start, finish, and their one-step helpers, none above 8.
PMD.AvoidDebugStatements ErrorLogger The debug log is the only channel left when an error row itself cannot be written.
PMD.AvoidGlobalModifier ChangeCapture The invocable must be global so subscriber Flows can call it; CLAUDE.md rule 10 names it as one of two global types. The class total is the sum of small steps, none above 3: sort each request, refuse a bad one, capture per object.
PMD.CognitiveComplexity SetupService A facade of one-line methods (highest complexity 1), one per Settings page use case; setActive, setPaused, and saveSettings take a switch's new state.
PMD.CognitiveComplexity JobsService A facade: one line per job entry point, none above 1; the total only counts the entry points.
PMD.CognitiveComplexity DashboardLayouts Every rule a layout and its filters must meet, kept in one place so the editor and the save never disagree (D-747); each method is short, the class total is the number of rules.
PMD.CognitiveComplexity Texts Independent text helpers shared by the package (CLAUDE.md 3, generic code): the totals are their count, each under 7.
PMD.CognitiveComplexity ChartBuilders One builder per chart type as inner classes (D-928), so the class total is the sum of six builders and their shared helpers; each method stays under the limit.
PMD.CognitiveComplexity JobsServiceImpl One entry point per job, none above 9; the total is their sum, and the plan check is one of them (D-585).
PMD.CognitiveComplexity ConfigImportSettings One method per kind of org setting the file carries, none above 8; the class total is their sum.
PMD.CognitiveComplexity GetStartedServiceImpl One method per step is the design (sprint 15 ruling), so the class holds twelve small checks and their totals; setOpensFirst takes the switch's new state.
PMD.CognitiveComplexity DashboardSettings One rule per kind of the thirteen settings (number, choice, Tracked field, checkbox), each method small (highest 8): the class totals are their sum, kept in one class so the screen and the import never check a setting apart.
PMD.CognitiveComplexity IntervalWriter The class totals are the sum of small steps, none above 7: a change's step, open, close, heal a double open (D-626), the Record Closed flag (D-670), a value that does not count and the chain after it (D-691), a field that keeps only the change (D-694), and matching results to failures; the decisions are in OwnerStays, CreatedFirsts, and the field's rules (R3-10). One write call's state is a Call, made fresh by startCall (R4-39), beside the transaction's memory of hidden values.
PMD.CognitiveComplexity ChangeCapture The invocable must be global so subscriber Flows can call it; CLAUDE.md rule 10 names it as one of two global types. The class total is the sum of small steps, none above 3: sort each request, refuse a bad one, capture per object.
PMD.CognitiveComplexity TestDataFactory The public count and the complexity total are the catalogue of the five delegated classes; each method is one line.
PMD.CognitiveComplexity ChangeCaptureServiceImpl The total is the sum of small independent steps (no method above 10), each one guard or one write of the same boundary.
PMD.CognitiveComplexity GoalServiceImpl The total is the sum of small independent steps (no method above 11); the goal checks already live in GoalRules. saveBreachAlerts takes the new state of the Breach alerts switch (D-624).
PMD.CognitiveComplexity TimelineLanes The total is the sum of small independent steps (no method above 9): grouping, ordering, segments, and totals.
PMD.CognitiveComplexity TimelineServiceImpl The total is the sum of small independent steps (no method above 9): the reads, the limits, and the empty states.
PMD.CognitiveComplexity ConfigImportFields The total is the sum of small steps, none above 10: each field's choice, its per-value settings one at a time, and the result lines, one rule of the import each.
PMD.CognitiveComplexity ErrorLogger The total is the sum of small steps, none above 10: one builder per kind of row, composed from the single-change builder, and the guarded write.
PMD.CognitiveComplexity JobSchedules The total is the sum of small steps, none above 11: one schedule, read, and abort per job, and the Live values label.
PMD.CognitiveComplexity ConfigImportGoals The total is the sum of small steps, none above 11: the match, the Goals screen's checks, and the three ways a goal changes, one rule of the import each.
PMD.CognitiveComplexity FieldValueRules The total is the sum of small steps, none above 5: every per-value rule is in one place on purpose (D-692).
PMD.CognitiveComplexity RetentionPlan The total is the sum of small steps, none above 6 (cyclomatic 5): each object, its days, the windows, the screen rows.
PMD.CognitiveComplexity CaseMetricsServiceImpl The total is the sum of small steps, none above 6: read, compute, compare, and write as the engine or as the user (D-615).
PMD.CognitiveComplexity TrackedObjectSettings The total is the sum of small steps, none above 9: one mapping per setting of the object screen, each with its check, in one place so no tab maps a setting twice.
PMD.CognitiveComplexity SettingRanges The total is the sum of small steps, none above 9: the one table keeps each row with its check on purpose (D-685).
PMD.CognitiveComplexity TrackedFieldChanges The total is the sum of small steps, none above 9; every Tracked field row change goes through here (D-315), the per-value settings and the split field with the hours and first-value choices.
PMD.CognitiveComplexity ChangeDetector The total is the sum of small steps, none above 9; the capture rules are one place on purpose (D-398).
PMD.CognitiveComplexity ErrorRepair The totals are the sum of small steps, none above 12 (9 cyclomatic): check, refuse, write, and pair each error with its Interval (R-25).
PMD.CognitiveComplexity TrackedFields The totals are the sum of small steps, none above 9: the cap, the keys, and the two per-value save checks, each one rule of the Tracked field save; the rules themselves are in FieldValueRules (D-692).
PMD.CognitiveComplexity HistoryChain The totals are the sum of small steps, none above 9: the chain, its closed periods, and each rule capture applies, kept in one place so backfill writes what capture would have written (D-340, D-691, D-697).
PMD.CognitiveComplexity SetupController Thin methods, each check, call, wrap (highest complexity 3), one per action on the Settings screens it serves; setActive, setPaused, and saveSettings take a switch's new state.
PMD.CognitiveComplexity UnitOfWork four small DML strategy classes and per-type accessors live here on purpose so callers write UnitOfWork.UserModeDml
PMD.CyclomaticComplexity SettingRangesTest A test per row and per rule: the total is many small methods, none above 4.
PMD.CyclomaticComplexity DashboardDataServiceTest Chart data from summary rows and open Intervals (D-746, D-749, D-755). Methods run as the Sojourn admin (D-619); the last test proves user mode refuses a user without access.
PMD.CyclomaticComplexity DashboardLayouts Every rule a layout and its filters must meet, kept in one place so the editor and the save never disagree (D-747); each method is short, the class total is the number of rules.
PMD.CyclomaticComplexity Texts Independent text helpers shared by the package (CLAUDE.md 3, generic code): the totals are their count, each under 7.
PMD.CyclomaticComplexity JobsServiceTest Methods run as the Sojourn admin (D-619) (access denial is proven in the controller tests); total complexity is the sum of independent one-scenario tests, none above 4.
PMD.CyclomaticComplexity TimelineServiceTest Methods run as the Sojourn admin (D-619) unless they say otherwise; the System.runAs tests prove the user-mode reads (D-556). Total complexity is the sum of independent one-scenario tests; no method exceeds 5.
PMD.CyclomaticComplexity BreachesNowTest Methods run as the Sojourn admin (D-619) unless they say otherwise; the System.runAs tests prove the user-mode reads. Total complexity is the sum of independent one-scenario tests; no method exceeds 3.
PMD.CyclomaticComplexity IntervalWarningsTest Methods run as the Sojourn admin (D-619); aUserWhoCannotEditTheWarningLeavesItUnset proves user mode with System.runAs. Total complexity is the sum of independent one-scenario tests; no method exceeds 4.
PMD.CyclomaticComplexity SchemaTest Methods run as the Sojourn admin (D-619); access denial is proven with System.runAs in the security tests. Field map keys carry the package's namespace prefix in a namespaced org (sprint 8 Task 7).
PMD.CyclomaticComplexity HealthControllerTest One branch per @AuraEnabled method and no logic: the switch is long by design; a new method adds a branch and a list entry.
PMD.CyclomaticComplexity JobsServiceImpl One entry point per job, none above 9; the total is their sum, and the plan check is one of them (D-585).
PMD.CyclomaticComplexity Settings One getter per org setting is this class's purpose: every reader of Settings__c comes here (D-685, D-700, D-941), so the public count and the complexity total grow with the settings; no getter is above 5.
PMD.CyclomaticComplexity SetupServiceImpl One method per Settings page use case of ISetupService (highest complexity 8), each handing the work to support classes, so the totals grow with the screens; setActive, setPaused, and saveSettings take a switch's new state.
PMD.CyclomaticComplexity ConfigImportSettings One method per kind of org setting the file carries, none above 8; the class total is their sum.
PMD.CyclomaticComplexity GetStartedServiceImpl One method per step is the design (sprint 15 ruling), so the class holds twelve small checks and their totals; setOpensFirst takes the switch's new state.
PMD.CyclomaticComplexity DashboardSettings One rule per kind of the thirteen settings (number, choice, Tracked field, checkbox), each method small (highest 8): the class totals are their sum, kept in one class so the screen and the import never check a setting apart.
PMD.CyclomaticComplexity DashboardSettingsTest, HealthThresholdsTest One scenario per method; the total is their sum.
PMD.CyclomaticComplexity ConfigTransferAdvancedTest One test per carried setting and case, each a few lines, Get started's two among them; the total is their sum.
PMD.CyclomaticComplexity GetStartedWordsLaterTest, GetStartedWordsTest One test per sentence form the boards draw, each a few lines; the total is their sum.
PMD.CyclomaticComplexity GetStartedServiceTest One test per step state, board, and switch case (sprint 15 Task 6), each a few lines; the total is their sum.
PMD.CyclomaticComplexity SetupControllerTest One try block per controller method, so a failure names the method that let a non-admin through. One branch per @AuraEnabled method and no logic: the switch is long by design; a new method adds a branch and a list entry.
PMD.CyclomaticComplexity PurgeServiceTest Tests of purge runs and of the Summaries run starting one; total complexity is the sum of independent one-scenario tests.
PMD.CyclomaticComplexity SetupServiceTest Tests of the Settings use cases, Usage among them; total complexity is the sum of independent one-scenario tests.
PMD.CyclomaticComplexity TuningSettingsTest Tests of the tuning settings and Reset; total complexity is the sum of independent one-scenario tests.
PMD.CyclomaticComplexity IntervalWriter The class totals are the sum of small steps, none above 7: a change's step, open, close, heal a double open (D-626), the Record Closed flag (D-670), a value that does not count and the chain after it (D-691), a field that keeps only the change (D-694), and matching results to failures; the decisions are in OwnerStays, CreatedFirsts, and the field's rules (R3-10). One write call's state is a Call, made fresh by startCall (R4-39), beside the transaction's memory of hidden values.
PMD.CyclomaticComplexity IntervalsSelector The one selector for Interval__c (architecture standard: selectors own SOQL, one per object); each read is a few lines, so the class totals grow with the reads the package needs, not with any one method.
PMD.CyclomaticComplexity OwnerStays The total is the sum of small decisions, none above 9: every owner stay rule is one place on purpose (R3-10, D-697).
PMD.CyclomaticComplexity ChangeCaptureServiceImpl The total is the sum of small independent steps (no method above 10), each one guard or one write of the same boundary.
PMD.CyclomaticComplexity GoalServiceImpl The total is the sum of small independent steps (no method above 11); the goal checks already live in GoalRules. saveBreachAlerts takes the new state of the Breach alerts switch (D-624).
PMD.CyclomaticComplexity TimelineLanes The total is the sum of small independent steps (no method above 9): grouping, ordering, segments, and totals.
PMD.CyclomaticComplexity TimelineServiceImpl The total is the sum of small independent steps (no method above 9): the reads, the limits, and the empty states.
PMD.CyclomaticComplexity ConfigImportFields The total is the sum of small steps, none above 10: each field's choice, its per-value settings one at a time, and the result lines, one rule of the import each.
PMD.CyclomaticComplexity JobSchedules The total is the sum of small steps, none above 11: one schedule, read, and abort per job, and the Live values label.
PMD.CyclomaticComplexity ConfigImportGoals The total is the sum of small steps, none above 11: the match, the Goals screen's checks, and the three ways a goal changes, one rule of the import each.
PMD.CyclomaticComplexity RetentionPlan The total is the sum of small steps, none above 6 (cyclomatic 5): each object, its days, the windows, the screen rows.
PMD.CyclomaticComplexity RecordCriteria The total is the sum of small steps, none above 6: one setting's read, checks, match, and write (D-695).
PMD.CyclomaticComplexity CaseMetricsServiceImpl The total is the sum of small steps, none above 6: read, compute, compare, and write as the engine or as the user (D-615).
PMD.CyclomaticComplexity LookupResolver The total is the sum of small steps, none above 7: fill, the options, the override check, and the lookup index.
PMD.CyclomaticComplexity TrackedObjectSettings The total is the sum of small steps, none above 9: one mapping per setting of the object screen, each with its check, in one place so no tab maps a setting twice.
PMD.CyclomaticComplexity ConfigImportObjects The total is the sum of small steps, none above 9: one step per setting group of the object screen, each with its refusal, in one place so the file and the screen never check a setting two ways.
PMD.CyclomaticComplexity SettingRanges The total is the sum of small steps, none above 9: the one table keeps each row with its check on purpose (D-685).
PMD.CyclomaticComplexity TrackedFieldChanges The total is the sum of small steps, none above 9; every Tracked field row change goes through here (D-315), the per-value settings and the split field with the hours and first-value choices.
PMD.CyclomaticComplexity ErrorRepair The totals are the sum of small steps, none above 12 (9 cyclomatic): check, refuse, write, and pair each error with its Interval (R-25).
PMD.CyclomaticComplexity TrackedFields The totals are the sum of small steps, none above 9: the cap, the keys, and the two per-value save checks, each one rule of the Tracked field save; the rules themselves are in FieldValueRules (D-692).
PMD.CyclomaticComplexity HistoryChain The totals are the sum of small steps, none above 9: the chain, its closed periods, and each rule capture applies, kept in one place so backfill writes what capture would have written (D-340, D-691, D-697).
PMD.CyclomaticComplexity SetupController Thin methods, each check, call, wrap (highest complexity 3), one per action on the Settings screens it serves; setActive, setPaused, and saveSettings take a switch's new state.
PMD.CyclomaticComplexity SummaryServiceTest Today in the org time zone, read once per test so a run across midnight keeps one day (R-51).
PMD.CyclomaticComplexity DataControllerTest Total complexity is the sum of independent one-scenario tests and a one-branch-per-method dispatch (highest 4).
PMD.CyclomaticComplexity ReconcileServiceTest Total complexity is the sum of independent one-scenario tests and their small helpers (highest 3).
PMD.CyclomaticComplexity UnitOfWorkTest Total complexity is the sum of independent one-scenario tests; no method exceeds 5. Methods run as the Sojourn admin (D-619); access denial is proven with System.runAs in the security tests.
PMD.CyclomaticComplexity UnitOfWork four small DML strategy classes and per-type accessors live here on purpose so callers write UnitOfWork.UserModeDml
PMD.CyclomaticComplexity PurgeServiceImpl start takes whether the nightly schedule or Purge now started it; the total complexity is the sum of start, finish, and their one-step helpers, none above 8.
PMD.EmptyStatementBlock ChangeCapture The no-argument constructor is empty on purpose: Flow only needs it to exist and be global (D-836).
PMD.EmptyStatementBlock SObjectDomain The trigger-event hooks are empty virtual methods on purpose; each domain overrides only the events it handles.
PMD.ExcessiveParameterList SettingRanges A choice row has four columns, and each is one argument, as a number row has five.
PMD.ExcessiveParameterList GoalStamperTest A goal of the Status field: each argument is one column of the Goal.
PMD.ExcessiveParameterList SummaryRows A row is its code, granularity, period, and the Interval that brings it its keys; an all-owners row carries no owner and says so (D-742).
PMD.ExcessiveParameterList GoalServiceImpl A row is its value, label, split value, the stored goals, and whether the value is closed.
PMD.ExcessiveParameterList SettingRanges A row of fixed values, sorted: its range runs from the first to the last, which onScreen shows with the values. Its four columns are each one argument, as a span's five are.
PMD.ExcessiveParameterList SettingRanges A row of the table has five columns, and each is one argument.
PMD.ExcessiveParameterList JobSchedules A row of the table has four columns, and each is one argument.
PMD.ExcessiveParameterList SummaryKeys A summary row is keyed by ten parts (D-383, D-675, D-725): granularity, period, object, field, value, owner, value group, record type, first snapshot, and Record Closed. This form takes the first six and leaves the four blank.
PMD.ExcessiveParameterList PurgeServiceTest A test helper builds Intervals from their four parts.
PMD.ExcessiveParameterList SummaryServiceTest A test helper builds an Interval from its four parts.
PMD.ExcessiveParameterList DashboardLayouts A value, its two bounds, and what a blank becomes: a holder type would only rename them.
PMD.ExcessiveParameterList VolumeEstimate An estimate is creates, changes per field, the fields, and the storage limit (D-399).
PMD.ExcessiveParameterList Intervals Each argument is a distinct fact of the new interval; a holder type would only rename them.
PMD.ExcessiveParameterList ExternalChanges Name fields such as CaseNumber cannot be set on a new record, so the stand-in is read from JSON. Its four arguments are the object, the record, and the name field with its value.
PMD.ExcessiveParameterList DashboardDataServiceTest One Case Status summary row; ownerId null makes it an all-owners row.
PMD.ExcessiveParameterList IntervalsSelectorTest One Interval of a Case Status stay; open unless exited is given.
PMD.ExcessiveParameterList SummaryRows One Interval's counts and minutes into one row; a record counts once per row within a build (D-384).
PMD.ExcessiveParameterList HistorySelector One capped count per Tracked field, at most 10 (D-397, D-399); the inputs are the object, its history field names, the window, and the cap.
PMD.ExcessiveParameterList GoalServiceSplitTest One goal row of the screen: each argument is one of its columns.
PMD.ExcessiveParameterList TransferModels One result is the four columns of the screen's table, and the key its Result column is coloured by.
PMD.ExcessiveParameterList ConfigImport One result is the four columns of the screen's table; outcome is one of the keys above, shown in its label's words.
PMD.ExcessiveParameterList DashboardLayoutsTest Pure logic on layouts and filters (D-747, D-748); DashboardServiceTest covers the reads and writes.
PMD.ExcessiveParameterList AgentWorksTest Test data: each argument is one AgentWork field.
PMD.ExcessiveParameterList TestDataFactory, TestRecords Test data: each argument is one column of a field-history row.
PMD.ExcessiveParameterList DashboardDataServiceTest Test data: each argument is one column of a summary row.
PMD.ExcessiveParameterList BreachesNowTest, CaseMetricsTest, TimelineServiceTest Test data: each argument is one column of an Interval row.
PMD.ExcessiveParameterList TimelineServiceTest Test data: each argument is one column of an archive row.
PMD.ExcessiveParameterList DashboardDataServiceTest Test data: each argument is one column of an open Interval.
PMD.ExcessiveParameterList DashboardDataServiceTest Test data: each argument is one key of a stored chart.
PMD.ExcessiveParameterList CaseMetrics The Case, its three Interval lists, and the closed rule are distinct inputs; a holder would only rename them.
PMD.ExcessiveParameterList DashboardSettings The Charts card has four numbers, and each is one argument.
PMD.ExcessiveParameterList SetupController, SetupService, SetupServiceImpl The Charts card's four numbers, each one argument.
PMD.ExcessiveParameterList SetupService, SetupServiceImpl The Retention and purge screen's four inputs: keep everything, days, archive, and the typed word (D-389).
PMD.ExcessiveParameterList RetentionSettings The Retention and purge screen's inputs and the settings they change (D-389).
PMD.ExcessiveParameterList ExternalChange The constructor takes the four facts every change has; ends is a data property the analyzer reads as a flag parameter.
PMD.ExcessiveParameterList BackfillChain The cursor and its record count, counted once by forObject; a test passes a cursor whose fetch throws (R5-12). Four arguments: the count travels beside the cursor because such a cursor cannot be counted.
PMD.ExcessiveParameterList Intervals The four arguments are distinct facts: the Interval read, the row written, its business hours, and its minutes.
PMD.ExcessiveParameterList BusinessHoursCalc The four inputs are the four independent sources in the documented resolution order. This order is the card "Which business hours an Interval uses" on the Business hours screen (lwc/businessHours, D-681, board 22h): a change to the order here is a change to that card and its Jest test.
PMD.ExcessiveParameterList FieldValueRules The four rules of a field and why any was ignored, each one argument: a holder type would only rename them.
PMD.ExcessiveParameterList SetupController, SetupService, SetupServiceImpl The object screen's Save sends its four parts: settings, fields, field hours, and first-value choices (D-398).
PMD.ExcessiveParameterList TimelineController, TimelineService, TimelineServiceImpl The record and the timeline's three page properties, one value each from the wire: a holder would only rename them.
PMD.ExcessiveParameterList SummaryRows The same key with the owner part given: the Interval's owner, or SummaryKeys.ALL_OWNERS (D-742). Each argument is one part of the key; a holder type would only rename them.
PMD.ExcessiveParameterList SummaryKeys The same, with the dimensions (D-675, D-725): the key has all ten parts from the first promoted version, blank ones included, so a dimension switched on later needs no new key, only Rebuild summaries. Each part is written as its length, a colon, and its text (R3-08), so a pipe or colon inside a picklist value, group, record type, or snapshot can never move a boundary and merge two rows. The ten are joined by pipes for readability, then hashed.
PMD.ExcessiveParameterList ChangeCaptureServiceImpl The writer, its context, the changes, and the records that closed are four distinct inputs.
PMD.ExcessiveParameterList ITimelineService breaches takes the widget's Show at risk property, a Boolean on the dashboard (D-839); timeline takes the record and the timeline's three page properties, one value each from the wire, which a holder would only rename (D-701).
PMD.ExcessiveParameterList DataController keepEverything, days, archive, and the typed word are the four inputs of the screen.
PMD.ExcessiveParameterList TriggerHandler mirrors the five Trigger context values on purpose
PMD.ExcessiveParameterList ISetupService setActive, setPaused, and saveSettings take the new state of a switch on the Settings page; saveObject sends the object screen's four parts (D-398) and saveRetention the Retention and purge screen's four inputs (D-389).
PMD.ExcessivePublicCount HealthModels A data transfer object for the UI: one field per fact the Health Monitor shows about an error.
PMD.ExcessivePublicCount SetupModels A data transfer object for the UI: one field per fact the object screen's tabs show, so the count grows with the screen, not with behaviour.
PMD.ExcessivePublicCount SetupModels A data transfer object for the UI: one public field per fact a Tracked objects list row shows, so the count grows with the screen, not with behaviour.
PMD.ExcessivePublicCount GetStartedModels A data transfer object for the UI: one public field per fact the progress card, the menu, and the banner show.
PMD.ExcessivePublicCount GetStartedModels A data transfer object for the UI: one public field per part of a step on board 23.
PMD.ExcessivePublicCount SetupModels A data transfer object for the UI: one public property per setting the object screen saves, so the count grows with the screen's settings, not with behaviour.
PMD.ExcessivePublicCount SetupService A facade of one-line methods (highest complexity 1), one per Settings page use case; setActive, setPaused, and saveSettings take a switch's new state.
PMD.ExcessivePublicCount ChangeDetector One change's data, read and set across the engine: one public field per part of a change, and a few methods that each read or set those fields together, so the count grows with what a change carries, not with behaviour.
PMD.ExcessivePublicCount DashboardModels One field per thing a chart type draws, and the gaps the page needs because it loses a list's nulls (D-934); each type sets its own and leaves the rest empty (D-746).
PMD.ExcessivePublicCount Settings One getter per org setting is this class's purpose: every reader of Settings__c comes here (D-685, D-700, D-941), so the public count and the complexity total grow with the settings; no getter is above 5.
PMD.ExcessivePublicCount SetupServiceImpl One method per Settings page use case of ISetupService (highest complexity 8), each handing the work to support classes, so the totals grow with the screens; setActive, setPaused, and saveSettings take a switch's new state.
PMD.ExcessivePublicCount TrackedFieldConfig One public member per fact of a Tracked field and per rule the engine asks of it; the count grows with the settings.
PMD.ExcessivePublicCount ConfigFile The file's shape: one public field per setting the file carries, so the count grows with the file's settings, not with behaviour.
PMD.ExcessivePublicCount IntervalsSelector The one selector for Interval__c (architecture standard: selectors own SOQL, one per object); each read is a few lines, so the class totals grow with the reads the package needs, not with any one method.
PMD.ExcessivePublicCount TestDataFactory The public count and the complexity total are the catalogue of the five delegated classes; each method is one line.
PMD.ExcessivePublicCount SetupController Thin methods, each check, call, wrap (highest complexity 3), one per action on the Settings screens it serves; setActive, setPaused, and saveSettings take a switch's new state.
PMD.ExcessivePublicCount UnitOfWork four small DML strategy classes and per-type accessors live here on purpose so callers write UnitOfWork.UserModeDml
PMD.FieldNamingConventions Application The registry fields are nouns by design (Application.Service, Application.Selector); see the architecture standard.
PMD.NcssCount SetupControllerTest One try block per controller method, so a failure names the method that let a non-admin through. One branch per @AuraEnabled method and no logic: the switch is long by design; a new method adds a branch and a list entry.
PMD.NcssMethodCount SetupControllerTest One try block per controller method, so a failure names the method that let a non-admin through. One branch per @AuraEnabled method and no logic: the switch is long by design; a new method adds a branch and a list entry.
PMD.OperationWithLimitsInLoop ReconcileServiceImpl A page's read is the loop's point; each one after the first is gated by hasRoomForClosedPage.
PMD.OperationWithLimitsInLoop HistorySelector One capped count per Tracked field, at most 10 (D-397, D-399); the inputs are the object, its history field names, the window, and the cap.
PMD.OperationWithLimitsInLoop JobSchedules One hourly entry per slot, at most six (every 10 minutes): a cron expression has no "every N minutes" and System.schedule has no bulk form.
PMD.OperationWithLimitsInLoop RecordNamesSelector One query per referenced object type (in practice User and Group), never per record.
PMD.OperationWithLimitsInLoop ReconcileServiceImpl One read per tracked object a page names, as the sweep's existence check does; there are few.
PMD.OperationWithLimitsInLoop JobSchedules Only Sojourn's own entries, by exact name, at most six; System.abortJob has no bulk form.
PMD.OperationWithLimitsInLoop TestLimits The loop exists to spend DML rows; tests use it to prove the limit guards.
PMD.OperationWithLimitsInLoop TestLimits The loop exists to spend DML statements; tests use it to prove the limit guards.
PMD.OperationWithLimitsInLoop TestLimits The loop exists to spend queries; tests use it to prove the limit guards.
PMD.TooManyFields HealthModels A data transfer object for the UI: one field per fact the Health Monitor shows about an error.
PMD.TooManyFields SetupModels A data transfer object for the UI: one field per fact the object screen's tabs show, so the count grows with the screen, not with behaviour.
PMD.TooManyFields SetupModels A data transfer object for the UI: one public field per fact a Tracked objects list row shows, so the count grows with the screen, not with behaviour.
PMD.TooManyFields GetStartedModels A data transfer object for the UI: one public field per fact the progress card, the menu, and the banner show.
PMD.TooManyFields GetStartedModels A data transfer object for the UI: one public field per part of a step on board 23.
PMD.TooManyFields DashboardModels One field per thing a chart type draws, and the gaps the page needs because it loses a list's nulls (D-934); each type sets its own and leaves the rest empty (D-746).
PMD.TooManyFields ConfigFile The file's shape: one public field per setting the file carries, so the count grows with the file's settings, not with behaviour.