PageRenderTime 12ms CodeModel.GetById 1ms app.highlight 8ms RepoModel.GetById 1ms app.codeStats 0ms

/eclipse-plugin/plugins/com.google.test.metric.eclipse.core/src/main/java/com/google/test/metric/eclipse/internal/util/TestabilityConstants.java

http://testability-explorer.googlecode.com/
Java | 79 lines | 52 code | 12 blank | 15 comment | 0 complexity | 70f757132f32695645ec65dc208dad77 MD5 | raw file
 1/*
 2 * Copyright 2009 Google Inc.
 3 *
 4 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 5 * use this file except in compliance with the License. You may obtain a copy of
 6 * the License at
 7 *
 8 * http://www.apache.org/licenses/LICENSE-2.0
 9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 * License for the specific language governing permissions and limitations under
14 * the License.
15 */
16package com.google.test.metric.eclipse.internal.util;
17
18import java.util.ArrayList;
19import java.util.List;
20
21public class TestabilityConstants {
22  public static final String CONFIGURATION_ATTR_PROJECT_NAME =
23      "testability.launch.configuration.projectname";
24  public static final String CONFIGURATION_ATTR_REPORT_FOLDER_NAME =
25      "testability.launch.configuration.folder.name";
26  
27  public static final String CONFIGURATION_ATTR_CYCLOMATIC_COST =
28      "testability.launch.configuration.cyclomatic.cost";
29  public static final String CONFIGURATION_ATTR_GLOBAL_STATE_COST =
30      "testability.launch.configuration.global.state.cost";
31  public static final String CONFIGURATION_ATTR_CONSTRUCTOR_MULT =
32      "testability.launch.configuration.constructor.multiplier";
33  
34  public static final String CONFIGURATION_ATTR_MAX_EXCELLENT_COST =
35      "testability.launch.configuration.max.excellent.cost";
36  public static final String CONFIGURATION_ATTR_MAX_ACCEPTABLE_COST =
37      "testability.launch.configuration.max.acceptable.cost";
38  
39  public static final String CONFIGURATION_ATTR_MAX_CLASSES_IN_REPORT =
40      "testability.launch.configuration.max.classes.in.report";
41  
42  public static final String CONFIGURATION_ATTR_WHITELIST =
43      "testability.launch.configuration.whitelist";
44
45  public static final String CONFIGURATION_ATTR_RUN_ON_BUILD =
46      "testability.launch.configuration.run.on.build";
47
48  public static final String CONFIGURATION_ATTR_RUNNING_IN_COMPILATION_MODE =
49      "testability.launch.configuration.running.in.compilation.mode";
50  
51  public static final String TESTABILITY_DIRECT_COST_MARKER_TYPE =
52      "com.google.test.metric.eclipse.ui.testabilityMarkerDirectCost";
53  public static final String TESTABILITY_CONSTRUCTOR_MARKER_TYPE =
54      "com.google.test.metric.eclipse.ui.testabilityMarkerConstructor";
55  public static final String TESTABILITY_COLLABORATOR_MARKER_TYPE =
56      "com.google.test.metric.eclipse.ui.testabilityMarkerCollaborator";  
57  
58  public static final int MAX_ACCEPTABLE_COST = 100;
59  public static final int MAX_EXCELLENT_COST = 50;
60  public static final int CYCLOMATIC_COST = 1;
61  public static final int GLOBAL_STATE_COST = 10;
62  public static final int CONSTRUCTOR_MULT = 1;
63  public static final int RECORDING_DEPTH = 0;
64  public static final List<String> WHITELIST = new ArrayList<String>();
65  public static final String ERROR_LOG_FILENAME = "error-log";
66  public static final String HTML_REPORT_FILENAME = "report.html";
67  public static final String TESTABILITY = "testability";
68  public static final int MAX_CLASSES_TO_SHOW_IN_ISSUES_REPORTER = 25;
69  
70  public static final String ISSUE_TYPE = "issueType";
71  public static final String TESTABILITY_LAUNCH_GROUP =
72      "com.google.test.metric.eclipse.ui.launchGroup.testability";
73  public static final String TESTABILITY_LAUNCH_CONFIGURATION_TYPE =
74      "com.google.test.metric.eclipse.core.launchTestabilityConfigurationType";
75  public static final String TESTABILITY_MODE = "testability";
76  
77  private TestabilityConstants() {
78  }
79}