架构质量属性分析和评估

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

BriefDiscussiononNon-FunctionalRequirements(NFRs)TegegneMarewⓒKAISTSELAB2008ContentsIntroductionClassificationofNFRsTreatmentofNFRsNFRFrameworkandItsExtensionsArchitecturalTradeoffAnalysisMethodAttributeDrivenDesignAttributeDrivenDesignResearchIssuesConclusion2ⓒKAISTSELAB2008IntroductionNFRsRequirementsofasystemthatarenotservicesHowwellasystemdeliverstheservicesNOTwhatthesystemdeliversHighlysubjective•User/developer/otherstakeholdersdecidehowwelltheyare•User/developer/otherstakeholdersdecidehowwelltheyaresatisfied–UnlikeFRswhichwecanobjectivelydeterminetheirimplementation•SomesayFRsarehardgoalsandNFRsaresoftgoals–FRsaresatisfiedwhereasNFRsaresatisficed(AItermtodescribesubjectivefulfillment)Alsoknownasqualityattributes(QA)PeculiarPropertiesofNFRsSubjectiveNoteasytoanswerthequestion:“IsthisNFRfullyimplemented?”AmbiguousNoteasytoanswerthequestion:“Whatisthedifferencebetweenmaintainabilityandmodifiability?”NotequallyimportantSecurityforanuclearplantsoftwareismoreimportantthanSecurityforanuclearplantsoftwareismoreimportantthaninteroperabilityAffecteachotherTheneedtosatisfyaccuracymaycomeatthecostofperformanceAffectFunctionalModelToimprovemaintainability,wemayredesignthefunctionalmodeltoreducecouplingetcClassificationVariousproposedschemesExternalvsInternal•User-concernsVstechnical-criteriaPartialTableshowingPartialTableshowingrelationshipbetweenfactorsandcriteriaperformance:relatestohowthesystemrunsdesign:relatestohowthesystemisdesignedadaptation:relatestohowthesystemisported/modifiedClassificationVariousproposedschemes(cont’d)ProductVsProcess•Product:howthesystembehaves–Functionality–Usability–Efficiency–Etc•Process:theproductionquality–Cost–Schedule–Useofstandards–EtcClassificationVariousproposedschemes(cont’d)ISO9126•1)Functionality–suitability,security,compliance,accuracyandinteroperability•2)Reliability–maturity,recoverabilityandfaulttolerance–maturity,recoverabilityandfaulttolerance•3)Usability–learnabilityandoperability•4)Efficiency–resourceandtime•5)Maintainability–stability,changeabilityandtestability•6)Portability–instabilityandadaptabilityClassificationVariousproposedschemes(cont’d)Problemswithalltheschemessofar•StillmanyareleftuncategorizedInfact,thesedaysclassifyingNFRsisrarelyaresearchtopic.TheneedtoclassifycamefrombecauseresearchersTheneedtoclassifycamefrombecauseresearchersassumed•ItcouldhelpthemunderstandNFRsbetter(conceptually)•ItcouldhelpthemtreatNFRsinthesamegroupsimilarly…Sofar,littlesuccessonbothfrontsNFRFrameworkChunget.al,1989-99TreatNFRsassoftgoalsthatneedtobesatisficied•Softgoal–cannotbeabsolutelyfulfilled•Satsficing–satisfyingarequirementinavarietyofdegreewithoutnecessarilyoptimizing.–e.g..Somewhat,negatively,positively,verypositivelyConsistsof•SIG(SoftgoalInterdependencyGraph)•CataloguesforeachNFRNFRFrameworkSymbolMeaningSoftgoal:symbolizesNFR;thetopicistheNFRandtheparameteristheentity(class,subsystem,etc)theNFRisappliedtoHardgoal:operationalization,anapproachthatimplementsanNFRtopic[parameter]SIGsymbols“AND”Decomposition:Aparentissatisficedifallchildrenaresatisficed.“OR”Decompositon:Aparentissatisficedifoneofthechildrenaresatisficed..!Criticalnode:thisnodeisveryimportant+,-,++,--Contributionsofonenodetoanother:positive,negative,verypositive,verynegativeNFRFrameworkSampleSIGSampleSIGSampleSIGSampleSIGNFRFrameworkCatalogueSortHierarchyMethods•HowtoimplementeachNFRInterdependency•WhoaffectswhoNFRFrameworkDiscussionPros•SystematicmanagementofNFRs•Easyvisualizationofinteraction•Qualitative–ExpertknowledgeusedConsCons•ExclusivelyaboutNFRs•Noquantitativeanalysis–Difficulttoautomate,verysubjective•NeedsextensivecatalogabouteachNFRExtensionsofNFRFrameworkNFRfromelicitationtoconceptualmodels(Cysenrios,TSE2004)IntegratesNFRsintoFRsmodeling•NeedstouseLEL(LexiconExtendedLanguage)–BasicvocabularytodescribeforbothFRandNFRs•Highlyautomated•HighlyautomatedExtensionsofNFRFrameworkOverviewofIntegratingNFRwithFROverviewofIntegratingNFRwithFROverviewofIntegratingNFRwithFROverviewofIntegratingNFRwithFRExtensionsofNFRFrameworkExampleofintroducingNFRtoFRExampleofintroducingNFRtoFRExampleofintroducingNFRtoFRExampleofintroducingNFRtoFRExtensionsofNFRFrameworkClassDiagramIntegrationProcessClassDiagramIntegrationProcessClassDiagramIntegrationProcessClassDiagramIntegrationProcessResulttoInspectSampleNumberTestResultInputResult()AssigntoAdmittedTest()ReadFromAnalyzer()CheckAuthorization(){Security[InspectTest]}CheckResultinRange(){Security[InspectTest]}CheckAuthorization()EmployeeisauthorizedtoInspectResultsCheckResultinRange()Result=Test.NR_Inpect.MinAndResult=NR_Inspect.MaxCheckSameSector()Test.Sector=Employee.SectorInputResult()Pre:CheckAuthorization=TrueAskResult()Pre:CheckSameSector=TrueSetResult()Pre:CheckResultinRange=TrueORNR_OutofSecureRange{Accuracy[ResultstoInspect]}SetResult()AskResult()ResulttoInspectSampleNumberTestResultInputResult()AssigntoAdmittedTest()ReadFromAnalyzer()CheckAuthorization(){Security[InspectTest]}CheckResultinRange(){Security[In

1 / 48
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功