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

Data dictionary, data dictionary on library management system

data dictionary on library management system

Class diagram, Explain the compare of class diagram

Explain the compare of class diagram

Name the techniques used in behavioural model, Name the techniques used in ...

Name the techniques used in behavioural model In conventional approach of modeling, analyst collects great deal of comparatively unstructured data through data gathering tools

What is outputs, What is Outputs? Ans) Products, services, or informatio...

What is Outputs? Ans) Products, services, or information supplied to meet end user requirements.

What is the meaning of requirement engineering, What is the meaning of requ...

What is the meaning of requirement engineering? Requirement engineering defined as the process of setting up the services that the customer requires from the system and the co

What is oo system testing, OO system testing is actually identical to its c...

OO system testing is actually identical to its counterpart in the procedural environment.

Explain top down design, Top down design: A top down design approach begin...

Top down design: A top down design approach begins by identifying the main modules of the system, decomposing them into their lower level modules and iterating unless the desired

What is unit testing explain, Q. What is Unit testing explain ? Unit t...

Q. What is Unit testing explain ? Unit testing: Unit testing is undertaken after a module has been coded and successfully reviewed. Unit testing (or module testing) is the te

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