{"action":"opened","issue":{"url":"https://api.github.com/repos/OpenCover/opencover/issues/292","labels_url":"https://api.github.com/repos/OpenCover/opencover/issues/292/labels{/name}","comments_url":"https://api.github.com/repos/OpenCover/opencover/issues/292/comments","events_url":"https://api.github.com/repos/OpenCover/opencover/issues/292/events","html_url":"https://github.com/OpenCover/opencover/issues/292","id":68952395,"number":292,"title":"3 of the 4 branches are covered","user":{"login":"Jericho","id":112710,"avatar_url":"https://avatars.githubusercontent.com/u/112710?v=3","gravatar_id":"","url":"https://api.github.com/users/Jericho","html_url":"https://github.com/Jericho","followers_url":"https://api.github.com/users/Jericho/followers","following_url":"https://api.github.com/users/Jericho/following{/other_user}","gists_url":"https://api.github.com/users/Jericho/gists{/gist_id}","starred_url":"https://api.github.com/users/Jericho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jericho/subscriptions","organizations_url":"https://api.github.com/users/Jericho/orgs","repos_url":"https://api.github.com/users/Jericho/repos","events_url":"https://api.github.com/users/Jericho/events{/privacy}","received_events_url":"https://api.github.com/users/Jericho/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-16T15:46:34Z","updated_at":"2015-04-16T15:46:34Z","closed_at":null,"body":"I have the following code:\r\n```\r\nelse if (statusCode >= 500 && statusCode < 600)\r\n{\r\n\tvar errorMessage = string.Format(\"Received a server ({0}) error from {1}\", (int)response.StatusCode, request.Resource);\r\n\tthrow new HttpException(errorMessage, response.StatusCode, responseUri);\r\n}\r\n```\r\nLooking at the compiled DLL with ILSpy, I see \r\n```\r\nelse\r\n{\r\n\tstring errorMessage;\r\n\tif (statusCode >= 500 && statusCode < 600)\r\n\t{\r\n\t\terrorMessage = string.Format(\"Received a server ({0}) error from {1}\", (int)response.StatusCode, request.Resource);\r\n\t\tthrow new HttpException(errorMessage, response.StatusCode, responseUri);\r\n\t}\r\n}\r\n```\r\nWhen I run OpenCover (4.5.3723) + ReportGenerator (2.1.4.0) I get an indicator next to the \"else if\" that says \"3 or 4 branches are covered\". I have a unit test with a statusCode less than 500, another one where the statusCode is between 500 and 599 and finally another unit test with a statusCode larger than 599 but I fail to see the 4th situation.\r\n\r\nAny ideas?\r\n"}}