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

Describe the object interface design, Question 1 Explain Iterative Develop...

Question 1 Explain Iterative Development Model in detail Question 2 Describe the Object Interface Design Question 3 Explain why it is important to describe softwar

What is test scenario, The terms "test scenario" and "test case" are certai...

The terms "test scenario" and "test case" are certain used synonymously. Test scenarios are test cases or test scripts, and the series in which they are to be implemented. Test sce

State the software maintenance, What is software maintenance Alters to...

What is software maintenance Alters to the software are made in response to altered requirements but the fundamental structure of the software remains same.

Cohesion, Identify the type of cohesion in the following statements: 1. Co...

Identify the type of cohesion in the following statements: 1. Compute average daily temperatures at various sites 2. Initialize sums and open files 3. Create new temperature recor

Stats free, system architecture block diagram

system architecture block diagram

Explain capability maturity model, CAPABILITY MATURITY MODEL (CMM): CMM is...

CAPABILITY MATURITY MODEL (CMM): CMM is a strategy for recovering the software process, irrespective of the actual life cycle model used.

Open source software, what are the advantages of open source software?

what are the advantages of open source software?

Define software process, Define software process. Software process is e...

Define software process. Software process is explained as the structured set of activities that are need to develop the software system.

Event management information system in uml, Company Universal Consulting is...

Company Universal Consulting is a large consulting firm that specializes in IT consulting services for the Healthcare industry. The company employs over 2,000 dedicated IT professi

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