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

letsencrypt / boulder / 12575
66%
master: 66%

Build:
Build:
LAST BUILD BRANCH: ocsp-fail-stops-issuances
DEFAULT BRANCH: master
Ran 20 Jul 2020 06:27PM UTC
Jobs 2
Files 111
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

20 Jul 2020 06:12PM UTC coverage: 65.678% (-0.06%) from 65.741%
12575

push

travis-pro

web-flow
Simplify database interactions (#4949)

Simplify database interactions

This change is a result of an audit of all places where
Go code directly constructs SQL queries and executes them
against a dbMap, with the goal of eliminating all instances
of constructing a well-known object type (such as a
core.CertificateStatus) from explicitly-listed database columns.
Instead, we should be relying on helper functions defined in the
sa itself to determine which columns are relevant for the
construction of any given object.

This audit did not find many places where this was occurring. It
did reveal a few simplifications, which are contained in this
change:
1) Greater use of existing SelectFoo methods provided by models.go
2) Streamlining of various SelectSingularFoo methods to always
   select by serial string, rather than user-provided WHERE clause
3) One spot (in ocsp-responder) where using a well-known type seemed
   better than using a more minimal custom type

Addresses #4899

13014 of 19815 relevant lines covered (65.68%)

1.47 hits per line

Jobs
ID Job ID Ran Files Coverage
13 12575.13 (RUN="coverage" CONTAINER="netaccess") 20 Jul 2020 06:27PM UTC 0
65.68
Travis Job 12575.13
14 12575.14 (RUN="coverage" CONTAINER="netaccess") 20 Jul 2020 06:28PM UTC 0
65.68
Travis Job 12575.14
Source Files on build 12575
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #12575
  • 6f001626 on github
  • Prev Build on main (#12570)
  • Next Build on main (#12578)
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