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

What specific languages can be used in srs, What specific languages can be ...

What specific languages can be used in SRS? Requirement specification necessitates the use of some order language. The language should support the desired qualities of the SRS-

What is the evolution of software engineering, What is the Evolution of sof...

What is the Evolution of software engineering Any application on computer runs by software. As computer technologies have changed tremendouslyinthe last five decades, consequen

What is volume testing, Testing designed to challenge a system's capability...

Testing designed to challenge a system's capability to handle the maximum amount of data over a period of time. This type of testing also classify a system's ability to handle over

What is configuration management, What is configuration Management? Sof...

What is configuration Management? Software Configuration management (SCM) is the task of tracking and controlling alters in the software. Configuration management practices con

Usual stages of the simplified design process, Q. Usual stages of the simpl...

Q. Usual stages of the simplified design process? Pre-production design Design brief it is an early often the beginning statement of design goals Analysis i

Mention some of the notations for requirements specification, Mention some ...

Mention some of the Notations for requirements specification. Structured natural language: Use standard Templates or form. Design description language: Programming langua

What are quality plans, What are Quality plans? Quality plan structure ...

What are Quality plans? Quality plan structure Product plans; Product introduction; Process descriptions; Quality goals; Risks and risk management.

Implementation of system functionality, Methodology and system Functionalit...

Methodology and system Functionality: High level views of the proposed system in terms of the requirements that will be supported by the proposed system in the context of busine

Determine in verify about capability maturity models, Determine in verify a...

Determine in verify about CAPABILITY MATURITY MODELS In this model anapproach for improving Software process is devised. It isn't concerned which life cycle modeis followed for

Briefly describe what are deployment diagrams, Question: (a) Compare t...

Question: (a) Compare the following pairs of terms as used in object oriented software engineering: (i) Association and Association class (ii) Multiplicity and multiple

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