The old definition of testing - execution of a program with the intent of exposing coding errors - is far too narrow 关于软件测试的旧的定义? ?对一个程序执行测试旨在发现代码中的缺陷? ?现在看来太狭义了。
Beefing up coding standards can all but eliminate some types of coding errors , like bugs related to brace or comment placement 补充编码标准几乎能够消除某些类型的编码错误,如关于放置花括号或注释的错误。
Common coding errors reported by the tool include buffer overrun , un - initialized memory , null pointer dereference , memory and resource leaks 工具报告的常见编码错误包括缓冲区溢出、内存未初始化、空指针取消引用以及内存和资源泄漏。
Minor lapses and barely - detectable coding errors - such as misaligned pointers or uninitialized variables - can have enormous consequences 一些较小的失误和几乎不被发觉的编码错误比如指针偏差或者变量未初始化可能会带来严重的后果。
Code analysis tool detects common coding errors , such as buffer overrun , un - initialized memory , null pointer dereference , and memory and resource leaks 代码分析工具用于检测常见的编码错误,例如缓冲区溢出、内存未初始化、空指针取消引用,以及内存和资源泄露。