Skip to content

Added GutterJsonOutput as a coverage service.#24

Merged
marklarr merged 2 commits intoSlatherOrg:masterfrom
neonichu:gutter-json
Sep 21, 2014
Merged

Added GutterJsonOutput as a coverage service.#24
marklarr merged 2 commits intoSlatherOrg:masterfrom
neonichu:gutter-json

Conversation

@neonichu
Copy link
Member

This allows seeing the raw gcov output next to your code inside Xcode,
using https://github.com/neonichu/PuncoverPlugin.

This allows seeing the raw gcov output next to your code inside Xcode,
using https://github.com/neonichu/PuncoverPlugin.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should be able to use coverage_file.coverage_data, where coverage_file.coverage_data[32] is the number of hits for line 32, or nil if it's not a line of code, for example.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wanted to stick to displaying raw gcov data for the first version, then figuring out which format makes the most sense :)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gotcha!

@marklarr
Copy link
Contributor

This is AWESOME!

marklarr added a commit that referenced this pull request Sep 21, 2014
Added GutterJsonOutput as a coverage service.
@marklarr marklarr merged commit 638693e into SlatherOrg:master Sep 21, 2014
@marklarr
Copy link
Contributor

Thanks @neonichu

@neonichu neonichu deleted the gutter-json branch September 21, 2014 20:25
@marklarr
Copy link
Contributor

marklarr commented Mar 4, 2015

we should add something to the README about this, it's a cool feature

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants