コード カバレッジ
SIL シミュレーションまたは PIL シミュレーション中の生成コード メトリクス収集
ソフトウェアインザループ (SIL) シミュレーションとプロセッサインザループ (PIL) シミュレーション中にコード カバレッジ メトリクスを収集します。メトリクスを使用して、生成されたコードに意図しない機能が含まれないことを示します。
トピック
Simulink Coverage によるコード カバレッジ
- Simulink Code Coverage Metrics
Metrics produced by code coverage analysis. - Code Coverage for Models in Software-in-the-Loop (SIL) Mode and Processor-in-the-Loop (PIL) Mode
Configure code coverage for SIL and PIL simulations and review results. - ソフトウェアインザループ コード カバレッジ (Simulink Coverage)
この例では、ソフトウェアインザループ (SIL) モードを使用してモデル参照からコード カバレッジ メトリクスを収集する方法を説明します。 - View and Filter Code Coverage Results Using the Code Pane (Simulink Coverage)
This example shows how to view code coverage results and justify code coverage outcomes directly from the Code pane in Simulink®. - Evaluate Differences Between Model and Code Coverage (Simulink Coverage)
This example shows how to use Simulink® Test™ Manager to analyze model coverage and generated code coverage, and investigate differences in the results.
サードパーティ製のツールによるコード カバレッジ
- サードパーティ ツールによるコード カバレッジの構成
LDRA ツール スイートを使用して SIL または PIL シミュレーション中にコード カバレッジ メトリクスを収集する。 - Configure Code Coverage Programmatically
Use line commands to set up third-party code coverage analysis for a SIL or PIL simulation. - View Code Coverage Information at the End of SIL or PIL Simulations
Access results from third-party code coverage tool. - Code Coverage Summary and Annotations
Third-party code coverage tool produces code generation report with summary data and annotated coverage information. - Collect Code Coverage Metrics with Third-Party Tool
Measure code coverage with a third-party tool. - サードパーティのコード カバレッジ ツールのサポート
サードパーティのコード カバレッジ ツールとコンパイラのサポート。 - Tips and Limitations
Miscellaneous information about code coverage with third-party tool.