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 is data validity, Data validity is the reasonableness and correctness ...

Data validity is the reasonableness and correctness of data.

Elaborate on the characteristics of a good team player, Question 1: In ...

Question 1: In his book Tales of a New America, Robert Reich describes the importance of teamwork in an increasingly technological age: Rarely do even Big Ideas emerge any l

What does validation represent, What does Validation represent? Validat...

What does Validation represent? Validation shows the set of activities that ensure that the software that has been built is satisfying the customer needs.

Static single variable model and static multivariable model, Q. Static sing...

Q. Static single variable model and static multivariable model? Static single variable model : Methods using this model utilize an equation to estimate the desired value such

Mca, encoded micro instruction vs unecoded micro instruction

encoded micro instruction vs unecoded micro instruction

What is the key process areas, What is the Key Process Areas SEI has a...

What is the Key Process Areas SEI has associated key process areas(KPAs) with every maturity level. KPA is an indicative measurement of goodness of software engineering functi

Explain diffrent types of system testing, Q. Explain diffrent types of syst...

Q. Explain diffrent types of system testing? System testing System tests are designed to validate a fully developed system to assure that it meets its requirements. There are f

State the categories of software maintenance, Categories of software mainte...

Categories of software maintenance There are three categories of maintenance:  i) Corrective Maintenance ii) Adaptive Maintenance iii) Perfective Maintenance

Nonfunctional requirements of clue-less system, Nonfunctional Requirements ...

Nonfunctional Requirements Performance Requirements PE-1: The Clue-Less system shall accommodate 6 users during peak usage, with an estimated average session duration of 15 m

What are the main approaches in debugging, What are the common approaches i...

What are the common approaches in debugging? Brute force method: The memory dumps and run-time tracks are checked and program with write statements is loaded to get clues to er

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