Binder Object-Oriented Testing Metrics. Lack of Cohesion in Methods b b In order to calculate the lack of Cohesion in methods, the Software Engineer must.

Slides:



Advertisements
Similar presentations
Nov R. McFadyen1 Metrics Fan-in/fan-out Lines of code Cyclomatic complexity* Comment percentage Length of identifiers Depth of conditional.
Advertisements

1 These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 5/e and are provided with permission by.
1 Software Testing and Quality Assurance Lecture 28 – Testing Class Hierarchies.
March R. McFadyen1 Software Metrics Software metrics help evaluate development and testing efforts needed, understandability, maintainability.
Lecture 12 Another loop for repetition The while loop construct © 2007 Daniel Valentine. All rights reserved. Published by Elsevier.
1 Lecture 5 Introduction to Software Engineering Overview  What is Software Engineering  Software Engineering Issues  Waterfall Model  Waterfall Model.
L8-S1 CRC Cards 2003 SJSU -- CmpE Advanced Object-Oriented Analysis & Design Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I College.
Software Engineering 3 rd Bachelor Informatics Ahmed Lamkanfi October 15, 2009.
By: Taylor Helsper.  Introduction  Test Driven Development  JUnit  Testing Private Methods  TDD Example  Conclusion.
TK2023 Object-Oriented Software Engineering CHAPTER 6 SYSTEM SEQUENCE DIAGRAMS.
By: Taylor Helsper.  Introduction  Test Driven Development  JUnit  TDD Example  Conclusion.
Course: Software Engineering © Dr Alessandra RussoUnit 5: Aggregation and Inheritance, slide number 1 Unit 5: Aggregation and Inheritance This unit aims.
COMP 121 Week 7: Object-Oriented Design and Efficiency of Algorithms.
Big Java Chapter 12. Software Process - Waterfall Analysis Design Implementation Testing Deployment Does not work well when rigidly applied! established.
1 These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 5/e and are provided with permission by.
CSEB114: Principle of programming
1 Software Engineering: A Practitioner’s Approach, 6/e Chapter 15b: Product Metrics for Software Software Engineering: A Practitioner’s Approach, 6/e Chapter.
The CK Metrics Suite. Weighted Methods Per Class b To use this metric, the software engineer must repeat this process n times, where n is the number of.
The CK Metrics Suite. Weighted Methods Per Class b To use this metric, the software engineer must repeat this process n times, where n is the number of.
Computer Science: A Structured Programming Approach Using C1 4-6 Scope Scope determines the region of the program in which a defined object is visible.
1 These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 5/e and are provided with permission by.
CS Overview of CRC CS 4311 B. Beck and W. Cunningham, A Laboratory for Teaching Object-Oriented Thinking, OOPSLA ’89, October 1-6, R. Wirfs-Brock,
1 Class Diagrams: The Essentials. 2 Terms and Concepts A class is... The most important building block of any object-oriented system. A description of.
OBJECT-ORIENTED PROGRAMMING (OOP) WITH C++ Instructor: Dr. Hany H. Ammar Dept. of Electrical and Computer Engineering, WVU.
1 A Student Guide to Object- Oriented Development Chapter 6 Identifying Functionality.
Even more problems.. Mean (average) I need a program that calculates the average of student test scores. I need a program that calculates the average.
1 Structural Modeling Chapter 7. 2 Key Ideas A structural or conceptual model describes the structure of the data that supports the business processes.
Creating a Pie Chart for Your Reservoirs. Yesterday, you were to have “traveled” to 20 different reservoirs….. – This should have left you with 20 beads.
Think Tank Time How might engineers use technology in their work? How might engineers use technology in their work? Write your answer on an index card.
Measurement and quality assessment Framework for product metrics – Measure, measurement, and metrics – Formulation, collection, analysis, interpretation,
Newton’s Method, Root Finding with MATLAB and Excel
Internet and Intranet Protocols and Applications Lecture 5a: HTTP Client-Server Design and Implementation February 15, 2005 Arthur Goldberg Computer Science.
Slide 1 Classes and Objects. Slide 2 Messages and Methods.
© Hamilton Trust Keeping Up Term 1 Week 3 Day 3 Objectives: Subtract two-digit numbers from two-digit numbers and from numbers between 100 and 200 by counting.
1 These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 5/e and are provided with permission by.
Basic Rules One person at each table records and charts results for each round Each other person rolls three dice per turn. This represents the work of.
Software Engineering Object Oriented Metrics. Objectives 1.To describe the distinguishing characteristics of Object-Oriented Metrics. 2.To introduce metrics.
Fall 2007 Week 11: Object Modeling (2) Class Diagram MSIS 670: Object-Oriented Software Engineering.
The MOOD Metrics Suite. Number of Methods Inherited b b In order to determine the number of methods inherited, the Software Engineer must do the following,
For loop. Exercise 1 Write a program to have the user input three (3) numbers: (f)rom, (t)o, and (i)ncrement. Count from f to t in increments of i, inclusive.
Given a set of data points as input Randomly assign each point to one of the k clusters Repeat until convergence – Calculate model of each of the k clusters.
OBJECT-ORIENTED TESTING. TESTING OOA AND OOD MODELS Analysis and design models cannot be tested in the conventional sense. However, formal technical reviews.
COP 4331 – OOD&P Lecture 7 Object Concepts. What is an Object Programming language definition: An instance of a class Design perspective is different.
WELCOME TO SITIATA. Time Card Calculator If you want to best calculating software then visit in sitiata. We are providing a best Time Card Calculator.
General Principles in Assigning Responsibilities Responsibilities Responsibility-Driven Design CRC Cards GRASP.
CRC Cards: Construction Emerson Murphy-Hill Creative Commons Attribution 4.0 License. Material Produced by NCSU Software Engineering Faculty.
Slide 13A.1 © The McGraw-Hill Companies, 2005 Object-Oriented and Classical Software Engineering Sixth Edition, WCB/McGraw-Hill, 2005 Stephen R. Schach.
Planning 2: Estimation Mechanics Emerson Murphy-Hill Creative Commons Attribution 4.0 License. Material Produced by NCSU Software Engineering Faculty.
CRC Cards: Overview Emerson Murphy-Hill Creative Commons Attribution 4.0 License. Material Produced by NCSU Software Engineering Faculty.
ChiMerge Discretization
Course Notes Set 12: Object-Oriented Metrics
Object-Oriented Metrics
Lorenz and Kidd Operation-Oriented Metrics Suite
Lorenz and Kidd Metrics Suite
CRC Modeling (class-relationship-collaborator)
TIME LINE.
Topics discussed in this section:
INFS 6225 Object Oriented Systems Analysis & Design
BACK UP P09045: Membrane Characterization Test Stand
Unit 3 Review (Calculator)
SENSATIONAL SEVENS PART 1
Times.
SENSATIONAL SEVENS PART 2
Lorenz and Kidd OOP Metrics Suite
Warmup The Falcons have won 80% of their games and leading their division. Assume that the result of each game is independent. They have 9 games left.
Calculate 9 x 81 = x 3 3 x 3 x 3 x 3 3 x 3 x 3 x 3 x 3 x 3 x =
I have… I have… Who has 3:40? Who has 12:20? I have… I have…
SkuGal Technologies Private Limited launched a software For School management Software In this application there are many more features to help to schools,
Analysis of Comments Case of Dr. Blank.
On to Object Design c. 14.
Presentation transcript:

