<commit_before>var express = require('express');
var path = require('path');
app = express();


app.configure('development', function(){

    console.log('Running on development mode..');

    mysqlConfiguration = {
        host     : 'localhost',
        user     : 'root',
        password : '',
        database : 'smart-read',
        port     : "3306",
        multipleStatements : true
    }
});


app.configure('server-test', function(){

    console.log('Running on production mode..');

    // app fog node-js server environment values
    var env = JSON.parse(process.env.VCAP_SERVICES);

    var credentials = env['mysql-5.1'][0].credentials;

    mysqlConfiguration = {
        host     : credentials.host,
        user     : credentials.username,
        password : <PASSWORD>,
        database : credentials.name,
        port     : credentials.port,
        multipleStatements : true
    }
});<commit_msg>refactor<commit_after>var express = require('express');
var path = require('path');

app = express();

app.configure('development', function(){

    console.log('Running on development mode..');

    mysqlConfiguration = {
        host     : 'localhost',
        user     : 'root',
        password : '',
        database : 'smart-read',
        port     : "3306",
        multipleStatements : true
    }
});


app.configure('server-test', function(){

    console.log('Running on server-test mode..');

    // app fog node-js server environment values
    var env = JSON.parse(process.env.VCAP_SERVICES);

    var credentials = env['mysql-5.1'][0].credentials;

    mysqlConfiguration = {
        host     : credentials.host,
        user     : credentials.username,
        password : <PASSWORD>,
        database : credentials.name,
        port     : credentials.port,
        multipleStatements : true
    }
});
{'fraction_non_alphanumeric': 0.13562091503267973, 'fraction_numerical': 0.007625272331154684, 'mean_word_length': 2.3644688644688645, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '1520244', 'n_tokens_mistral': 508, 'n_tokens_neox': 486, 'n_words': 114}