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

kobotoolbox / kpi / 14181934891
81%
master: 76%

Build:
Build:
LAST BUILD BRANCH: beccagraber/dev-1452-new_action
DEFAULT BRANCH: master
Ran 31 Mar 2025 10:12PM UTC
Jobs 1
Files 639
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

31 Mar 2025 09:34PM UTC coverage: 80.808% (-0.03%) from 80.835%
14181934891

push

github

web-flow
refactor(trashBin): standardize status toggling via abstract base method TASK-1525 (#5635)

### 📣 Summary
Refactored `toggle_<model>_statuses` into an abstract method on the base
trash bin class and prepares the codebase for managing attachments in
the trash bin in future work.


### 📖 Description
As part of upcoming work to support attachments in the trash bin system,
the `toggle_<model>_statuses` method has been moved to the base class as
an abstract method. This change standardizes the implementation pattern
for all models handled by the trash bin system.

6101 of 9691 branches covered (62.96%)

41 of 62 new or added lines in 10 files covered. (66.13%)

1 existing line in 1 file now uncovered.

23213 of 28726 relevant lines covered (80.81%)

0.81 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
51.33
0.0% hub/admin/extend_user.py
1
95.45
-4.55% kobo/apps/trash_bin/models/__init__.py
1
84.0
0.0% kobo/apps/trash_bin/models/account.py
1
97.3
2.06% kobo/apps/trash_bin/models/project.py
2
60.81
0.0% kobo/apps/trash_bin/admin.py
2
88.96
-0.98% kobo/apps/trash_bin/utils.py
13
58.06
kobo/apps/trash_bin/models/attachment.py

Uncovered Existing Lines

Lines Coverage ∆ File
1
88.96
-0.98% kobo/apps/trash_bin/utils.py
Jobs
ID Job ID Ran Files Coverage
1 14181934891.1 31 Mar 2025 10:12PM UTC 639
80.81
Source Files on build 14181934891
  • Tree
  • List 639
  • Changed 6
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 52e88cc0 on github
  • Prev Build on main (#14179567334)
  • Next Build on main (#14197394737)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc