All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.dagere.peass.statistics.DependencyStatistics Maven / Gradle / Ivy

There is a newer version: 0.4.0
Show newest version
package de.dagere.peass.statistics;

import java.util.LinkedList;
import java.util.List;

import de.dagere.peass.dependency.analysis.data.TestCase;

/**
 * Saves information about count of dependencies, i.e. how many tests are run overall if one considers one dependency/view-file or an evaluation-file.
 * 
 * @author reichelt
 *
 */
public class DependencyStatistics {
   int overallRunTests = 0;
   int changedTraceTests = 0;
   int pruningRunTests = 0;

   int size = 0;

   final List multipleChangedTest = new LinkedList<>();
   final List onceChangedTests = new LinkedList<>();

   public int getOverallRunTests() {
      return overallRunTests;
   }

   public int getChangedTraceTests() {
      return changedTraceTests;
   }

   public int getPruningRunTests() {
      return pruningRunTests;
   }

   public int getSize() {
      return size;
   }

   public List getMultipleChangedTest() {
      return multipleChangedTest;
   }

   public List getOnceChangedTests() {
      return onceChangedTests;
   }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy