资源描述:
《Structured Testing A Testing Methodology Using the Cyclomatic Complexity Metric》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
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-effectivesecurityandprivacyofsensitiveunclassifiedinformationprocessedinfe
4、deralcomputers.CSLassistsagenciesindevelopingsecurityplansandinimprovingcomputersecurityawarenesstraining.ThisSpecialPublication500seriesreportsCSLresearchandguidelinestoFederalagenciesaswellastoorganizationsinindustry,gov-ernment,andacademia.NationalInstituteofStandardsandTechnologySpecialPub
5、lication500-235Natl.Inst.Stand.Technol.Spec.Publ.500-235,123pages(September1996)AbstractThepurposeofthisdocumentistodescribethestructuredtestingmethodologyforsoftwaretesting,alsoknownasbasispathtesting.BasedonthecyclomaticcomplexitymeasureofMcCabe,structuredtestingusesthecontrolflowstructureofs
6、oftwaretoestablishpathcover-agecriteria.Theresultanttestsetsprovidemorethoroughtestingthanstatementandbranchcoverage.Extensionsofthefundamentalstructuredtestingtechniquesforintegrationtestingandobject-orientedsystemsarealsopresented.Severalrelatedsoftwarecomplexitymetricsaredescribed.Summaries
7、oftechnicalpapers,casestudies,andempiricalresultsarepresentedintheappendices.KeywordsBasispathtesting,cyclomaticcomplexity,McCabe,objectoriented,softwaredevelopment,softwarediagnostic,softwaremetrics,softwaretesting,structuredtestingAck