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

Applications of a stochastic model , Aims: The aims of this report are to e...

Aims: The aims of this report are to enable you to explore the background, motivations, history,  development and/or applications of one of the stochastic models.   You may choose

Srs, Why SRS document is also called as boack-box specification of a system...

Why SRS document is also called as boack-box specification of a system

Define the minimum cardinality of a relationship, Define the Minimum cardin...

Define the Minimum cardinality of a relationship Minimum cardinality of a relationship is the minimum number of instances of second entity (student, in this case) with every in

What is gamma testing, Gamma testing is testing of software that does have ...

Gamma testing is testing of software that does have all the needed features, but did not go by all the in-house quality checks.

Determine the concept of concurrency, Determine the concept of Concurrency ...

Determine the concept of Concurrency The basic concept in computer programming is concept of handling more than one task at a time. Many programming problems need that the pro

Modular software development, After studying the module you should understa...

After studying the module you should understand the principles and techniques associated with modular software development. After studying the module you should understand the c

Possible features of good data, Decision-making is the activity of deciding...

Decision-making is the activity of deciding appropriate action in given situations. Having useful information helps to reduce the uncertainty in decision-making. Information is

Define the procedural abstraction, State Procedural abstraction. A Pro...

State Procedural abstraction. A Procedural abstraction is a named series of commands that has a specific and limited function. Eg: Open Walk to the door, reach out & grasp

What is the meaning of scm and sci, What is the meaning of SCM? Softwar...

What is the meaning of SCM? Software Configuration Management is termed as a set of actions performed for identifying, organizing and controlling changes throughout the lifecyc

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