A Chrome extension that augments Stack Overflow with API usage patterns mined from GitHub
ExampleCheck proactively detects API usage violations in a Stack Overflow post and alerts users about potential API misuse. Currently, ExampleCheck includes hundreds of API usage patterns of 100 Java API methods learned from 380K GitHub repositories. These patterns capture the temporal ordering, guard conditions, and exception handling logic of API methods. We believe commonly practiced idioms in massive code corpora may represent a desirable pattern that a programmer can use to trust and enhance code examples on Stack Overflow.