Upgrade to Pro — share decks privately, control downloads, hide ads and more …

CSC305 Lecture 08

CSC305 Lecture 08

Individual Software Design and Development
Connecting the Dots
(202410)

Javier Gonzalez-Sanchez

October 09, 2024
Tweet

More Decks by Javier Gonzalez-Sanchez

Other Decks in Programming

Transcript

  1. Dr. Javier Gonzalez-Sanchez [email protected] www.javiergs.info o ffi ce: 14 -227

    CSC 305 Individual Software Design and Development Lecture 08. Connecting the Dots
  2. Instability • Indic a tes whether: ( a ) the

    item is m a inly used by others (st a ble – h a rd to ch a nge); or (b) it m a inly depends on other items (in-st a ble – ch a nge a ble). • It is a v a lue between 0 a nd 1: • 0 only incoming dependencies to • 1 (only outgoing dependencies). 3
  3. Distance 4 Abstract Concrete Stable Hard to Change Only incoming

    dependencies Unstable Changeable Only outgoing dependencies the m ain sequence Painful Useless 0 1 1 0 Instability Abstractness
  4. Distance • Dist a nce: how f a r a

    p a ck a ge is a w a y from the M a in Sequence • D = A + I – 1 • V a lues -1 to 1 • Absolute Dist a nce |D| 6
  5. Distance 7 Abstract Concrete Stable Hard to Change Only incoming

    dependencies Unstable Changeable Only outgoing dependencies the m ain sequence Painful Useless 0 1 1 0 Instability Abstractness
  6. Part A 14 Class Diagram for the kappa version of

    my Paint App https://github.com/CSC3100/App-Paint/tree/main/ src/main/java/javiergs/paint/Kappa
  7. Part B 15 Calculate metrics (A, I, D) for the

    kappa version of my Paint App https://github.com/CSC3100/App-Paint/tree/main/ src/main/java/javiergs/paint/Kappa
  8. CSC 305 Individual Software Design and Development Javier Gonzalez-Sanchez, Ph.D.

    [email protected] Summer 2024 Copyright. These slides can only be used as study material for the class CSC305 at Cal Poly. They cannot be distributed or used for another purpose.