{"action":"created","issue":{"url":"https://api.github.com/repos/uber/go-torch/issues/18","labels_url":"https://api.github.com/repos/uber/go-torch/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/uber/go-torch/issues/18/comments","events_url":"https://api.github.com/repos/uber/go-torch/issues/18/events","html_url":"https://github.com/uber/go-torch/pull/18","id":97360988,"number":18,"title":"Add coveralls badge to readme header","user":{"login":"sectioneight","id":97087,"avatar_url":"https://avatars.githubusercontent.com/u/97087?v=3","gravatar_id":"","url":"https://api.github.com/users/sectioneight","html_url":"https://github.com/sectioneight","followers_url":"https://api.github.com/users/sectioneight/followers","following_url":"https://api.github.com/users/sectioneight/following{/other_user}","gists_url":"https://api.github.com/users/sectioneight/gists{/gist_id}","starred_url":"https://api.github.com/users/sectioneight/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sectioneight/subscriptions","organizations_url":"https://api.github.com/users/sectioneight/orgs","repos_url":"https://api.github.com/users/sectioneight/repos","events_url":"https://api.github.com/users/sectioneight/events{/privacy}","received_events_url":"https://api.github.com/users/sectioneight/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-27T00:14:06Z","updated_at":"2015-07-27T01:14:20Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/uber/go-torch/pulls/18","html_url":"https://github.com/uber/go-torch/pull/18","diff_url":"https://github.com/uber/go-torch/pull/18.diff","patch_url":"https://github.com/uber/go-torch/pull/18.patch"},"body":"Hopefully this will inspire us to write some more tests. Currently at 87%, which is not bad :)"},"comment":{"url":"https://api.github.com/repos/uber/go-torch/issues/comments/125055723","html_url":"https://github.com/uber/go-torch/pull/18#issuecomment-125055723","issue_url":"https://api.github.com/repos/uber/go-torch/issues/18","id":125055723,"user":{"login":"sandlerben","id":4823572,"avatar_url":"https://avatars.githubusercontent.com/u/4823572?v=3","gravatar_id":"","url":"https://api.github.com/users/sandlerben","html_url":"https://github.com/sandlerben","followers_url":"https://api.github.com/users/sandlerben/followers","following_url":"https://api.github.com/users/sandlerben/following{/other_user}","gists_url":"https://api.github.com/users/sandlerben/gists{/gist_id}","starred_url":"https://api.github.com/users/sandlerben/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sandlerben/subscriptions","organizations_url":"https://api.github.com/users/sandlerben/orgs","repos_url":"https://api.github.com/users/sandlerben/repos","events_url":"https://api.github.com/users/sandlerben/events{/privacy}","received_events_url":"https://api.github.com/users/sandlerben/received_events","type":"User","site_admin":false},"created_at":"2015-07-27T01:14:20Z","updated_at":"2015-07-27T01:14:20Z","body":"@sectioneight lgtm. It will be hard to increase coverage because\r\n\r\n* Functions like [runPerlScript](https://github.com/uber/go-torch/blob/master/visualization/visualization.go#L85) are really hard to test. For example, in this case, I don't know how we could mock whether or not the flame graph script is installed.  \r\n* We cannot test any code like `if err != nil {\r\n\t\tlog.Fatal(err)\r\n\t}` because there is no way to recover from a Fatal. "}}