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

List the pre-requisites for white-box testing, List the pre-requisites for ...

List the pre-requisites for white-box testing Pre-requisites for white-box testing are similar to black-box testing with one key difference: - During white-box testing, test

Explain in detail about the real time systems, Explain in detail about the ...

Explain in detail about the real time systems. Hard and soft real time systems. Real time and high performance. Real-Time control. Real time software design P

What is the meaning of software, What is the meaning of Software? Softw...

What is the meaning of Software? Software is termed as a set of computer programs that are related documents that are indented to provide required features, functionalities and

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

Enterprise resource planning system, 1. Please compare and contrast economi...

1. Please compare and contrast economic, market, and relevancy value. 2. Discuss uncertainty as it relates to the overall logistical performance cycle. How can performance cycle

Clue-less system, The Clue-Less system is a software version of the popular...

The Clue-Less system is a software version of the popular board game Clue. The rules of Clue-Less mirror those of Clue, with the exception of a modified navigation scheme. The soft

Define about the software development life cycle, Define about the Software...

Define about the Software Development Life Cycle The different steps (known as phases) that are adopted in development of this process are collectively called as Software Devel

Describe the main categories of e-commerce, Question 1: (a) A company w...

Question 1: (a) A company wishes to under-go a Business Process Re-engineering activity with respect to its core business processes. Explain the extent to which MIS could be

Determine the business process engineering tools, What are business process...

What are business process engineering tools? By modelling the strategic information requirements of an organization, business process engineering tools provide a "meta-model" f

Artificial intelligence, Explain fully the application of artificial intell...

Explain fully the application of artificial intelligence

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