org.squashtest.tm.service.testcase
Interface TestCaseStatisticsService

All Known Implementing Classes:
TestCaseStatisticsServiceImpl

public interface TestCaseStatisticsService


Method Summary
 TestCaseBoundRequirementsStatistics gatherBoundRequirementStatistics(Collection<Long> testCaseIds)
          Given those test case ids, returns how many of them are bound to requirements and how many aren't.
 TestCaseImportanceStatistics gatherTestCaseImportanceStatistics(Collection<Long> testCaseIds)
          Given those test case ids, sorts them by importance and returns how many of each were found.
 TestCaseSizeStatistics gatherTestCaseSizeStatistics(Collection<Long> testCaseIds)
          Given those test case ids, sort them number of steps aggregated by slices of 10 (0, 0 < x <= 10, 10 < x <=20, 20 < x), then returns how many of each.
 TestCaseStatisticsBundle gatherTestCaseStatisticsBundle(Collection<Long> testCaseIds)
          Returns all of the above bundled in one bean.
 TestCaseStatusesStatistics gatherTestCaseStatusesStatistics(Collection<Long> testCaseIds)
          Given those test case ids, sort them by status and returns how many of each were found.
 

Method Detail

gatherBoundRequirementStatistics

TestCaseBoundRequirementsStatistics gatherBoundRequirementStatistics(Collection<Long> testCaseIds)
Given those test case ids, returns how many of them are bound to requirements and how many aren't. Warning : no security check will be performed and the data will be returned regardless of who requested it.

Parameters:
testCaseIds -
Returns:

gatherTestCaseImportanceStatistics

TestCaseImportanceStatistics gatherTestCaseImportanceStatistics(Collection<Long> testCaseIds)
Given those test case ids, sorts them by importance and returns how many of each were found. Warning : no security check will be performed and the data will be returned regardless of who requested it.

Parameters:
testCaseIds -
Returns:

gatherTestCaseSizeStatistics

TestCaseSizeStatistics gatherTestCaseSizeStatistics(Collection<Long> testCaseIds)
Given those test case ids, sort them number of steps aggregated by slices of 10 (0, 0 < x <= 10, 10 < x <=20, 20 < x), then returns how many of each. Warning : no security check will be performed and the data will be returned regardless of who requested it.

Parameters:
testCaseIds -
Returns:

gatherTestCaseStatusesStatistics

TestCaseStatusesStatistics gatherTestCaseStatusesStatistics(Collection<Long> testCaseIds)
Given those test case ids, sort them by status and returns how many of each were found. Warning : no security check will be performed and the data will be returned regardless of who requested it.

Parameters:
testCaseIds -
Returns:

gatherTestCaseStatisticsBundle

TestCaseStatisticsBundle gatherTestCaseStatisticsBundle(Collection<Long> testCaseIds)
Returns all of the above bundled in one bean.

Parameters:
testCaseIds -
Returns:


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