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

Modules, write a main module and three other nodules. The owners of the Sup...

write a main module and three other nodules. The owners of the Super Supermarket would like to have a program that computes the monthly gross pay of their employees as well as the

Explain about the software metrics, SOFTWARE METRICS Measurement is fun...

SOFTWARE METRICS Measurement is fundamental to an engineering discipline and software engineering is no exception. Software metric is a quantitative measure which is derived fr

Cds - isis software, CDS/ISIS Software (Micro Version): Micro CDS/ISIS...

CDS/ISIS Software (Micro Version): Micro CDS/ISIS is an advanced non-numerical information storage and retrieval software package. It was developed by UNESCO in 1985 to meet t

What is up time, What is Up time? "Up time" is the time period when a me...

What is Up time? "Up time" is the time period when a method is operational and in service. Up time is the sum of idle time and busy time.

Explain a variable, Explain a variable? "Variables" are data items in a ...

Explain a variable? "Variables" are data items in a program whose values can change.

Explain the design principles, Explain the design principles. The d...

Explain the design principles. The design process should not endure from tunnel vision. The design should be traceable to the analysis model. Design should not re

Define measure and metrics, Define measure and metrics. Measure is  a q...

Define measure and metrics. Measure is  a quantitative indication of the extent, dimension, amount or size of some attribute of a product or process. Metrics is termed as th

Explain respiratory quotient, Explain Respiratory quotient? Ans) Respira...

Explain Respiratory quotient? Ans) Respiratory quotient is the ratio among the carbon-dioxide used in photosynthesis to the quantity of oxygen liberated in respiration.

What is software fault, Software faults are unseen programming errors. Soft...

Software faults are unseen programming errors. Software faults are errors in the correctness of the semantics of computer programs.

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