{"action":"created","issue":{"url":"https://api.github.com/repos/flycheck/flycheck/issues/1074","repository_url":"https://api.github.com/repos/flycheck/flycheck","labels_url":"https://api.github.com/repos/flycheck/flycheck/issues/1074/labels{/name}","comments_url":"https://api.github.com/repos/flycheck/flycheck/issues/1074/comments","events_url":"https://api.github.com/repos/flycheck/flycheck/issues/1074/events","html_url":"https://github.com/flycheck/flycheck/issues/1074","id":175854857,"number":1074,"title":"DMD Coverage Support","user":{"login":"nordlow","id":829407,"avatar_url":"https://avatars.githubusercontent.com/u/829407?v=3","gravatar_id":"","url":"https://api.github.com/users/nordlow","html_url":"https://github.com/nordlow","followers_url":"https://api.github.com/users/nordlow/followers","following_url":"https://api.github.com/users/nordlow/following{/other_user}","gists_url":"https://api.github.com/users/nordlow/gists{/gist_id}","starred_url":"https://api.github.com/users/nordlow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nordlow/subscriptions","organizations_url":"https://api.github.com/users/nordlow/orgs","repos_url":"https://api.github.com/users/nordlow/repos","events_url":"https://api.github.com/users/nordlow/events{/privacy}","received_events_url":"https://api.github.com/users/nordlow/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/flycheck/flycheck/labels/language%20support","name":"language support","color":"d4c5f9"},{"url":"https://api.github.com/repos/flycheck/flycheck/labels/wontfix","name":"wontfix","color":"cccccc"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-09-08T20:23:54Z","updated_at":"2016-09-13T19:05:34Z","closed_at":"2016-09-09T13:46:22Z","body":"Hi again.\r\n\r\nThe D compiler DMD has support for coverage/profiling via the `-cov` switch.\r\n\r\nIf a file, say `foo.d` is compiled with that switch then the execution of the compile binary file will generate a `foo.lst` which has the basic format \r\n\r\n```\r\n...\r\n         |    pragma(inline) private void insertAt(size_t index, IxElement elt)\r\n         |    {\r\n   239524|        assert(index <= _length);\r\n         |\r\n   718572|        foreach (const i; 0 .. _length - index) // TODO functionize this loop or reuse memmove:\r\n         |        {\r\n000000000|            const iD = _length - i;\r\n000000000|            const iS = iD - 1;\r\n000000000|            ixsSlots[iD] = ixsSlots[iS];\r\n...\r\n```\r\n\r\nI would really love to see a plugin in Flycheck that filters out all lines that are not covered and adds overlays warnings over those lines in the original source buffer `foo.d`.\r\n\r\nI believe the logic is similar to the ELPA module `flycheck-d-unittest`.\r\n\r\nDo you think such a feature belongs inside a new ELPA module (preferrably `flycheck-d-all` that incorporates both the unittest and coverage logic) or should we strive for adding it into this repo?"},"comment":{"url":"https://api.github.com/repos/flycheck/flycheck/issues/comments/246789614","html_url":"https://github.com/flycheck/flycheck/issues/1074#issuecomment-246789614","issue_url":"https://api.github.com/repos/flycheck/flycheck/issues/1074","id":246789614,"user":{"login":"nordlow","id":829407,"avatar_url":"https://avatars.githubusercontent.com/u/829407?v=3","gravatar_id":"","url":"https://api.github.com/users/nordlow","html_url":"https://github.com/nordlow","followers_url":"https://api.github.com/users/nordlow/followers","following_url":"https://api.github.com/users/nordlow/following{/other_user}","gists_url":"https://api.github.com/users/nordlow/gists{/gist_id}","starred_url":"https://api.github.com/users/nordlow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nordlow/subscriptions","organizations_url":"https://api.github.com/users/nordlow/orgs","repos_url":"https://api.github.com/users/nordlow/repos","events_url":"https://api.github.com/users/nordlow/events{/privacy}","received_events_url":"https://api.github.com/users/nordlow/received_events","type":"User","site_admin":false},"created_at":"2016-09-13T19:05:34Z","updated_at":"2016-09-13T19:05:34Z","body":"Yes, I could do that."}}
{"actor":{"display_login":"nordlow"}}