for Project 2 Team Hours Points 1 40 55 2 20 18 3 75 26 4 5 10 20 6 50 60 7 48 45 8 44 52 • 5 members per team working 10 hours per week each • 50 person-hours per week
for Project 3 Team Hours Points 1 49 91 2 63 55 3 103 37 4 5 34.5 70 6 59 84 7 60 66 8 56 65 • 5 members per team working 10 hours per week each • 50 person-hours per week
Numbers for Project 4 Team Hours Points 1 85 140 2 110 100 3 117 48 4 5 50 100 6 90 110 7 60 70 8 108 136 • 5 members per team working 10 hours per week each • 50 person-hours per week
Size Team Size P4 Average points per sprint Sprints Did you complete it? 1 140 73 1.91 2 100 36.5 2.7 3 48 31.5 1.52 4 5 100 45 2.22 6 110 72 1.52 7 70 55.5 1.26 8 136 58.62 2.32 • 5 members per team working 10 hours per week each • 50 person-hours per week
Injection (DI) § A Java class has a dependency on another class, if it uses an instance of this class. § A class should not configure its dependencies statically (new) but should be configured from the outside (using vs having). § hard dependency – a class creates an instance of another class via the new operator § dependency injection – passing of a dependency to a dependent object (as a parameter)
Injection (DI) public class ClientFrame { ... public ClientFrame() { ... = new PlotPanel(); ... = new FacePanel(); ... = new ConsolePanel(); ... = new JButton(); ... = new JLabel(); } } public class ClientFrame { public ClientFrame(Jpanel a, Jpanel b) { } }
§ Low coupling. Coupling refers to the degree to which the different classes depend on each other. All classes should be independent as far as possible. § Create Mock objects (dummy implementations that emulate real code). § Create Interfaces
do you have? Highest value: Lowest value: Average: Channels: Frequency (Hz): Client O X - 2 ▼ localhost:1516 start / stop Console: Highest value: Lowest value: Frequency (Hz): Server O X - 1024 0 5 localhost:1516 start / stop Console:
do you have? Highest value: Lowest value: Average: Channels: Frequency (Hz): Client O X - 2 ▼ localhost:1516 start / stop Console: Highest value: Lowest value: Frequency (Hz): Server O X - 1024 0 5 localhost:1516 start / stop Console: