{"action":"opened","issue":{"url":"https://api.github.com/repos/sebastianbergmann/php-code-coverage/issues/607","repository_url":"https://api.github.com/repos/sebastianbergmann/php-code-coverage","labels_url":"https://api.github.com/repos/sebastianbergmann/php-code-coverage/issues/607/labels{/name}","comments_url":"https://api.github.com/repos/sebastianbergmann/php-code-coverage/issues/607/comments","events_url":"https://api.github.com/repos/sebastianbergmann/php-code-coverage/issues/607/events","html_url":"https://github.com/sebastianbergmann/php-code-coverage/issues/607","id":313576391,"number":607,"title":"Cyclomatic Complexity and CRAP Index for units of code that use anonymous units of code","user":{"login":"sebastianbergmann","id":25218,"avatar_url":"https://avatars1.githubusercontent.com/u/25218?v=4","gravatar_id":"","url":"https://api.github.com/users/sebastianbergmann","html_url":"https://github.com/sebastianbergmann","followers_url":"https://api.github.com/users/sebastianbergmann/followers","following_url":"https://api.github.com/users/sebastianbergmann/following{/other_user}","gists_url":"https://api.github.com/users/sebastianbergmann/gists{/gist_id}","starred_url":"https://api.github.com/users/sebastianbergmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebastianbergmann/subscriptions","organizations_url":"https://api.github.com/users/sebastianbergmann/orgs","repos_url":"https://api.github.com/users/sebastianbergmann/repos","events_url":"https://api.github.com/users/sebastianbergmann/events{/privacy}","received_events_url":"https://api.github.com/users/sebastianbergmann/received_events","type":"User","site_admin":false},"labels":[{"id":19358,"url":"https://api.github.com/repos/sebastianbergmann/php-code-coverage/labels/bug","name":"bug","color":"ff0000","default":true}],"state":"open","locked":false,"assignee":{"login":"sebastianbergmann","id":25218,"avatar_url":"https://avatars1.githubusercontent.com/u/25218?v=4","gravatar_id":"","url":"https://api.github.com/users/sebastianbergmann","html_url":"https://github.com/sebastianbergmann","followers_url":"https://api.github.com/users/sebastianbergmann/followers","following_url":"https://api.github.com/users/sebastianbergmann/following{/other_user}","gists_url":"https://api.github.com/users/sebastianbergmann/gists{/gist_id}","starred_url":"https://api.github.com/users/sebastianbergmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebastianbergmann/subscriptions","organizations_url":"https://api.github.com/users/sebastianbergmann/orgs","repos_url":"https://api.github.com/users/sebastianbergmann/repos","events_url":"https://api.github.com/users/sebastianbergmann/events{/privacy}","received_events_url":"https://api.github.com/users/sebastianbergmann/received_events","type":"User","site_admin":false},"assignees":[{"login":"sebastianbergmann","id":25218,"avatar_url":"https://avatars1.githubusercontent.com/u/25218?v=4","gravatar_id":"","url":"https://api.github.com/users/sebastianbergmann","html_url":"https://github.com/sebastianbergmann","followers_url":"https://api.github.com/users/sebastianbergmann/followers","following_url":"https://api.github.com/users/sebastianbergmann/following{/other_user}","gists_url":"https://api.github.com/users/sebastianbergmann/gists{/gist_id}","starred_url":"https://api.github.com/users/sebastianbergmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebastianbergmann/subscriptions","organizations_url":"https://api.github.com/users/sebastianbergmann/orgs","repos_url":"https://api.github.com/users/sebastianbergmann/repos","events_url":"https://api.github.com/users/sebastianbergmann/events{/privacy}","received_events_url":"https://api.github.com/users/sebastianbergmann/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-04-12T04:53:04Z","updated_at":"2018-04-12T04:53:04Z","closed_at":null,"author_association":"OWNER","body":"After aa2996df63c565af270a696733be9985dde317b0 it became apparent that the Cyclomatic Complexity and CRAP Index of functions and methods that declare anonymous classes or anonymous functions are only calculated based on code that is not in an anonymous class or anonymous function.\r\n\r\nThe separate Cyclomatic Complexity Numbern (CCN) reported by php-token-stream for functions and methods as well as for anonymous units of code used by them need to be added when getting from php-token-stream into php-code-coverage."}}
{"actor":{"display_login":"sebastianbergmann"}}