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

Define software process, Define software process. Software process is e...

Define software process. Software process is explained as the structured set of activities that are need to develop the software system.

Database schema, Question This question refers to the database Schema....

Question This question refers to the database Schema. Express the following queries in SQL: (a) List the First Name, Last Name and telephone number of all employees who wer

SDLC model, What is the advantage of using prototype software development m...

What is the advantage of using prototype software development model instead of waterfall model?

Explain software reliability, Software Engineering 1. Discuss the Limit...

Software Engineering 1. Discuss the Limitation of linear sequential model in software engineering. 2. Explain Software reliability? Why reliability is more important than ef

What are the different levels of cmm, Different levels of CMM: 1) Initi...

Different levels of CMM: 1) Initial (maturity level 1) 2) Repeatable (maturity level 2) 3) Defined (maturity level 3) 4)  Managed (maturity level 4) 5) Optimizing (

What is the use of cmm, What is the use of CMM? Capability Maturity Mod...

What is the use of CMM? Capability Maturity Model is used in assessing how well an organisation's processes permit to complete and manage latest software projects.

Explain acceptance testing, Testing conducted to verify whether or not a sy...

Testing conducted to verify whether or not a system satisfies its acceptance criteria and to enable the customer to verify whether or not to accept the system. Contrast with testin

Explain the evolutionary model, Explain the Evolutionary Model. Ideal f...

Explain the Evolutionary Model. Ideal for software products that have their feature sets redefined during development because of user feedback and other factors. The Evolutiona

What are the principle stages of vord method, What are the principle stages...

What are the principle stages of VORD method? Viewpoint identification: Identify the services given to each viewpoint. Viewpoint structuring: Grouping linked viewpoints in t

What do you understand by software quality, What do you understand by "Soft...

What do you understand by "Software Quality"? Quality software means, it's: - Free of bugs - Is easily maintainable - Within the budget - Meets requirements - De

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