@Service(value="RequirementStatisticsService") @Transactional(readOnly=true) public class RequirementStatisticsServiceImpl extends Object implements RequirementStatisticsService
| Constructor and Description |
|---|
RequirementStatisticsServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
RequirementBoundTestCasesStatistics |
gatherBoundTestCaseStatistics(Collection<Long> requirementIds)
Given those requirements ids, returns how many of them are bound to test cases and how many aren't.
|
RequirementBoundDescriptionStatistics |
gatherRequirementBoundDescriptionStatistics(Collection<Long> requirementIds)
Given those requirements ids, returns how many of them have a description and how many haven't.
|
RequirementCoverageStatistics |
gatherRequirementCoverageStatistics(Collection<Long> requirementIds)
Given those requirements ids, sort them by criticality and returns the rate of coverage.
|
RequirementCriticalityStatistics |
gatherRequirementCriticalityStatistics(Collection<Long> requirementIds)
Given those requirements ids, sort them by criticality and returns how many of each were found.
|
Collection<Long> |
gatherRequirementIdsFromValidation(Collection<Long> requirementIds,
org.squashtest.tm.domain.requirement.RequirementCriticality criticality,
Collection<String> validationStatus)
Among the given requirements ids, returns the ids of the requirements that have the given criticality and are bound to the test cases with the given validation.
|
RequirementStatisticsBundle |
gatherRequirementStatisticsBundle(Collection<Long> requirementIds)
Returns all of the above bundled in one bean.
|
RequirementStatusesStatistics |
gatherRequirementStatusesStatistics(Collection<Long> requirementIds)
Given those requirements ids, sort them by status and returns how many of each were found.
|
RequirementValidationStatistics |
gatherRequirementValidationStatistics(Collection<Long> requirementIds)
Given those requirements ids, sort them by criticality and returns the rates of validation.
|
public RequirementBoundTestCasesStatistics gatherBoundTestCaseStatistics(Collection<Long> requirementIds)
RequirementStatisticsServicegatherBoundTestCaseStatistics in interface RequirementStatisticsServicepublic RequirementCriticalityStatistics gatherRequirementCriticalityStatistics(Collection<Long> requirementIds)
RequirementStatisticsServicegatherRequirementCriticalityStatistics in interface RequirementStatisticsServicepublic RequirementStatusesStatistics gatherRequirementStatusesStatistics(Collection<Long> requirementIds)
RequirementStatisticsServicegatherRequirementStatusesStatistics in interface RequirementStatisticsServicepublic RequirementBoundDescriptionStatistics gatherRequirementBoundDescriptionStatistics(Collection<Long> requirementIds)
RequirementStatisticsServicegatherRequirementBoundDescriptionStatistics in interface RequirementStatisticsServicepublic RequirementCoverageStatistics gatherRequirementCoverageStatistics(Collection<Long> requirementIds)
RequirementStatisticsServicegatherRequirementCoverageStatistics in interface RequirementStatisticsServicepublic RequirementValidationStatistics gatherRequirementValidationStatistics(Collection<Long> requirementIds)
RequirementStatisticsServicegatherRequirementValidationStatistics in interface RequirementStatisticsServicepublic RequirementStatisticsBundle gatherRequirementStatisticsBundle(Collection<Long> requirementIds)
RequirementStatisticsServicegatherRequirementStatisticsBundle in interface RequirementStatisticsServicepublic Collection<Long> gatherRequirementIdsFromValidation(Collection<Long> requirementIds, org.squashtest.tm.domain.requirement.RequirementCriticality criticality, Collection<String> validationStatus)
RequirementStatisticsServicegatherRequirementIdsFromValidation in interface RequirementStatisticsServiceCopyright © 2010–2017 Henix, henix.fr. All rights reserved.