Lecture 10 - Program Documentation and Testing

Lecture 10 - Program Documentation and Testing - Software...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
Lecture 10 Software Quality There are many desirable features of a piece of software. We will concentrate on the following: •maintainability; •reliability; •robustness; •usability. The waterfall approach • Until a few decades ago software developers went through a number of phases and complete each of these before moving on to the next. • This approach to software development was often called the waterfall model . The RAD approach • Involves doing the activities described above a "little bit at a time"; Maintainability • The requirements of an application are rarely fixed and often change over time. Maintaining a system refers to the need to update an existing system to reflect these changing requirements. • Code should be designed in such a way as to make these changes easier rather than harder. Documentation • For a software system to be easy to maintain, the software design needs to be clearly documented. • When developing object-oriented programs, this design documentation should include: - complete class diagrams; - clear method definitions (parameter and return types, plus pseudocode when appropriate).
Background image of page 1

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

View Full DocumentRight Arrow Icon
Guidelines for in-code documentation When writing in-code documentation you should always include the following: •comments to make the meaning of your code clear; •meaningful data names;
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 5

Lecture 10 - Program Documentation and Testing - Software...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online