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

zmwangx / storyboard / 12
90%

Build:
DEFAULT BRANCH: master
Ran 20 Apr 2015 08:59PM UTC
Jobs 5
Files 7
Run time 43s
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
12

push

travis-ci

zmwangx
metadata.py: improve handling of formats and codecs

Now we've got rid of a lot of branches and instead use four module
variables _FORMAT_MAP, _VCODEC_MAP, _ACODEC_MAP, and _SCODEC_MAP to
map between format/codec code name (emitted by FFprobe) and their
display names. Some codecs (e.g., H.264 and AAC) get special treatments
to display more details, but most don't.

This model makes the module even easier to extend: for most
formats/codecs, it's enough to add a key/value pair to one of the four
dicts. (And one or more relevant test case, to be precise.)

697 of 871 relevant lines covered (80.02%)

3.98 hits per line

Jobs
ID Job ID Ran Files Coverage
1 12.1 20 Apr 2015 08:59PM UTC 0
79.79
Travis Job 12.1
2 12.2 20 Apr 2015 08:59PM UTC 0
79.68
Travis Job 12.2
3 12.3 20 Apr 2015 08:59PM UTC 0
79.45
Travis Job 12.3
4 12.4 20 Apr 2015 08:59PM UTC 0
79.45
Travis Job 12.4
5 12.5 20 Apr 2015 08:59PM UTC 0
79.45
Travis Job 12.5
Source Files on build 12
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #12
  • 754244c3 on github
  • Prev Build on master (#7)
  • Next Build on master (#13)
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