{ "id": "79388", "key": "TIMOB-5037", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "12075", "description": "", "name": "Sprint 2011-35", "archived": true, "released": true, "releaseDate": "2011-09-05" }, { "id": "11331", "description": "", "name": "Release 1.8.0", "archived": true, "released": true, "releaseDate": "2011-10-31" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-09-26T15:41:45.000+0000", "created": "2011-08-17T14:08:36.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "coverage" ], "versions": [ { "id": "11331", "description": "", "name": "Release 1.8.0", "archived": true, "released": true, "releaseDate": "2011-10-31" } ], "issuelinks": [], "assignee": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-03T22:48:19.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10204", "name": "Drillbit" } ], "description": "Right now the coverage report only generates coverage for Proxy/Module properties, but does not automatically generate coverage for accessors. Initially the correct behavior would be to base get/set behavior based on the \"permission\" flag (read-only: get, write-only: set, read-write: both). We'll also need a new TDoc property for specifying certain properties that don't have accessors (such as \"messageid\")", "attachment": [], "flagged": false, "summary": "Drillbit: Generate getter / setter accessors based on the \"permission\" property for TDoc to improve coverage reporting", "creator": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "164737", "author": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "body": "To test this, simply generate and open the coverage report:\r\n{code}\r\n$ ./drillbit/coverage/coverage.py\r\n$ open dist/coverage/index.html\r\n{code}\r\n\r\nDouble check that properties defined in TDoc have automatically generated coverage for getter/setter methods under the *API Docs (TDoc)* column.\r\n\r\nGenerally keep an eye out for:\r\n\r\n* Properties with {{permission: read-only}} should only show coverage for a getter method\r\n* Properties with {{permission: write-only}} should only show coverage for a setter method\r\n* Properties with {{accessors: false}} show neither\r\n* Properties with {{availability: constructor}} show neither\r\n* Constants (i.e. CONSTANT_NAME) show neither\r\n* All other properties by default show both getters and setters", "updateAuthor": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-09-01T01:43:28.000+0000", "updated": "2011-09-01T01:44:04.000+0000" }, { "id": "164829", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "**NOTE** bullet four above should be {{availability: creation}}", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-09-01T13:55:43.000+0000", "updated": "2011-09-01T13:55:58.000+0000" }, { "id": "167032", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "re-reviewed. Merged.", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-09-26T15:41:45.000+0000", "updated": "2011-09-26T15:41:45.000+0000" }, { "id": "409013", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-03T22:48:19.000+0000", "updated": "2017-03-03T22:48:19.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }