Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-14266] Appcelerator Studio: Code Analysis is very slow while analysing infinte loops

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionInvalid
Resolution Date2013-06-18T16:50:11.000+0000
Affected Version/sRelease 3.1.1
Fix Version/sn/a
ComponentsCode Processor
Labelsqe-3.1.1
Reporterjithinpv
AssigneeBryan Hughes
Created2013-06-15T07:04:02.000+0000
Updated2014-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.

Comments

  1. Bryan Hughes 2013-06-18

    Of course it's slow, it's an infinite loop ;-)

JSON Source