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

Describe the prototyping methods in software process, Describe the prototyp...

Describe the prototyping methods in software process. Two methods i. Evolutionary prototyping - In this approach of system development, the early prototype is prepared and i

What are the rules for making DFD, What are the Rules for making DFD   ...

What are the Rules for making DFD   The below factors must be considered when making DFDs:  1.   Keep a note of all processes and external entities. Give unique names to th

State sandwich testing, Define sandwich testing. Testing combines the i...

Define sandwich testing. Testing combines the ideas of both bottom-up and top-down testing by defining a certain target layer in the hierarchy of the module. The modules below

Explain the term - code complete, Explain the term - Code Complete - Ph...

Explain the term - Code Complete - Phase of development where functionality is implemented completely with only bug fixes remaining. - All functions from functional specific

Srs, Why is SRS document known as black box specification of a system

Why is SRS document known as black box specification of a system

Explain evolutionary development model, Evolutionary Development model. ...

Evolutionary Development model.  Evolutionary Development Model : Evolutionary development model resembles iterative enhancement model. The similar phases as defined for the w

What is incremental analysis, Incremental analysis happens when (partial) a...

Incremental analysis happens when (partial) analysis may be performed on an incomplete product to permit early feedback on the development of that product.

Explain cause effect graph, A Boolean graph connecting causes and effects. ...

A Boolean graph connecting causes and effects. The graph is mainly a digital-logic circuit (a combinatorial logic network) by using a simpler notation than standard electronics not

What is pure and impure interpreter, what is interpreter explain pure and i...

what is interpreter explain pure and impure interpretion

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