SoftwareEngineering软体工程(英文课件)_第1页
SoftwareEngineering软体工程(英文课件)_第2页
SoftwareEngineering软体工程(英文课件)_第3页
SoftwareEngineering软体工程(英文课件)_第4页
SoftwareEngineering软体工程(英文课件)_第5页
已阅读5页,还剩58页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1,SoftwareEngineering軟體工程,2,CourseObjectives,TolearnaboutallthedifficultiesindevelopingsoftwaresothatwecanavoidpitfallsandmythsinsoftwaredesignTolearnaboutdifferentsoftwareprocessessothatwecanchooseasuitableoneTolearntodesignhigh-qualityefficientsoftwaresothatitisusableandmaintainableTolearnaboutadvancedmethodsforsoftwareengineering,3,CourseContents,IntroductiontoSoftwareEngineeringSoftwareProcessesRequirementsEngineeringSoftwareDesignObject-OrientedSoftwareDevelopmentSoftwareTestingandVerificationSoftwareProjectManagementAdvancedMethods,4,Chapter1IntroductiontoSoftwareEngineering,Anoverviewofsoftwareengineering,includingsoftwarecrisis,myths,methods,evolution,andstatus,5,Contents,SoftwareCrisisSoftwareMythsWhatisSoftwareEngineeringEvolutionofSoftwareEngineeringState-of-artinSoftwareEngineering,6,ThestatisticsChaosReport,StandishGroup1995365ITexecutivesinUScompaniesindiverseindustrysegments.8,380projects,averagecostoverrun=189%,averagetimeoverrun=222%.,61%oforiginallyspecifiedfeaturesincluded,?,InAverages189%oforiginalbudget221%oforiginalschedule61%oforiginalfunctionality,7,SymptomofSoftwareCrisis,AboutUS$250billionsspentperyearintheUSonapplicationdevelopmentOutofthis,aboutUS$140billionswastedduetotheprojectsgettingabandonedorreworked;thisinturnbecauseofnotfollowingbestpracticesandstandards,Ref:StandishGroup,1996,8,SymptomofSoftwareCrisis,10%ofclient/serverappsareabandonedorrestartedfromscratch20%ofappsaresignificantlyalteredtoavoiddisaster40%ofappsaredeliveredsignificantlylate,Source:3yearstudyof70largec/sapps30Europeanfirms.Compuware(12/95),9,Softwareproducts:failtomeetuserrequirementscrashfrequentlyexpensivedifficulttoalter,debug,enhanceoftendeliveredlateuseresourcesnon-optimally,ObservedProblems,10,WhyistheStatisticssoBad?,MisconceptiononsoftwaredevelopmentSoftwaremyths,e.g.,theman-monthmythFalseassumptionsNotdistinguishingthecodingofacomputerprogramfromthedevelopmentofasoftwareproductSoftwareprogramshaveexponentialgrowthincomplexityanddifficultylevelwithrespecttosize.Theadhocapproachbreaksdownwhensizeofsoftwareincreases.,11,WhyistheStatisticssoBad?,SoftwareprofessionalslackengineeringtrainingProgrammershaveskillsforprogrammingbutwithouttheengineeringmindsetaboutaprocessdisciplineInternalcomplexitiesEssencesandaccidentsmadebyFred.Brooks,12,HowisSoftwareusuallyConstructed,Therequirementsspecificationwasdefinedlikethis,Thedevelopersunderstooditinthatway,Thisishowtheproblemwassolvedbefore.,Thisishowtheproblemissolvednow,Thatistheprogramafterdebugging,Thisishowtheprogramisdescribedbymarketingdept.,This,infact,iswhatthecustomerwanted;-),13,SoftwareMyths(CustomerPerspectives),Ageneralstatementofobjectivesissufficienttogetstartedwiththedevelopmentofsoftware.Missing/vaguerequirementscaneasilybeincorporated/detailedoutastheygetconcretized.Applicationrequirementscanneverbestable;softwarecanbeandhastobemadeflexibleenoughtoallowchangestobeincorporatedastheyhappen.,14,SoftwareMyths(DeveloperPerspectives),Oncethesoftwareisdemonstrated,thejobisdone.,Usually,theproblemsjustbegin!,15,Untilthesoftwareiscodedandisavailablefortesting,thereisnowayforassessingitsquality.,Usually,therearetoomanytinybugsinsertedateverystagethatgrowinsizeandcomplexityastheyprogressthrufurtherstages!,SoftwareMyths(DeveloperPerspectives),16,Theonlydeliverableforasoftwaredevelopmentprojectisthetestedcode.,Thecodeisonlytheexternallyvisiblecomponentoftheentiresoftwarecomplement!,SoftwareMyths(DeveloperPerspectives),17,SoftwareMyths(ManagementPerspectives),Aslongastherearegoodstandardsandclearproceduresinmycompany,Ishouldntbetooconcerned.,Buttheproofofthepuddingisintheeating;notintheRecipe!,18,SoftwareMyths(ManagementPerspectives),Aslongasmysoftwareengineers(!)haveaccesstothefastestandthemostsophisticatedcomputerenvironmentsandstate-of-the-artsoftwaretools,Ishouldntbetooconcerned.,Theenvironmentisonlyoneoftheseveralfactorsthatdeterminethequalityoftheendsoftwareproduct!,19,SoftwareMyths(ManagementPerspectives),Whenmyscheduleslips,whatIhavetodoistostartafire-fightingoperation:addmoresoftwarespecialists,thosewithhigherskillsandlongerexperience-theywillbringtheschedulebackontherails!,Unfortunately,softwarebusinessdoesnotentertainschedulecompactionbeyondalimit!,20,MisplacedAssumptions,Allrequirementscanbepre-specifiedUsersareexpertsatspecificationoftheirneedsUsersanddevelopersarebothgoodatvisualizationTheprojectteamiscapableofunambiguouscommunication,Ref:LarryVaughn,21,UsuallysmallinsizeAuthorhimselfissoleuserSingledeveloperLacksproperuserinterfaceLacksproperdocumentationAdhocdevelopment.,LargeLargenumberofusersTeamofdevelopersWell-designedinterfaceWelldocumentedthatis,theapplicationofengineeringtosoftware.(IEEEStandardComputerDictionary,610.12,ISBN1-55937-079-3,1990),30,WhatisSoftwareEngineering?(ctd),Softwareengineeringisconcernedwiththetheories,methodsandtoolsfordeveloping,managingandevolvingsoftwareproducts.(I.Sommerville,6ed.)Adisciplinewhoseaimistheproductionofqualitysoftware,deliveredontime,withinbudget,andsatisfyingusersneeds.(StephenR.Schach,SoftwareEngineering,2ed.)Multi-personconstructionofmulti-versionsoftware(Parnas,1987),31,Thepracticalapplicationofscientificknowledgeinthedesignandconstructionofcomputerprogramsandtheassociateddocumentationrequiredtodevelop,operateandmaintainthem(B.W.Boehm)Theestablishmentanduseofsoundengineeringprinciplesinordertoobtaineconomicallysoftwarethatisreliableandworksefficientlyonrealmachines(F.L.Bauer),WhatisSoftwareEngineering?(ctd.),32,Thetechnologicalandmanagerialdisciplineconcernedwithsystematicproductionandmaintenanceofsoftwareproductsthataredevelopedandmodifiedontimeandwithincostconstraints(R.Fairley)Adisciplinethatdealswiththebuildingofsoftwaresystemswhicharesolargethattheyarebuiltbyateamorteamsofengineers(Ghezzi,Jazayeri,Mandrioli),WhatisSoftwareEngineering?(ctd.),33,OtherDefinitionsofSoftwareEngineering,“Asystematicapproachtotheanalysis,design,implementationandmaintenanceofsoftware.”(TheFreeOn-LineDictionaryofComputing)“Thesystematicapplicationoftoolsandtechniquesinthedevelopmentofcomputer-basedapplications.”(SueCongerinTheNewSoftwareEngineering)“SoftwareEngineeringisaboutdesigninganddevelopinghigh-qualitysoftware.”(ShariLawrencePfleegerinSoftwareEngineering-TheProductionofQualitySoftware),34,So,SoftwareEngineeringis,Scopestudyofsoftwareprocess,developmentprinciples,techniques,andnotationsGoalsproductionofqualitysoftware,deliveredontime,withinbudget,satisfyingcustomersrequirementsandusersneeds,35,SoftwareProcess,WaterfalllifecyclePrototypingSpiralmodelAutomaticsynthesismodelObject-orientedmodel4GLmodel,36,TraditionalSoftwareEngineering,SoftwareSystems,Data,Function,Behavior,Entity-RelationDiagram,DataFlowDiagram,StateTransitionDiagram,37,Object-OrientedSoftwareEngineering,SoftwareSystems,Function,Object,Behavior,DataFlowDiagram,ClassDiagram,StateChart,38,EvolutionofSoftwareIndustry,IndependentProgrammingServiceSoftwareProductEnterpriseSolutionPackagedSoftwarefortheMass,39,IndependentProgrammingServices(Era1),Feb1955,ElmerKubieandJohnSheldonfoundedCUCtheFirstSoftwareCompanythatdevotedtotheconstructionofsoftwareespeciallyforhardwarecompany.PromotingSoftwareIndustry:twoMajorProjects,SABRE,airlinereservationsystem,$30million.SAGE,airdefensesystem(19491962)700/1000programmersintheUS.$8billion.,40,SoftwareProduct(Era2),1964MartinGoetzdevelopedFlowchartSoftware-AutoflowforRCA,butrejected.SaletothecustomerofRCA&IBM.Developandmarketsoftwareproductsnotspecificallydesignedforaparticularhardwareplatform.MARKIV,apre-runnerforthedatabasemanagementsystem.IBMunbundledsoftwarefromhardware.,41,EnterpriseSolutions(Era3),DietmarHopp.IBMGermanySystems,ApplicationsandProducts(SAP)$3.3billion(1997)SettingupshopinWalldorf,Germany.Markedbytheemergenceofenterprisesolutionsproviders.e.g.Baan1978.Netherlands.$680million(1997)Oracle1977.U.S.LarryEllison.ERP,$45billion(1997),42,PackagedSoftwarefortheMasses(Era4),Softwareproductsforthemasses.1979.VisiCalc,Spreadsheetprogram.August1981:Thedealofthecentury.BillGatesboughtthefirstversionoftheOSfromasmallfirmcalledSeattleComputerProductsfor$50,000withouttellingthemitwasforIBM.ThedevelopmentoftheIBMPC,1981,initiateda4thsoftwareera.PC-basedmass-marketsoftware.Fewadditionalservicesarerequiredforinstallation.Microsoftreachedrevenuesof$11.6billion.PackagedSoftwareProducts,$57billion(1997),43,InternetSoftwareandServices(Era5),Internetandvalue-addedservicesperiod,1994.WwithNetscapesbrowsersoftwarefortheinternet.,44,Object-Oriented,Adhoc,Dataflow-based,Datastructure-based,Controlflow-based,EvolutionofDesignTechniques,45,RelatedKnowledge,46,ITMarket,Hardwareproducts,Hardwaremaintenance,SoftwareProducts&Services,ProcessingServicesandInternetServices,EmbeddedSoftware,ProfessionalService,SoftwareProducts,EnterpriseSolution,PackagedMass-MarketSoftware,47,SoftwareProductsandServices,EnterpriseSolutionsIBMOracleComputerAssociatesSAPHPFujitsuHitachiParametricTechnologyPeopleSoftSiemens,PackagedMars-MarketSoftwareMicrosoftIBMComputerAssociatesAdobeNovellSymantecIntuitAutodeskAppleTheLearningCompany,ProfessionalSoftwareServicesAndersonConsultingIBMEDSCSCScienceApplicationsCapGeminiHpDECFujitsuBSOOrigin,48,SoftwareEngineeringToday?,Organizations“gowithwhathasworkedinthepast”Everyoneistoobusygettingproductoutthedoortospendtimeineducationortrainingoraddressingtheseproblemseffectively“Outofdate”practicesbecomeinstitutionalized,49,SoftwareEngineeringToday?,Fewpeopleknow,orcanintegrate,bestpracticesUnabletoadoptandutilizeprovenmethodologiesintimelyfashionAlthoughsignificantimprovementshavebeenmadeinspecificareas,therapidlyevolvingnatureofthesoftwareindustryhasresultedinlittleoverallimprovementintheoverallsituation.,50,NotCrisis,butaChronicProblem,ThecrisispersistsAfter35yearslater,thesoftware“crisis”isstillwithusMajorproblemsarestillthesame:poorquality(correctness,usability,maintainability,etc)overbudgetdeliveredlate,ornotatallItisnotacrisisbutachronicproblemItbecomesapersistent,chronicconditionthatsoftwareindustryhastofacewith,51,WhatsWrong?,Doessoftwareengineeringhavenoprogressatall?Notquitetrue.Wehaveindeedseenalotofimprovements,e.g.highlevelprogramming,object-orientedtechnology,etc.Butitdoesnotachieveitspromise,why?productionoffault-freesoftware,deliveredontimeandwithinbudget,thatsatisfiestheusersneeds,andiseasytomaintain,etc.,52,AMoreCloseLook,Thecomparisonwith1995sreportdoesshowthatthereissomeprogressinthepasteightyears.,53,So,WhatstheProblem?,Softwareissues:softwareindustryhaschangesalotinthepastyearsEducationissue:moreemphasisonmethodsandtoolsbutlackofsufficienteducationandtrainingonpeopleProcessandqualityissue:therelacksofasetofknownprovenpracticesforsoftwareengineerstofollowwith,54,SoftwareChangesinthePastYears,Changesinsoftwareovertime:grewinsizefrom10sor100soflinesto1000sto1,000,000soflinesofcodeoperatingenvironmentchangedfromsimple“batch”operationstocomplexmultiprogrammingsystems,totime-sharinganddistributedcomputingtotodaysInternetnetworkcomputingenvironment.,55,SoftwareChangesinthePastYears,Ascomputersystems(bothhardwareandsoftware)havebecomelargerandmorecomplex,thesoftwaredevelopmentprocesshasalsobecomemoreandmorecomplexthesimpleartof“programminginthesmall”isnolongercapableofcopingwiththetask.,56,SituationsforSoftwareareDifferentToo,Drivenbyintensemarketforces,includingpersistentpressuretodeliversoftwareonunrealistictimeschedulesRapidlychangingrequirementsPressuresforfastertimetomarketContinuingrapidevolutionofsoftwaremethodologiesandsystemsIntegrationofnewprocessesandtechniquesNeedtore-designmajorsystems,57,SituationsforSoftwareareDifferentToo,Talentshortage:neededsoftwareengineeringskillsofteninshortsupplyWhatevenworseMooreslawmeansalwaystryingnewthingsComplexitymovesintosoftwareCantfindthelimitsexceptbytrialanderror,58,TheSoftwareIndustryToday,Eventhoughmuchisnowknownabout

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

最新文档

评论

0/150

提交评论