rspec/rules/S4507/flex/rule.adoc

31 lines
620 B
Plaintext
Raw Normal View History

include::../description.adoc[]
include::../ask-yourself.adoc[]
include::../recommended.adoc[]
== Sensitive Code Example
----
if (unexpectedCondition)
{
Alert.show("Unexpected Condition"); // Sensitive
}
----
2021-01-27 13:42:22 +01:00
The ``++trace()++`` function outputs debug statements, which can be read by anyone with a debug version of the Flash player:
----
var val:Number = doCalculation();
trace("Calculation result: " + val); // Sensitive
----
include::../see.adoc[]
ifdef::env-github,rspecator-view[]
== Comments And Links
(visible only on this page)
include::../comments-and-links.adoc[]
endif::env-github,rspecator-view[]