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

Case study : online bookshop system, A major book retailer is planning to d...

A major book retailer is planning to develop a computer system to handle their new online bookshop: BooksUniverse.com. You have been chosen to do the analysis and design using Obje

Swot analysis, how to threat into opportunities and weaknesses into streng...

how to threat into opportunities and weaknesses into strength

Define top-down testing, Define top-down testing. System developed star...

Define top-down testing. System developed starting from most general modules. Testing begins from the most general module.

what is random testing, What is Random Testing? This is one of process...

What is Random Testing? This is one of process used to exercise a class. It is based on developing a random test series that tries the minimum number of operations typical to th

Define partitioning, Partitioning:- Problems are often too large and diffi...

Partitioning:- Problems are often too large and difficult to be understood as a whole. For this reason, we tend to partition such difficulties into parts that can be easily unders

Explain structural things using conceptual model, Question: Part of the...

Question: Part of the conceptual model of UML is made up of four "things": "Structural things", Behavioral things", "Grouping things" and "Annotational things". Explain, using

What are the benefits of big-bang, What are the advantages and disadvantage...

What are the advantages and disadvantages of big-bang? Advantages: This approach is simple. Disadvantages: It is hard to debug. It is difficult to isolate errors while testi

Compare the manpower and development time, Q. Compare the Manpower and deve...

Q. Compare the Manpower and development time? Manpower may perhaps refer to labour Manpower either an abstract term for human labour effort as opposed to machines, animals a

Explain iso 9000, Explain ISO 9000 ISO 9000 An international set o...

Explain ISO 9000 ISO 9000 An international set of standards for quality management. Applicable to a range of organisations from manufacturing to service industries.

List the points of a simplified design process, List the points of a simpli...

List the points of a simplified design process. Ans. A design process may comprise a series of steps followed by designers. Depending on the product or else service some of t

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