[TIMOB-14266] Appcelerator Studio: Code Analysis is very slow while analysing infinte loops
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | High |
| Status | Closed |
| Resolution | Invalid |
| Resolution Date | 2013-06-18T16:50:11.000+0000 |
| Affected Version/s | Release 3.1.1 |
| Fix Version/s | n/a |
| Components | Code Processor |
| Labels | qe-3.1.1 |
| Reporter | jithinpv |
| Assignee | Bryan Hughes |
| Created | 2013-06-15T07:04:02.000+0000 |
| Updated | 2014-06-19T12:43:58.000+0000 |
Description
*Steps to reproduce*
1.Open app.js file of a default application.
2.Add the following code to app.js
var i=10;
while(i>1)
{
Ti.API.info("ok");
//i--;
}
3.Run code analyser for android or iOS
*Actual result*
Code analysis not able to find the infinite loop and takes much time, even i didn't see its result
*Expected result*
Code analysis should find infinte loop and it should show the results quickly.
Of course it's slow, it's an infinite loop ;-)