ExampleCheck

A Chrome extension that augments Stack Overflow with API usage patterns mined from GitHub

What is ExampleCheck?

ExampleCheck is a Chrome extension developed by Tianyi Zhang, and its main feature is "A Chrome extension that augments Stack Overflow with API usage patterns mined from GitHub".

Extension Screenshots

screenshot

Download ExampleCheck Extension CRX File

Download ExampleCheck extension files in crx format, manually install Chrome extensions in the browser, or share the crx files with friends to easily install Chrome extensions.

Extension Usage Instructions

                        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.                    

Extension Basic Information

Name ExampleCheck ExampleCheck
ID amliempebckaiaklimcpopomlnklkioe
Official URL https://chromewebstore.google.com/detail/examplecheck/amliempebckaiaklimcpopomlnklkioe
Description A Chrome extension that augments Stack Overflow with API usage patterns mined from GitHub
File Size 648 KB
Installation Count 38
Current Version 2.7
Last Updated 2018-11-16
Publish Date 2018-11-16
Developer Tianyi Zhang
Email [email protected]
Payment Type free
Extension Website http://web.cs.ucla.edu/~tianyi.zhang/examplecheck.html
Supported Languages en
manifest.json
{
    "update_url": "https:\/\/clients2.google.com\/service\/update2\/crx",
    "name": "ExampleCheck",
    "description": "A Chrome extension that augments Stack Overflow with API usage patterns mined from GitHub",
    "icons": {
        "128": "images\/icon-128.png",
        "512": "images\/icon-512.png"
    },
    "browser_action": {
        "default_popup": "popup.html",
        "default_icon": "images\/icon-128.png",
        "default_title": "ExampleCheck"
    },
    "background": {
        "scripts": [
            "background.js"
        ]
    },
    "version": "2.7",
    "manifest_version": 2,
    "web_accessible_resources": [
        "jquery.min.js",
        "waypoints.min.js",
        "images\/thumb-up.png",
        "images\/thumb-down.png",
        "images\/upvote.svg",
        "images\/upvote2.svg",
        "images\/downvote.svg",
        "images\/downvote2.svg",
        "\/images\/icon-128.png",
        "\/images\/icon-512.png",
        "ProximaNovaRegular.otf"
    ],
    "content_scripts": [
        {
            "matches": [
                "https:\/\/stackoverflow.com\/*"
            ],
            "css": [
                "bootstrap.min.css",
                "style.css"
            ],
            "js": [
                "jquery.min.js",
                "waypoints.min.js",
                "bootstrap.min.js",
                "script.js"
            ]
        }
    ],
    "permissions": [
        "tabs",
        "storage",
        "activeTab",
        "http:\/\/localhost\/",
        "http:\/\/*\/*",
        "https:\/\/*\/*"
    ]
}