Review

Potential Misuse

Anomaly identified by the detector. Please review whether this anomaly corresponds to a misuse.

Metadata

Hit Rank Confidence Defect Indicator Missing Properties Pattern Support Present Properties Violation Types
?

5

0.95

16.37

  • ResultSet.next () : boolean @ (0) < DBManager.closeResultSet (ResultSet) : void @ (1)
  • EXC(SQLException): ResultSet.next () : boolean @ (0) < DBManager.closeResultSet (ResultSet) : void @ (1)

36

  • RETVAL: PreparedStatement.executeQuery () : ResultSet < ResultSet.next () : boolean @ (0)
  • RETVAL: Connection.prepareStatement (String) : PreparedStatement < DBManager.closePreparedStatement (PreparedStatement) : void @ (1)
  • RETVAL: PreparedStatement.executeQuery () : ResultSet < EXC(SQLException): ResultSet.next () : boolean @ (0)
  • RETVAL: Connection.prepareStatement (String) : PreparedStatement < PreparedStatement.executeQuery () : ResultSet @ (0)
  • RETVAL: Connection.prepareStatement (String) : PreparedStatement < EXC(SQLException): PreparedStatement.executeQuery () : ResultSet @ (0)