Luca Lista - C++ Metriche nel software Luca Lista INFN, Sezione di Napoli.

Slides:



Advertisements
Similar presentations
Un percorso realizzato da Mario Malizia
Advertisements

Artrelle Fragher & Robert walker. 1 you look for the median 1 you look for the median 2 then you look for the min and max 2 then you look for the min.
Fill in missing numbers or operations
Name: Date: Read temperatures on a thermometer Independent / Some adult support / A lot of adult support
Understand multiplication and division as inverses
Multiplication and division as arrays 1) 2)3) 4)5) 7) 6) 8) 9) Use each array to write 2 multiplication and 2 division sentences ©
CirculatingTumor Cells: Toward a clinical benefit? Giuseppe Naso MD, PhD, Associated Professor of Medical Oncology Director of Traslational Oncology Paola.
LE FONTANE DELLACQUANUOVA Assonometria monometrica in scala 1:25.
Ozone Level ppb (parts per billion)
Multiplication X 1 1 x 1 = 1 2 x 1 = 2 3 x 1 = 3 4 x 1 = 4 5 x 1 = 5 6 x 1 = 6 7 x 1 = 7 8 x 1 = 8 9 x 1 = 9 10 x 1 = x 1 = x 1 = 12 X 2 1.
Division ÷ 1 1 ÷ 1 = 1 2 ÷ 1 = 2 3 ÷ 1 = 3 4 ÷ 1 = 4 5 ÷ 1 = 5 6 ÷ 1 = 6 7 ÷ 1 = 7 8 ÷ 1 = 8 9 ÷ 1 = 9 10 ÷ 1 = ÷ 1 = ÷ 1 = 12 ÷ 2 2 ÷ 2 =
Helping TCP Work at Gbps Cheng Jin the FAST project at Caltech
How many people do we need to vaccinate?. Suppose R 0 = 10 How many new infections result from each infected person on average? 10 So how many people.
Legal Vice Presidency The World Bank PANEL I Role of Court SURVEY Commercial Enforcement and Insolvency Systems.
Panel V Judicial Accountability & System Transparency SURVEY Commercial Enforcement and Insolvency Systems Legal Vice Presidency The World Bank.
/4/2010 Box and Whisker Plots Objective: Learn how to read and draw box and whisker plots Starter: Order these numbers.
Graphing Linear Inequalities in Two Variables
Topographic Maps Mr. King.
Half Life. The half-life of a quantity whose value decreases with time is the interval required for the quantity to decay to half of its initial value.
1 1  1 =.
1  1 =.
Science Jeopardy >>>> Topic 1 Topic 2 Topic 4 Topic Topic 5.
DiseaseNo disease 60 people with disease 40 people without disease Total population = 100.
Team 1 Team Guidelines Slide 1 – Numbers are hyperlinked to slides, you can edit the information on each slide – to include.
Fractions decimals & percentages
Decimals 10ths and 100ths.
SOME TEXT GOES HERE PRESENTATIONNAM E By NAMESurname YourContact.
Unit 2: Supply, Demand, and Consumer Choice 1. REMEMBER THE STEPS! 2.
Least Common Multiple (LCM)
Price Points With Bar Charts. Investment to Value Ratio $45,000 - $65,000 $25,000 - $45,000 Under $25,000 $90,000 - $125,000 $65,000 - $90,000 Low Price.
EXAMPLE 4 Solve a multi-step problem SHOPPING
Dyeing of acrylic /wool blends One bath method This method is suitable for producing light to medium-depth shades with basic dyes and acid, milling, or.
Money Math Review.
Matching and comparing coins and bills
Area of triangles.
What if you knew exactly what kids need to succeed? What if you knew exactly what kids need to succeed?
Marks out of 100 Mrs Smith’s Class Median Lower Quartile Upper Quartile Minimum Maximum.
Comparison of X-ray diffraction patterns of La 2 CuO 4+   from different crystals at room temperature Pia Jensen.
Least Common Multiples and Greatest Common Factors
Temperature SOL 2.19 Grade 2 Created by; Kim Smith.
Panel II Efficient Court Administration SURVEY Commercial Enforcement and Insolvency Systems Legal Vice Presidency The World Bank.
Legal Vice Presidency The World Bank Panel IV Judicial Independence, Integrity & Ethics SURVEY Commercial Enforcement and Insolvency Systems Legal Vice.
Sudden Cardiac Arrest (SCA)
Benjamin Banneker Charter Academy of Technology Making AYP Benjamin Banneker Charter Academy of Technology Making AYP.
N E FFECT AND S OCIAL F ACILITATION S TUDY DESIGN By Jacob Bradburn.
Making Numbers Two-digit numbers Three-digit numbers Click on the HOME button to return to this page at any time.
MathOnMonday® Presents: Building Math Courage® A program designed for Adults or Kids who have struggled to learn their Math in the traditional classroom!
SPATIAL DISCRIMINATION IN A T MAZE Trials to criterion BL/6 strain FVB strain ACQUISITION AND REVERSAL Day 1Day 2Day 3Day 4Day 5Day.
Look at these sequences. What is happening? 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 10, 20, 30, 40, 50, 60, 70, 80, 90, , 200, 300, 400, 500, 600, 700, 800,
Number bonds to 10,
Beat the Computer Drill Divide 10s Becky Afghani, LBUSD Math Curriculum Office, 2004 Vertical Format.
Grade 10 Mixture Problems
2 x0 0 12/13/2014 Know Your Facts!. 2 x1 2 12/13/2014 Know Your Facts!
Welcome to the Annual Meeting of the Canadian Coalition for Good Governance.
© 1997 South-Western College Publishing LHM Slides Created and Designed by Apple Mountain Software, Inc. Marketing Charles.
Kyle bought a bike from his friend. His friend gave him a 20% discount. He paid $40 for it. How much was the original price of the bike?
Market Structures: Monopoly Slide 2 presents a table that can be printed for each student. For best results, use "landscape" page orientation. Slides 3.
Powerpoint Jeopardy Category 1Category 2Category 3Category 4Category
Hardware word gecontroleerd… 50%. Hardware word gecontroleerd… 100% Done.
100 høyfrekvente ord på engelsk
•7/12 /07 F-1 © 2010 T. Horton CS 4240 Principles of SW Design Packages in Java and UML.
Stability and Volatility is Software Design H. Rahnama Tutorial in software engineering.
Alexander Serebrenik, Serguei Roubtsov, and Mark van den Brand D n -based Design Quality Comparison of Industrial Java Applications.
1 OO Design Novosoft, 2001 by V. Mukhortov. 2 OO Design Goals  Flexibility Changes must be localized  Maintainability Modules requiring changes can.
4/1/05F-1 © 2001 T. Horton CS 494 Object-Oriented Analysis & Design Packages and Components in Java and UML.
OO Design Principles Copyright © Vyacheslav Mukhortov, Nikita Nyanchuk-Tatarskiy, Copyright © INTEKS LLC,
Principles of Package Design COMPOSE AT A HIGHER LEVEL OF ABSTRACTION.
by C.A. Conley and L. Sproull
Principles of Package Architecture
the Java package design analyser
Presentation transcript:

