{"action":"created","issue":{"url":"https://api.github.com/repos/babel/6to5-library-boilerplate/issues/115","labels_url":"https://api.github.com/repos/babel/6to5-library-boilerplate/issues/115/labels{/name}","comments_url":"https://api.github.com/repos/babel/6to5-library-boilerplate/issues/115/comments","events_url":"https://api.github.com/repos/babel/6to5-library-boilerplate/issues/115/events","html_url":"https://github.com/babel/6to5-library-boilerplate/issues/115","id":57881330,"number":115,"title":"Code Climate coverage false positives","user":{"login":"Nogbit","id":5131608,"avatar_url":"https://avatars.githubusercontent.com/u/5131608?v=3","gravatar_id":"","url":"https://api.github.com/users/Nogbit","html_url":"https://github.com/Nogbit","followers_url":"https://api.github.com/users/Nogbit/followers","following_url":"https://api.github.com/users/Nogbit/following{/other_user}","gists_url":"https://api.github.com/users/Nogbit/gists{/gist_id}","starred_url":"https://api.github.com/users/Nogbit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nogbit/subscriptions","organizations_url":"https://api.github.com/users/Nogbit/orgs","repos_url":"https://api.github.com/users/Nogbit/repos","events_url":"https://api.github.com/users/Nogbit/events{/privacy}","received_events_url":"https://api.github.com/users/Nogbit/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/babel/6to5-library-boilerplate/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/babel/6to5-library-boilerplate/labels/test","name":"test","color":"5319e7"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-02-17T04:07:33Z","updated_at":"2015-02-18T04:19:37Z","closed_at":"2015-02-18T04:15:27Z","body":"This problem existed before your switch to babel, and exists now.\r\n\r\nYour code coverage summary generates the below output (note the 0/0 in the summary rows), yet, your icons in your readme indicate 100% coverage.  You get 100% coverage because at one time code climate was receiving actual data from your travis builds, but, it no longer does because the ``coverage/lcov.info`` is now empty in your builds.\r\n\r\n```\r\n----------|-----------|-----------|-----------|-----------|\r\nFile      |   % Stmts |% Branches |   % Funcs |   % Lines |\r\n----------|-----------|-----------|-----------|-----------|\r\n----------|-----------|-----------|-----------|-----------|\r\nAll files |       100 |       100 |       100 |       100 |\r\n----------|-----------|-----------|-----------|-----------|\r\n\r\n\r\n=============================== Coverage summary ===============================\r\nStatements   : 100% ( 0/0 )\r\nBranches     : 100% ( 0/0 )\r\nFunctions    : 100% ( 0/0 )\r\nLines        : 100% ( 0/0 )\r\n================================================================================\r\n```\r\n\r\nThe following is from Code Climate support.  I'm looking into a fix myself for my project, but in the meantime this should help you.\r\n\r\n-----------------------------\r\nAlso, I took a look at your other repository: 6to5-library-boilerplate. It turns out that this same exact issue is occurring there as well. For example, for the latest Travis job, see Line 371: https://travis-ci.org/babel/6to5-library-boilerplate/builds/50725443#L371\r\n\r\nThat said, for 6to5-library-boilerplate, this didn't used to be case. I looked back through some of your old jobs in Travis, and I can see that up until Job 216, coverage data was being generated and sent to Code Climate just fine. For example, see Line 365 from Job 214: https://travis-ci.org/babel/6to5-library-boilerplate/builds/50718528#L365 For Job 214, note that the coverage summary indicates that a series of statements, branches, functions, and lines were indeed tested.\r\n\r\nHowever, starting with Job 216, that's no longer the case, as 0/0 items are tested and the error from our reporter is being thrown: https://travis-ci.org/babel/6to5-library-boilerplate/builds/50719433#L365 So, something seems to have changed between Jobs 214 and 216, though I'm not sure exactly what changed."},"comment":{"url":"https://api.github.com/repos/babel/6to5-library-boilerplate/issues/comments/74809319","html_url":"https://github.com/babel/6to5-library-boilerplate/issues/115#issuecomment-74809319","issue_url":"https://api.github.com/repos/babel/6to5-library-boilerplate/issues/115","id":74809319,"user":{"login":"Nogbit","id":5131608,"avatar_url":"https://avatars.githubusercontent.com/u/5131608?v=3","gravatar_id":"","url":"https://api.github.com/users/Nogbit","html_url":"https://github.com/Nogbit","followers_url":"https://api.github.com/users/Nogbit/followers","following_url":"https://api.github.com/users/Nogbit/following{/other_user}","gists_url":"https://api.github.com/users/Nogbit/gists{/gist_id}","starred_url":"https://api.github.com/users/Nogbit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nogbit/subscriptions","organizations_url":"https://api.github.com/users/Nogbit/orgs","repos_url":"https://api.github.com/users/Nogbit/repos","events_url":"https://api.github.com/users/Nogbit/events{/privacy}","received_events_url":"https://api.github.com/users/Nogbit/received_events","type":"User","site_admin":false},"created_at":"2015-02-18T04:19:36Z","updated_at":"2015-02-18T04:19:36Z","body":"Thanks!"}}