COVERAGE MEASUREMENT APPARATUS AND COVERAGE MEASUREMENT METHOD
To provide a method for properly measuring coverage of a source code in a device having a restriction on memory size.SOLUTION: A coverage measurement apparatus includes, for measuring coverage of a source code, a distribution unit, a generation unit, a coverage execution unit, and a combining unit....
Gespeichert in:
Hauptverfasser: | , , |
---|---|
Format: | Patent |
Sprache: | eng ; jpn |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | To provide a method for properly measuring coverage of a source code in a device having a restriction on memory size.SOLUTION: A coverage measurement apparatus includes, for measuring coverage of a source code, a distribution unit, a generation unit, a coverage execution unit, and a combining unit. The distribution unit distributes multiple source code files constituting a source code into multiple groups. The generation unit generates, for each group, a load module formed by embedding coverage measurement information corresponding to the source code files distributed by the distribution unit. The coverage execution unit causes, for each group, a computer to execute the load module to obtain coverage data. The combining unit combines the multiple pieces of coverage data. The distribution unit distributes the multiple source code files into multiple groups so that the load modules of the groups may be executed on the computer.SELECTED DRAWING: Figure 2
【課題】メモリサイズに制約があるデバイスにおいてソースコードのカバレッジを適切に測定できる方法を提供する。【解決手段】カバレッジ測定装置は、ソースコードのカバレッジを測定するために、分配部、生成部、カバレッジ実行部、結合部を備える。分配部は、ソースコードを構成する複数のソースコードファイルを複数のグループに分配する。生成部は、グループ毎に、分配部により分配されたソースコードファイルに対応するカバレッジ測定用情報が埋め込まれたロードモジュールを生成する。カバレッジ実行部は、グループ毎に、ロードモジュールをコンピュータに実行させてカバレッジデータを取得する。結合部は、複数のカバレッジデータを結合する。分配部は、各グループのロードモジュールがコンピュータ上で実行可能となるように、複数のソースコードファイルを複数のグループに分配する。【選択図】図2 |
---|