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

opentrials / api / 151
90%
master: 92%

Build:
Build:
LAST BUILD BRANCH: v1.1.1
DEFAULT BRANCH: master
Ran 21 Apr 2016 02:18PM UTC
Jobs 1
Files 22
Run time 1s
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

pending completion
151

push

travis-ci

vitorbaptista
[#58] Add Record model

A Record contains the non-deduplicated Trial attributes taken from the Source.
A Trial, in this sense, is generated from its many Records. This is useful to
allow the user to check the original trial's data.

This is the first entity which serves as an relationship table for the
many-to-many relationship between Trial and Source, while also having many
important columns on its own (and not simply "role", as is the case of the
other many relationship tables). This required a few changes to the code and
made the API responses a bit inconsistent.

For the other relationship tables, we have an "attributes" field, but not this
one. The idea of the "attributes" was to avoid naming clashes between the
attributes in the relationship table and in the entity itself. However, it
might be overkill. Maybe it would be better to simply avoid these clashes by
taking care of our namings. I'll make this changes in a later commit.

372 of 415 relevant lines covered (89.64%)

8.74 hits per line

Jobs
ID Job ID Ran Files Coverage
1 151.1 21 Apr 2016 02:18PM UTC 0
89.64
Travis Job 151.1
Source Files on build 151
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #151
  • b5f97fd5 on github
  • Prev Build on feature/expose-trialrecords (#150)
  • Next Build on feature/expose-trialrecords (#152)
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