{"action":"created","issue":{"url":"https://api.github.com/repos/hcoles/pitest/issues/218","labels_url":"https://api.github.com/repos/hcoles/pitest/issues/218/labels{/name}","comments_url":"https://api.github.com/repos/hcoles/pitest/issues/218/comments","events_url":"https://api.github.com/repos/hcoles/pitest/issues/218/events","html_url":"https://github.com/hcoles/pitest/pull/218","id":95835885,"number":218,"title":"Naked receiver mutator","user":{"login":"UrsMetz","id":1553875,"avatar_url":"https://avatars.githubusercontent.com/u/1553875?v=3","gravatar_id":"","url":"https://api.github.com/users/UrsMetz","html_url":"https://github.com/UrsMetz","followers_url":"https://api.github.com/users/UrsMetz/followers","following_url":"https://api.github.com/users/UrsMetz/following{/other_user}","gists_url":"https://api.github.com/users/UrsMetz/gists{/gist_id}","starred_url":"https://api.github.com/users/UrsMetz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UrsMetz/subscriptions","organizations_url":"https://api.github.com/users/UrsMetz/orgs","repos_url":"https://api.github.com/users/UrsMetz/repos","events_url":"https://api.github.com/users/UrsMetz/events{/privacy}","received_events_url":"https://api.github.com/users/UrsMetz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-18T15:59:30Z","updated_at":"2015-07-19T08:41:11Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/hcoles/pitest/pulls/218","html_url":"https://github.com/hcoles/pitest/pull/218","diff_url":"https://github.com/hcoles/pitest/pull/218.diff","patch_url":"https://github.com/hcoles/pitest/pull/218.patch"},"body":"Mutator that replaces a method call with the object on which the method\r\nis called in case the return type of the method matches the type of the\r\nobject.\r\n\r\nIt is named after @mbj mutation operator in [mutant](https://github.com/mbj/mutant) performing the same mutation."},"comment":{"url":"https://api.github.com/repos/hcoles/pitest/issues/comments/122640227","html_url":"https://github.com/hcoles/pitest/pull/218#issuecomment-122640227","issue_url":"https://api.github.com/repos/hcoles/pitest/issues/218","id":122640227,"user":{"login":"mbj","id":117966,"avatar_url":"https://avatars.githubusercontent.com/u/117966?v=3","gravatar_id":"","url":"https://api.github.com/users/mbj","html_url":"https://github.com/mbj","followers_url":"https://api.github.com/users/mbj/followers","following_url":"https://api.github.com/users/mbj/following{/other_user}","gists_url":"https://api.github.com/users/mbj/gists{/gist_id}","starred_url":"https://api.github.com/users/mbj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbj/subscriptions","organizations_url":"https://api.github.com/users/mbj/orgs","repos_url":"https://api.github.com/users/mbj/repos","events_url":"https://api.github.com/users/mbj/events{/privacy}","received_events_url":"https://api.github.com/users/mbj/received_events","type":"User","site_admin":false},"created_at":"2015-07-19T08:41:11Z","updated_at":"2015-07-19T08:41:11Z","body":"> Thanks @mbj for confirming the name (that was one reason for mentioning you ;-)).\r\n\r\nBTW mutant does not give the mutation operators explicit names internally. I simply walk the AST and recursively, per node (while considering the context) emitting mutations.\r\n\r\nhttps://github.com/mbj/mutant/blob/master/lib/mutant/mutator/node/send.rb#L108-L115\r\n\r\nI consider to give mutation operators a name, but as ruby has ~100 nodes, and I've 1-4 dedicate mutation operators for that given node, this might be overwhelming. What might work is grouping the operators per class."}}