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

State the meaning of data dictionary, What is meant by Data dictionary? ...

What is meant by Data dictionary? The Data dictionary is an organized listing of all data constituents that are related to the system, with precise, accurate definitions so tha

What are the various elements of data design, What are the various elements...

What are the various elements of data design? i. Data object - The data objects are identified and relationship between various data objects can be shown using ERD or data dict

System analyst, Explain the role and functions of a Systems Analyst in the ...

Explain the role and functions of a Systems Analyst in the overall project development.

State the level 5 of key process areas, Level 5 KPAs 1)Defect Prevent...

Level 5 KPAs 1)Defect Prevention (DP): It discovers causes of defects and devises techniques which prevent them from recurring. 2)Technology Change Management (TCM): It

Determine in detail about waterfall model, Determine in detail about Waterf...

Determine in detail about Waterfall model Waterfall model provides a sequential and systematic approach to software development and is better than build and fix approach. Howev

What are the objectives of software design, Q. What are the objectives of s...

Q. What are the objectives of software design? What are the objectives of software design? How do we transform an informal design to a detailed design? Ans Objectives of

Define object and class associations, Q. Define Object and class associatio...

Q. Define Object and class associations? Object/class associations:- Objects/classes interact with each other. Multiplicity defines how many instances of one object/class can

Name the techniques used in behavioural model, Name the techniques used in ...

Name the techniques used in behavioural model In conventional approach of modeling, analyst collects great deal of comparatively unstructured data through data gathering tools

What is user documentation, "User documentation" is a document that explain...

"User documentation" is a document that explains the way a software product or system should be used to get the desired results.

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