{"action":"closed","issue":{"url":"https://api.github.com/repos/troessner/reek/issues/939","repository_url":"https://api.github.com/repos/troessner/reek","labels_url":"https://api.github.com/repos/troessner/reek/issues/939/labels{/name}","comments_url":"https://api.github.com/repos/troessner/reek/issues/939/comments","events_url":"https://api.github.com/repos/troessner/reek/issues/939/events","html_url":"https://github.com/troessner/reek/issues/939","id":158584094,"number":939,"title":"json output seems to miss \"name\" property on readme-example","user":{"login":"Makman2","id":6023916,"avatar_url":"https://avatars.githubusercontent.com/u/6023916?v=3","gravatar_id":"","url":"https://api.github.com/users/Makman2","html_url":"https://github.com/Makman2","followers_url":"https://api.github.com/users/Makman2/followers","following_url":"https://api.github.com/users/Makman2/following{/other_user}","gists_url":"https://api.github.com/users/Makman2/gists{/gist_id}","starred_url":"https://api.github.com/users/Makman2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Makman2/subscriptions","organizations_url":"https://api.github.com/users/Makman2/orgs","repos_url":"https://api.github.com/users/Makman2/repos","events_url":"https://api.github.com/users/Makman2/events{/privacy}","received_events_url":"https://api.github.com/users/Makman2/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/troessner/reek/labels/feature","name":"feature","color":"7af07a"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-06-06T00:44:45Z","updated_at":"2016-09-09T13:05:32Z","closed_at":"2016-09-09T13:05:32Z","body":"This is my output when I run reek with json output over your example from the readme:\r\n```\r\n[{\"context\":\"Dirty#awful\",\r\n  \"lines\":[3],\r\n  \"message\":\"has boolean parameter 'log'\",\r\n  \"smell_type\":\"BooleanParameter\",\r\n  \"source\":\"STDIN\",\r\n  \"name\":\"log\",\r\n  \"wiki_link\":\"https://github.com/troessner/reek/blob/master/docs/Boolean-Parameter.md\"},\r\n {\"context\":\"Dirty\",\r\n  \"lines\":[1],\r\n  \"message\":\"has no descriptive comment\",\r\n  \"smell_type\":\"IrresponsibleModule\",\r\n  \"source\":\"STDIN\",\r\n  \"name\":\"Dirty\",\r\n  \"wiki_link\":\"https://github.com/troessner/reek/blob/master/docs/Irresponsible-Module.md\"},\r\n {\"context\":\"Dirty#awful\",\r\n  \"lines\":[3],\r\n  \"message\":\"has 4 parameters\",\r\n  \"smell_type\":\"LongParameterList\",\r\n  \"source\":\"STDIN\",\r\n  \"count\":4,\r\n  \"wiki_link\":\"https://github.com/troessner/reek/blob/master/docs/Long-Parameter-List.md\"},\r\n {\"context\":\"Dirty#awful\",\r\n  \"lines\":[3],\r\n  \"message\":\"has the parameter name 'x'\",\r\n  \"smell_type\":\"UncommunicativeParameterName\",\r\n  \"source\":\"STDIN\",\r\n  \"name\":\"x\",\r\n  \"wiki_link\":\"https://github.com/troessner/reek/blob/master/docs/Uncommunicative-Parameter-Name.md\"},\r\n {\"context\":\"Dirty#awful\",\r\n  \"lines\":[5],\r\n  \"message\":\"has the variable name 'w'\",\r\n  \"smell_type\":\"UncommunicativeVariableName\",\r\n  \"source\":\"STDIN\",\r\n  \"name\":\"w\",\r\n  \"wiki_link\":\"https://github.com/troessner/reek/blob/master/docs/Uncommunicative-Variable-Name.md\"},\r\n {\"context\":\"Dirty#awful\",\r\n  \"lines\":[3],\r\n  \"message\":\"has unused parameter 'log'\",\r\n  \"smell_type\":\"UnusedParameters\",\r\n  \"source\":\"STDIN\",\r\n  \"name\":\"log\",\r\n  \"wiki_link\":\"https://github.com/troessner/reek/blob/master/docs/Unused-Parameters.md\"},\r\n {\"context\":\"Dirty#awful\",\r\n  \"lines\":[3],\r\n  \"message\":\"has unused parameter 'offset'\",\r\n  \"smell_type\":\"UnusedParameters\",\r\n  \"source\":\"STDIN\",\r\n  \"name\":\"offset\",\r\n  \"wiki_link\":\"https://github.com/troessner/reek/blob/master/docs/Unused-Parameters.md\"},\r\n {\"context\":\"Dirty#awful\",\r\n  \"lines\":[3],\r\n  \"message\":\"has unused parameter 'y'\",\r\n  \"smell_type\":\"UnusedParameters\",\r\n  \"source\":\"STDIN\",\r\n  \"name\":\"y\",\r\n  \"wiki_link\":\"https://github.com/troessner/reek/blob/master/docs/Unused-Parameters.md\"}]\r\n```\r\nThe third one got a \"count\" attribute instead of \"name\". Shouldn't be there a name actually, otherwise you don't know to which function is referred to?"}}
{"actor":{"display_login":"troessner"}}