Abstract Lack of experience, inadequate documentation, and sub-optimal API design frequently cause developers to make mistakes when re-using third-party implementations. Such misuses can result in unintended behavior, performance losses, or software crashes. Therefore, current research aims automatically detect such by comparing the way a developer used an previously inferred patterns correct u...