Binder Object-Oriented Testing Metrics

Lack of Cohesion in Methods b b In order to calculate the lack of Cohesion in methods, the Software Engineer must consult their CRC index cards. They should then do the following, – –Pick the first attribute. – –Go through the list of CRC cards and count the number of cards that access that particular attribute picked in step one. – –Record this number and repeat until all attributes have been processed. – –Take the greatest number and input this number into the cell.

Number of Public Attributes b b In order to find the number of public attributes, the Software Engineer must do the following, – –Obtain the class CRC cards. – –Pick an attribute. – –Go through the class collaborators and see if any access the attribute. – –If so, increment the count. – –Repeat process until all attributes have been processed. – –Enter count into the cell.

Number of Private Attributes b b In order to find the number of private attributes, the Software Engineer must do the following, – –Obtain the class CRC cards. – –Pick an attribute. – –Go through the class collaborators and see if any access the attribute. – –If not, increment the count. – –Repeat process until all attributes have been processed. – –Enter count into the cell. b b * Another way to calculate the number of private attributes is as follows, b b Number of Private Attributes = Total Number of Attributes - Number of Public Attribute

Friend Classes b b In order to calculate the number of friend classes, the Software Engineer must do the following, – –Obtain all classes CRC cards. – –Process all classes and count the number that has the class under calculation as a collaborator. – –Enter this number into the cell.

Number of Root Classes b b In order to determine the number of root classes, the Software Engineer must do the following, – –Obtain the Projects Inheritance Chart. – –From the chart, count the number of distinct parent classes that all other classes are derived from. – –Enter this number into the cell.