{ "id": "109520", "key": "TIMOB-12666", "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": [], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2013-03-25T22:41:52.000+0000", "created": "2013-02-11T23:13:33.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [ { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" } ], "issuelinks": [], "assignee": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2013-08-14T20:44:06.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": "When the code processor is run against iphone, then the analysis coverage plugin details that it visited nodes for resources defined under other platform folders as well (for ex: MasterDetail/Resources/ui/handheld/android/ or mobileweb). \r\n\r\nSince those resources are specific to other platforms, I guess they should not be visited as part of code analysis. For example, the output of analysis-coverage plugin shows the visited nodes of android even when the code processor is run against iphone platform -\r\n\"/Users/pinnamuri/Documents/Titanium_Studio_Workspace_New/MasterDetail/Resources/ui/handheld/android/ApplicationWindow.js\":{\"numNodesVisited\":86,\"numNodesSkipped\":0,\"numTotalNodes\":89},\r\n", "attachment": [], "flagged": false, "summary": "CodeProcessor: Analysis coverage visits different platform nodes", "creator": { "name": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "238405", "author": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "body": "When running the code processor, are you setting processUnvisitedCode to true? If so, then this is the expected behavior, but otherwise it _may_ be a bug.", "updateAuthor": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-02-13T21:12:00.000+0000", "updated": "2013-02-13T21:12:00.000+0000" }, { "id": "244025", "author": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The only code that is known to be platform specific is code that lives under Resources/[iphone, ipad, android, mobileweb]. Anything else is not technically platform specific, except by the coders own coding conventions which the code processor can't know", "updateAuthor": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-25T22:41:52.000+0000", "updated": "2013-03-25T22:41:52.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }