{"action":"closed","issue":{"url":"https://api.github.com/repos/lequal/i-CodeCNES/issues/138","repository_url":"https://api.github.com/repos/lequal/i-CodeCNES","labels_url":"https://api.github.com/repos/lequal/i-CodeCNES/issues/138/labels{/name}","comments_url":"https://api.github.com/repos/lequal/i-CodeCNES/issues/138/comments","events_url":"https://api.github.com/repos/lequal/i-CodeCNES/issues/138/events","html_url":"https://github.com/lequal/i-CodeCNES/issues/138","id":343389976,"node_id":"MDU6SXNzdWUzNDMzODk5NzY=","number":138,"title":"FUNCSTART and FUNCEND are missing case management ","user":{"login":"brigittehuynh","id":31657283,"node_id":"MDQ6VXNlcjMxNjU3Mjgz","avatar_url":"https://avatars1.githubusercontent.com/u/31657283?v=4","gravatar_id":"","url":"https://api.github.com/users/brigittehuynh","html_url":"https://github.com/brigittehuynh","followers_url":"https://api.github.com/users/brigittehuynh/followers","following_url":"https://api.github.com/users/brigittehuynh/following{/other_user}","gists_url":"https://api.github.com/users/brigittehuynh/gists{/gist_id}","starred_url":"https://api.github.com/users/brigittehuynh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brigittehuynh/subscriptions","organizations_url":"https://api.github.com/users/brigittehuynh/orgs","repos_url":"https://api.github.com/users/brigittehuynh/repos","events_url":"https://api.github.com/users/brigittehuynh/events{/privacy}","received_events_url":"https://api.github.com/users/brigittehuynh/received_events","type":"User","site_admin":false},"labels":[{"id":278976101,"node_id":"MDU6TGFiZWwyNzg5NzYxMDE=","url":"https://api.github.com/repos/lequal/i-CodeCNES/labels/bug","name":"bug","color":"fc2929","default":true},{"id":641464431,"node_id":"MDU6TGFiZWw2NDE0NjQ0MzE=","url":"https://api.github.com/repos/lequal/i-CodeCNES/labels/shell","name":"shell","color":"ffe9a4","default":false}],"state":"closed","locked":false,"assignee":{"login":"brigittehuynh","id":31657283,"node_id":"MDQ6VXNlcjMxNjU3Mjgz","avatar_url":"https://avatars1.githubusercontent.com/u/31657283?v=4","gravatar_id":"","url":"https://api.github.com/users/brigittehuynh","html_url":"https://github.com/brigittehuynh","followers_url":"https://api.github.com/users/brigittehuynh/followers","following_url":"https://api.github.com/users/brigittehuynh/following{/other_user}","gists_url":"https://api.github.com/users/brigittehuynh/gists{/gist_id}","starred_url":"https://api.github.com/users/brigittehuynh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brigittehuynh/subscriptions","organizations_url":"https://api.github.com/users/brigittehuynh/orgs","repos_url":"https://api.github.com/users/brigittehuynh/repos","events_url":"https://api.github.com/users/brigittehuynh/events{/privacy}","received_events_url":"https://api.github.com/users/brigittehuynh/received_events","type":"User","site_admin":false},"assignees":[{"login":"brigittehuynh","id":31657283,"node_id":"MDQ6VXNlcjMxNjU3Mjgz","avatar_url":"https://avatars1.githubusercontent.com/u/31657283?v=4","gravatar_id":"","url":"https://api.github.com/users/brigittehuynh","html_url":"https://github.com/brigittehuynh","followers_url":"https://api.github.com/users/brigittehuynh/followers","following_url":"https://api.github.com/users/brigittehuynh/following{/other_user}","gists_url":"https://api.github.com/users/brigittehuynh/gists{/gist_id}","starred_url":"https://api.github.com/users/brigittehuynh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brigittehuynh/subscriptions","organizations_url":"https://api.github.com/users/brigittehuynh/orgs","repos_url":"https://api.github.com/users/brigittehuynh/repos","events_url":"https://api.github.com/users/brigittehuynh/events{/privacy}","received_events_url":"https://api.github.com/users/brigittehuynh/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-07-22T09:00:52Z","updated_at":"2018-09-14T12:05:03Z","closed_at":"2018-09-14T12:05:03Z","author_association":"COLLABORATOR","body":"### Expected behavior\r\ncase ... esac can be used as a function body (cf. compound commands, conditional constructs in the Bash manual), so should be taken into account in \r\nFUNCSTART : \"case\"\r\nand\r\nFUNCEND : \"esac\" \r\n\r\n### Actual behavior\r\nThe case construct is not taken into account, due to copy of FUNCSTART and FUNCEND from the SH.MET.ComplexitySimplified metric, where case and esac required special treatment\r\n\r\n### Steps to reproduce behavior\r\nIn rules using FUNCSTART and FUNCEND, case and ESAC are missing, apart from COM.NAME.Homonymy, where localization with FUNCSTART and FUNCEND originated\r\n\r\n### Detection version\r\n3.1.0-alpha.3"}}
{"actor":{"display_login":"WaldoFR"}}