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

tomasnorre / crawler / 43495013365
79%

Build:
DEFAULT BRANCH: main
Ran 13 Nov 2026 07:51PM UTC
Jobs 1
Files 52
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

13 Nov 2026 07:44PM UTC coverage: 66.983% (-0.2%) from 67.139%
43495013365

push

github

web-flow
[BUGFIX] Export every log entry in the crawler log CSV, reduce BackendModuleLogService complexity (#1326)

* [TASK] Add test showing the CSV log export drops entries

BackendModuleLogService::addRows() overwrites the CSV row on every log
entry, so only the last entry of each page ends up in the export. This
test currently fails and documents the bug.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* [BUGFIX] Export every log entry in the crawler log CSV

addRows() now returns one CSV row per log entry instead of overwriting
the row on every iteration, and the log controller merges those rows
into a flat list. Pages without log entries no longer add an empty
row to the export.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* [TASK] Reduce cognitive complexity of BackendModuleLogService

Split addRows() into buildRow(), buildRowData(), formatDateTime() and
getModuleUrl(), and return early when a page has no log entries. The
rendered rows and CSV rows are unchanged.

This removes the two cognitive complexity entries for the class from
the PHPStan baseline. The new private methods are added to the Psalm
baseline, like the existing helpers, because Psalm cannot see the
dependency-injected caller of addRows().

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

59 of 62 new or added lines in 2 files covered. (95.16%)

1272 of 1899 relevant lines covered (66.98%)

5.02 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
0.0
0.0% Classes/Controller/Backend/BackendModuleCrawlerLogController.php
1
98.95
-1.05% Classes/Service/BackendModuleLogService.php
Jobs
ID Job ID Ran Files Coverage
1 43495013365.1 13 Nov 2026 07:45PM UTC 52
66.98
GitHub Action Run
Source Files on build 43495013365
  • Tree
  • List 52
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 80b267e7 on github
  • Prev Build on main (#43471276115)
  • Next Build on main (#43495412053)
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