資源描述:
《Structured Testing A Testing Methodology Using the Cyclomatic Complexity Metric》由會(huì)員上傳分享,免費(fèi)在線閱讀,更多相關(guān)內(nèi)容在學(xué)術(shù)論文-天天文庫(kù)。
1、NISTSpecialPublication500-235StructuredTesting:ATestingMethodologyUsingtheCyclomaticComplexityMetricArthurH.WatsonThomasJ.McCabePreparedunderNISTContract43NANB517266DoloresR.Wallace,EditorComputerSystemsLaboratoryNationalInstituteofStandardsandTechnologyGaithersburg,MD20899-0001September1996Re
2、portsonComputerSystemsTechnologyTheNationalInstituteofStandardsandTechnology(NIST)hasauniqueresponsibilityforcomputersystemstechnologywithintheFederalgovernment.NIST’sComputerSystemsLaboratory(CSL)developsstandardsandguidelines,providestechnicalassistance,andconductsresearchforcomputersandrela
3、tedtelecommunicationssystemstoachievemoreeffectiveutilizationofFederalinformationtechnologyresources.CSL’sreponsibilitiesincludedevelopmentoftechnical,management,physical,andadministrativestandardsandguidelinesforthecost-effectivesecurityandprivacyofsensitiveunclassi?edinformationprocessedinfe
4、deralcomputers.CSLassistsagenciesindevelopingsecurityplansandinimprovingcomputersecurityawarenesstraining.ThisSpecialPublication500seriesreportsCSLresearchandguidelinestoFederalagenciesaswellastoorganizationsinindustry,gov-ernment,andacademia.NationalInstituteofStandardsandTechnologySpecialPub
5、lication500-235Natl.Inst.Stand.Technol.Spec.Publ.500-235,123pages(September1996)AbstractThepurposeofthisdocumentistodescribethestructuredtestingmethodologyforsoftwaretesting,alsoknownasbasispathtesting.BasedonthecyclomaticcomplexitymeasureofMcCabe,structuredtestingusesthecontrol?owstructureofs
6、oftwaretoestablishpathcover-agecriteria.Theresultanttestsetsprovidemorethoroughtestingthanstatementandbranchcoverage.Extensionsofthefundamentalstructuredtestingtechniquesforintegrationtestingandobject-orientedsystemsarealsopresented.Severalrelatedsoftwarecomplexitymetricsaredescribed.Summaries
7、oftechnicalpapers,casestudies,andempiricalresultsarepresentedintheappendices.KeywordsBasispathtesting,cyclomaticcomplexity,McCabe,objectoriented,softwaredevelopment,softwarediagnostic,softwaremetrics,softwaretesting,structuredtestingAck