Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tonyarnold/coverstory
https://github.com/tonyarnold/coverstory
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/tonyarnold/coverstory
- Owner: tonyarnold
- License: apache-2.0
- Created: 2015-02-12T05:29:48.000Z (almost 10 years ago)
- Default Branch: modernize
- Last Pushed: 2015-04-02T14:21:06.000Z (over 9 years ago)
- Last Synced: 2024-05-09T16:32:42.959Z (6 months ago)
- Language: Objective-C
- Size: 2.24 MB
- Stars: 5
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
Cover Story
===============An OS X GUI for working with code coverage data files generated by gcov.
History
===========Originally developed by [Dave MacLachlan](mailto:[email protected] "Dave MacLachlan's email address") at [Google](http://code.google.com/p/coverstory/).
Build It
========Check out the repository and run the following commands to prepare the submodule dependencies:
```
git submodule init
git submodule update
```Build and run the app from Xcode.
Use It
=====The product you want to examine for coverage must be built with settings enabled that cause the compiler to generate build-time and run-time coverage data files. These are generated by default in the same directory as your .o object files, and have .gcda and .gcno extensions. These files can be opened directly by Cover Story.
For example, if your product is build with .xcconfig configuration files, you can enable profiling with gcov by adding the following lines to your .xcconfig file:
```
GCC_INSTRUMENT_PROGRAM_FLOW_ARCS = YES
GCC_GENERATE_TEST_COVERAGE_FILES = YES
```Enjoy!