{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

3156-16 - COMS W3156 Software Engineering Fall 2001...

Info icon This preview shows pages 1–15. Sign up to view the full content.

View Full Document Right Arrow Icon
COMS W3156: Software Engineering, Fall 2001 Lecture #15: Integration I, Security/Crypto I Janak J Parekh [email protected]
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Administrativia Design due now Requirements v1.2 posted Is your head hurting yet? Prototype: almost there and…
Image of page 2
Next class Continue security/crypto Implementation-level security and cryptography Discuss various useful tools for implementation and integration (I&I II?)
Image of page 3

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Today’s class Talk about integration issues Introduce security and cryptography concepts Theoretical-level
Image of page 4
Integration? Not really separate from Implementation, but traditionally thought of as such Schach calls it the “Implementation and Integration phase” Why? (2 reasons)
Image of page 5

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Implementation needs integration (I) Here, a calls b, c, and d You can’t test a until you attempt to integrate with b, c, and d Code stubs of b, c, and d For b: need driver for a, stub for e
Image of page 6
Stubs and drivers Essentially empty modules Usually prints debugging info Stubs Get called upon Might return a canned answer Drivers Call others Also prints some debugging
Image of page 7

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Implementation needs integration (II) Consider a really complex set of modules Each time you integrate, fault isolation becomes harder Additionally, possibility for faults increase Can’t work completely independently until the last day Even with OO Need to combine module and integration testing
Image of page 8
Top-down I&I Implement and integrate starting from the top Create stubs for subsidiary components Fill in the stubs later Good: major fundamental flaws shown early: better to test logic first
Image of page 9

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Problems with top-down Difficult to test actual low-level functions (reusable components) The top-level gets tested n times Bottom-level gets tested once Defensive programming a liability? if (x >= 0) computeSquareRoot
Image of page 10
Bottom-up I&I Build drivers, fill them in later Design flaws not shown early, but low-level components very well tested Huge cost to redesign Conclusion: need to combine both
Image of page 11

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Sandwich I&I Simple idea: work from both ends Tests logic, as well as reusable components Schach claims infinite upside from this model Reality: a bit more complex to organize Need both stubs and drivers
Image of page 12
OO I&I Needed to include in a “Object Oriented Software Engineering” book Basically, works the same as classical I&I
Image of page 13

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Management issues during I&I What if the pieces don’t fit together?
Image of page 14
Image of page 15
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern