Statements
CachéQuality release
CachéQuality 1.0.0
Domain
Size
Scope
Project
File
Class
Number of statements as defined in the ObjectScript Specification.
Method of calculation
Statements counter gets incremented by one each time a following keyword is encountered:
- Object Script commands: if, else, while, do, for, while, break, continue, return, quit, goto, halt, hang, job, kill, lock, merge, new, open, read, write, set, throw, catch, finally, tcommit, trollback, tstart, use, xecute, zkill, znspace, ztrap, zwrite, zzdump, zzwrite.
- #Dim, when it is an assignment
- Static statements: &sql(...), &html<...>, &js<...>
- Macros
- Legacy if, else, for
Statements counter is not incremented by a class, method, field, package declaration and import declaration.