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

CRT, EXPLAIN THE WORKING OF CRT?

EXPLAIN THE WORKING OF CRT?

Test plan including test cases, This assignment aims to provide the opportu...

This assignment aims to provide the opportunity to integrate and develop your analytical and written communication skills, and speci?cally to:develop your skills at developing test

COCOMO model, What is the correct order in which a software project manager...

What is the correct order in which a software project manager estimates various project parameters while using COCOMO?

What is code restructuring, Q. What is Code Restructuring? Code Restru...

Q. What is Code Restructuring? Code Restructuring : It is performed to acquiesce a design that produces the same function but with higher quality than the original program. Ge

Define evolutionary prototyping, Evolutionary prototyping: Evolutionary Pr...

Evolutionary prototyping: Evolutionary Prototyping (also called as breadboard prototyping) is quite dissimilar from Throwaway Prototyping. The main goal when using Evolutionary Pr

What is software risk, A measure of the severity and probability of undesir...

A measure of the severity and probability of undesired effects. Often taken as the easy product of probability and consequence.

What is risk assessment, What is Risk Assessment? Ans) A associated impa...

What is Risk Assessment? Ans) A associated impact and its comprehensive evaluation of the risk

Srs, Why is SRS document known as black box specification of a system

Why is SRS document known as black box specification of a system

What is top-down testing, An integration testing methods that tests the hig...

An integration testing methods that tests the high-level components first using stubs for lower-level known as components that have not yet been integrated and that stimulate the n

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