{"action":"created","issue":{"url":"https://api.github.com/repos/terryyin/lizard/issues/107","repository_url":"https://api.github.com/repos/terryyin/lizard","labels_url":"https://api.github.com/repos/terryyin/lizard/issues/107/labels{/name}","comments_url":"https://api.github.com/repos/terryyin/lizard/issues/107/comments","events_url":"https://api.github.com/repos/terryyin/lizard/issues/107/events","html_url":"https://github.com/terryyin/lizard/issues/107","id":139546661,"number":107,"title":"Wrongly detected function boundary for Python function if comment in function contains an uneven amount of apostrophe characters","user":{"login":"tobias-klein","id":17739895,"avatar_url":"https://avatars.githubusercontent.com/u/17739895?v=3","gravatar_id":"","url":"https://api.github.com/users/tobias-klein","html_url":"https://github.com/tobias-klein","followers_url":"https://api.github.com/users/tobias-klein/followers","following_url":"https://api.github.com/users/tobias-klein/following{/other_user}","gists_url":"https://api.github.com/users/tobias-klein/gists{/gist_id}","starred_url":"https://api.github.com/users/tobias-klein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobias-klein/subscriptions","organizations_url":"https://api.github.com/users/tobias-klein/orgs","repos_url":"https://api.github.com/users/tobias-klein/repos","events_url":"https://api.github.com/users/tobias-klein/events{/privacy}","received_events_url":"https://api.github.com/users/tobias-klein/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-09T11:10:01Z","updated_at":"2016-03-14T09:44:46Z","closed_at":"2016-03-13T15:33:24Z","body":"Given this code:\r\n\r\n```\r\ndef foo():\r\n    # What we're doing here is some stuff that causes lizard to detect function boundaries wrongly. Apparently we have to use an unequal amount of apostrophes like ''''\r\n    return False\r\n\r\ndef bar():\r\n    if foo == 'bar':\r\n        return True\r\n```\r\n\r\nlizard does not detect the second function and calculates the following wrong results:\r\n\r\n```\r\n================================================\r\n  NLOC    CCN   token  PARAM  length  location  \r\n------------------------------------------------\r\n       7      1     10      0       6 foo@1-7@test3.py\r\n--------------------------------------------------------------\r\n1 file analyzed.\r\n```\r\n\r\nLizard seems to have problems with the apostrophe characters in the comment in the first function."},"comment":{"url":"https://api.github.com/repos/terryyin/lizard/issues/comments/196229335","html_url":"https://github.com/terryyin/lizard/issues/107#issuecomment-196229335","issue_url":"https://api.github.com/repos/terryyin/lizard/issues/107","id":196229335,"user":{"login":"tobias-klein","id":17739895,"avatar_url":"https://avatars.githubusercontent.com/u/17739895?v=3","gravatar_id":"","url":"https://api.github.com/users/tobias-klein","html_url":"https://github.com/tobias-klein","followers_url":"https://api.github.com/users/tobias-klein/followers","following_url":"https://api.github.com/users/tobias-klein/following{/other_user}","gists_url":"https://api.github.com/users/tobias-klein/gists{/gist_id}","starred_url":"https://api.github.com/users/tobias-klein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobias-klein/subscriptions","organizations_url":"https://api.github.com/users/tobias-klein/orgs","repos_url":"https://api.github.com/users/tobias-klein/repos","events_url":"https://api.github.com/users/tobias-klein/events{/privacy}","received_events_url":"https://api.github.com/users/tobias-klein/received_events","type":"User","site_admin":false},"created_at":"2016-03-14T09:44:46Z","updated_at":"2016-03-14T09:44:46Z","body":"Thanks for the quick feedback! I appreciate it! :+1: "}}