|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.squashtest.tm.service.internal.campaign.CampaignStatisticsServiceImpl
@Transactional(readOnly=true) @Service(value="CampaignStatisticsService") public class CampaignStatisticsServiceImpl
| Constructor Summary | |
|---|---|
CampaignStatisticsServiceImpl()
|
|
| 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CampaignStatisticsServiceImpl()
| Method Detail |
|---|
@PreAuthorize(value="hasPermission(#campaignId, \'org.squashtest.tm.domain.campaign.Campaign\', \'READ\') or hasRole(\'ROLE_ADMIN\')") public CampaignProgressionStatistics gatherCampaignProgressionStatistics(long campaignId)
CampaignStatisticsServiceGiven 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.
gatherCampaignProgressionStatistics in interface CampaignStatisticsService@PreAuthorize(value="hasPermission(#campaignId, \'org.squashtest.tm.domain.campaign.Campaign\', \'READ\') or hasRole(\'ROLE_ADMIN\')") public List<IterationTestInventoryStatistics> gatherIterationTestInventoryStatistics(long campaignId)
CampaignStatisticsService
gatherIterationTestInventoryStatistics in interface CampaignStatisticsService@PreAuthorize(value="hasPermission(#campaignId, \'org.squashtest.tm.domain.campaign.Campaign\', \'READ\') or hasRole(\'ROLE_ADMIN\')") public CampaignTestCaseStatusStatistics gatherCampaignTestCaseStatusStatistics(long campaignId)
CampaignStatisticsService
gatherCampaignTestCaseStatusStatistics in interface CampaignStatisticsService@PreAuthorize(value="hasPermission(#campaignId, \'org.squashtest.tm.domain.campaign.Campaign\', \'READ\') or hasRole(\'ROLE_ADMIN\')") public CampaignNonExecutedTestCaseImportanceStatistics gatherCampaignNonExecutedTestCaseImportanceStatistics(long campaignId)
CampaignStatisticsService
gatherCampaignNonExecutedTestCaseImportanceStatistics in interface CampaignStatisticsService@PreAuthorize(value="hasPermission(#campaignId, \'org.squashtest.tm.domain.campaign.Campaign\', \'READ\') or hasRole(\'ROLE_ADMIN\')") public CampaignTestCaseSuccessRateStatistics gatherCampaignTestCaseSuccessRateStatistics(long campaignId)
CampaignStatisticsService
gatherCampaignTestCaseSuccessRateStatistics in interface CampaignStatisticsService@PreAuthorize(value="hasPermission(#campaignId, \'org.squashtest.tm.domain.campaign.Campaign\', \'READ\') or hasRole(\'ROLE_ADMIN\')") public CampaignStatisticsBundle gatherCampaignStatisticsBundle(long campaignId)
CampaignStatisticsService
gatherCampaignStatisticsBundle in interface CampaignStatisticsService
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||