已阅读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. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025年下半年湖北襄阳日报社事业单位招聘拟聘用人员重点基础提升(共500题)附带答案详解
- 2025年下半年湖北省十堰市引进高层次和急需紧缺人才922人易考易错模拟试题(共500题)试卷后附参考答案
- 2025年下半年湖北武汉市中南财经政法大学非事业编制科研助理招聘9人(第二批)重点基础提升(共500题)附带答案详解
- 2025年下半年湖北孝感应城市事业单位统一招聘工作人员328人易考易错模拟试题(共500题)试卷后附参考答案
- 2025年下半年湖北孝感大悟县事业单位招聘考试笔试易考易错模拟试题(共500题)试卷后附参考答案
- 2025年下半年渭南市韩城市事业单位招考易考易错模拟试题(共500题)试卷后附参考答案
- 宣城市中医院质量培训开展考核
- 2025年下半年深圳博物馆招考普通雇员易考易错模拟试题(共500题)试卷后附参考答案
- 烟台市人民医院神经外伤评估考核
- 泉州市中医院血管外科感染控制考核
- 甘肃省兰州市第五中学2024-2025学年七年级上学期期中考试数学试卷(含答案)
- GB/T 20805-2025饲料中酸性洗涤木质素(ADL)的测定
- 2025年法学专业基础知识考试试题及答案
- 折叠技术基础知识培训课件
- 2025至2030中国自然教育行业项目调研及市场前景预测评估报告
- 2025年入团考试题库及答案
- 中国民族舞蹈
- T-CCA 037-2025 老年人膳食设计与烹饪技术规范
- 国企印章管理办法
- 基于卷积神经网络的水果识别系统的设计与实现
- 自家房屋管理办法
评论
0/150
提交评论