{"action":"created","comment":{"url":"https://api.github.com/repos/zeynelkandil/RockPaperScissors/pulls/comments/166504596","pull_request_review_id":94576237,"id":166504596,"diff_hunk":"@@ -40,6 +40,35 @@ public GameResult Play()\n \n         private bool Attack(Player from, Player to)\n         {\n+            bool sonarTest = false;\n+            if (sonarTest)\n+                return false;\n+\n+            bool ssss = false;\n+            if (ssss)\n+                return false;\n+            else if (ssss == true)\n+                return true;\n+\n+            bool sonarTest3 = false;\n+            if (sonarTest3)\n+                return false;\n+            else if (sonarTest3 == true)\n+                return true;\n+\n+            bool sonarTest3s = false;\n+            if (sonarTest3s)\n+                return false;\n+            else if (sonarTest3s == true)\n+                return true;\n+\n+            bool sonarTest3sd = false;\n+            if (sonarTest3sd)","path":"RockPaperScissors/Entities/Game.cs","position":27,"original_position":27,"commit_id":"bdb903abc0bcf9f5f52c63af21ab5f9166e8e0a2","original_commit_id":"bdb903abc0bcf9f5f52c63af21ab5f9166e8e0a2","user":{"login":"berkaysakarg","id":30413093,"avatar_url":"https://avatars2.githubusercontent.com/u/30413093?v=4","gravatar_id":"","url":"https://api.github.com/users/berkaysakarg","html_url":"https://github.com/berkaysakarg","followers_url":"https://api.github.com/users/berkaysakarg/followers","following_url":"https://api.github.com/users/berkaysakarg/following{/other_user}","gists_url":"https://api.github.com/users/berkaysakarg/gists{/gist_id}","starred_url":"https://api.github.com/users/berkaysakarg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/berkaysakarg/subscriptions","organizations_url":"https://api.github.com/users/berkaysakarg/orgs","repos_url":"https://api.github.com/users/berkaysakarg/repos","events_url":"https://api.github.com/users/berkaysakarg/events{/privacy}","received_events_url":"https://api.github.com/users/berkaysakarg/received_events","type":"User","site_admin":false},"body":"![MAJOR](https://sonarsource.github.io/sonar-github/severity-major.png 'Severity: MAJOR') Change this condition so that it does not always evaluate to 'false'; some subsequent code is never executed. [![rule](https://sonarsource.github.io/sonar-github/rule.png)](http://localhost:9000/coding_rules#rule_key=csharpsquid%3AS2583)\n","created_at":"2018-02-07T02:34:38Z","updated_at":"2018-02-07T02:34:38Z","html_url":"https://github.com/zeynelkandil/RockPaperScissors/pull/7#discussion_r166504596","pull_request_url":"https://api.github.com/repos/zeynelkandil/RockPaperScissors/pulls/7","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/zeynelkandil/RockPaperScissors/pulls/comments/166504596"},"html":{"href":"https://github.com/zeynelkandil/RockPaperScissors/pull/7#discussion_r166504596"},"pull_request":{"href":"https://api.github.com/repos/zeynelkandil/RockPaperScissors/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/zeynelkandil/RockPaperScissors/pulls/7","id":167006713,"html_url":"https://github.com/zeynelkandil/RockPaperScissors/pull/7","diff_url":"https://github.com/zeynelkandil/RockPaperScissors/pull/7.diff","patch_url":"https://github.com/zeynelkandil/RockPaperScissors/pull/7.patch","issue_url":"https://api.github.com/repos/zeynelkandil/RockPaperScissors/issues/7","number":7,"state":"open","locked":false,"title":"sonar test issue","user":{"login":"berkaysakarg","id":30413093,"avatar_url":"https://avatars2.githubusercontent.com/u/30413093?v=4","gravatar_id":"","url":"https://api.github.com/users/berkaysakarg","html_url":"https://github.com/berkaysakarg","followers_url":"https://api.github.com/users/berkaysakarg/followers","following_url":"https://api.github.com/users/berkaysakarg/following{/other_user}","gists_url":"https://api.github.com/users/berkaysakarg/gists{/gist_id}","starred_url":"https://api.github.com/users/berkaysakarg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/berkaysakarg/subscriptions","organizations_url":"https://api.github.com/users/berkaysakarg/orgs","repos_url":"https://api.github.com/users/berkaysakarg/repos","events_url":"https://api.github.com/users/berkaysakarg/events{/privacy}","received_events_url":"https://api.github.com/users/berkaysakarg/received_events","type":"User","site_admin":false},"body":"sonar test","created_at":"2018-02-04T11:56:38Z","updated_at":"2018-02-07T02:34:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"88adcbbc797b834d229708dd9d180edea8d297ea","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"milestone":null,"commits_url":"https://api.github.com/repos/zeynelkandil/RockPaperScissors/pulls/7/commits","review_comments_url":"https://api.github.com/repos/zeynelkandil/RockPaperScissors/pulls/7/comments","review_comment_url":"https://api.github.com/repos/zeynelkandil/RockPaperScissors/pulls/comments{/number}","comments_url":"https://api.github.com/repos/zeynelkandil/RockPaperScissors/issues/7/comments","statuses_url":"https://api.github.com/repos/zeynelkandil/RockPaperScissors/statuses/bdb903abc0bcf9f5f52c63af21ab5f9166e8e0a2","head":{"label":"zeynelkandil:SonarTest","ref":"SonarTest","sha":"bdb903abc0bcf9f5f52c63af21ab5f9166e8e0a2","user":{"login":"zeynelkandil","id":18141741,"avatar_url":"https://avatars2.githubusercontent.com/u/18141741?v=4","gravatar_id":"","url":"https://api.github.com/users/zeynelkandil","html_url":"https://github.com/zeynelkandil","followers_url":"https://api.github.com/users/zeynelkandil/followers","following_url":"https://api.github.com/users/zeynelkandil/following{/other_user}","gists_url":"https://api.github.com/users/zeynelkandil/gists{/gist_id}","starred_url":"https://api.github.com/users/zeynelkandil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zeynelkandil/subscriptions","organizations_url":"https://api.github.com/users/zeynelkandil/orgs","repos_url":"https://api.github.com/users/zeynelkandil/repos","events_url":"https://api.github.com/users/zeynelkandil/events{/privacy}","received_events_url":"https://api.github.com/users/zeynelkandil/received_events","type":"User","site_admin":false},"repo":{"id":116999068,"name":"RockPaperScissors","full_name":"zeynelkandil/RockPaperScissors","owner":{"login":"zeynelkandil","id":18141741,"avatar_url":"https://avatars2.githubusercontent.com/u/18141741?v=4","gravatar_id":"","url":"https://api.github.com/users/zeynelkandil","html_url":"https://github.com/zeynelkandil","followers_url":"https://api.github.com/users/zeynelkandil/followers","following_url":"https://api.github.com/users/zeynelkandil/following{/other_user}","gists_url":"https://api.github.com/users/zeynelkandil/gists{/gist_id}","starred_url":"https://api.github.com/users/zeynelkandil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zeynelkandil/subscriptions","organizations_url":"https://api.github.com/users/zeynelkandil/orgs","repos_url":"https://api.github.com/users/zeynelkandil/repos","events_url":"https://api.github.com/users/zeynelkandil/events{/privacy}","received_events_url":"https://api.github.com/users/zeynelkandil/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zeynelkandil/RockPaperScissors","description":"Rock Paper Scissors Game","fork":false,"url":"https://api.github.com/repos/zeynelkandil/RockPaperScissors","forks_url":"https://api.github.com/repos/zeynelkandil/RockPaperScissors/forks","keys_url":"https://api.github.com/repos/zeynelkandil/RockPaperScissors/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zeynelkandil/RockPaperScissors/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zeynelkandil/RockPaperScissors/teams","hooks_url":"https://api.github.com/repos/zeynelkandil/RockPaperScissors/hooks","issue_events_url":"https://api.github.com/repos/zeynelkandil/RockPaperScissors/issues/events{/number}","events_url":"https://api.github.com/repos/zeynelkandil/RockPaperScissors/events","assignees_url":"https://api.github.com/repos/zeynelkandil/RockPaperScissors/assignees{/user}","branches_url":"https://api.github.com/repos/zeynelkandil/RockPaperScissors/branches{/branch}","tags_url":"https://api.github.com/repos/zeynelkandil/RockPaperScissors/tags","blobs_url":"https://api.github.com/repos/zeynelkandil/RockPaperScissors/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zeynelkandil/RockPaperScissors/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zeynelkandil/RockPaperScissors/git/refs{/sha}","trees_url":"https://api.github.com/repos/zeynelkandil/RockPaperScissors/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zeynelkandil/RockPaperScissors/statuses/{sha}","languages_url":"https://api.github.com/repos/zeynelkandil/RockPaperScissors/languages","stargazers_url":"https://api.github.com/repos/zeynelkandil/RockPaperScissors/stargazers","contributors_url":"https://api.github.com/repos/zeynelkandil/RockPaperScissors/contributors","subscribers_url":"https://api.github.com/repos/zeynelkandil/RockPaperScissors/subscribers","subscription_url":"https://api.github.com/repos/zeynelkandil/RockPaperScissors/subscription","commits_url":"https://api.github.com/repos/zeynelkandil/RockPaperScissors/commits{/sha}","git_commits_url":"https://api.github.com/repos/zeynelkandil/RockPaperScissors/git/commits{/sha}","comments_url":"https://api.github.com/repos/zeynelkandil/RockPaperScissors/comments{/number}","issue_comment_url":"https://api.github.com/repos/zeynelkandil/RockPaperScissors/issues/comments{/number}","contents_url":"https://api.github.com/repos/zeynelkandil/RockPaperScissors/contents/{+path}","compare_url":"https://api.github.com/repos/zeynelkandil/RockPaperScissors/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zeynelkandil/RockPaperScissors/merges","archive_url":"https://api.github.com/repos/zeynelkandil/RockPaperScissors/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zeynelkandil/RockPaperScissors/downloads","issues_url":"https://api.github.com/repos/zeynelkandil/RockPaperScissors/issues{/number}","pulls_url":"https://api.github.com/repos/zeynelkandil/RockPaperScissors/pulls{/number}","milestones_url":"https://api.github.com/repos/zeynelkandil/RockPaperScissors/milestones{/number}","notifications_url":"https://api.github.com/repos/zeynelkandil/RockPaperScissors/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zeynelkandil/RockPaperScissors/labels{/name}","releases_url":"https://api.github.com/repos/zeynelkandil/RockPaperScissors/releases{/id}","deployments_url":"https://api.github.com/repos/zeynelkandil/RockPaperScissors/deployments","created_at":"2018-01-10T19:06:31Z","updated_at":"2018-01-12T19:38:16Z","pushed_at":"2018-02-04T13:43:34Z","git_url":"git://github.com/zeynelkandil/RockPaperScissors.git","ssh_url":"git@github.com:zeynelkandil/RockPaperScissors.git","clone_url":"https://github.com/zeynelkandil/RockPaperScissors.git","svn_url":"https://github.com/zeynelkandil/RockPaperScissors","homepage":null,"size":25,"stargazers_count":1,"watchers_count":1,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":4,"license":null,"forks":1,"open_issues":4,"watchers":1,"default_branch":"master"}},"base":{"label":"zeynelkandil:master","ref":"master","sha":"3af3f4b1fd323e04ef1d3808788ea3142523a2b2","user":{"login":"zeynelkandil","id":18141741,"avatar_url":"https://avatars2.githubusercontent.com/u/18141741?v=4","gravatar_id":"","url":"https://api.github.com/users/zeynelkandil","html_url":"https://github.com/zeynelkandil","followers_url":"https://api.github.com/users/zeynelkandil/followers","following_url":"https://api.github.com/users/zeynelkandil/following{/other_user}","gists_url":"https://api.github.com/users/zeynelkandil/gists{/gist_id}","starred_url":"https://api.github.com/users/zeynelkandil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zeynelkandil/subscriptions","organizations_url":"https://api.github.com/users/zeynelkandil/orgs","repos_url":"https://api.github.com/users/zeynelkandil/repos","events_url":"https://api.github.com/users/zeynelkandil/events{/privacy}","received_events_url":"https://api.github.com/users/zeynelkandil/received_events","type":"User","site_admin":false},"repo":{"id":116999068,"name":"RockPaperScissors","full_name":"zeynelkandil/RockPaperScissors","owner":{"login":"zeynelkandil","id":18141741,"avatar_url":"https://avatars2.githubusercontent.com/u/18141741?v=4","gravatar_id":"","url":"https://api.github.com/users/zeynelkandil","html_url":"https://github.com/zeynelkandil","followers_url":"https://api.github.com/users/zeynelkandil/followers","following_url":"https://api.github.com/users/zeynelkandil/following{/other_user}","gists_url":"https://api.github.com/users/zeynelkandil/gists{/gist_id}","starred_url":"https://api.github.com/users/zeynelkandil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zeynelkandil/subscriptions","organizations_url":"https://api.github.com/users/zeynelkandil/orgs","repos_url":"https://api.github.com/users/zeynelkandil/repos","events_url":"https://api.github.com/users/zeynelkandil/events{/privacy}","received_events_url":"https://api.github.com/users/zeynelkandil/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zeynelkandil/RockPaperScissors","description":"Rock Paper Scissors Game","fork":false,"url":"https://api.github.com/repos/zeynelkandil/RockPaperScissors","forks_url":"https://api.github.com/repos/zeynelkandil/RockPaperScissors/forks","keys_url":"https://api.github.com/repos/zeynelkandil/RockPaperScissors/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zeynelkandil/RockPaperScissors/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zeynelkandil/RockPaperScissors/teams","hooks_url":"https://api.github.com/repos/zeynelkandil/RockPaperScissors/hooks","issue_events_url":"https://api.github.com/repos/zeynelkandil/RockPaperScissors/issues/events{/number}","events_url":"https://api.github.com/repos/zeynelkandil/RockPaperScissors/events","assignees_url":"https://api.github.com/repos/zeynelkandil/RockPaperScissors/assignees{/user}","branches_url":"https://api.github.com/repos/zeynelkandil/RockPaperScissors/branches{/branch}","tags_url":"https://api.github.com/repos/zeynelkandil/RockPaperScissors/tags","blobs_url":"https://api.github.com/repos/zeynelkandil/RockPaperScissors/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zeynelkandil/RockPaperScissors/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zeynelkandil/RockPaperScissors/git/refs{/sha}","trees_url":"https://api.github.com/repos/zeynelkandil/RockPaperScissors/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zeynelkandil/RockPaperScissors/statuses/{sha}","languages_url":"https://api.github.com/repos/zeynelkandil/RockPaperScissors/languages","stargazers_url":"https://api.github.com/repos/zeynelkandil/RockPaperScissors/stargazers","contributors_url":"https://api.github.com/repos/zeynelkandil/RockPaperScissors/contributors","subscribers_url":"https://api.github.com/repos/zeynelkandil/RockPaperScissors/subscribers","subscription_url":"https://api.github.com/repos/zeynelkandil/RockPaperScissors/subscription","commits_url":"https://api.github.com/repos/zeynelkandil/RockPaperScissors/commits{/sha}","git_commits_url":"https://api.github.com/repos/zeynelkandil/RockPaperScissors/git/commits{/sha}","comments_url":"https://api.github.com/repos/zeynelkandil/RockPaperScissors/comments{/number}","issue_comment_url":"https://api.github.com/repos/zeynelkandil/RockPaperScissors/issues/comments{/number}","contents_url":"https://api.github.com/repos/zeynelkandil/RockPaperScissors/contents/{+path}","compare_url":"https://api.github.com/repos/zeynelkandil/RockPaperScissors/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zeynelkandil/RockPaperScissors/merges","archive_url":"https://api.github.com/repos/zeynelkandil/RockPaperScissors/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zeynelkandil/RockPaperScissors/downloads","issues_url":"https://api.github.com/repos/zeynelkandil/RockPaperScissors/issues{/number}","pulls_url":"https://api.github.com/repos/zeynelkandil/RockPaperScissors/pulls{/number}","milestones_url":"https://api.github.com/repos/zeynelkandil/RockPaperScissors/milestones{/number}","notifications_url":"https://api.github.com/repos/zeynelkandil/RockPaperScissors/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zeynelkandil/RockPaperScissors/labels{/name}","releases_url":"https://api.github.com/repos/zeynelkandil/RockPaperScissors/releases{/id}","deployments_url":"https://api.github.com/repos/zeynelkandil/RockPaperScissors/deployments","created_at":"2018-01-10T19:06:31Z","updated_at":"2018-01-12T19:38:16Z","pushed_at":"2018-02-04T13:43:34Z","git_url":"git://github.com/zeynelkandil/RockPaperScissors.git","ssh_url":"git@github.com:zeynelkandil/RockPaperScissors.git","clone_url":"https://github.com/zeynelkandil/RockPaperScissors.git","svn_url":"https://github.com/zeynelkandil/RockPaperScissors","homepage":null,"size":25,"stargazers_count":1,"watchers_count":1,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":4,"license":null,"forks":1,"open_issues":4,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/zeynelkandil/RockPaperScissors/pulls/7"},"html":{"href":"https://github.com/zeynelkandil/RockPaperScissors/pull/7"},"issue":{"href":"https://api.github.com/repos/zeynelkandil/RockPaperScissors/issues/7"},"comments":{"href":"https://api.github.com/repos/zeynelkandil/RockPaperScissors/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/zeynelkandil/RockPaperScissors/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/zeynelkandil/RockPaperScissors/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/zeynelkandil/RockPaperScissors/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/zeynelkandil/RockPaperScissors/statuses/bdb903abc0bcf9f5f52c63af21ab5f9166e8e0a2"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"berkaysakarg"}}