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

Explain in brief the concept of functional independence, Explain in brief t...

Explain in brief the concept of Functional independence ?

Software testing, 1. Answer the following questions for the method search()...

1. Answer the following questions for the method search() below: public static int search (List list, Object element) // Effects: if list or element is null throw NullPointerExcept

State the defined level of maturity model, Level 3 (Defined) The org...

Level 3 (Defined) The organisation satisfies all the requirements of level-2. Atthis maturity level, the softwaredevelopmentprocesses arewell defined, managed and documented

What are the different levels of cmm, Different levels of CMM: 1) Initi...

Different levels of CMM: 1) Initial (maturity level 1) 2) Repeatable (maturity level 2) 3) Defined (maturity level 3) 4)  Managed (maturity level 4) 5) Optimizing (

Software Metircs, I have a comprehensive question for Software Metrics ...i...

I have a comprehensive question for Software Metrics ...it is 16 question

Artificial intelligence, what are the characteristics of artificial intelli...

what are the characteristics of artificial intelligence

Why computer clock synchronization of paramount importance, QUESTION - Time...

QUESTION - Time Synchronization (a) Why is computer clock synchronization of paramount importance? Give 2 business scenarios whereby time accuracy is critical? (b) Computers

Software life cycle, A) In terms of maintenance in software life cycle, doe...

A) In terms of maintenance in software life cycle, does RUP or agile approach give  better support? Describe your answer.   B) Explain how agile development approach and RUP

Define repeated inheritance, Repeated inheritance If a class inherits ...

Repeated inheritance If a class inherits more than once from the same class then it is referred to as repeated inheritance.

What is internal interrupt, Internal Interrupt Cause because of illegal...

Internal Interrupt Cause because of illegal or erroneous use of an instruction or data. Internal interrupts are also known as traps. Internal interrupts are initiated because o

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