{ "id": "119217", "key": "TIMOB-14989", "fields": { "issuetype": { "id": "7", "description": "gh.issue.story.desc", "name": "Story", "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": "15646", "description": "2013 Sprint 18", "name": "2013 Sprint 18", "archived": true, "released": true, "releaseDate": "2013-09-06" }, { "id": "15674", "description": "2013 Sprint 18 Tooling", "name": "2013 Sprint 18 Tooling", "archived": true, "released": true, "releaseDate": "2013-09-06" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-08-30T19:22:18.000+0000", "created": "2013-08-28T21:58:13.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "mlangston", "key": "mlangston", "displayName": "Matt Langston", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-02-04T01:09:21.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": "13102", "name": "Code Processor", "description": "Analyzes JavaScript source" } ], "description": "To aid in increasing the accuracy of the code processor, a multi-pass mechanism could be implemented that will attempt to determine all of the functions in the project and where they are called from. This information will be fed into the final pass, which is the current implementation of the code processor. This information should help greatly in solving the following:\r\n{code}\r\nfunction a() {\r\n\tconsole.log('hi');\r\n}\r\n\r\nfunction b() {\r\n\tconsole.log('world');\r\n}\r\n\r\nif (platform =='iphone') {\r\n\ta();\r\n} else {\r\n\tb();\r\n}\r\n{code}\r\nwhich currently reports less than 100% coverage because either a or b will be unvisited. The information from the previous passes can be fed into the code processor so we can determine that b was called from the skipped block, and thus we can mark it as skipped.", "attachment": [], "flagged": false, "summary": "Code Processor: Investigate efficacy of multi-pass analysis", "creator": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "closedSprints": [ { "id": 17, "state": "closed", "name": "2013 Sprint 18", "startDate": "2013-08-27T20:50:19.171Z", "endDate": "2013-09-06T20:49:19.171Z", "completeDate": "2013-09-26T16:02:05.647Z" } ], "comment": { "comments": [ { "id": "269074", "author": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Estimates of the impact this fix will have on Samples and Templates:\r\n\r\nSample.Mapping\r\nCurrently: 84.4%\r\nEstimated: 95% (there is a separate bug, TIMOB-15011 that should take care of the rest)\r\n\r\nSample.RSS\r\nCurrently: 56.7%\r\nEstimated: 99%\r\n\r\nSample.TODO\r\nCurrently: 96.4%\r\nEstimated: 96.4% (TIMOB-15012 is responsible for the remaining)\r\n\r\nTemplated.HTML\r\nCurrently: 91.9%\r\nEstimated: 91.9% (TIMOB-15013 is responsible for the remaining)\r\n\r\nTemplate.MasterDetail\r\nCurrently: 55.0%\r\nEstimated: 100%\r\n\r\nTemplate.SingleWindow\r\nCurrently: 70.8%\r\nEstimated: 100%\r\n\r\nTemplate.Tabbed\r\nCurrently: 77.7%\r\nEstimated: 100%", "updateAuthor": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-30T18:19:23.000+0000", "updated": "2013-08-30T18:19:48.000+0000" }, { "id": "269096", "author": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Resolution: created TIMOB-15017 to address the issue.", "updateAuthor": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-30T19:22:10.000+0000", "updated": "2013-08-30T19:22:10.000+0000" }, { "id": "270254", "author": { "name": "mxia", "key": "mxia", "displayName": "Michael Xia", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Investigation ticket. Closing.\r\n", "updateAuthor": { "name": "mxia", "key": "mxia", "displayName": "Michael Xia", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-09-09T03:38:43.000+0000", "updated": "2013-09-09T03:38:43.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }