运维工程师常见软件故障
软件故障 (Software Failure)
A failure that shows up when the user recognizes that the software has come to bring to an end to deliver the anticipated result with respect to the specification input values. The user may need to identify the seriousness of the levels of failures such as disastrous, dangerous, major or minor, depending on their impact on the computer or hardware.
当用户意识到该软件已终止以交付有关规格输入值的预期结果时出现的故障。 用户可能需要根据故障对计算机或硬件的影响,确定故障等级的严重性,例如灾难性,危险,重大或轻微。
程序分析工具 (Program analysis tools)
A program analysis tool means a pre-generated tool that takes the source code or the runnable code of a program as input and generates reports regarding several important attributes of the program, such as its size, seriousness, acceptability of commenting, honor to programming rules, etc.
程序分析工具是指一种预先生成的工具,该工具将程序的源代码或可运行代码作为输入,并生成有关程序的几个重要属性的报告,例如程序的大小,严重性,注释的可接受性,对编程规则的尊重等
We can easily classify these into two broad categories of program analysis tools,
我们可以轻松地将它们分为两大类程序分析工具,
Static Analysis Tools
静态分析工具
Dynamic Analysis Tools
动态分析工具
a)静态程序分析工具 (a) Static program analysis tools )
The static analysis tool is also a module of codes that uses analysis tools. It evaluates and computes various important features of a software product without running it. Commonly, static analysis tools run some structural delineation of a program to arrive at certain logical results, The structural properties that are usually checked are,
静态分析工具也是使用分析工具的代码模块。 它无需运行软件即可评估和计算软件产品的各种重要功能。 通常,静态分析工具会对程序进行某种结构上的描绘,以得出某些逻辑结果。通常检查的结构属性是:
Whether the coding quality has been stick to?
是否一直坚持编码质量?
Some programming mistakes or errors such as a mismatch between real and fake rules, variables that are declared but never used are also checked.
还会检查一些编程错误或错误,例如真实和伪造规则之间的不匹配,已声明但从未使用过的变量。
b)动态程序分析工具 (b) Dynamic program analysis tools)
Dynamic program analysis skills needed for the program to carry out and its real behavior recorded. A dynamic analyzer usually records the code i.e. adds an additional set of commands in the source code to collect program execution follow the path. The devised code when run allows us to record the performance of the software for different test cases.
程序执行所需的动态程序分析技能,并记录其实际行为。 动态分析器通常会记录代码,即在源代码中添加一组额外的命令,以收集沿路径执行的程序。 设计好的代码在运行时使我们能够记录不同测试案例的软件性能。
软件可靠性 (Software reliability)
The reliability of a software product essentially represents its dependability or reliability. Alternatively, the reliability of a software product can also be defined as the chances of the product working correctly over a given period of time.
软件产品的可靠性本质上表示其可靠性或可靠性。 或者,软件产品的可靠性也可以定义为产品在给定时间段内正确运行的机会。
软件故障分类 (Classification of software failures)
Transient: Transient failures show up only for particular input values while supplicating a function of the system.
瞬态 :瞬态故障仅针对特定的输入值显示,同时说明系统功能正常。
Permanent: Permanent failures show up for all input values while supplicating a function of the system.
永久性 :表示系统功能时,所有输入值均显示永久性故障。
Recoverable: When recoverable failures occur, the system retrieves with or without operator involvement.
可恢复的 :发生可恢复的故障时,系统会在有或没有操作员参与的情况下进行检索。
Unrecoverable: In unrecoverable failures, the system requires to be restarted.
不可恢复 :在不可恢复的故障中,需要重新启动系统。
Cosmetic: These classes of failures cause only minor problems, and do not lead to wrong results. An example of a cosmetic failure is the scenario where the mouse button has to be clicked twice instead of once to supplicate a given function through the GUI.
装饰性的 :这些类型的故障仅引起较小的问题,不会导致错误的结果。 装饰失败的一个示例是必须单击两次鼠标键而不是一次才能通过GUI提供给定功能的情况。
翻译自: https://www.includehelp.com/basics/software-failure-software-engineer.aspx
运维工程师常见软件故障