




已阅读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. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 土石方工程公司合同付款管理办法
- 电子净化工程方案(3篇)
- 理发店运营入门知识培训课件
- 电泵节能改造工程方案(3篇)
- 110千伏桥头站增容改造工程环评报告
- 灯光工程管理装修方案(3篇)
- 安全教育礼仪培训课件
- 安全教育直播培训洛宁课件
- 防腐翻新工程方案(3篇)
- 高速出口打造工程方案(3篇)
- 第二单元混合运算单元测试卷(含答案) 2025-2026学年人教版三年级数学上册
- 出境人员行前安全培训课件
- 短视频个人劳务合同范本
- 纯电动汽车维护与保养 课件 模块一新能源汽车维护与保养基础认知
- 翻译后的基因表达调控
- 2025年度中国工商银行河南省分行社会招聘120人备考练习试题及答案解析
- (2025年标准)酒店政府采购协议书
- 苏教版三年级上册数学全册教学设计(配2025年秋新版教材)
- 重庆中医药学院2025年第二季度考核招聘工作人员笔试备考题库带答案详解
- 基孔肯雅热防护知识科普课件
- 中医优才考试试题及答案
评论
0/150
提交评论