<commit_before>// Karma configuration
// Generated on Thu Jul 04 2013 11:39:34 GMT+0200 (CEST)

module.exports = function(karma) {

  karma.set({

    // base path, that will be used to resolve files and exclude
    basePath: '../../',


    // frameworks to use
    //frameworks: ['jasmine', 'junit-reporter'],
    frameworks: ['jasmine'],

    // list of files / patterns to load in the browser
    files: [
      'test/lib/jasmine-1.3.1/jasmine-html.js',
      'test/lib/jslint.js',

      'frontend/js/lib/jquery-1.8.3.js',
      'frontend/js/lib/jquery-ui-1.9.2.custom.js',
      'frontend/js/lib/jquery.dataTables.js',
      'frontend/js/lib/jquery.autogrow.js',
      'frontend/js/lib/jquery.jeditable.js',
      'frontend/js/lib/jquery.jeditable.autogrow.js',
      'frontend/js/lib/jquery.snippet.js',
      'frontend/js/lib/jquery.gritter.js',
      'frontend/js/lib/jquery.slideto.min.js',
      'frontend/js/lib/jquery.wiggle.min.js',
      'frontend/js/lib/jquery.ba-bbq.min.js',
      'frontend/js/lib/jquery.contextmenu.js',
      'frontend/js/lib/handlebars-1.0.rc.1.js',
      'frontend/js/lib/underscore.js',
      'frontend/js/lib/backbone.js',
      'frontend/js/lib/d3.v3.min.js',
      'frontend/js/lib/nv.d3.js',
      'frontend/js/lib/d3.fisheye.js',
      'frontend/js/lib/ejs_0.9_alpha_1_production.js',
      'frontend/js/lib/ColVis.js',
      'frontend/js/lib/bootstrap.js',
      'frontend/js/lib/bootstrap-pagination.js',
      'frontend/src/ace.js',
      'frontend/js/lib/jqconsole.min.js',
      'frontend/js/lib/splitter.js',
      'frontend/js/lib/swagger.js',
      'frontend/js/lib/swagger-ui.js',
      'frontend/js/lib/highlight.7.3.pack.js',
      
      // arangodb
      'frontend/js/arango/arango.js',
      'frontend/js/arango/templateEngine.js',
      'frontend/js/shell/browser.js',
      'frontend/js/modules/org/arangodb/arango-collection-common.js',
      'frontend/js/modules/org/arangodb/arango-collection.js',
      'frontend/js/modules/org/arangodb/arango-database.js',
      'frontend/js/modules/org/arangodb/arango-query-cursor.js',
      'frontend/js/modules/org/arangodb/arango-statement-common.js',
      'frontend/js/modules/org/arangodb/arango-statement.js',
      'frontend/js/modules/org/arangodb/arangosh.js',
      'frontend/js/modules/org/arangodb/graph-common.js',
      'frontend/js/modules/org/arangodb/graph.js',
      'frontend/js/modules/org/arangodb/mimetypes.js',
      'frontend/js/modules/org/arangodb/simple-query-common.js',
      'frontend/js/modules/org/arangodb/simple-query.js',
      'frontend/js/modules/org/arangodb/aql/functions.js',
      'frontend/js/modules/org/arangodb/graph/traversal.js',
      'frontend/js/modules/org/arangodb-common.js',
      'frontend/js/modules/org/arangodb.js',
      'frontend/js/bootstrap/errors.js',
      'frontend/js/bootstrap/monkeypatches.js',
      'frontend/js/bootstrap/module-internal.js',
      'frontend/js/client/bootstrap/module-internal.js',
      'frontend/js/client/client.js',

      // Mocks
      'test/mocks/disableEJS.js',
      'test/specs/graphViewer/helper/eventHelper.js',
      'test/specs/graphViewer/helper/objectsHelper.js',
      'test/specs/graphViewer/helper/mocks.js',
      'test/specs/graphViewer/helper/commMock.js',
      'test/specs/graphViewer/helper/uiMatchers.js',



      // GraphViewer
      // Core Modules
      'frontend/js/graphViewer/graphViewer.js',
      'frontend/js/graphViewer/graph/domObserverFactory.js',
      'frontend/js/graphViewer/graph/colourMapper.js',
      'frontend/js/graphViewer/graph/communityNode.js',
      'frontend/js/graphViewer/graph/webWorkerWrapper.js',
      'frontend/js/graphViewer/graph/nodeShaper.js',
      'frontend/js/graphViewer/graph/abstractAdapter.js',
      'frontend/js/graphViewer/graph/JSONAdapter.js',
      'frontend/js/graphViewer/graph/arangoAdapter.js',
      'frontend/js/graphViewer/graph/foxxAdapter.js',
      'frontend/js/graphViewer/graph/previewAdapter.js',
      'frontend/js/graphViewer/graph/edgeShaper.js',
      'frontend/js/graphViewer/graph/forceLayouter.js',
      'frontend/js/graphViewer/graph/eventDispatcher.js',
      'frontend/js/graphViewer/graph/eventLibrary.js',
      'frontend/js/graphViewer/graph/zoomManager.js',
      'frontend/js/graphViewer/graph/nodeReducer.js',
      'frontend/js/graphViewer/graph/modularityJoiner.js',

      // UI Modules
      'frontend/js/graphViewer/ui/modalDialogHelper.js',
      'frontend/js/graphViewer/ui/contextMenuHelper.js',
      'frontend/js/graphViewer/ui/nodeShaperControls.js',
      'frontend/js/graphViewer/ui/edgeShaperControls.js',
      'frontend/js/graphViewer/ui/arangoAdapterControls.js',
      'frontend/js/graphViewer/ui/layouterControls.js',
      'frontend/js/graphViewer/ui/uiComponentsHelper.js',
      'frontend/js/graphViewer/ui/eventDispatcherControls.js',
      'frontend/js/graphViewer/ui/graphViewerUI.js',
      'frontend/js/graphViewer/ui/graphViewerWidget.js',
      'frontend/js/graphViewer/ui/graphViewerPreview.js',

      // Models
      'frontend/js/models/currentDatabase.js',
      'frontend/js/models/arangoCollection.js',
      'frontend/js/models/arangoDatabase.js',
      'frontend/js/models/arangoDocument.js',
      'frontend/js/models/arangoLog.js',
      'frontend/js/models/arangoStatistics.js',
      'frontend/js/models/arangoStatisticsDescription.js',
      'frontend/js/models/foxx.js',
      'frontend/js/models/graph.js',

      // Collections
      'frontend/js/collections/arangoCollections.js',
      'frontend/js/collections/arangoDocuments.js',
      'frontend/js/collections/arangoDocument.js',
      'frontend/js/collections/arangoDatabase.js',
      'frontend/js/collections/arangoLogs.js',
      'frontend/js/collections/arangoUsers.js',
      'frontend/js/collections/arangoStatisticsCollection.js',
      'frontend/js/collections/arangoStatisticsDescriptionCollection.js',
      'frontend/js/collections/foxxCollection.js',
      'frontend/js/collections/graphCollection.js',

      // Views
      'frontend/js/views/navigationView.js',
      'frontend/js/views/apiView.js',
      'frontend/js/views/footerView.js',
      'frontend/js/views/queryView.js',
      'frontend/js/views/shellView.js',
      'frontend/js/views/dashboardView.js',
      'frontend/js/views/collectionsView.js',
      'frontend/js/views/collectionView.js',
      'frontend/js/views/collectionInfoView.js',
      'frontend/js/views/newCollectionView.js',
      'frontend/js/views/collectionsItemView.js',
      'frontend/js/views/documentsView.js',
      'frontend/js/views/documentView.js',
      'frontend/js/views/documentSourceView.js',
      'frontend/js/views/logsView.js',
      'frontend/js/views/applicationsView.js',
      'frontend/js/views/foxxActiveView.js',
      'frontend/js/views/foxxActiveListView.js',
      'frontend/js/views/foxxInstalledView.js',
      'frontend/js/views/foxxInstalledListView.js',
      'frontend/js/views/foxxEditView.js',
      'frontend/js/views/foxxMountView.js',
      'frontend/js/views/appDocumentationView.js',
      'frontend/js/views/graphView.js',
      'frontend/js/views/graphManagementView.js',
      'frontend/js/views/addNewGraphView.js',
      'frontend/js/views/deleteGraphView.js',
      'frontend/js/views/dbSelectionView.js',
      'frontend/js/views/editListEntryView.js',
      'frontend/js/views/loginView.js',

      // Router
      'frontend/js/routers/router.js',

      //Templates
      {pattern: 'frontend/js/templates/*.ejs', served:true, included:false, watched: true},
      // Specs
      // GraphViewer
      'test/specs/graphViewer/specColourMapper/colourMapperSpec.js',
      'test/specs/graphViewer/specWindowObjects/domObserverFactorySpec.js',
      'test/specs/graphViewer/specCommunityNode/communityNodeSpec.js',
      'test/specs/graphViewer/specAdapter/interfaceSpec.js',
      'test/specs/graphViewer/specAdapter/abstractAdapterSpec.js',
      'test/specs/graphViewer/specAdapter/jsonAdapterSpec.js',
      'test/specs/graphViewer/specAdapter/arangoAdapterSpec.js',
      'test/specs/graphViewer/specAdapter/foxxAdapterSpec.js',<commit_msg>karma configuration fixed<commit_after>// Karma configuration
// Generated on Thu Jul 04 2013 11:39:34 GMT+0200 (CEST)

module.exports = function(karma) {

  karma.set({

    // base path, that will be used to resolve files and exclude
    basePath: '../../',


    // frameworks to use
    //frameworks: ['jasmine', 'junit-reporter'],
    frameworks: ['jasmine'],

    // list of files / patterns to load in the browser
    files: [
      'test/lib/jasmine-1.3.1/jasmine-html.js',
      'test/lib/jslint.js',

      'frontend/js/lib/jquery-1.8.3.js',
      'frontend/js/lib/jquery-ui-1.9.2.custom.js',
      'frontend/js/lib/jquery.dataTables.js',
      'frontend/js/lib/jquery.autogrow.js',
      'frontend/js/lib/jquery.jeditable.js',
      'frontend/js/lib/jquery.jeditable.autogrow.js',
      'frontend/js/lib/jquery.snippet.js',
      'frontend/js/lib/jquery.gritter.js',
      'frontend/js/lib/jquery.slideto.min.js',
      'frontend/js/lib/jquery.wiggle.min.js',
      'frontend/js/lib/jquery.ba-bbq.min.js',
      'frontend/js/lib/jquery.contextmenu.js',
      'frontend/js/lib/handlebars-1.0.rc.1.js',
      'frontend/js/lib/underscore.js',
      'frontend/js/lib/backbone.js',
      'frontend/js/lib/d3.v3.min.js',
      'frontend/js/lib/nv.d3.js',
      'frontend/js/lib/d3.fisheye.js',
      'frontend/js/lib/ejs_0.9_alpha_1_production.js',
      'frontend/js/lib/ColVis.js',
      'frontend/js/lib/bootstrap.js',
      'frontend/js/lib/bootstrap-pagination.js',
      'frontend/src/ace.js',
      'frontend/js/lib/jqconsole.min.js',
      'frontend/js/lib/splitter.js',
      'frontend/js/lib/swagger.js',
      'frontend/js/lib/swagger-ui.js',
      'frontend/js/lib/highlight.7.3.pack.js',
      
      // arangodb
      'frontend/js/arango/arango.js',
      'frontend/js/arango/templateEngine.js',
      'frontend/js/shell/browser.js',
      'frontend/js/modules/org/arangodb/arango-collection-common.js',
      'frontend/js/modules/org/arangodb/arango-collection.js',
      'frontend/js/modules/org/arangodb/arango-database.js',
      'frontend/js/modules/org/arangodb/arango-query-cursor.js',
      'frontend/js/modules/org/arangodb/arango-statement-common.js',
      'frontend/js/modules/org/arangodb/arango-statement.js',
      'frontend/js/modules/org/arangodb/arangosh.js',
      'frontend/js/modules/org/arangodb/graph-common.js',
      'frontend/js/modules/org/arangodb/graph.js',
      'frontend/js/modules/org/arangodb/mimetypes.js',
      'frontend/js/modules/org/arangodb/simple-query-common.js',
      'frontend/js/modules/org/arangodb/simple-query.js',
      'frontend/js/modules/org/arangodb/aql/functions.js',
      'frontend/js/modules/org/arangodb/graph/traversal.js',
      'frontend/js/modules/org/arangodb-common.js',
      'frontend/js/modules/org/arangodb.js',
      'frontend/js/bootstrap/errors.js',
      'frontend/js/bootstrap/monkeypatches.js',
      'frontend/js/bootstrap/module-internal.js',
      'frontend/js/client/bootstrap/module-internal.js',
      'frontend/js/client/client.js',

      // Mocks
      'test/mocks/disableEJS.js',
      'test/specs/graphViewer/helper/eventHelper.js',
      'test/specs/graphViewer/helper/objectsHelper.js',
      'test/specs/graphViewer/helper/mocks.js',
      'test/specs/graphViewer/helper/commMock.js',
      'test/specs/graphViewer/helper/uiMatchers.js',



      // GraphViewer
      // Core Modules
      'frontend/js/graphViewer/graphViewer.js',
      'frontend/js/graphViewer/graph/domObserverFactory.js',
      'frontend/js/graphViewer/graph/colourMapper.js',
      'frontend/js/graphViewer/graph/communityNode.js',
      'frontend/js/graphViewer/graph/webWorkerWrapper.js',
      'frontend/js/graphViewer/graph/nodeShaper.js',
      'frontend/js/graphViewer/graph/abstractAdapter.js',
      'frontend/js/graphViewer/graph/JSONAdapter.js',
      'frontend/js/graphViewer/graph/arangoAdapter.js',
      'frontend/js/graphViewer/graph/foxxAdapter.js',
      'frontend/js/graphViewer/graph/previewAdapter.js',
      'frontend/js/graphViewer/graph/edgeShaper.js',
      'frontend/js/graphViewer/graph/forceLayouter.js',
      'frontend/js/graphViewer/graph/eventDispatcher.js',
      'frontend/js/graphViewer/graph/eventLibrary.js',
      'frontend/js/graphViewer/graph/zoomManager.js',
      'frontend/js/graphViewer/graph/nodeReducer.js',
      'frontend/js/graphViewer/graph/modularityJoiner.js',

      // UI Modules
      'frontend/js/graphViewer/ui/modalDialogHelper.js',
      'frontend/js/graphViewer/ui/contextMenuHelper.js',
      'frontend/js/graphViewer/ui/nodeShaperControls.js',
      'frontend/js/graphViewer/ui/edgeShaperControls.js',
      'frontend/js/graphViewer/ui/arangoAdapterControls.js',
      'frontend/js/graphViewer/ui/layouterControls.js',
      'frontend/js/graphViewer/ui/uiComponentsHelper.js',
      'frontend/js/graphViewer/ui/eventDispatcherControls.js',
      'frontend/js/graphViewer/ui/graphViewerUI.js',
      'frontend/js/graphViewer/ui/graphViewerWidget.js',
      'frontend/js/graphViewer/ui/graphViewerPreview.js',

      // Models
      'frontend/js/models/currentDatabase.js',
      'frontend/js/models/arangoCollection.js',
      'frontend/js/models/arangoDatabase.js',
      'frontend/js/models/arangoDocument.js',
      'frontend/js/models/arangoLog.js',
      'frontend/js/models/arangoStatistics.js',
      'frontend/js/models/arangoStatisticsDescription.js',
      'frontend/js/models/foxx.js',
      'frontend/js/models/graph.js',

      // Collections
      'frontend/js/collections/arangoCollections.js',
      'frontend/js/collections/arangoDocuments.js',
      'frontend/js/collections/arangoDocument.js',
      'frontend/js/collections/arangoDatabase.js',
      'frontend/js/collections/arangoLogs.js',
      'frontend/js/collections/arangoUsers.js',
      'frontend/js/collections/arangoStatisticsCollection.js',
      'frontend/js/collections/arangoStatisticsDescriptionCollection.js',
      'frontend/js/collections/foxxCollection.js',
      'frontend/js/collections/graphCollection.js',

      // Views
      'frontend/js/views/navigationView.js',
      'frontend/js/views/apiView.js',
      'frontend/js/views/footerView.js',
      'frontend/js/views/queryView.js',
      'frontend/js/views/shellView.js',
      'frontend/js/views/dashboardView.js',
      'frontend/js/views/collectionsView.js',
      'frontend/js/views/collectionView.js',
      'frontend/js/views/collectionInfoView.js',
      'frontend/js/views/newCollectionView.js',
      'frontend/js/views/collectionsItemView.js',
      'frontend/js/views/documentsView.js',
      'frontend/js/views/documentView.js',
      'frontend/js/views/documentSourceView.js',
      'frontend/js/views/logsView.js',
      'frontend/js/views/applicationsView.js',
      'frontend/js/views/foxxActiveView.js',
      'frontend/js/views/foxxActiveListView.js',
      'frontend/js/views/foxxInstalledView.js',
      'frontend/js/views/foxxInstalledListView.js',
      'frontend/js/views/foxxEditView.js',
      'frontend/js/views/foxxMountView.js',
      'frontend/js/views/appDocumentationView.js',
      'frontend/js/views/graphView.js',
      'frontend/js/views/graphManagementView.js',
      'frontend/js/views/addNewGraphView.js',
      'frontend/js/views/deleteGraphView.js',
      'frontend/js/views/dbSelectionView.js',
      'frontend/js/views/editListEntryView.js',
      'frontend/js/views/loginView.js',
      'frontend/js/views/statisticBarView.js',
      'frontend/js/views/userBarView.js',

      // Router
      'frontend/js/routers/router.js',

      //Templates
      {pattern: 'frontend/js/templates/*.ejs', served:true, included:false, watched: true},
      // Specs
      // GraphViewer
      'test/specs/graphViewer/specColourMapper/colourMapperSpec.js',
      'test/specs/graphViewer/specWindowObjects/domObserverFactorySpec.js',
      'test/specs/graphViewer/specCommunityNode/communityNodeSpec.js',
      'test/specs/graphViewer/specAdapter/interfaceSpec.js',
      'test/specs/graphViewer/specAdapter/abstractAdapterSpec.js',
      'test/specs/graphViewer/specAdapter/jsonAdapterSpec.js',
      'test/specs/graphViewer/specAdapter/arangoAdapterSpec.js',
      'test/specs/graphViewer/specAdapter/foxxAdapterSpec.js',
{'fraction_non_alphanumeric': 0.15438167938931296, 'fraction_numerical': 0.0045190839694656485, 'mean_word_length': 3.0444554210916275, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '7052028', 'n_tokens_mistral': 6009, 'n_tokens_neox': 5872, 'n_words': 427}