一篇关于软件可靠性度量的ppt讲稿,送给大家作为见面礼

SoftwareReliability
Measurement
Measurement

“Measurementistheprocessbywhichnumbersorsymbolsareassignedtoentitiesintherealworldinsuchawayastodescribethemaccordingtoclearlydefinedrules”

Softwaremeasurement
• Canmeasureoneofthreeentities:-
processes-anysoftwarerelatedactivity;thesenormallyhaveatimefactor.Forinstance,design,testing,configurationmanagement,projectplanning,…
products-anyartefacts,deliverablesordocumentswhichariseoutoftheprocesses.Examples-designdocuments,testplans,sourcecode,executablecode,usermanuals,…
resources-itemswhichareinputstoprocesses,e.g.people,materials,money,…
Productmeasurement
QualityMetrics:-defectmetrics,designchanges,errorsincodeinspections,programtests,codechangesrequired
ReliabilityMetrics:-hazardrate(i.e.probabilityoferrorinintervaldgiventhatithasnotfailedintimecostofrepairingfaults,probabilityofsoftwarefailure
MaintainabilityMetrics:-relatedtocomplexitymeasures,readabilityofsourcecode
Measuringreliability
Canmeasure:-
• MTTF-MeanTimeToFailure
• MTTR-MeanTimeToRepair
• MTBF-MeanTimeBetweenFailures= MTTF+MTTR
Variousapproachesexist:-
• Userandominputsandmeasuredefects
• Carryoutcompleteobservation
• Lookatindependentsetsoftests

Reliabilitygrowth
• Identifyandfixfaultsduringtestingandcollectdataconcerning,forexample,thetimebetweenfailuresofthesoftware
• Usethisdatatopredicttimebetweenfailuresinthefuture
• ReliabilityGrowthoccursasfaultsareremovedinthesoftwareanditsreliabilityincreases.Thetimebetweenfailuresgrowslonger.

Reliabilitymeasures
• Complexitymeasuresmayinfersomethingaboutthereliabilityofsoftwarebuttheycannotbeusedtoassurereliability.
• Similarly,faultsordefectsinsoftwarecannotbeusedtopredictreliabilityastheymayormaynotleadtofailures.Somestudiesshowthatalargeproportionoffaultsneverleadtofailures.
Reliabilitymeasures(ctd)
• Thefrequencyofactualfailuresinthedevelopedsoftwareistheonlywaytopredictfuturereliablebehaviour.
• Measurementstypicallyinvolverecordingthetimesbetweensuccessivefailuresofthesoftwarewhenitisexecutinginasimulatedoroperationalenvironment.
Timeinmeasurement
Measurementscanbetakenintermsof:-
• ExecutionTime -theactualprocessingtimefortheexecutionoftheprogram
• CalendarTime-thetimeinfamiliartermsofseconds,minutes,andhours.
• ClockTime-thetimeacomputerisrunningwhileexecutingtheprogram.Otherprogramsmaybeexecutingonthesamemachineatthesametime.

Trendanalysis
• Requestforchange(RFC)-arequestputinbydevelopers,testers,qualityassurance,etc.tomodifythesoftware
• DefectRate(DR)-thenumberofdefectsdetectedduringthetestingphase

Analyzingtrends
• Defectrateincreasesasmoremodificationstakeplace-thissuggeststhatreliabilitygrowthisnotoccurring
• Asrequestsforchangestabilise,defectratedecreases-thissuggeststhatreliabilitygrowthisoccurring
Reliabilitymodelling
• Topredictreliability,currentfailuredataiscollectedandusedtoinferfuturebehaviour.
• Examplesoftheuseofsuchpredictionsinclude:-
– todetermineatwhatpointintimea particularlevelofreliabilitywillbe reached.
– todeterminewhatlevelofreliabilitywill havebeenreachedbyacertainpointin time.

Modelselection
• Severalmodelshavebeendeveloped.However,thesehavetendedtogiveoftenlargelydifferentresultsforthesamedatasets.
• Anappropriatemodelmustbeselectedaccordingtothecircumstancesandcontextandacertainamountofjudgementmustbeexercisedtodeterminewhichmodelisgivingreliableresults.

Reliabilitycurve

Hardwarereliability
• HardwareandSoftwarereliabilityarebasedonsimilartheory,theintentionbeingthatreliabilitiescanbecombinedtogiveameasureofoverallsystemreliability.
• Hardwarefailuresaretypicallyduetodeteriorationofmaterialsratherthanflawsindesign.Softwarefailuresaretypicallyduetodesignfaults.
Comparinghardwareandsoftwarefailure
• Hardwaredesignisseenasbeinglesscomplexthansoftwaredesign.
• Forhardwareatraditionalbath-shapedcurveisappropriate
• Softwarecanbereplicatedperfectlywhilethemanufacturingprocessforhardwaremayintroduceflaws.
Onsoftwarereliability
• Withsoftware,thereliabilitydoesnotalterwithtime.Assumingthestatedconditionsremainunaltered,thensoftwareisnotsubjecttorusting,corrosion,orwhateverandthatusuallysimplifiescalculationsconsiderably.Withhardwarethesituationisdifferent.
• Softwarereliabilitymayfluctuateasitismodifiedandduringtestinganddebugging.Hardwareusuallyfollowsabath-tubshapedcurvewithaconstantreliabilityformostofitsoperationallife.

Traditionalbath-shapedcurve:thehardwarepicture
Commentsoncurve
Thiscurveexhibitsthreedistinctphases:-
• aninitialperiodduringwhichtimethesystemis’running-in’;duringthisperiodreliabilityoughttoincreaserapidlyandgraduallystabilise.
• periodduringwhichthereisaconstantbutstablefailureratewhichiswellunderstood,expectedandcapableofbeinghandled.
• awear-outperiodduringwhichthefailureratesincreasedramaticallyandexhibitscharacteristicswhichsuggestreplacement.
Commentoninitialphase
• Ofthesedifferentphases,theinitialrunning-inperiodcanusuallybereducedorevenremovedbyincreasingattentiontoqualitycontrol,tototalqualitymanagement,andtorelatedactivities.

Commentsonhardwarehazards

• Theanalysisoffailuresisimportantinordertounderstandthecausesandhelppreventfuturedisasters.
• Overtheyears,surveyshavebeencarriedoutonthecausesofmetalfailure.Onesurveyrevealedthat:-
– 55%offailureswerecausedbycorrosion.– 45%offailureswerecausedby mechanicalfailure
Hazardsfrommovingmachinery
• Anadditionalsetofhazardsarisewhenthereismovingmachinerypresentinasystem.
• Thepresenceofsawsorrotatingdevicespresentaparticularlyacutesetofconcernsandleadtotheneedforguardsandsensorswhichcanautomaticallyswitchamachineoffifusedwrongly,andsoon.

给TA打赏
共{{data.count}}人
人已打赏
可靠性技术软件可靠性

请教有关于软件可靠性的发展

2007-4-6 9:05:36

可靠性技术软件可靠性

软件可靠性的基本研究内容

2007-4-8 14:10:06

9 条回复 A文章作者 M管理员
  1. njkkx

    ppt讲稿,以附件贴出就更好了,谢谢。

  2. liqiangcondor

    明天多搞点标准给大家看看!
    :lol

  3. hmxjoke

    3Q………………………………………………………….

  4. fengguozun

    没中文?

  5. reliability

    英语看着有点头大,要慢慢看了。呵呵。。。。

  6. chinaxiayu

    很不错的,谢谢,恭喜你成为软件可靠性的版主,英语很不错呀,我要好好跟你学习了.

    chinaxiayu

  7. loveIT

    不错,软件可靠性要好好学习一下!

个人中心
购物车
优惠劵
今日签到
有新私信 私信列表
搜索