Search in sources :

Example 21 with ResultSet

use of net.sourceforge.processdash.data.util.ResultSet in project processdash by dtuma.

the class DefectAnalysisPage method getPhaseRemovalRates.

@//
Chart(//
id = "remRates", //
type = "line", //
titleKey = "Defects.Removal_Rate.Title", format = "noSkipLegend=t\nunits=${Defects.Removal_Rate.Units}\n" + "headerComment=${Defects.Removal_Rate.Comment}")
public ResultSet getPhaseRemovalRates(ChartData chartData) {
    List<String> phases = chartData.getPhases(PhaseType.Appraisal, PhaseType.Failure);
    if (phases.isEmpty())
        return null;
    Collections.reverse(phases);
    ResultSet data = getDefectsByPhase(chartData, phases, true, Denom.Rate);
    return data;
}
Also used : ResultSet(net.sourceforge.processdash.data.util.ResultSet)

Example 22 with ResultSet

use of net.sourceforge.processdash.data.util.ResultSet in project processdash by dtuma.

the class DefectAnalysisPage method getEscapedDefectsScatter.

@//
Chart(//
id = "escapeScatter", //
type = "xy", //
params = "phase", titleKey = "Defects.Escape_Scatter.Title_FMT", format = "isDensity=t")
public ResultSet getEscapedDefectsScatter(ChartData chartData) {
    String lastFailurePhase = chartData.chartArgs[0];
    chartData.chartArgs = new String[] { lastFailurePhase, Defect.AFTER_DEVELOPMENT };
    ResultSet data = getDensityScatter(chartData);
    data.setColName(2, //
    resources.format(//
    "Defects.Escape_Scatter.Axis_FMT", chartData.getDensityStr()));
    return data;
}
Also used : ResultSet(net.sourceforge.processdash.data.util.ResultSet)

Example 23 with ResultSet

use of net.sourceforge.processdash.data.util.ResultSet in project processdash by dtuma.

the class QualityAnalysisPage method getAppraisalCostOfQuality.

@//
Chart(//
id = "appraisalCOQ", //
type = "line", titleKey = "Quality.Appraisal_COQ_Title")
public ResultSet getAppraisalCostOfQuality(ChartData chartData) {
    ResultSet data = //
    chartData.getEnactmentResultSet("Quality.Appraisal_COQ_Label");
    writePhaseTimePct(data, 1, PhaseType.Appraisal);
    return data;
}
Also used : ResultSet(net.sourceforge.processdash.data.util.ResultSet)

Example 24 with ResultSet

use of net.sourceforge.processdash.data.util.ResultSet in project processdash by dtuma.

the class QualityAnalysisPage method getCostOfQuality.

@//
Chart(//
id = "COQ", //
type = "line", //
titleKey = "Quality.COQ_Title", format = "units=${Quality.COQ_Label}")
public ResultSet getCostOfQuality(ChartData chartData) {
    ResultSet data = chartData.getEnactmentResultSet("Total", "Quality.Appraisal_COQ_Label", "Quality.Failure_COQ_Label");
    List<String> allQualityPhases = chartData.histData.getPhasesOfType(PhaseType.Appraisal, PhaseType.Failure);
    writePhaseTimePct(data, 1, allQualityPhases, PhaseType.Appraisal, PhaseType.Failure);
    return data;
}
Also used : ResultSet(net.sourceforge.processdash.data.util.ResultSet)

Example 25 with ResultSet

use of net.sourceforge.processdash.data.util.ResultSet in project processdash by dtuma.

the class QualityAnalysisPage method getYieldVsAFR.

@//
Chart(//
id = "yieldVsAfr", //
type = "xy", titleKey = "Process.Yield_Vs_AFR_Title")
public ResultSet getYieldVsAFR(ChartData chartData) {
    ResultSet data = chartData.getEnactmentResultSet(2);
    writeAFR(data, 1);
    writeYield(data, 2);
    return data;
}
Also used : ResultSet(net.sourceforge.processdash.data.util.ResultSet)

Aggregations

ResultSet (net.sourceforge.processdash.data.util.ResultSet)57 Enactment (net.sourceforge.processdash.tool.db.WorkflowHistDataHelper.Enactment)11 DoubleData (net.sourceforge.processdash.data.DoubleData)5 ArrayList (java.util.ArrayList)4 ListData (net.sourceforge.processdash.data.ListData)3 DataPair (net.sourceforge.processdash.util.DataPair)3 Iterator (java.util.Iterator)2 List (java.util.List)2 Map (java.util.Map)2 PDashQuery (net.sourceforge.processdash.api.PDashQuery)2 PhaseType (net.sourceforge.processdash.tool.db.WorkflowHistDataHelper.PhaseType)2 IOException (java.io.IOException)1 Calendar (java.util.Calendar)1 Date (java.util.Date)1 HashMap (java.util.HashMap)1 ServletException (javax.servlet.ServletException)1 DataContext (net.sourceforge.processdash.data.DataContext)1 StringData (net.sourceforge.processdash.data.StringData)1