Skip to content

Tiny Python script to generate SVG coverage badges from lcov .gcda.info files

License

Notifications You must be signed in to change notification settings

damien-robotsix/lcov-badger

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lcov-badger

This script generates a SVG badge from lcov coverage data (.info text file), which is created by lcov, geninfo and other tools.

Example output: Sample SVG

Usage

Just drop the lcov-badger.py file where you need it, pass the path to .info file and the path for output:

python lcov-badger.py /awesome/project/cover.gcda.info /docs/coverage.svg

Credits

The SVG template is created from flat style SVG taken from shields.io.

About

Tiny Python script to generate SVG coverage badges from lcov .gcda.info files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%