ELECTRONIC DEVICE, GENERATION METHOD FOR SOFTWARE CODE AND ANALYZATION METHOD FOR TEST COVERAGE

    公开(公告)号:US20240330158A1

    公开(公告)日:2024-10-03

    申请号:US18537632

    申请日:2023-12-12

    CPC classification number: G06F11/3676 G06F11/3688

    Abstract: An electronic device includes: a memory in which software code, including a plurality of test positions is loaded; and a processor configured to execute the software code in order according to a control flow, wherein the processor is configured to allocate a test coverage data region in the memory, execute the software code based on a test scenario, when an execution position reaches a target test position among the plurality of test positions, mark a memory position corresponding to the target test position in the test coverage data region in response to a test coverage marking instruction associated with the target test position, and output test coverage data of the test coverage data region in response to an external command.

Patent Agency Ranking