A tool to gather statistics about the usages of loops in java programs.
Conventional loops (for
and while
loops) will be checked for some traits:
- Does it contain branches? e.g
if
's - Does it have early exit points? e.g.
break
orcontinue
- Does it have nested loops?
- Is it using variables from outer scope?
This project is to get some rough idea on the complexity of loops in practice so I can focus my Honours project to effective methods, generating simple loop invariants.
This project is licensed under Apache 2, see LICESNE for more details.