{ "id": "115075", "key": "TIMOB-14014", "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": "15491", "description": "2013 Sprint 11 JS", "name": "2013 Sprint 11 JS", "archived": true, "released": true, "releaseDate": "2013-06-03" }, { "id": "15109", "description": "2013 Sprint 11", "name": "2013 Sprint 11", "archived": true, "released": true, "releaseDate": "2013-06-03" }, { "id": "15478", "description": "Release 3.1.1", "name": "Release 3.1.1", "archived": true, "released": true, "releaseDate": "2013-06-17" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "2", "description": "The problem described is an issue which will never be fixed.", "name": "Won't Fix" }, "resolutiondate": "2016-08-24T20:01:09.000+0000", "created": "2013-05-29T00:40:24.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "code-analyzer", "qe-3.1.1", "qe-closed-3.1.1", "qe-testadded" ], "versions": [ { "id": "15478", "description": "Release 3.1.1", "name": "Release 3.1.1", "archived": true, "released": true, "releaseDate": "2013-06-17" } ], "issuelinks": [ { "id": "46149", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "144984", "key": "TIMOB-18596", "fields": { "summary": "Code Analyzer: Analyzing for iPhone always has grade of N/A", "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" } }, "priority": { "name": "None", "id": "6" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-20T20:29: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": "h5. Problem description\r\nWhen using the Code Analyzer for Alloy projects, the Grade in the results is always N/A\r\n\r\nh5. Steps to reproduce\r\n1. Create a default new Alloy project (for example the default Two-Tab Project, as attached).\r\n2. Run Code-Processor and check the results\r\n\r\nResult: in the Category Score section, the Grade values are always N/A. This applies to all the Alloy projects analyzed so far.", "attachment": [ { "id": "39313", "filename": "Alloy_sampleTODOapp.zip", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-31T18:37:57.000+0000", "size": 94561, "mimeType": "application/zip" }, { "id": "39157", "filename": "alloy_twoTabbedDefault.zip", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-29T00:40:24.000+0000", "size": 7410027, "mimeType": "application/zip" }, { "id": "39312", "filename": "Screen Shot 2013-05-31 at 11.35.37 AM.png", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-31T18:37:57.000+0000", "size": 43220, "mimeType": "image/png" } ], "flagged": false, "summary": "Code Analyzer: 'Grade' value in Category Scores section is always N/A", "creator": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Code Processor 1.0.1-alpha3\r\nTiSDK 3.1.1.v20130524180421 \r\nAppcelerator Studio 3.1.1.201305271814", "comment": { "comments": [ { "id": "254582", "author": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Note: there is wording on the summary page that explains that not enough code was analyzed to provide a score, but this messaging is not shown on the project score page and should be.", "updateAuthor": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-29T17:34:41.000+0000", "updated": "2013-05-29T17:34:41.000+0000" }, { "id": "254596", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~bhughes] Can you fix the message ASAP?", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-29T18:13:53.000+0000", "updated": "2013-05-29T18:13:53.000+0000" }, { "id": "254738", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~ingo] or [~bhughes] I set up the plugin, ran \r\n\r\n{code}\r\nti analyze -p iphone -A\r\n{code} \r\n\r\nagainst an alloy 2 tabbed app and got the following output with regards to the score on both the summary and the project score section:\r\n\r\n{code}\r\nAnalysis completed in 12.3 seconds at 20:14:45 GMT-0400 (EDT) on Wed May 29 2013\r\nProject Score: 0 points were deducted. Not enough source code was analyzed to assign a grade\r\n{code}\r\n\r\nIs this considered to be a pass for the functional testing? If so, I will merge it and resolve this ticket as code review passes.", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-30T00:18:29.000+0000", "updated": "2013-05-30T00:31:13.000+0000" }, { "id": "254759", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Code and functional review pass. Both PRs have been merged.", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-30T00:37:02.000+0000", "updated": "2013-05-30T00:37:02.000+0000" }, { "id": "254809", "author": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Sorry to get back to you so late, but yes that is expected. This fix was purely a messaging fix, not a functionality fix.", "updateAuthor": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-30T04:52:28.000+0000", "updated": "2013-05-30T04:52:28.000+0000" }, { "id": "255219", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Message is displayed correctly and when there is enough code to be analyzed a Project Grade score is correctly given.\r\n\r\nHowever, 'Grade' values in the Category Scores section details are still displayed as N/A.\r\n\r\nSee screenshot.\r\n\r\nAttached a sample Alloy project which is returning a Project Grade B but displaying the Category Scores table with all Grade values set to N/A as in the screenshot.", "updateAuthor": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-31T18:35:59.000+0000", "updated": "2013-05-31T18:35:59.000+0000" }, { "id": "255229", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Also reproducible with a default Classic (non-Alloy) Tabbed Application.\n\nIn this case the Grade is A - but in the 'Category Scores' table under 'Project Score' section, all the entries have 'Grade' value N/A instead of A. ", "updateAuthor": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-31T18:50:08.000+0000", "updated": "2013-05-31T18:50:08.000+0000" }, { "id": "255240", "author": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR: https://github.com/appcelerator/appcelerator-code-processor-plugins/pull/32\n1_0_X PR: https://github.com/appcelerator/appcelerator-code-processor-plugins/pull/33", "updateAuthor": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-31T19:34:10.000+0000", "updated": "2013-05-31T19:34:10.000+0000" }, { "id": "255477", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Code and functional review passes. Both PRs merged.", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-03T14:18:59.000+0000", "updated": "2013-06-03T14:18:59.000+0000" }, { "id": "255840", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified as fixed.\r\n\r\nEnvironment:\r\n Appcelerator Studio 3.1.1.201306032350\r\n Titanium SDK 3.1.1.v20130531163723\r\n CLI 3.1.1-cr\r\n Alloy 1.1.3-cr\r\n Titanium-Code-Processor 1.1.3-cr\r\n\r\nClosing.", "updateAuthor": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-04T16:51:14.000+0000", "updated": "2013-06-04T16:51:14.000+0000" }, { "id": "336995", "author": { "name": "kagrawal", "key": "kagrawal", "displayName": "Khushbu Agrawal", "active": true, "timeZone": "Asia/Shanghai" }, "body": "The issue is reproducible with the below environment with Alloy projects.\r\n\r\nTested on: \r\n1. Mac OSX Yosemite 10.10 \r\n2. Appcelerator Studio, build: 3.4.1.201410281743 \r\n3. Titanium SDK, build: 3.5.0.v20141217170926\r\n4. Titanium CLI, build: 3.4.1 \r\n5. Alloy: 1.5.1 \r\n6. Xcode 6.1 \r\n7. iOS SDK 8.1 \r\n8. iPhone 5s with iOS 8.1\r\n\r\n In the Category Score section, the Grade values are always N/A. This applies to all the Alloy projects analyzed so far.", "updateAuthor": { "name": "kagrawal", "key": "kagrawal", "displayName": "Khushbu Agrawal", "active": true, "timeZone": "Asia/Shanghai" }, "created": "2014-12-18T11:22:08.000+0000", "updated": "2014-12-18T11:22:08.000+0000" }, { "id": "394210", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Code processor is dead.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2016-08-24T20:01:09.000+0000", "updated": "2016-08-24T20:01:09.000+0000" }, { "id": "413919", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as Code processor is no longer supported.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-20T20:29:21.000+0000", "updated": "2017-03-20T20:29:21.000+0000" } ], "maxResults": 17, "total": 17, "startAt": 0 } } }