Luca Lista - C++ Metriche nel software Luca Lista INFN, Sezione di Napoli

Luca Lista - C++ The Dependency Metrics [1] Responsibility, Independence and Stability of a Package –Ca: Afferent Couplings # of dependent external classes –Ce: Efferent Couplings # internal classes dependent on external –Instability: Ce / (Ca+Ce) [0,1] 0 = maximally independent 1 = dependent but with no dependents [1] R.Martin,

Luca Lista - C++ Stability vs. Flexibility Open Closed Principle –Stable (good) Package Responsible independent abstract classes –Unstable (good) Package Dependent irresponsible concrete classes Abstractness –# abstract classes / total # of classes [0,1]

Luca Lista - C++ The Main Sequence Define Stability-Abstractness relationship Main Sequence (0,1) (1,0) Maximally stable & abstract Maximally unstable & concrete

Luca Lista - C++ …and its statement The MS textual definition –Packages that are maximally stable should be maximally abstract. Instable packages should be concrete. The abstraction of a package should be in proportion to its stability Combined with the Stable Dependencies –Dependency Inversion Principle for classes dependencies toward abstractions

Luca Lista - C++ Example of metrics Main Sequence IfrGeomBase IfrData IfrPidData IfrDataImp IfrGeom IfrGeomP IfrReco IfrSequence IfrDataP IfrEnv IfrSim IfrPid IfrVisitors Instability Abstractness