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 inheritance, Q. What is Inheritance? Inheritance:- Inheritance...

Q. What is Inheritance? Inheritance:- Inheritance is defined as the property of objects by which instances of a class can have access to data and programs contained in a previ

Explain about function count - software metrics, Q. Explain about Function ...

Q. Explain about Function count? Function count:- It measures the functionality from the user point of view that is on the basis of what the user requests and receives in ret

Why it is difficult to improve software process, List four reasons why it i...

List four reasons why it is difficult to improve software process.   It is difficult to improve software process due to following reasons: 1. Lack of knowledge 2. Not eno

Software engineering, Software Engineering A  high technology system e...

Software Engineering A  high technology system encompasses a  number of  elements like   people, hardware, software, database, documentation, and process.  System engineering

Few projects suggestion, Can you please suggest sample project works relate...

Can you please suggest sample project works related to advanced software engineering?

Software document, explain software document.create the necessary documents...

explain software document.create the necessary documents for employee management system.

What is the use of user interface prototyping, What is the use of User Inte...

What is the use of User Interface prototyping? This prototyping is used to pre-specify the look and feel of user interface in an effective way.

How many types of project plan, How many types of project plan. Quality...

How many types of project plan. Quality plan - This plan describes the quality techniques and standards that will be used in a project. Validation plan - This plan explains the

Structured analysis - software engineering, Structured Analysis Model ...

Structured Analysis Model Structured  analysis is  the  most  broadly  used  of  needs  modeling  techniques,  relies  on  flow modeling and data modeling to build the basis f

Impact of offshoring of it jobs, Question: (a) "People have recourse t...

Question: (a) "People have recourse to outsourcing only for reducing cost". Show this statement on the motivations for outsourcing. (b) "Outsourcing is a threat to the co

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