Mapa mental
Producing Robust Programs
Conteúdo do mapa
Producing Robust Programs
Robust
- Won't break/function correctly
- must be secure if not data could be comprimised
Defensive design
- Protection against unexpected user input
- Validation
- Make sure input is sensible and resonable
- Check data type
- Check length
- Check format
- Check range
- Check presence
- Make sure input is sensible and resonable
- Validation
- Maintainability- ensure code is readable and understandable
- Reduced chance of bugs
- Comments- for explanation
- Indentation-improves indentation
- Formatting-creates sub-routine makes it shorter
- Constants- stops repetition of values which will stay the same
- Minimising bugs
- Iterative Testing
- Testing throughout development
- Final Testing tested at end of development, against the requirements of the customer
- Valid data will produce expected results
- Invalid data should produce an error, won't crash
- Borderline data on the edge between valid and invalid dealt with correctly by the program
- Iterative Testing
- Ensures that program will run correctly and continue no matter what
- Authentication
- Login with correct login credential
- Access rights
- Different rights depending on levels
- Limit login attempts
- Protection against unexpected user input
Informações
- Descrição
- Mapa Mental sobre Producing Robust Programs, criado por Oliver Barnett em 22-11-2022.
- Criado por
- Oliver Barnett
- Visualizações
- 1
- Avaliação