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

Discuss in details about functional modeling, Discuss in details about Func...

Discuss in details about Functional Modeling. This model describes the computations that take part within a system. This model is helpful when the conversion from the inp

Explain functional testing, Functional testing is black-box type of testing...

Functional testing is black-box type of testing geared to functional needs of an application. Test engineers *should* do functional testing.

Explain iso 9000, Explain ISO 9000 ISO 9000 An international set o...

Explain ISO 9000 ISO 9000 An international set of standards for quality management. Applicable to a range of organisations from manufacturing to service industries.

Describe the various types of restructuring techniques, Q.  Describe the v...

Q.  Describe the various types of restructuring techniques? Ans. Software restructuring modifies source code as well as data an effort to make it amenable to future changes

Difference between pilot and beta testing, Difference between Pilot and Bet...

Difference between Pilot and Beta Testing. Pilot testing includes having a group of end users try the system prior to its full deployment in order to give feedback on its perfo

Write a valid schema for the container, A storage tank has a container to k...

A storage tank has a container to keep a certain amount of fuel and it also has an indicator to inform about the level of fuel inside the container. The container cannot exceed

Differentiate between regression testing and re-testing, Differentiate betw...

Differentiate between regression testing and re-testing - Re-testing: - It means testing a single defect that was just fixed. Only one test is performed here. - The ta

Name certain common tools which are used for load testing, Name certain com...

Name certain common tools which are used for load testing. - Rational Performance Tester by IBM Rational - Open STA an Open Source tool - LoadRunner by HP - Silk Perfo

What is the impact of "information era., Software Engineering 1. What i...

Software Engineering 1. What is the impact of "information era"? 2. Illustrate whether the linear sequential model of the software process is an accurate reflection of softw

Why is srs also known as blackbox specification of system, Q. Why is SRS al...

Q. Why is SRS also known as the blackbox specification of system ? Ans: SRS document is a contract among the development team and the customer once the SRS document is approv

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