Span and average span size of a program, Software Engineering

Assignment Help:

Q. Explain Span and average span size of a program?

Span dimension indicates the number of statements that pass between successive uses of a variable. For illustration in the following sample of code variable x has 4 spans of 10,12,7, and 6 statements while y has 2 spans of 23 and 14 statements. This demonstrates x is being used more than y.

1587_Span and average span size of a program.png

Average span size=(S span size of a variable in a program)/no. of span

For instance

Average span size of variable x in the above sample = (10+12+7+6)/4=8.75

Average span size of variable y = (23+14)/2=18.5


Related Discussions:- Span and average span size of a program

What is cause-effect graphing, A testing method that aids in selecting, in ...

A testing method that aids in selecting, in a systematic way, a high-yield set of test cases that logically relates causes to effects to produce test cases. It has a useful side ef

Transfection and transduction, What is difference among transfection and tr...

What is difference among transfection and transduction? Ans) Transfection: Transmission of naked DNA into eukaryotic cell Transduction: Transmission of genetic material from

What is cmmi framework, What is CMMI framework? The CMMI framework is t...

What is CMMI framework? The CMMI framework is the present stage of work on process assessment and improvement that started at the Software Engineering Institute in the 1980s.

Explain about the iterative enhancement model, Iterative Enhancement Model ...

Iterative Enhancement Model This model was developed to remove disadvantages of waterfall model. In this model, phases of software development remain the same however the cons

What are the various elements of data design, What are the various elements...

What are the various elements of data design? i. Data object - The data objects are identified and relationship between various data objects can be shown using ERD or data dict

What is meant by software engineering, What is meant by Software Engineerin...

What is meant by Software Engineering? The application of a disciplined, systematic, quantifiable approach to the development, maintenance & operation of software. (i.e.)The En

Which phase is not available in software life cycle, Which phase is not ava...

Which phase is not available in software life cycle? Abstraction is the only phase which in not available in software life cycle

What is delphi model, What is Delphi model? In Delphi method, a number ...

What is Delphi model? In Delphi method, a number of parameters to be considered based on as experts estimates. The group estimate is taken as on  an average of the weighted

Importance of function point, Importance of function point:    This is ...

Importance of function point:    This is independent of the languages tools, or methodology used for execution. They can be estimated from requirement specification or desig

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd