Try-finally statements
Author: LGTM
import python
from Try t
where
exists(t.getFinalbody()) and
not exists(t.getAHandler())
select tDescription
Finds try-finally statements without an exception handler
import python
from Try t
where
exists(t.getFinalbody()) and
not exists(t.getAHandler())
select tFinds try-finally statements without an exception handler