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

Importance of function point, Importance of function point:    This is ...

Importance of function point:    This is independent of the languages tools, or methodology used for execution. They can be estimated from requirement specification or desig

What is failure, The inability of a system or system component to perform a...

The inability of a system or system component to perform a needed function within specified limits.

Important issues that a srs must address, The important issues that a SRS m...

The important issues that a SRS must address are:  (a) System goals and requirements are different (b) Request Definition (c) Request Specification (d) Software Specif

What does modularity concept mean, What does Modularity concept mean? S...

What does Modularity concept mean? Software architecture embodies modularity; ie, Software is named in to addressable components called as modules that are integrated finally.

Define a macro, "State how you would type arguments h, o, w, n, o, w to the...

"State how you would type arguments h, o, w, n, o, w to the macro cat, define(cat, $1$2$3$4$5$6$7$8$9) so that the printed result was how now Describe exactly what happens when

Stats free, system architecture block diagram

system architecture block diagram

Describe bottom-up and top-down approaches, How do you develop a test plan ...

How do you develop a test plan and schedule? Describe bottom-up and top-down approaches. A test plan is contract among the testers and the project team explaining the role of t

Structural partitioning, compare and contrast the advantages of verticle an...

compare and contrast the advantages of verticle and horizontal structural partitioning?

Systems Design Lifecycle, What is the development lifecycle? Why is it usef...

What is the development lifecycle? Why is it useful? Describe the activities carried out at each stage Determination of scope Requirements specification Design Coding Testing Maint

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