您好,欢迎访问三七文档
当前位置:首页 > 商业/管理/HR > 质量控制/管理 > 架构质量属性分析和评估
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
本文标题:架构质量属性分析和评估
链接地址:https://www.777doc.com/doc-440032 .html