OTX Reference  
OpenTestSystem.Otx.Extensions.File.CheckerRule Class Reference

Comprehensive checker rule listing, see also Core checker rules. More...

Public Attributes

Severity.Warning File_Chk001
 No lazy evaluation on terms with side-effects More...
 

Detailed Description

Comprehensive checker rule listing, see also Core checker rules.

Member Data Documentation

◆ File_Chk001

Severity.Warning OpenTestSystem.Otx.Extensions.File.CheckerRule.File_Chk001

No lazy evaluation on terms with side-effects

Criterion
Terms which have side effects should be avoided inside a term with lazy evaluation, such as otx:IsEqual with three or more arguments.
Comment
The usage of terms with side effects inside the terms util:Compare, otx:LogicAnd, otx:LogicOr, otx:IsEqual, otx:IsNotEqual may lead to unexpected runtime behaviour because of lazy evaluation of these terms with more than two arguments.