已阅读5页,还剩67页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
SoftwareRequirements,Objectives,TointroducetheconceptsofuserandsystemrequirementsTodescribefunctionalandnon-functionalrequirementsToexplainhowsoftwarerequirementsmaybeorganisedinarequirementsdocument,Topicscovered,Functionalandnon-functionalrequirementsUserrequirementsSystemrequirementsInterfacespecificationThesoftwarerequirementsdocument,Typesofrequirement,UserrequirementsStatementsinnaturallanguageplusdiagramsoftheservicesthesystemprovidesanditsoperationalconstraints.Writtenforcustomers.SystemrequirementsAstructureddocumentsettingoutdetaileddescriptionsofthesystemsfunctions,servicesandoperationalconstraints.Defineswhatshouldbeimplementedsomaybepartofacontractbetweenclientandcontractor.,Functionalandnon-functionalrequirements,FunctionalrequirementsStatementsofservicesthesystemshouldprovide,howthesystemshouldreacttoparticularinputsandhowthesystemshouldbehaveinparticularsituations.Non-functionalrequirementsconstraintsontheservicesorfunctionsofferedbythesystemsuchastimingconstraints,constraintsonthedevelopmentprocess,standards,etc.DomainrequirementsRequirementsthatcomefromtheapplicationdomainofthesystemandthatreflectcharacteristicsofthatdomain.,Functionalrequirements,Describefunctionalityorsystemservices.Dependonthetypeofsoftware,expectedusersandthetypeofsystemwherethesoftwareisused.Functionaluserrequirementsmaybehigh-levelstatementsofwhatthesystemshoulddobutfunctionalsystemrequirementsshoulddescribethesystemservicesindetail.,Requirementsimprecision,Problemsarisewhenrequirementsarenotpreciselystated.Ambiguousrequirementsmaybeinterpretedindifferentwaysbydevelopersandusers.ConsiderthetermappropriateviewersUserintention-specialpurposeviewerforeachdifferentdocumenttype;Developerinterpretation-Provideatextviewerthatshowsthecontentsofthedocument.,Requirementscompletenessandconsistency,Inprinciple,requirementsshouldbebothcompleteandconsistent.CompleteTheyshouldincludedescriptionsofallfacilitiesrequired.ConsistentThereshouldbenoconflictsorcontradictionsinthedescriptionsofthesystemfacilities.Inpractice,itisimpossibletoproduceacompleteandconsistentrequirementsdocument.,Non-functionalrequirements,Thesedefinesystempropertiesandconstraintse.g.reliability,responsetimeandstoragerequirements.ConstraintsareI/Odevicecapability,systemrepresentations,etc.ProcessrequirementsmayalsobespecifiedmandatingaparticularCASEsystem,programminglanguageordevelopmentmethod.Non-functionalrequirementsmaybemorecriticalthanfunctionalrequirements.Ifthesearenotmet,thesystemisuseless.,Non-functionalclassifications,ProductrequirementsRequirementswhichspecifythatthedeliveredproductmustbehaveinaparticularwaye.g.executionspeed,reliability,etc.OrganisationalrequirementsRcessstandardsused,implementationrequirements,etc.ExternalrequirementsReroperabilityrequirements,legislativerequirements,etc.,Non-functionalrequirementtypes,Goalsandrequirements,Non-functionalrequirementsmaybeverydifficulttostatepreciselyandimpreciserequirementsmaybedifficulttoverify.GoalAgeneralintentionoftheusersuchaseaseofuse.Verifiablenon-functionalrequirementAstatementusingsomemeasurethatcanbeobjectivelytested.Goalsarehelpfultodevelopersastheyconveytheintentionsofthesystemusers.,Examples,AsystemgoalThesystemshouldbeeasytousebyexperiencedcontrollersandshouldbeorganisedinsuchawaythatusererrorsareminimised.Averifiablenon-functionalrequirementExperiencedcontrollersshallbeabletouseallthesystemfunctionsafteratotaloftwohourstraining.Afterthistraining,theaveragenumberoferrorsmadebyexperiencedusersshallnotexceedtwoperday.,Requirementsinteraction,Conflictsbetweendifferentnon-functionalrequirementsarecommonincomplexsystems.SpacecraftsystemTominimiseweight,thenumberofseparatechipsinthesystemshouldbeminimised.Tominimisepowerconsumption,lowerpowerchipsshouldbeused.However,usinglowpowerchipsmaymeanthatmorechipshavetobeused.Whichisthemostcriticalrequirement?,Userrequirements,Shoulddescribefunctionalandnon-functionalrequirementsinsuchawaythattheyareunderstandablebysystemuserswhodonthavedetailedtechnicalknowledge.Userrequirementsaredefinedusingnaturallanguage,tablesanddiagramsasthesecanbeunderstoodbyallusers.,Systemrequirements,Moredetailedspecificationsofsystemfunctions,servicesandconstraintsthanuserrequirements.Theyareintendedtobeabasisfordesigningthesystem.Theymaybeincorporatedintothesystemcontract.SystemrequirementsmaybedefinedorillustratedusingsystemmodelsdiscussedinChapter8.,Problemswithnaturallanguage,LackofclarityPrecisionisdifficultwithoutmakingthedocumentdifficulttoread.RequirementsconfusionFunctionalandnon-functionalrequirementstendtobemixed-up.RequirementsamalgamationSeveraldifferentrequirementsmaybeexpressedtogether.,Graphicalmodels,Graphicalmodelsaremostusefulwhenyouneedtoshowhowstatechangesorwhereyouneedtodescribeasequenceofactions.DifferentgraphicalmodelsareexplainedinChapter8.,EventsandUseCases,EventTableacatalogofusecaseslistedbyevent.ContainsdetailedinformationTriggerasignalthatindicatesaneventhasoccurredSourceanexternalagentthatinitiateseventandsuppliesdatafortheeventResponseanoutputproducedbythesystemDestinationanexternalagentthatreceivestheresponse,TypesofEvents,ExternalOutsidesystemInitiatedbyexternalagentoractorTemporalOccurasresultofreachingapointintimeBasedonsystemdeadlinesStateSomethinginsidesystemtriggersprocessingneed,EventTable,AUseCase/ScenarioView,UsecaseanalysisusedtoidentifyanddefineallbusinessprocessesthatsystemmustsupportUsecaseanactivityasystemcarriedout,usuallyinresponsetoauserrequestActorRoleplayedbyuserOutsideautomationboundary,UseCasewithanActor,UseCaseDiagram,UseCasesofSubsystem,Relationship,DocumentssituationinwhichoneusecaserequirestheservicesofacommonsubroutineAnotherusecaseisdevelopedforthiscommonsubroutineAcommonusecasecanbereusedbymultipleusecasesandmayormaynotbelinkeddirectlywithanactor.SituationwheretheextrausecaseprocessingisMandatory.Theusecaseisalwaysused,SubsystemwithUseCases,extend,generalization,UseCaseDescriptions,UsecasedescriptionadescriptionoftheprocessingstepsforausecaseActorapersonorthingthatusesthesystem.ActorshavecontactwiththesystemScenarioorInstanceaparticularsetofinternalstepsthatrepresentauniquepathoftheusecaseThreetypesofdescriptionsBriefdescriptionIntermediatedescriptionFullydevelopeddescription,BriefDescription,IntermediateDescription,FullyDevelopedDescription,TheDomainModelClassDiagram,UnifiedModellingLanguage(UML)diagramDomainmodelclassdiagramModelsthingsintheusersworkdomainUsedtodefinerequirementsforOO(verysimilartoentitiesinERD),UMLClassSymbol,SimpleDomainModelClassDiagram,MultiplicityofAssociations,UniversityCourseEnrolmentDomainModelClassDiagram,RefinedModelwithAssociationClassandGradeAttribute,MoreComplexClassConcepts,Generalization/specializationhierarchiesGeneralsuperclassestospecializedsubclassesInheritanceallowssubclassestosharecharacteristicsoftheirsuperclasses,AGeneralization/SpecializationClassHierarchyforMotorVehicles,Whole-PartHierarchies,Whole-parthierarchieshierarchiesthatstructureclassesbycomponentsAggregationwhole-partrelationshipsbetweenobjectanditsremovablepartsPartscanexistseparatelyLikecaranditstiresCompositionwhole-partrelationshipsbetweenobjectanditsnon-removableparts.PartscannotexistseparatelyLikeHandiscomposedoffingersandthumb,Whole-PartAggregationRelationships,ObjectDiagram,Sequencediagrams,Theseshowthesequenceofeventsthattakeplaceduringsomeuserinteractionwithasystem.Youreadthemfromtoptobottomtoseetheorderoftheactionsthattakeplace.,SequencediagramofATMwithdrawal,CashwithdrawalfromanATMValidatecard;Handlerequest;Completetransaction.,CollaborationDiagram,StateChartDiagram,Bookingfilmtickets,ActivityDiagram,Basicsymbol,transition,Branch,join,Branchandjoin,publicclassassistantpublicintid;publicintmax(intscore1,intscore2,intscore3)inttemp;temp=score1;if(score2temp)temp=score2;if(score3temp)temp=score3;returntemp;,furcation,confluence,Example-Mp3Player,UseCase,ActivityDiagram,swimlane,activitydiagram:,swimlane:,Interfacespecification,Mostsystemsmustoperatewithothersystemsandtheoperatinginterfacesmustbespecifiedaspartoftherequirements.ThreetypesofinterfacemayhavetobedefinedProceduralinterfaces;Datastructuresthatareexchanged;Datarepresentations.Formalnotationsareaneffectivetechniqueforinterfacespecification.,Therequirementsdocument,Therequirementsdocumentistheofficialstatementofwhatisrequiredofthesystemdevelopers.Shouldincludebothadefinitionofuserrequirementsandaspecificationofthesystemrequirements.ItisNOTadesigndocument.Asfaraspossible,itshouldsetofWHATthesystemshoulddoratherthanHOWitshoulddoit,IEEErequirementsstandard,Defines
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025年北京市采购合同范文「版」
- 2025【建筑材料采购合同协议书】 材料采购合同协议书
- 2025年短视频内容创作合同协议(含版权归属)
- 2025年短视频剧本合作合同协议
- 2025年短视频带货佣金合同协议(商家达人)
- 2025年会计年终总结报告范文6篇
- 2025年贵阳建行面试真题及答案
- 网架安全协议合同范本
- 家庭炒股协议书
- 什么协议书离婚
- DB14∕T 3147-2024 纯电动后背式换电载货汽车换电站建设指南
- 肥厚性心肌病病例汇报
- DBJ50-T-306-2024 建设工程档案编制验收标准
- 华为驻外员工管理办法
- 三基工作培训课件
- (2025年)福建省福州市【辅警协警】笔试模拟考试含答案
- 关节痛健康宣教
- 人教版九年物理实验目录及器材
- 集团公司资金归集管理制度
- 交通事故免责协议
- 委托代办资质合同范本
评论
0/150
提交评论