Академический Документы
Профессиональный Документы
Культура Документы
Friday,July15,2011
Prof.R.Charanya,AssistantProfessor,SITE, VITUniversity
Objective
Overviewofsoftwaremetrics Overview of software metrics Thebasicsofmeasurement Frameworkofsoftwaremeasurement k f f EmpiricalInvestigation
Friday,July15,2011
Prof.R.Charanya,AssistantProfessor,SITE, VITUniversity
Content
What is measurement Whatismeasurement Whatarethesoftwaremetrics? S Scopeofsoftwareengineeringmetrics:a f f i i i chronologicalreview.
Friday,July15,2011
Prof.R.Charanya,AssistantProfessor,SITE, VITUniversity
Mapping:
Numbers & Symbols
Friday,July15,2011 Prof.R.Charanya,AssistantProfessor,SITE, VITUniversity
Friday,July15,2011
Prof.R.Charanya,AssistantProfessor,SITE, VITUniversity
Measurementhelpsusto: p
Understandourworld Interactwithoursurroundings Improveourlives l
Friday,July15,2011 Prof.R.Charanya,AssistantProfessor,SITE, VITUniversity
Some aspect descriptor allows us to compare Someaspectdescriptorallowsustocompare itwithothers(calculationaredonewithsetof rules) Price=oneitemwithother Di Distance=distancetraveltodistanceremaining di l di i i
Friday,July15,2011
Prof.R.Charanya,AssistantProfessor,SITE, VITUniversity
Friday,July15,2011
Prof.R.Charanya,AssistantProfessor,SITE, VITUniversity
MeasurementinEverydayLife y y
MakingThingsMeasurable
Whatisnotmeasurable,makemeasurable(Galileo Galilei)
Oneaimofscienceistofindwaysofmeasuringattributesof thingswereinterestedin. Meas rement makes concepts more isible therefore more Measurementmakesconceptsmorevisible,thereforemore understandableandcontrollable. Attributespreviouslythoughttobeunmeasurable nowform basisfordecisionsaffectingourlives(e.g.,airquality,inflation index).
Measuringtheunmeasurableimprovesunderstanding ofparticularentities,attributes
A Actofproposingaparticularmeasurecanopendiscussion f i i l di i thatwillleadtogreaterunderstanding Makingnewmeasurementmayrequiringmodifying p ( g, g , g p environment orpractices(e.g.,usinganewtool,addingastep inaprocess)
Friday,July15,2011 Prof.R.Charanya,AssistantProfessor,SITE, VITUniversity
ImportanceofSE Importance of SE
Used in Usedin
oven, bankingtransaction g Airtrafficcontrol Sophisticatedpowerplants p p p Weapons Qualityoflifedependsonsoftware Worsetoomanystoriesaboutsoftwarethatput livesandbusinessesatrisk.
Friday,July15,2011 Prof.R.Charanya,AssistantProfessor,SITE, VITUniversity
MeasurementinotherEngineering Discipline l
EgDesigning electrical circuitstheories ohm Eg Designingelectricalcircuits theoriesohm law, describestherelationshipbetween resistance,currentandvoltage inthecircuit. Measuringthechangesinbehavior,measuring thecauseandeffect. Buildthecircuitwithspecificcurrentand resistance ,weknowvoltageisrequired Itsdifficulttoimagineelectrical,mechanical andcivilengineering withoutmeasurement
Friday,July15,2011 Prof.R.Charanya,AssistantProfessor,SITE, VITUniversity
MeasurementinSE Measurement in SE
Before measurement project can be planned Beforemeasurementprojectcanbeplanned
Objectiveandscope shouldbeestablished Alternative solution should be considered Alternativesolution shouldbeconsidered Technicalandmanagementconstraints shouldbe identified
Friday,July15,2011
Prof.R.Charanya,AssistantProfessor,SITE, VITUniversity
Friday,July15,2011
Prof.R.Charanya,AssistantProfessor,SITE, VITUniversity
Friday,July15,2011
Prof.R.Charanya,AssistantProfessor,SITE, VITUniversity
Friday,July15,2011
Prof.R.Charanya,AssistantProfessor,SITE, VITUniversity
Friday,July15,2011
Prof.R.Charanya,AssistantProfessor,SITE, VITUniversity
Friday,July15,2011
Prof.R.Charanya,AssistantProfessor,SITE, VITUniversity
Engineers
Aretherequirementtestable? Analyzeeachrequirementreliable Havewefoundallfaults? Measurethenumberoffaultsandfindtherootcauses Havewemetourproductorprocessgoal? Measurecharacteriticsofproductsandprocessmet standards(certification,egnomodulecontainmorethan100linesof ( , g code) Whatwillhappeninthefuture? Measuretheexistingandcurrentproductandpredictthefuture. g p p
Friday,July15,2011
Prof.R.Charanya,AssistantProfessor,SITE, VITUniversity
MeasuringforUnderstanding,Control andImprovement d
Measure help us for following three activities Measurehelpusforfollowingthreeactivities
Understand whathappenduringdevelopment andmaintenance. and maintenance Control whathappenontheproject,predict whathappenandmakechangestomeetourgoal. what happen and make changes to meet our goal. BasedonthedesignqualityImprove theprocess andproduct. p
Friday,July15,2011
Prof.R.Charanya,AssistantProfessor,SITE, VITUniversity
Evaluate
Friday,July15,2011 Prof.R.Charanya,AssistantProfessor,SITE, VITUniversity
Predict
Friday,July15,2011
Friday,July15,2011
Prof.R.Charanya,AssistantProfessor,SITE, VITUniversity
2.ProductivityModelsand Measures
Therateofoutputperunitofinput The rate of output per unit of input Productivity=size/effort Productivity=LOC/personmonth d i i OC/ h Productivity Value
Cost
Friday,July15,2011
Prof.R.Charanya,AssistantProfessor,SITE, VITUniversity
Productivity
Productivity
Value Personnel Quality Quantity Time Reliability Defects Size Functionality Money HW
Cost
Resources
Problem difficulty
SW
Friday,July15,2011
Prof.R.Charanya,AssistantProfessor,SITE, VITUniversity
Friday,July15,2011
Prof.R.Charanya,AssistantProfessor,SITE, VITUniversity
Friday,July15,2011
Prof.R.Charanya,AssistantProfessor,SITE, VITUniversity
QualityModelsandMeasures
Upperbrancheshighlevelqualityquantify Lowerlevelstructurednessandtraceability y Qualityfactor
Use Factor Usability Product Operatio n Reliability Efficiency Reusability
Completeness
Criteria
Communicativeness Accuracy Consistency Device Efficiency Accessibility
Metrics
Structuredness Conciseness Device Independence
Product Revisio n
Legibility Self-descriptiveness
Friday,July15,2011
Friday,July15,2011
Prof.R.Charanya,AssistantProfessor,SITE, VITUniversity
6.PerformanceEvaluationan Models
Performance is another aspect of quality isanotheraspectofquality. Responsetimeandcompletionrates. Efficiencyofalgorithm ffi i f l ih
Friday,July15,2011
Prof.R.Charanya,AssistantProfessor,SITE, VITUniversity
7.StructuralandComplexity Metrics
Quality like reliability and maintainability Qualitylikereliabilityandmaintainability cannotbemeasureduntilcodeisavailable. We able to predict which part of software Weabletopredictwhichpartofsoftware systemlessreliable ,moredifficulttotest, evenbeforethesystemiscomplete. even before the system is complete Inadvancewetrytoestablish,predictive theoriestosupportqualityassurance,quality h i li li control,qualityprediction.
Friday,July15,2011 Prof.R.Charanya,AssistantProfessor,SITE, VITUniversity
Friday,July15,2011
Prof.R.Charanya,AssistantProfessor,SITE, VITUniversity