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

Software engineer, Differance b/w Liner sequenrial modal with incremental m...

Differance b/w Liner sequenrial modal with incremental modal

Define process maturity, Define process maturity. In recent years there...

Define process maturity. In recent years there has been a important emphasis on process maturity. The Software Engineering Institute. (SEI) has developed a comprehensive model

Some important steps while doing testing, Some Important Steps while doing ...

Some Important Steps while doing performing testing The below objectives are to be kept in mind when performing testing: i)  It should be done with the intention of finding

Outsourcing, Discuss how your own organization can take advantage of outsou...

Discuss how your own organization can take advantage of outsourcing its IT systems/functions. In your discussion state what can be outsourced and what benefit will be gained. Do yo

What is oo function testing, Function testing of OO software is no dissimil...

Function testing of OO software is no dissimilar than validation testing of procedural software. Client involvement is generally part of this testing stage. In OO environment use c

Explain incremental testing, Incremental integration testing is permanent t...

Incremental integration testing is permanent testing of an application as new functionality is recommended. This may need that various aspects of an application's functionality are

What is data modelling, What is data modelling? Data modeling is the ba...

What is data modelling? Data modeling is the basic step in the examine modeling. In data modeling the data objects are examined independently of processing. The data model s

Explain the regression testing, What is regression testing? Regression...

What is regression testing? Regression testing is the re-execution of some subject texts that have previously been conducted to make sure that changes have not propagated unin

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