“…Mining-based methods are proposed [2,3,7,27,28,33,35,36,38,50,65,68] to discover API usage rules from executing traces or source codes, where API usage rules are represented by some patterns or finite automata. One can apply model-checking techniques to check whether programs violate or not API usage rules represented by patterns or finite automata.…”