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

zmwangx / storyboard / 12 / 3
90%
master: 90%

Build:
DEFAULT BRANCH: master
Ran 20 Apr 2015 08:59PM UTC
Files 7
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

20 Apr 2015 08:52PM UTC coverage: 79.449% (+2.3%) from 77.13%
12.3

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.)

692 of 871 relevant lines covered (79.45%)

0.79 hits per line

Source Files on job 12.3
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 12
  • Travis Job 12.3
  • 754244c3 on github
  • Prev Job for on master (#7.3)
  • Next Job for on master (#13.2)
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