Explain about token count - software metrics, Software Engineering

Assignment Help:

Q. Explain about token count - software metrics?

Token count:- A program is considered to be series of tokens and if we count the number of tokens, some interesting results may emerge. Tokens are classified as either operators or operands. All software science measures are functions of the counts of these tokens.

Variables, constants and even labels are operands. Operators consist of arithmetic symbols such as +, -. /, * and command names such as "while", "for", "printf", special symbols such as : =, braces, parentheses, and even function names such as "eof".

The size of the vocabulary of a program which consists of the number of unique tokens to build a program is defined as:-

n =n1 + n2

Where, n : vocabulary of a program.

n1: number of unique operators

n2: number of unique operands.

Related Discussions:- Explain about token count - software metrics

Explain the capability maturity model, Explain the CAPABILITY MATURITY MODE...

Explain the CAPABILITY MATURITY MODELS Process models are based on various software development phases while capability models have an entirely different foundation of developm

What do you mean by configuration management, Q. What do you mean by Config...

Q. What do you mean by Configuration Management? Because of several reasons software changes during its life cycle. Consequently of the change made multiple versions of the sof

What is process improvement, What is Process improvement? Understanding...

What is Process improvement? Understanding existing processes and introducing process changes to improve product quality, decrease costs or accelerate schedules. Most proces

Demonstrate the sequence of prototyping, Demonstrate the Sequence of protot...

Demonstrate the Sequence of prototyping Sequence of prototyping is demonstrated in following Figure.

Explain cyclomatic complexity, What is cyclomatic complexity? Cyclomati...

What is cyclomatic complexity? Cyclomatic complexity is given by McCabe. The general formula to compute cyclomatic complexity is M=V (G)=E - N + 2P Where E-Number of e

What are the testing strategies for conventional software, What are the var...

What are the various testing strategies for conventional software? i. Unit testing ii. Integration testing. iii. Validation testing. iv. System testing.

Discuss in detail about data modeling, Discuss in detail about data modelin...

Discuss in detail about data modeling. Data modelling makes use of the ERD. Consists of three interconnected information. The data object. Attributes. Relatio

Find the degree of capability of software reliability model, Q. Define capa...

Q. Define capability. What are the quantities that determine the degree of capability of a software reliability model? Ans: Capability demotes to the ability of the model to

Write Your Message!

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