<commit_before>/*******************************************************************************
 * Copyright (c) 2012 IBM Corporation.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     IBM Corporation - initial API and implementation
 *******************************************************************************/

// runs the WALA JavaScript analysis on a given JavaScript file

var fs = require("fs"),
    exec = require("child_process").exec,
    paths = require("./wala_paths.js"),
    wala_root = paths.wala_root,
    eclipse_plugins = paths.eclipse_plugins,
    tmp_dir = require("./config.js").tmp_dir;

// dummy driver file for WALA
var driver_file = tmp_dir + "/driver.html";

// classpath to run TestUtil from the command line
var classpath =
    [wala_root + "/com.ibm.wala.core/bin",
     wala_root + "/com.ibm.wala.shrike/bin",
     wala_root + "/com.ibm.wala.util/bin",
     wala_root + "/com.ibm.wala.ide/bin",
     wala_root + "/com.ibm.wala.cast.js/bin",
     wala_root + "/com.ibm.wala.cast.js.rhino/bin",
     wala_root + "/com.ibm.wala.cast.js.rhino/lib/js.jar",
     wala_root + "/com.ibm.wala.cast.js.test/bin",
     wala_root + "/com.ibm.wala.cast.js.rhino.test/bin",
     wala_root + "/com.ibm.wala.cast.js/lib/jericho-html-3.2.jar",
     wala_root + "/com.ibm.wala.cast/bin",
     wala_root + "/com.ibm.wala.cast.test/bin",
     eclipse_plugins + "/org.eclipse.equinox.common_3.6.0.v20110523.jar",
     eclipse_plugins + "/org.eclipse.core.runtime_3.7.0.v20110110.jar",
     eclipse_plugins + "/org.eclipse.osgi_3.7.1.R37x_v20110808-1106.jar",
     eclipse_plugins + "/org.junit_4.8.2.v4_8_2_v20110321-1705/junit.jar"];

var max_heap = "-Xmx1024M";
var timeout = 30;
var enable_assertions = false;
var reachable_name = null;
var edge_caller_callee = null;
<commit_msg>update for changed jar file name in WALA<commit_after>/*******************************************************************************
 * Copyright (c) 2012 IBM Corporation.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     IBM Corporation - initial API and implementation
 *******************************************************************************/

// runs the WALA JavaScript analysis on a given JavaScript file

var fs = require("fs"),
    exec = require("child_process").exec,
    paths = require("./wala_paths.js"),
    wala_root = paths.wala_root,
    eclipse_plugins = paths.eclipse_plugins,
    tmp_dir = require("./config.js").tmp_dir;

// dummy driver file for WALA
var driver_file = tmp_dir + "/driver.html";

// classpath to run TestUtil from the command line
var classpath =
    [wala_root + "/com.ibm.wala.core/bin",
     wala_root + "/com.ibm.wala.shrike/bin",
     wala_root + "/com.ibm.wala.util/bin",
     wala_root + "/com.ibm.wala.ide/bin",
     wala_root + "/com.ibm.wala.cast.js/bin",
     wala_root + "/com.ibm.wala.cast.js.rhino/bin",
     wala_root + "/com.ibm.wala.cast.js.rhino/lib/rhino-1.7R3.jar",
     wala_root + "/com.ibm.wala.cast.js.test/bin",
     wala_root + "/com.ibm.wala.cast.js.rhino.test/bin",
     wala_root + "/com.ibm.wala.cast.js/lib/jericho-html-3.2.jar",
     wala_root + "/com.ibm.wala.cast/bin",
     wala_root + "/com.ibm.wala.cast.test/bin",
     eclipse_plugins + "/org.eclipse.equinox.common_3.6.0.v20110523.jar",
     eclipse_plugins + "/org.eclipse.core.runtime_3.7.0.v20110110.jar",
     eclipse_plugins + "/org.eclipse.osgi_3.7.1.R37x_v20110808-1106.jar",
     eclipse_plugins + "/org.junit_4.8.2.v4_8_2_v20110321-1705/junit.jar"];

var max_heap = "-Xmx1024M";
var timeout = 30;
var enable_assertions = false;
var reachable_name = null;
var edge_caller_callee = null;

{'fraction_non_alphanumeric': 0.21168958742632613, 'fraction_numerical': 0.03659135559921414, 'mean_word_length': 3.6179138321995463, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6836784', 'n_tokens_mistral': 1515, 'n_tokens_neox': 1416, 'n_words': 271}