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 system testing, Describe system testing.   System testing: ...

Describe system testing.   System testing: System test are designed to authenticate a fully developed systems with a view to assuring that it meets its requirements. There

Define system modeling, Define System Modeling? Explain the processe...

Define System Modeling? Explain the processes that serve requirements of the view under consideration. Shows the behaviour of the processes and the assumptions on which t

Discuss in details about rapid prototyping techniques, Discuss in details a...

Discuss in details about rapid prototyping techniques. Executable specification languages. Used to animate the system specification. It is shown in a formal, mathemati

Ball game, I need the code for creating a simple ball game on net beans/Ope...

I need the code for creating a simple ball game on net beans/Open gl

Key process areas of capability maturity model (cmm), Key process areas of ...

Key process areas of Capability Maturity model (CMM) Effectiveness, Predictability and control of an organization's software processes are believed to get better as the organiz

How the case tools are classified, How the CASE tools are classified? C...

How the CASE tools are classified? CASE tools can be classified by A. By function or use B. By user type(e.g. manager,tester),or C. By stage in software engineering pr

What is top-down strategy, What is Top-Down Strategy? Ans) Top down inte...

What is Top-Down Strategy? Ans) Top down integration is basically an approach where modules are produced and tested starting at the top level of the programming hierarchy and re

How to compute the cyclomatic complexity, How to compute the cyclomatic com...

How to compute the cyclomatic complexity? The cyclomatic complexity can be computed by any one of the following ways. 1. The numbers of regions of the flow graph correspond

Explain error, A discrepancy among a computed, observed, or calculated valu...

A discrepancy among a computed, observed, or calculated value or condition and the true, specified, or theoretically correct value or condition; and

What are the advantages of software maintenance, What are the advantages of...

What are the advantages of Software maintenance Software maintenance is a very broad activity which includes error correction, deletion of obsolete capabilities, enhancement of

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