程序崩潰 分析工具
A program analysis tool implies an automatic tool that takes the source code or the executable code of a program as information and produces reports with respect to a few significant attributes of the program, for example, its size, multifaceted nature, sufficiency of remarking, adherence to programming gauges, and so on.
程序分析工具表示一種自動工具,該工具將程序的源代碼或可執行代碼作為信息,并生成有關程序的一些重要屬性的報告,例如,程序的大小,多方面的性質,備注的充分性,遵循性編程儀表,等等。
We can order these into two general classes of program investigation devices,
我們可以將它們分為兩大類程序調查設備,
Static program analysis tools
靜態程序分析工具
Dynamic program analysis tools
動態程序分析工具
1)靜態程序分析工具 (1) Static program analysis tools)
It is a program analysis tool as it surveys and registers different attributes of a software product without executing it. Normally, static analysis tools break down a few basic portrayals of a program to land at certain diagnostic ends, for example that some structural properties hold.
它是一種程序分析工具,它可以在不執行軟件產品的情況下勘測和注冊軟件產品的不同屬性。 通常,靜態分析工具會分解程序的一些基本描述,以便在某些診斷端著陸,例如,保留某些結構屬性。
The basic properties that are normally categorized are,
通常分類的基本屬性是
The coding standards are met or not?
是否符合編碼標準?
Certain programming mistakes, for example, uninitialized factors and unmatched among actual and formal parameters, variables that are announced however never utilized are likewise checked.
同樣會檢查某些編程錯誤,例如未初始化的因子以及實際參數和形式參數之間不匹配,已聲明但從未使用的變量。
Code walkthrough and Code inspection may be considered as static analysis methods. In any case, the term static program analysis is utilized to signify automatic examination tools. In this way, a compiler can be viewed as a static program analysis tool.
代碼演練和代碼檢查可以視為靜態分析方法。 在任何情況下,術語靜態程序分析都用于表示自動檢查工具。 這樣,可以將編譯器視為靜態程序分析工具。
2)動態程序分析工具 (2) Dynamic program analysis tools)
Dynamic program analysis strategies require the program to be executed and its genuine conduct recorded. A powerful analyzer for the most part instruments the code (for example includes extra proclamations in the source code to gather program execution follows). The instrumented code when executed enables us to record the conduct of the product for various experiments.
動態程序分析策略要求執行程序并記錄其真實行為。 功能強大的分析器大部分用于檢測代碼(例如,在源代碼中包括額外的聲明,以收集隨后的程序執行信息)。 被執行的檢測代碼使我們能夠記錄產品在各種實驗中的行為。
As soon as the software is tested the conduct is recorded, the dynamic analysis tool carries out a dynamic analysis and produces reports which portray the basic inclusion that has been accomplished by the total test suite for the program. For instance, the post execution dynamic examination report may give information on degree explanation, branch and way inclusion accomplished.
一旦對軟件進行了測試,就記錄了行為,動態分析工具就會進行動態分析并生成報告,這些報告描繪了該程序的總測試套件所完成的基本內容。 例如,執行后動態檢查報告可以提供有關程度說明,分支機構和完成方式的信息。
Ordinarily the dynamic analysis results are accounted for as a histogram or a pie outline to portray the structural inclusion accomplished for various modules of the program. The yield of a dynamic analysis tool can be put away and printed effectively and gives proof that exhaustive testing has been done. The dynamic analysis results the degree of testing performed in white-box mode. On the off chance that the testing inclusion isn't palatable more testing can be planned and added to the test suite. Further, dynamic analysis results can kill excess experiments from the test suite.
通常,動態分析結果以直方圖或圓形輪廓表示,以描繪針對程序的各個模塊完成的結構包含。 動態分析工具的產量可以有效地存放和打印,并證明已經進行了詳盡的測試。 動態分析得出在白盒模式下執行的測試程度。 如果測試包含的內容不是很好,則可以計劃更多測試并將其添加到測試套件中。 此外,動態分析結果可能會殺死測試套件中的多余實驗。
翻譯自: https://www.includehelp.com/basics/program-analysis-tools-software-engineering.aspx
程序崩潰 分析工具