• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

pmd / pmd / 989
80%

Build:
DEFAULT BRANCH: main
Ran 19 Nov 2026 10:01AM UTC
Jobs 1
Files 2225
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

19 Nov 2026 09:30AM UTC coverage: 80.268% (+0.01%) from 80.258%
989

push

github

web-flow
[apex] Fix #7236: ApexUnitTestShouldNotUseSeeAllDataTrue: Add reportConnectApi property (#7237)

Most ConnectApi methods fail in a test unless the test class or test
method is annotated with @IsTest(SeeAllData=true), so the rule reported
a false positive on every such test class.

The new Boolean property reportConnectApi defaults to true, which keeps
the current behavior. When it is set to false, the rule does not report
SeeAllData=true in a test class that calls a ConnectApi method. The
method name prefix is compared without regard to case, because Apex
identifiers are case-insensitive.

For a method-level SeeAllData=true, the reportConnectApi=false exemption now looks only in that test method, not in the whole class. A call to a ConnectApi setTest method, and a call to the regular method whose test data it registers, no longer exempt a test. The tests use ConnectApi methods that need SeeAllData=true, in place of getFeedElementsFromFeed.

Co-authored-by: Claude AI <claude-bot@noreply.github.com>
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>

20789 of 26880 branches covered (77.34%)

Branch coverage included in aggregate %.

25 of 25 new or added lines in 1 file covered. (100.0%)

44315 of 54228 relevant lines covered (81.72%)

0.83 hits per line

Jobs
ID Job ID Ran Files Coverage
1 989.1 19 Nov 2026 10:01AM UTC 2225
80.27
GitHub Action Run
Source Files on build 989
  • Tree
  • List 2225
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #989
  • 3979e9df on github
  • Prev Build on main (#987)
  • Next Build on main (#990)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc