{"action":"created","comment":{"url":"https://api.github.com/repos/stryker-mutator/stryker/pulls/comments/62513227","id":62513227,"diff_hunk":"@@ -92,6 +93,17 @@ export default class Stryker {\n     });\n   }\n \n+  private loadDefaultPlugins() {","path":"src/Stryker.ts","position":32,"original_position":32,"commit_id":"233124f4fef249068e5a0dd34aefdd282f101768","original_commit_id":"233124f4fef249068e5a0dd34aefdd282f101768","user":{"login":"nicojs","id":1828233,"avatar_url":"https://avatars.githubusercontent.com/u/1828233?v=3","gravatar_id":"","url":"https://api.github.com/users/nicojs","html_url":"https://github.com/nicojs","followers_url":"https://api.github.com/users/nicojs/followers","following_url":"https://api.github.com/users/nicojs/following{/other_user}","gists_url":"https://api.github.com/users/nicojs/gists{/gist_id}","starred_url":"https://api.github.com/users/nicojs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicojs/subscriptions","organizations_url":"https://api.github.com/users/nicojs/orgs","repos_url":"https://api.github.com/users/nicojs/repos","events_url":"https://api.github.com/users/nicojs/events{/privacy}","received_events_url":"https://api.github.com/users/nicojs/received_events","type":"User","site_admin":false},"body":"Maybe we should not call this 'default plugins'. Maybe we could better call it `loadDefaultMutators` and add it as a method to the `MutatorOrchestrator`. I don't see a single mutator as being a plugin. So also don't use the `PluginLoader`. That way, a mutators is no longer responsible by itself to add it to the `MutatorFactory` (that should generaly only be done by a plugin)","created_at":"2016-05-09T14:57:25Z","updated_at":"2016-05-09T14:57:25Z","html_url":"https://github.com/stryker-mutator/stryker/pull/99#discussion_r62513227","pull_request_url":"https://api.github.com/repos/stryker-mutator/stryker/pulls/99","_links":{"self":{"href":"https://api.github.com/repos/stryker-mutator/stryker/pulls/comments/62513227"},"html":{"href":"https://github.com/stryker-mutator/stryker/pull/99#discussion_r62513227"},"pull_request":{"href":"https://api.github.com/repos/stryker-mutator/stryker/pulls/99"}}},"pull_request":{"url":"https://api.github.com/repos/stryker-mutator/stryker/pulls/99","id":69265342,"html_url":"https://github.com/stryker-mutator/stryker/pull/99","diff_url":"https://github.com/stryker-mutator/stryker/pull/99.diff","patch_url":"https://github.com/stryker-mutator/stryker/pull/99.patch","issue_url":"https://api.github.com/repos/stryker-mutator/stryker/issues/99","number":99,"state":"open","locked":false,"title":"Implemented Mutator API","user":{"login":"simondel","id":4221997,"avatar_url":"https://avatars.githubusercontent.com/u/4221997?v=3","gravatar_id":"","url":"https://api.github.com/users/simondel","html_url":"https://github.com/simondel","followers_url":"https://api.github.com/users/simondel/followers","following_url":"https://api.github.com/users/simondel/following{/other_user}","gists_url":"https://api.github.com/users/simondel/gists{/gist_id}","starred_url":"https://api.github.com/users/simondel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simondel/subscriptions","organizations_url":"https://api.github.com/users/simondel/orgs","repos_url":"https://api.github.com/users/simondel/repos","events_url":"https://api.github.com/users/simondel/events{/privacy}","received_events_url":"https://api.github.com/users/simondel/received_events","type":"User","site_admin":false},"body":"I have finished implementing the Mutator API.\r\n\r\nAll `Mutation` classes are now `Mutator` classes.\r\nThe `Mutator` class is now called `MutatorOrchestrator`.\r\n\r\nA Mutator now has to return a list of `ESTree.Node` objects, each of which has an ID (see: *src/api/mutant/StrykerNode.ts*). The `MutatorOrchestrator` now creates the `Mutants` instead of handing this task to the `Mutators`.\r\n\r\nMutators can return a **childnode** of the `Node` they received. This is already done in the `RemoveConditionalsMutator`.\r\n\r\nI have also added a Mutator(see: *src/mutators/BlockStatementMutator.ts*) from grunt-mutation-testing which removes the entire content of a block-statement. This includes function definitions.","created_at":"2016-05-08T10:05:24Z","updated_at":"2016-05-09T14:57:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7ebc74fa198c5ebebe31fa3b70c1946507aa3dcb","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/stryker-mutator/stryker/pulls/99/commits","review_comments_url":"https://api.github.com/repos/stryker-mutator/stryker/pulls/99/comments","review_comment_url":"https://api.github.com/repos/stryker-mutator/stryker/pulls/comments{/number}","comments_url":"https://api.github.com/repos/stryker-mutator/stryker/issues/99/comments","statuses_url":"https://api.github.com/repos/stryker-mutator/stryker/statuses/233124f4fef249068e5a0dd34aefdd282f101768","head":{"label":"stryker-mutator:new-mutator","ref":"new-mutator","sha":"233124f4fef249068e5a0dd34aefdd282f101768","user":{"login":"stryker-mutator","id":18347996,"avatar_url":"https://avatars.githubusercontent.com/u/18347996?v=3","gravatar_id":"","url":"https://api.github.com/users/stryker-mutator","html_url":"https://github.com/stryker-mutator","followers_url":"https://api.github.com/users/stryker-mutator/followers","following_url":"https://api.github.com/users/stryker-mutator/following{/other_user}","gists_url":"https://api.github.com/users/stryker-mutator/gists{/gist_id}","starred_url":"https://api.github.com/users/stryker-mutator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stryker-mutator/subscriptions","organizations_url":"https://api.github.com/users/stryker-mutator/orgs","repos_url":"https://api.github.com/users/stryker-mutator/repos","events_url":"https://api.github.com/users/stryker-mutator/events{/privacy}","received_events_url":"https://api.github.com/users/stryker-mutator/received_events","type":"Organization","site_admin":false},"repo":{"id":51588320,"name":"stryker","full_name":"stryker-mutator/stryker","owner":{"login":"stryker-mutator","id":18347996,"avatar_url":"https://avatars.githubusercontent.com/u/18347996?v=3","gravatar_id":"","url":"https://api.github.com/users/stryker-mutator","html_url":"https://github.com/stryker-mutator","followers_url":"https://api.github.com/users/stryker-mutator/followers","following_url":"https://api.github.com/users/stryker-mutator/following{/other_user}","gists_url":"https://api.github.com/users/stryker-mutator/gists{/gist_id}","starred_url":"https://api.github.com/users/stryker-mutator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stryker-mutator/subscriptions","organizations_url":"https://api.github.com/users/stryker-mutator/orgs","repos_url":"https://api.github.com/users/stryker-mutator/repos","events_url":"https://api.github.com/users/stryker-mutator/events{/privacy}","received_events_url":"https://api.github.com/users/stryker-mutator/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/stryker-mutator/stryker","description":"The extendable JavaScript mutation testing framework","fork":false,"url":"https://api.github.com/repos/stryker-mutator/stryker","forks_url":"https://api.github.com/repos/stryker-mutator/stryker/forks","keys_url":"https://api.github.com/repos/stryker-mutator/stryker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stryker-mutator/stryker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stryker-mutator/stryker/teams","hooks_url":"https://api.github.com/repos/stryker-mutator/stryker/hooks","issue_events_url":"https://api.github.com/repos/stryker-mutator/stryker/issues/events{/number}","events_url":"https://api.github.com/repos/stryker-mutator/stryker/events","assignees_url":"https://api.github.com/repos/stryker-mutator/stryker/assignees{/user}","branches_url":"https://api.github.com/repos/stryker-mutator/stryker/branches{/branch}","tags_url":"https://api.github.com/repos/stryker-mutator/stryker/tags","blobs_url":"https://api.github.com/repos/stryker-mutator/stryker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stryker-mutator/stryker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stryker-mutator/stryker/git/refs{/sha}","trees_url":"https://api.github.com/repos/stryker-mutator/stryker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stryker-mutator/stryker/statuses/{sha}","languages_url":"https://api.github.com/repos/stryker-mutator/stryker/languages","stargazers_url":"https://api.github.com/repos/stryker-mutator/stryker/stargazers","contributors_url":"https://api.github.com/repos/stryker-mutator/stryker/contributors","subscribers_url":"https://api.github.com/repos/stryker-mutator/stryker/subscribers","subscription_url":"https://api.github.com/repos/stryker-mutator/stryker/subscription","commits_url":"https://api.github.com/repos/stryker-mutator/stryker/commits{/sha}","git_commits_url":"https://api.github.com/repos/stryker-mutator/stryker/git/commits{/sha}","comments_url":"https://api.github.com/repos/stryker-mutator/stryker/comments{/number}","issue_comment_url":"https://api.github.com/repos/stryker-mutator/stryker/issues/comments{/number}","contents_url":"https://api.github.com/repos/stryker-mutator/stryker/contents/{+path}","compare_url":"https://api.github.com/repos/stryker-mutator/stryker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stryker-mutator/stryker/merges","archive_url":"https://api.github.com/repos/stryker-mutator/stryker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stryker-mutator/stryker/downloads","issues_url":"https://api.github.com/repos/stryker-mutator/stryker/issues{/number}","pulls_url":"https://api.github.com/repos/stryker-mutator/stryker/pulls{/number}","milestones_url":"https://api.github.com/repos/stryker-mutator/stryker/milestones{/number}","notifications_url":"https://api.github.com/repos/stryker-mutator/stryker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stryker-mutator/stryker/labels{/name}","releases_url":"https://api.github.com/repos/stryker-mutator/stryker/releases{/id}","deployments_url":"https://api.github.com/repos/stryker-mutator/stryker/deployments","created_at":"2016-02-12T13:14:28Z","updated_at":"2016-04-18T05:24:57Z","pushed_at":"2016-05-09T14:02:38Z","git_url":"git://github.com/stryker-mutator/stryker.git","ssh_url":"git@github.com:stryker-mutator/stryker.git","clone_url":"https://github.com/stryker-mutator/stryker.git","svn_url":"https://github.com/stryker-mutator/stryker","homepage":"","size":501,"stargazers_count":6,"watchers_count":6,"language":"TypeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":26,"forks":2,"open_issues":26,"watchers":6,"default_branch":"master"}},"base":{"label":"stryker-mutator:master","ref":"master","sha":"831bc511e8d220be8339a7638980a776a8d7e7f3","user":{"login":"stryker-mutator","id":18347996,"avatar_url":"https://avatars.githubusercontent.com/u/18347996?v=3","gravatar_id":"","url":"https://api.github.com/users/stryker-mutator","html_url":"https://github.com/stryker-mutator","followers_url":"https://api.github.com/users/stryker-mutator/followers","following_url":"https://api.github.com/users/stryker-mutator/following{/other_user}","gists_url":"https://api.github.com/users/stryker-mutator/gists{/gist_id}","starred_url":"https://api.github.com/users/stryker-mutator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stryker-mutator/subscriptions","organizations_url":"https://api.github.com/users/stryker-mutator/orgs","repos_url":"https://api.github.com/users/stryker-mutator/repos","events_url":"https://api.github.com/users/stryker-mutator/events{/privacy}","received_events_url":"https://api.github.com/users/stryker-mutator/received_events","type":"Organization","site_admin":false},"repo":{"id":51588320,"name":"stryker","full_name":"stryker-mutator/stryker","owner":{"login":"stryker-mutator","id":18347996,"avatar_url":"https://avatars.githubusercontent.com/u/18347996?v=3","gravatar_id":"","url":"https://api.github.com/users/stryker-mutator","html_url":"https://github.com/stryker-mutator","followers_url":"https://api.github.com/users/stryker-mutator/followers","following_url":"https://api.github.com/users/stryker-mutator/following{/other_user}","gists_url":"https://api.github.com/users/stryker-mutator/gists{/gist_id}","starred_url":"https://api.github.com/users/stryker-mutator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stryker-mutator/subscriptions","organizations_url":"https://api.github.com/users/stryker-mutator/orgs","repos_url":"https://api.github.com/users/stryker-mutator/repos","events_url":"https://api.github.com/users/stryker-mutator/events{/privacy}","received_events_url":"https://api.github.com/users/stryker-mutator/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/stryker-mutator/stryker","description":"The extendable JavaScript mutation testing framework","fork":false,"url":"https://api.github.com/repos/stryker-mutator/stryker","forks_url":"https://api.github.com/repos/stryker-mutator/stryker/forks","keys_url":"https://api.github.com/repos/stryker-mutator/stryker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stryker-mutator/stryker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stryker-mutator/stryker/teams","hooks_url":"https://api.github.com/repos/stryker-mutator/stryker/hooks","issue_events_url":"https://api.github.com/repos/stryker-mutator/stryker/issues/events{/number}","events_url":"https://api.github.com/repos/stryker-mutator/stryker/events","assignees_url":"https://api.github.com/repos/stryker-mutator/stryker/assignees{/user}","branches_url":"https://api.github.com/repos/stryker-mutator/stryker/branches{/branch}","tags_url":"https://api.github.com/repos/stryker-mutator/stryker/tags","blobs_url":"https://api.github.com/repos/stryker-mutator/stryker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stryker-mutator/stryker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stryker-mutator/stryker/git/refs{/sha}","trees_url":"https://api.github.com/repos/stryker-mutator/stryker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stryker-mutator/stryker/statuses/{sha}","languages_url":"https://api.github.com/repos/stryker-mutator/stryker/languages","stargazers_url":"https://api.github.com/repos/stryker-mutator/stryker/stargazers","contributors_url":"https://api.github.com/repos/stryker-mutator/stryker/contributors","subscribers_url":"https://api.github.com/repos/stryker-mutator/stryker/subscribers","subscription_url":"https://api.github.com/repos/stryker-mutator/stryker/subscription","commits_url":"https://api.github.com/repos/stryker-mutator/stryker/commits{/sha}","git_commits_url":"https://api.github.com/repos/stryker-mutator/stryker/git/commits{/sha}","comments_url":"https://api.github.com/repos/stryker-mutator/stryker/comments{/number}","issue_comment_url":"https://api.github.com/repos/stryker-mutator/stryker/issues/comments{/number}","contents_url":"https://api.github.com/repos/stryker-mutator/stryker/contents/{+path}","compare_url":"https://api.github.com/repos/stryker-mutator/stryker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stryker-mutator/stryker/merges","archive_url":"https://api.github.com/repos/stryker-mutator/stryker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stryker-mutator/stryker/downloads","issues_url":"https://api.github.com/repos/stryker-mutator/stryker/issues{/number}","pulls_url":"https://api.github.com/repos/stryker-mutator/stryker/pulls{/number}","milestones_url":"https://api.github.com/repos/stryker-mutator/stryker/milestones{/number}","notifications_url":"https://api.github.com/repos/stryker-mutator/stryker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stryker-mutator/stryker/labels{/name}","releases_url":"https://api.github.com/repos/stryker-mutator/stryker/releases{/id}","deployments_url":"https://api.github.com/repos/stryker-mutator/stryker/deployments","created_at":"2016-02-12T13:14:28Z","updated_at":"2016-04-18T05:24:57Z","pushed_at":"2016-05-09T14:02:38Z","git_url":"git://github.com/stryker-mutator/stryker.git","ssh_url":"git@github.com:stryker-mutator/stryker.git","clone_url":"https://github.com/stryker-mutator/stryker.git","svn_url":"https://github.com/stryker-mutator/stryker","homepage":"","size":501,"stargazers_count":6,"watchers_count":6,"language":"TypeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":26,"forks":2,"open_issues":26,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/stryker-mutator/stryker/pulls/99"},"html":{"href":"https://github.com/stryker-mutator/stryker/pull/99"},"issue":{"href":"https://api.github.com/repos/stryker-mutator/stryker/issues/99"},"comments":{"href":"https://api.github.com/repos/stryker-mutator/stryker/issues/99/comments"},"review_comments":{"href":"https://api.github.com/repos/stryker-mutator/stryker/pulls/99/comments"},"review_comment":{"href":"https://api.github.com/repos/stryker-mutator/stryker/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/stryker-mutator/stryker/pulls/99/commits"},"statuses":{"href":"https://api.github.com/repos/stryker-mutator/stryker/statuses/233124f4fef249068e5a0dd34aefdd282f101768"}}}}