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

Perform risk analysis during software testing, Describe how to perform Risk...

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

What is a user manual, What is A user manual? Ans) A "user manual" is a ...

What is A user manual? Ans) A "user manual" is a document that presents information essential to employ software or a system to get the desired results. Typically, what is expla

Determine the common problems with software automation, Determine the commo...

Determine the common problems with software automation ? The biggest concern is the cost incurred for test automation. Also, often s/w test automation needs skilled personnel an

What is software configuration management, What is Software configuration m...

What is Software configuration management? ans)Software Configuration Management (SCM) is the control and the recording of alter that are made to the software and documentation

Why system flowcharts are used, System flowcharts System flowcharts are...

System flowcharts System flowcharts are used to demonstrate how all the components in a system link together (for example input, storage, output, processing etc.). They are ver

What is meaning of attributes, Attributes   Attribute is a characteri...

Attributes   Attribute is a characteristic or property of an entity which is of interest to the organisation. It's represented by oval shaped box with name of attribute writt

Senior project, in which platform can i best develop a college financial/ac...

in which platform can i best develop a college financial/accounting system? what modules can it entail?

Define white box testing, Define White box testing White box testing ...

Define White box testing White box testing method deals with the internal logic and structure of the code. White box testing also called as glass, structural, branches, paths

Explain the traces debugging method, Q. Explain the Traces debugging method...

Q. Explain the Traces debugging method? Traces:-Printout contains merely certain memory and register contents and printing is conditional on some event occurring. Typical condi

What are different severity ratings in a project, What are different severi...

What are different severity ratings in a project? There can be 4 types of severity ratings in a table: i.) Severity 1 - Showstoppers - Don't allow application to move at

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