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

Define product metrics, Normal 0 false false false EN-I...

Normal 0 false false false EN-IN X-NONE X-NONE MicrosoftInternetExplorer4

What do you understand by software quality, What do you understand by "Soft...

What do you understand by "Software Quality"? Quality software means, it's: - Free of bugs - Is easily maintainable - Within the budget - Meets requirements - De

Use cases, 1. Perform a requirements analysis for the Case Study. Express t...

1. Perform a requirements analysis for the Case Study. Express the results using the following artefacts:     a. A use case diagram for the functional requirements of the entire

What is e-commerce, Question 1 What do you mean by system's state of equil...

Question 1 What do you mean by system's state of equilibrium? Also illustrate the process of stabilising system Question 2 Explain the concept of Planning and Design in syste

What is peer reviews, What is Peer Reviews? Ans) A methodical examinatio...

What is Peer Reviews? Ans) A methodical examination of software work products by the producer's peers to recognize defects and areas where changes are required.

Explain the term- system maintenance, Explain the term- System Maintenance ...

Explain the term- System Maintenance update hardware as new items come on market or company changes in any way which requires new devices to be updated/added Update sof

What are the objectives of analysis modelling, What are the objectives of A...

What are the objectives of Analysis modelling? i. To explain what the customer requires. ii. To establish a basis for the creation of software design. iii. To devise a se

Full form of fast, FAST stands for :- FAST :- Facilitated Application...

FAST stands for :- FAST :- Facilitated Application Specification Technique

Construct an e-r diagram, Construct an E-R Diagram for the application desc...

Construct an E-R Diagram for the application described on the next page. Include any additional assumptions you made about the application requirements. The assumptions may not dir

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