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 are the various elements of data design, What are the various elements...

What are the various elements of data design? i. Data object - The data objects are identified and relationship between various data objects can be shown using ERD or data dict

The sequence of testing, The sequence of testing is: a) Unit testing: ...

The sequence of testing is: a) Unit testing: b) Integration testing: Alpha Testing- Beta testing Acceptance Testing

Stats free, system architecture block diagram

system architecture block diagram

What is meant by information flow continuity, What is meant by Information ...

What is meant by Information flow Continuity? When we refine a fundamental model for a system, the information flow continuity must be maintained .ie, input & output to every r

Techlib plus - microcomputer based software package, TECHLIB Plus microcomp...

TECHLIB Plus microcomputer based software package: This is yet another comprehensive package based on BASIS plus, one of the world's leading Document DBMS and Text Retrieval S

Software project planning necessitate what activities, Q. Software project ...

Q. Software project planning necessitate what activities? What are the difficulties encountered in measuring the Software Costs? Ans. Software project planning necessitate th

Illustrate the concept of a software bus in corba, QUESTION (a) Illustr...

QUESTION (a) Illustrate the concept of a software bus in CORBA (b) Taking an example of your own, explain how component-based software engineering can allow very rapid softw

Why we need restructuring techniques, Q. Why we need restructuring techniqu...

Q. Why we need restructuring techniques? The restructuring helps in maintaining a program in the following ways: (a) Programs have higher excellence better documentation l

Why do dns root servers hold entries for two-level, QUESTION - Name Service...

QUESTION - Name Services (a) Illustrate with help of a diagram the results of a DNS lookup and an ARP lookup assuming we are using IPv4. (b) Why do DNS root servers hold en

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