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

zopefoundation / AccessControl / 25050139377
83%
master: 83%

Build:
Build:
LAST BUILD BRANCH: config-with-c-code-template-f472bcc5
DEFAULT BRANCH: master
Ran 28 Apr 2026 11:30AM UTC
Jobs 1
Files 57
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

28 Apr 2026 11:27AM UTC coverage: 82.841% (-0.008%) from 82.849%
25050139377

push

github

jan-jockusch
Add caching to guarded_import to boost performance

Using "import" in Python Scripts triggers the execution of
guarded_import each time. This performs a security test and
then the import itself. The import is fast because the Python
interpreter caches this. The security test is costly, and always
yields the same result. This patch inserts a cache to skip this
test on repeated executions, speeding up the Python Scripts.

1487 of 2008 branches covered (74.05%)

Branch coverage included in aggregate %.

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

2 existing lines in 1 file now uncovered.

5103 of 5947 relevant lines covered (85.81%)

4.29 hits per line

Coverage Regressions

Lines Coverage ∆ File
2
82.68
-0.65% src/AccessControl/SecurityInfo.py
Jobs
ID Job ID Ran Files Coverage
1 25050139377.1 28 Apr 2026 12:13PM UTC 57
82.84
Source Files on build 25050139377
  • Tree
  • List 57
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 4250dac7 on github
  • Prev Build on master (#21562665576)
  • Next Build on cache-guarded-import (#25054172437)
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

© 2026 Coveralls, Inc