org.squashtest.tm.service.campaign
Interface CampaignStatisticsService

All Known Implementing Classes:
CampaignStatisticsServiceImpl

public interface CampaignStatisticsService


Method Summary
 CampaignNonExecutedTestCaseImportanceStatistics gatherCampaignNonExecutedTestCaseImportanceStatistics(long campaignId)
          Given a campaign id, gathers and returns the number of non-executed test cases grouped by weight.
 CampaignProgressionStatistics gatherCampaignProgressionStatistics(long campaignId)
          Given a campaignId, gathers and return the theoterical and actual cumulative test count by iterations.
 CampaignStatisticsBundle gatherCampaignStatisticsBundle(long campaignId)
          Given a campaign id, gathers all of the above in one package.
 CampaignTestCaseStatusStatistics gatherCampaignTestCaseStatusStatistics(long campaignId)
          Given a campaign id, gathers and returns the number of test cases grouped by execution status.
 CampaignTestCaseSuccessRateStatistics gatherCampaignTestCaseSuccessRateStatistics(long campaignId)
          Given a campaign id, gathers and returns the number of passed and failed test cases grouped by weight.
 List<IterationTestInventoryStatistics> gatherIterationTestInventoryStatistics(long campaignId)
          Given a campaign id, gathers and returns how many tests and at which status are planned in this campaign.
 

Method Detail

gatherIterationTestInventoryStatistics

List<IterationTestInventoryStatistics> gatherIterationTestInventoryStatistics(long campaignId)
Given a campaign id, gathers and returns how many tests and at which status are planned in this campaign. Only tests part of an iteration count. Those statistics are grouped and sorted by Iteration.

Parameters:
campaignId -
Returns:

gatherCampaignProgressionStatistics

CampaignProgressionStatistics gatherCampaignProgressionStatistics(long campaignId)

Given a campaignId, gathers and return the theoterical and actual cumulative test count by iterations. The theoterical cumulative test count by iterations means how many tests should have been executed per day on the basis of the scheduled start and end of an iteration. The actual cumulative test count means how many tests have been executed so far, each days, during the same period.

This assumes that the scheduled start and end dates of each iterations are square : they must all be defined, and must not overlap. In case of errors appropriate messages will be filled instead and data won't be returned.

Parameters:
campaignId -
Returns:

gatherCampaignStatisticsBundle

CampaignStatisticsBundle gatherCampaignStatisticsBundle(long campaignId)
Given a campaign id, gathers all of the above in one package.

Parameters:
campaignId -
Returns:

gatherCampaignTestCaseStatusStatistics

CampaignTestCaseStatusStatistics gatherCampaignTestCaseStatusStatistics(long campaignId)
Given a campaign id, gathers and returns the number of test cases grouped by execution status.

Parameters:
campaignId -
Returns:

gatherCampaignNonExecutedTestCaseImportanceStatistics

CampaignNonExecutedTestCaseImportanceStatistics gatherCampaignNonExecutedTestCaseImportanceStatistics(long campaignId)
Given a campaign id, gathers and returns the number of non-executed test cases grouped by weight.

Parameters:
campaignId -
Returns:

gatherCampaignTestCaseSuccessRateStatistics

CampaignTestCaseSuccessRateStatistics gatherCampaignTestCaseSuccessRateStatistics(long campaignId)
Given a campaign id, gathers and returns the number of passed and failed test cases grouped by weight.

Parameters:
campaignId -
Returns:


Copyright © 2010-2013 Henix, henix.fr. All Rights Reserved.