Slide 1

Slide 1 text

Dr. Javier Gonzalez-Sanchez [email protected] www.javiergs.info o ffi ce: 14 -227 CSC 307 Introduction to Software Engineering Lecture 09. Clean Design

Slide 2

Slide 2 text

Previously

Slide 3

Slide 3 text

Relationships 3

Slide 4

Slide 4 text

Test Yourselves

Slide 5

Slide 5 text

No content

Slide 6

Slide 6 text

StoryEditor 6

Slide 7

Slide 7 text

NewStoryUI 7

Slide 8

Slide 8 text

No content

Slide 9

Slide 9 text

HomePanel 9

Slide 10

Slide 10 text

Do we need it? 10

Slide 11

Slide 11 text

No content

Slide 12

Slide 12 text

No content

Slide 13

Slide 13 text

No content

Slide 14

Slide 14 text

No content

Slide 15

Slide 15 text

Grades 15 ❌ 5 / 12 ✅ 7 / 12

Slide 16

Slide 16 text

Main 16 ❓Johnny P.+ Jonathan G.

Slide 17

Slide 17 text

Tasks 17 ❓Collin H.+ Alexander B. ❓Kevin M. Blackboard! Cannot be a JFrame

Slide 18

Slide 18 text

Stories And ~200 LOC method ☹ ❓Luis G.+ Jonathan G. Maybe for MoveTasks too

Slide 19

Slide 19 text

Project 19

Slide 20

Slide 20 text

No content

Slide 21

Slide 21 text

No content

Slide 22

Slide 22 text

Lab.

Slide 23

Slide 23 text

Lab 23 https://classroom.github.com/a/LXc5UHtr

Slide 24

Slide 24 text

Step 1 24 Fix your Code

Slide 25

Slide 25 text

Step 2 • Cre a te a Test Cl a ss for your very own Story (in the Test Folder) • No m a in methods inside of cl a sses th a t should not h a ve them, i.e., m a in methods for testing your p a rt goes on the test folder • Only one single m a in method in the j a v a source folder • The m a in method st a rt with “Show the Project P a ge” 25

Slide 26

Slide 26 text

Step 3. Who Calls Who? 26

Slide 27

Slide 27 text

Step 4 27 Fix your Class Diagram

Slide 28

Slide 28 text

CSC 307 Introduction to Software Engineering Javier Gonzalez-Sanchez, Ph.D. [email protected] Winter 2026 Copyright. These slides can only be used as study material for the class CSC307 at Cal Poly. They cannot be distributed or used for another purpose.