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

SRS, i want to make a case study of any topic of SRS but i am little confus...

i want to make a case study of any topic of SRS but i am little confuse about SRS plz give me Idea how to work in SRS and how to select a model

Explain working of code inspectors, Q. Explain working of Code inspectors? ...

Q. Explain working of Code inspectors? Code inspectors A code inspector does a simple job of enforcing standards in a uniform way for many programs. These are able to be sing

Explain the various phases of SDLC, Explain the Various phases of SDLC ...

Explain the Various phases of SDLC Various phases of SDLC are defined as below: Requirements Analysis Design Coding Software Testing Maintenance.

Connectivity Issue in Asp.net, Sir, our project is not connecting with SQL ...

Sir, our project is not connecting with SQL server. How to insert own created database in ASP.net

What are the benefits of smoke testing, What are the benefits of smoke test...

What are the benefits of smoke testing? Integration risk is decreased. The quality of the end-product is better. Error diagnosis and correction are simplified. Assessment of pr

How the class concept used in software engineering, Q. How the Class concep...

Q. How the Class concept used in Software Engineering? Class:- A class encapsulates data and procedural abstractions required to describe the content and behavior of some real

SDLC model, What is the advantage of using prototype software development m...

What is the advantage of using prototype software development model instead of waterfall model?

Configuration management, Configuration Management: Because of several ...

Configuration Management: Because of several reasons, software changes during its life cycle. As a result of the changes made, many versions of the software exist at one time.

Implementation of system functionality, Methodology and system Functionalit...

Methodology and system Functionality: High level views of the proposed system in terms of the requirements that will be supported by the proposed system in the context of busine

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