{"size": 379, "ext": "js", "max_stars_repo_path": "casperjs/cow-test.js", "max_stars_repo_name": "codenautas/pruebas_de_concepto", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "casperjs/cow-test.js", "max_issues_repo_name": "codenautas/pruebas_de_concepto", "max_issues_repo_issues_event_min_datetime": "2017-09-04T12:43:37.000Z", "max_issues_repo_issues_event_max_datetime": "2018-03-11T21:51:50.000Z", "max_forks_repo_path": "casperjs/cow-test.js", "max_forks_repo_name": "codenautas/pruebas_de_concepto", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 2, "max_forks_count": null, "avg_line_length": 23.6875, "max_line_length": 68, "alphanum_fraction": 0.5488126649}
function Cow() {
    this.mowed = false;
    this.moo = function moo() {
        this.mowed = true; // mootable state: don't do that at home
        return 'moo!';
    };
}

// cow-test.js
casper.test.begin('Cow can moo', 2, function suite(test) {
    var cow = new Cow();
    test.assertEquals(cow.moo(), 'moo!');
    test.assert(cow.mowed);
    test.done();
});
