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

Important issues related to srs, Q. Important issues related to SRS? (a...

Q. Important issues related to SRS? (a) System goals as well as requirements are different- Goal is a more general characteristics. For example Whole system must be designed in

Explain about the e-r diagram, Explain about the E-R Diagram Entity-rel...

Explain about the E-R Diagram Entity-relationship (E-R) diagram is detailed logical representation of data for an organisation. It is data oriented model of a system while DFD

What is manual testing, Manual testing is the part of software testing that...

Manual testing is the part of software testing that needs operator input, analysis, or evaluation. or A manual testing is a testing for which there is no automation. Instead,

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.

What are the drawbacks of rad model, Mention some of the drawbacks of RAD m...

Mention some of the drawbacks of RAD model. Unuseful for a large-scale projects. Interest of developers & customers are necessary. Not useful and perfect when technica

Different type of testing tools, Different type of testing tools. (a) T...

Different type of testing tools. (a) Test Case Generators: (b) Capture/ Playback and Test harness tools: (c)  Coverage Analysis Tools: (d) Test Comparators e) Memor

High level architecture, Devise an architecture for a system that manages t...

Devise an architecture for a system that manages the daily operation of a motor vehicle service and repair business. The system will have the following functionality:- Administrati

Prepare er diagram for the system, a) An ER diagram for the system. Show ...

a) An ER diagram for the system. Show all entities, relationships, cardinalities and optionalities. Also, include all intersection entities. You must use the Finkelstein  method

Incrementa lprocess model, name some software in which incremental process ...

name some software in which incremental process are used or possible to use it?

Daa, 3. Explain asymptotic notations and their significance

3. Explain asymptotic notations and their significance

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