You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by fs...@apache.org on 2015/12/10 19:55:23 UTC

svn commit: r1719183 [5/5] - in /jmeter/trunk/src/core/org/apache/jmeter: ./ report/config/ report/core/ report/dashboard/ report/processor/ report/processor/graph/ report/processor/graph/impl/

Modified: jmeter/trunk/src/core/org/apache/jmeter/report/processor/graph/impl/ResponseTimePercentilesGraphConsumer.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/report/processor/graph/impl/ResponseTimePercentilesGraphConsumer.java?rev=1719183&r1=1719182&r2=1719183&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/report/processor/graph/impl/ResponseTimePercentilesGraphConsumer.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/report/processor/graph/impl/ResponseTimePercentilesGraphConsumer.java Thu Dec 10 18:55:22 2015
@@ -40,7 +40,7 @@ public class ResponseTimePercentilesGrap
      * Instantiates a new response time percentiles graph consumer.
      */
     public ResponseTimePercentilesGraphConsumer() {
-	setRenderPercentiles(true);
+        setRenderPercentiles(true);
     }
 
     /*
@@ -51,13 +51,13 @@ public class ResponseTimePercentilesGrap
      */
     @Override
     protected final GraphKeysSelector createKeysSelector() {
-	return new GraphKeysSelector() {
+        return new GraphKeysSelector() {
 
-	    @Override
-	    public Double select(Sample sample) {
-		return (double) sample.getElapsedTime();
-	    }
-	};
+            @Override
+            public Double select(Sample sample) {
+                return (double) sample.getElapsedTime();
+            }
+        };
     }
 
     /*
@@ -68,17 +68,20 @@ public class ResponseTimePercentilesGrap
      */
     @Override
     protected Map<String, GroupInfo> createGroupInfos() {
-	HashMap<String, GroupInfo> groupInfos = new HashMap<>(1);
+        HashMap<String, GroupInfo> groupInfos = new HashMap<>(1);
 
-	groupInfos.put(AbstractGraphConsumer.DEFAULT_GROUP, new GroupInfo(
-	        new SumAggregatorFactory(), new NameSeriesSelector(),
-	        new CountValueSelector(), false, false));
+        groupInfos.put(AbstractGraphConsumer.DEFAULT_GROUP, new GroupInfo(
+                new SumAggregatorFactory(), new NameSeriesSelector(),
+                new CountValueSelector(), false, false));
 
-	return groupInfos;
+        return groupInfos;
     }
 
-    /* (non-Javadoc)
-     * @see org.apache.jmeter.report.processor.graph.AbstractGraphConsumer#initializeExtraResults(org.apache.jmeter.report.processor.MapResultData)
+    /*
+     * (non-Javadoc)
+     * 
+     * @see org.apache.jmeter.report.processor.graph.AbstractGraphConsumer#
+     * initializeExtraResults(org.apache.jmeter.report.processor.MapResultData)
      */
     @Override
     protected void initializeExtraResults(MapResultData parentResult) {

Modified: jmeter/trunk/src/core/org/apache/jmeter/report/processor/graph/impl/ResponseTimeVSRequestGraphConsumer.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/report/processor/graph/impl/ResponseTimeVSRequestGraphConsumer.java?rev=1719183&r1=1719182&r2=1719183&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/report/processor/graph/impl/ResponseTimeVSRequestGraphConsumer.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/report/processor/graph/impl/ResponseTimeVSRequestGraphConsumer.java Thu Dec 10 18:55:22 2015
@@ -46,14 +46,14 @@ public class ResponseTimeVSRequestGraphC
      */
     @Override
     protected GraphKeysSelector createKeysSelector() {
-	return new GraphKeysSelector() {
+        return new GraphKeysSelector() {
 
-	    @Override
-	    public Double select(Sample sample) {
-		return sample
-		        .getDouble(AbstractVersusRequestsGraphConsumer.TIME_INTERVAL_LABEL);
-	    }
-	};
+            @Override
+            public Double select(Sample sample) {
+                return sample
+                        .getDouble(AbstractVersusRequestsGraphConsumer.TIME_INTERVAL_LABEL);
+            }
+        };
     }
 
     /*
@@ -64,10 +64,10 @@ public class ResponseTimeVSRequestGraphC
      */
     @Override
     protected Map<String, GroupInfo> createGroupInfos() {
-	HashMap<String, GroupInfo> groupInfos = new HashMap<>(1);
-	groupInfos.put(AbstractGraphConsumer.DEFAULT_GROUP, new GroupInfo(
-	        new MedianAggregatorFactory(), new StatusSeriesSelector(),
-	        new ElapsedTimeValueSelector(), false, false));
-	return groupInfos;
+        HashMap<String, GroupInfo> groupInfos = new HashMap<>(1);
+        groupInfos.put(AbstractGraphConsumer.DEFAULT_GROUP, new GroupInfo(
+                new MedianAggregatorFactory(), new StatusSeriesSelector(),
+                new ElapsedTimeValueSelector(), false, false));
+        return groupInfos;
     }
 }

