{"action":"created","issue":{"url":"https://api.github.com/repos/jenkinsci/ccm-plugin/issues/3","labels_url":"https://api.github.com/repos/jenkinsci/ccm-plugin/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/jenkinsci/ccm-plugin/issues/3/comments","events_url":"https://api.github.com/repos/jenkinsci/ccm-plugin/issues/3/events","html_url":"https://github.com/jenkinsci/ccm-plugin/pull/3","id":74079185,"number":3,"title":"Add support for \"graded\" complexity reports","user":{"login":"tiyberius","id":1237044,"avatar_url":"https://avatars.githubusercontent.com/u/1237044?v=3","gravatar_id":"","url":"https://api.github.com/users/tiyberius","html_url":"https://github.com/tiyberius","followers_url":"https://api.github.com/users/tiyberius/followers","following_url":"https://api.github.com/users/tiyberius/following{/other_user}","gists_url":"https://api.github.com/users/tiyberius/gists{/gist_id}","starred_url":"https://api.github.com/users/tiyberius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tiyberius/subscriptions","organizations_url":"https://api.github.com/users/tiyberius/orgs","repos_url":"https://api.github.com/users/tiyberius/repos","events_url":"https://api.github.com/users/tiyberius/events{/privacy}","received_events_url":"https://api.github.com/users/tiyberius/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-07T18:18:59Z","updated_at":"2015-05-07T19:32:45Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/jenkinsci/ccm-plugin/pulls/3","html_url":"https://github.com/jenkinsci/ccm-plugin/pull/3","diff_url":"https://github.com/jenkinsci/ccm-plugin/pull/3.diff","patch_url":"https://github.com/jenkinsci/ccm-plugin/pull/3.patch"},"body":"Some tools such as [Radon](https://radon.readthedocs.org/en/latest/) output complexity reports with \"graded\" ratings A through F. It would be cool if the CCM plugin supported these tools out of the box. Even better, not captured in this commit because I have limited experience writing Jenkins plugins, would be to configure the CCM plugin to determine what complexity ranges map to \"high, normal and low\" priorities."},"comment":{"url":"https://api.github.com/repos/jenkinsci/ccm-plugin/issues/comments/99990139","html_url":"https://github.com/jenkinsci/ccm-plugin/pull/3#issuecomment-99990139","issue_url":"https://api.github.com/repos/jenkinsci/ccm-plugin/issues/3","id":99990139,"user":{"login":"tiyberius","id":1237044,"avatar_url":"https://avatars.githubusercontent.com/u/1237044?v=3","gravatar_id":"","url":"https://api.github.com/users/tiyberius","html_url":"https://github.com/tiyberius","followers_url":"https://api.github.com/users/tiyberius/followers","following_url":"https://api.github.com/users/tiyberius/following{/other_user}","gists_url":"https://api.github.com/users/tiyberius/gists{/gist_id}","starred_url":"https://api.github.com/users/tiyberius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tiyberius/subscriptions","organizations_url":"https://api.github.com/users/tiyberius/orgs","repos_url":"https://api.github.com/users/tiyberius/repos","events_url":"https://api.github.com/users/tiyberius/events{/privacy}","received_events_url":"https://api.github.com/users/tiyberius/received_events","type":"User","site_admin":false},"created_at":"2015-05-07T19:32:45Z","updated_at":"2015-05-07T19:32:45Z","body":"The more I think about it, the CCM plugin should ship with some sensible defaults, but allow the user to determine which complexities map to what \"priority\". On the subject of priorities, not sure if this is the CCM Plugin or the Static Code Analysis Plugin, but when displaying code complexities, wouldn't it make sense to swap the term \"priority\" for \"complexity\"? So you'd have \"high, normal, and low\" complexities instead of priorities? Because as far as I'm concerned any files that are of \"low complexity\" are really of \"NO priority\", not \"low priority\". Anyway, just wondering if anyone shares those sentiments."}}