Mapa mental
producing robust programs
Contenido del mapa
producing robust programs
creating hard to break programs
defensive design
- protection against unexpected user inputs
- enter numbers instead of letters
- validation
- check data is sensible and reasonable
- type check : data type
- length check: right length (1-32 char)
- format check : certain pattern
- range check : umber falls between 2 limits
- presence check: not blank
- range check : umber falls between 2 limits
- format check : certain pattern
- length check: right length (1-32 char)
- type check : data type
- check data is sensible and reasonable
- maintainability
- code is understandable
- reduce chance of coding mistakes/ bugs
- use
- comments, indentations, formatting (subroutines)
- naming conventions
- constants
- code is understandable
- minimising/ removing bugs
- testing
- functions as designed
- meets needs of user
- iterative testing
- over and over throughout coding before moving on
- in sections
- over and over throughout coding before moving on
- final/ terminal testing
- at end of development
- tested as a whole
- at end of development
- valid data- expected results
- invalid data- produce an error
- borderline - valid but on edge of what's ok
- functions as designed
- testing
- authentication
- e.g: username and password (access rights)
- right people, right access
- update password regularly, complex password, limit login attempts
- protection against unexpected user inputs
Información
- Descripción
- Mapa Mental sobre producing robust programs, creado por Erin Lee el 23/11/2022.
- Creado por
- Erin Lee
- Visitas
- 1
- Valoración