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

What is technical review, A technical review is the review that refers to c...

A technical review is the review that refers to content of the technical material being reviewed.

PSEUDO CODE, You are to create a decision table to help you decide what to ...

You are to create a decision table to help you decide what to do for the day. If it is a weekday and it is not a holiday, then you go to work. However, if it is a weekday and it

Outsourcing software, discuss how your organization can take advantage of o...

discuss how your organization can take advantage of outsourcing its IT systems/functions

What is meant by software prototyping, What is meant by software prototypin...

What is meant by software prototyping? Software prototyping is a process of creating a model for the software product. This is developed based on the currently known requiremen

3809ICT, I need help on and assignment that is due on monday can you help ?...

I need help on and assignment that is due on monday can you help ?

Describe basic steps in software cost estimation, Question: (a) Describ...

Question: (a) Describe fully the first five basic steps in software cost estimation. (b) What are the main differences between COCOMO1 and COCOMO2 cost estimation models?

What are the functions of data architecture, What are the functions of data...

What are the functions of data architecture? It gives the information needed for a business function. Recognize the data objects and their relationship. Eg: Custome

Important factors related to library storage operation, Important factors r...

Important factors related to library storage operation: It is essential to consider some important factors related to library and information storage and retrieval operations

Define measure and metrics, Define measure and metrics. Measure is  a q...

Define measure and metrics. Measure is  a quantitative indication of the extent, dimension, amount or size of some attribute of a product or process. Metrics is termed as th

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