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

Offshore oil industry, as software project manager in company specialized o...

as software project manager in company specialized on offshore oil industry have been tasked to discover factors affecting mantainability of the system developed by the company.wh

Coding, Can I punch the big jizz daddy on the Bongo machine?

Can I punch the big jizz daddy on the Bongo machine?

What are dynamic testing tools, Q. What are dynamic testing tools? Explain ...

Q. What are dynamic testing tools? Explain the functions that they must support. Ans. Dynamic testing tools: 1: coverage analyzers (execution verifiers): A coverage anal

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 is change management, What is Change management? Software systems ...

What is Change management? Software systems are subject to continual change requests; From users; From developers; From market forces. Change management is

Write a short note on structure chart, Q. Write a short note on structure c...

Q. Write a short note on structure chart? Structure Chart is a most important program design technique and shows all components of code in a hierarchical format. Structure

What is the consistency issue raised by state transfer, QUESTION (a) Ex...

QUESTION (a) Explain why making some replica managers read-only may improve the performance of a gossip system. (b) In the gossip architecture, why does a replica manager ne

What is prototype, What is Prototype Prototype is developed so that cu...

What is Prototype Prototype is developed so that customers, developers and users can learn more about problem. Hence prototype serves as a mechanism for identifying software r

Describe software maintenance and it types, Software Engineering 1. Giv...

Software Engineering 1. Give the two roles of the software process. 2. Describe software maintenance and it types. 3. What is RAD model and its phases? 4. What do you

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