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

Software requirements analysis, What types of models are formed during soft...

What types of models are formed during software requirements analysis?   Functional and behavioral

Feasibility analysis report, Aim to follow the weekly schedule - some time ...

Aim to follow the weekly schedule - some time in each tutorial class will be devoted to working in your teams of two under the guidance of your tutor on this project.  However, te

Explain walk-through, Explain Walk-through? Ans) A walk-through (in soft...

Explain Walk-through? Ans) A walk-through (in software QA) is a casual meeting for evaluation or informational purposes. A walk-through is also a method at an abstract level. It

CRT, EXPLAIN THE WORKING OF CRT?

EXPLAIN THE WORKING OF CRT?

Test questions, Dear Sir/ Madam I have some remaining test questions need ...

Dear Sir/ Madam I have some remaining test questions need to be answered, from yesterday''s test bank can I get a solution please? Regards John

Define the minimum cardinality of a relationship, Define the Minimum cardin...

Define the Minimum cardinality of a relationship Minimum cardinality of a relationship is the minimum number of instances of second entity (student, in this case) with every in

Explain boundary value analysis, A selection method in which test data are ...

A selection method in which test data are chosen to lie along "boundaries" of the input domain [or output range] classes, data structures, procedure parameters, etc. Choices often

State the working of system evaluation, State the Working of System Evaluat...

State the Working of System Evaluation compare final solution with original requirement identify any limitations in system identify any necessary improvements which

Explain white-box and black-box testing in detail, Problem 1. Explain w...

Problem 1. Explain why it is necessary to design the system architecture before the specifications are written 2. Explain why it is important to describe software designs 3.

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