Modified: jmeter/trunk/src/core/org/apache/jmeter/report/processor/graph/impl/TimeVSThreadGraphConsumer.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/report/processor/graph/impl/TimeVSThreadGraphConsumer.java?rev=1719183&r1=1719182&r2=1719183&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/report/processor/graph/impl/TimeVSThreadGraphConsumer.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/report/processor/graph/impl/TimeVSThreadGraphConsumer.java Thu Dec 10 18:55:22 2015
@@ -44,13 +44,13 @@ public class TimeVSThreadGraphConsumer e
      */
     @Override
     protected final GraphKeysSelector createKeysSelector() {
-	return new GraphKeysSelector() {
+        return new GraphKeysSelector() {
 
-	    @Override
-	    public Double select(Sample sample) {
-		return (double) sample.getAllThreads();
-	    }
-	};
+            @Override
+            public Double select(Sample sample) {
+                return (double) sample.getAllThreads();
+            }
+        };
     }
 
     /*
@@ -61,17 +61,20 @@ public class TimeVSThreadGraphConsumer e
      */
     @Override
     protected Map<String, GroupInfo> createGroupInfos() {
-	HashMap<String, GroupInfo> groupInfos = new HashMap<>(1);
+        HashMap<String, GroupInfo> groupInfos = new HashMap<>(1);
 
-	groupInfos.put(AbstractGraphConsumer.DEFAULT_GROUP, new GroupInfo(
-	        new MeanAggregatorFactory(), new NameSeriesSelector(),
-	        new ElapsedTimeValueSelector(), false, false));
+        groupInfos.put(AbstractGraphConsumer.DEFAULT_GROUP, new GroupInfo(
+                new MeanAggregatorFactory(), new NameSeriesSelector(),
+                new ElapsedTimeValueSelector(), false, false));
 
-	return groupInfos;
+        return groupInfos;
     }
 
-    /* (non-Javadoc)
-     * @see org.apache.jmeter.report.processor.graph.AbstractGraphConsumer#initializeExtraResults(org.apache.jmeter.report.processor.MapResultData)
+    /*
+     * (non-Javadoc)
+     * 
+     * @see org.apache.jmeter.report.processor.graph.AbstractGraphConsumer#
+     * initializeExtraResults(org.apache.jmeter.report.processor.MapResultData)
      */
     @Override
     protected void initializeExtraResults(MapResultData parentResult) {

Modified: jmeter/trunk/src/core/org/apache/jmeter/report/processor/graph/impl/TransactionsPerSecondGraphConsumer.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/report/processor/graph/impl/TransactionsPerSecondGraphConsumer.java?rev=1719183&r1=1719182&r2=1719183&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/report/processor/graph/impl/TransactionsPerSecondGraphConsumer.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/report/processor/graph/impl/TransactionsPerSecondGraphConsumer.java Thu Dec 10 18:55:22 2015
@@ -52,9 +52,9 @@ public class TransactionsPerSecondGraphC
      */
     @Override
     protected TimeStampKeysSelector createTimeStampKeysSelector() {
-	TimeStampKeysSelector keysSelector = new TimeStampKeysSelector();
-	keysSelector.setSelectBeginTime(false);
-	return keysSelector;
+        TimeStampKeysSelector keysSelector = new TimeStampKeysSelector();
+        keysSelector.setSelectBeginTime(false);
+        return keysSelector;
     }
 
     /*
@@ -65,21 +65,21 @@ public class TransactionsPerSecondGraphC
      */
     @Override
     protected Map<String, GroupInfo> createGroupInfos() {
-	HashMap<String, GroupInfo> groupInfos = new HashMap<>(1);
-	groupInfos.put(AbstractGraphConsumer.DEFAULT_GROUP, new GroupInfo(
-	        new TimeRateAggregatorFactory(), new AbstractSeriesSelector(
-	                true) {
+        HashMap<String, GroupInfo> groupInfos = new HashMap<>(1);
+        groupInfos.put(AbstractGraphConsumer.DEFAULT_GROUP, new GroupInfo(
+                new TimeRateAggregatorFactory(), new AbstractSeriesSelector(
+                        true) {
 
-		    @Override
-		    public Iterable<String> select(Sample sample) {
-		        String label = String.format(STATUS_SERIES_FORMAT,
-		                sample.getName(),
-		                sample.getSuccess() ? SUCCESS_SERIES_SUFFIX
-		                        : FAILURE_SERIES_SUFFIX);
-		        return Arrays.asList(label);
-		    }
-	        }, new CountValueSelector(), false, false));
-	return groupInfos;
+                    @Override
+                    public Iterable<String> select(Sample sample) {
+                        String label = String.format(STATUS_SERIES_FORMAT,
+                                sample.getName(),
+                                sample.getSuccess() ? SUCCESS_SERIES_SUFFIX
+                                        : FAILURE_SERIES_SUFFIX);
+                        return Arrays.asList(label);
+                    }
+                }, new CountValueSelector(), false, false));
+        return groupInfos;
     }
 
     /*
@@ -91,11 +91,11 @@ public class TransactionsPerSecondGraphC
      */
     @Override
     public void setGranularity(long granularity) {
-	super.setGranularity(granularity);
-	// Override the granularity of the aggregators factory
-	((TimeRateAggregatorFactory) getGroupInfos().get(
-	        AbstractGraphConsumer.DEFAULT_GROUP).getAggregatorFactory())
-	        .setGranularity(granularity);
+        super.setGranularity(granularity);
+        // Override the granularity of the aggregators factory
+        ((TimeRateAggregatorFactory) getGroupInfos().get(
+                AbstractGraphConsumer.DEFAULT_GROUP).getAggregatorFactory())
+                .setGranularity(granularity);
     }
 
 }