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 is technical review, A technical review is the review that refers to c...

A technical review is the review that refers to content of the technical material being reviewed.

Define software reliability, Define software reliability. Software reli...

Define software reliability. Software reliability is the probability that software will give failure-free operation in a fixed environment for a fixed interval of time. Probabi

What are the benefits of prototyping, What are the benefits of prototyping?...

What are the benefits of prototyping? i. Prototype uses as a basis for deriving system specification. ii. Design quality can be better. iii. System can be handled efficie

Describe design walk throughs and critical design review, Q. Describe desig...

Q. Describe design walk throughs and critical design review? Ans. A design walkthrough is a excellence practice that allows designers to acquire an early validation of desig

What are the various categories of software, What are the various categorie...

What are the various categories of software? Application software System software Engineering/Scientific software Web Applications Embedded software Artificial I

What is process analysis and modelling, What is Process analysis and modell...

What is Process analysis and modelling? Process analysis The study of existing processes to understand the relationships among parts of the process and to compare them

What is vo browser extension, What is VO browser extension? - It is a S...

What is VO browser extension? - It is a SilkTest add-on component to test Web applications. - To identify browser-rendered objects it employs sophisticated pattern recogniti

Explain agent-oriented programming languages, Question: (a) Name two a...

Question: (a) Name two agent-oriented programming languages. (b) Distinguish between communication protocols and interaction protocols for agent systems. Give two example

How to perform risk analysis during software testing, Describe how to perfo...

Describe how to perform Risk Analysis during software testing. Whereas a test plan is being formed, risks involved in testing the product are to be taken into consideration al

What is coupling, What is coupling? Coupling is the measure of intercon...

What is coupling? Coupling is the measure of interconnection between modules in a program structure. It depends on the interface complexity among modules.

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