Skip to content

Conversation

@ctoyan
Copy link
Member

@ctoyan ctoyan commented Sep 30, 2025

No description provided.

ctoyan and others added 4 commits September 16, 2025 17:41
* sets all aptos-core Rust dependencies to `aptos-release-v1.35` branch

* fixes compilation errors related to those version updates

* creates new fixtures for the integration tests (re-generated report.txt files - same content of the report.txt, but different mutant order)

* removes x25519-dalek patch as it's not used in the crate graph

* replaces deprecated tempdir into_path() with keep()
@ctoyan ctoyan marked this pull request as draft September 30, 2025 08:32
@ctoyan ctoyan self-assigned this Sep 30, 2025
@ctoyan ctoyan force-pushed the dev-m1 branch 3 times, most recently from 29c6585 to a01177e Compare October 8, 2025 09:03
Base automatically changed from dev-m1 to main October 13, 2025 14:27
@ctoyan
Copy link
Member Author

ctoyan commented Oct 15, 2025

The data below was calculated by running the tool on the largest projects in
Aptos' Move Framework,
testing 22,597 mutants with an overall kill rate of 82.02%.

The "Kill Rate" column shows the percentage of mutants killed by tests. While a
high kill rate indicates good test coverage, operators with lower kill rates
(more surviving mutants) are often more effective at detecting test gaps, as
surviving mutants reveal untested code paths. This is valuable for identifying
weaknesses in test suites.

Analysis is on the following projects

aptos-core/aptos-move/framework/aptos-experimental
aptos-core/aptos-move/framework/aptos-framework
aptos-core/aptos-move/framework/aptos-stdlib
aptos-core/aptos-move/framework/aptos-token
aptos-core/aptos-move/framework/aptos-token-objects
aptos-core/aptos-move/framework/move-stdlib

Results

Summary:
----------------------------------------
Total mutants tested: 22597
Total mutants killed: 18535
Overall effectiveness: 82.02%


Operator Effectiveness Rankings:
================================================================================
╭──────┬─────────────────────────────┬────────┬────────┬───────────────┬───────────╮
│ Rank │ Operator                    │ Tested │ Killed │ Kill Rate     │ Survived  │
├──────┼─────────────────────────────┼────────┼────────┼───────────────┼───────────┤
│ #1   │ unary_operator_replacement  │ 219    │ 219    │ 100.00%       │ 0/219     │
├──────┼─────────────────────────────┼────────┼────────┼───────────────┼───────────┤
│ #2   │ delete_statement            │ 909    │ 895    │ 98.46%        │ 14/909    │
├──────┼─────────────────────────────┼────────┼────────┼───────────────┼───────────┤
│ #3   │ break_continue_replacement  │ 26     │ 23     │ 88.46%        │ 3/26      │
├──────┼─────────────────────────────┼────────┼────────┼───────────────┼───────────┤
│ #4   │ binary_operator_replacement │ 7081   │ 6207   │ 87.66%        │ 874/7081  │
├──────┼─────────────────────────────┼────────┼────────┼───────────────┼───────────┤
│ #5   │ if_else_replacement         │ 5310   │ 4579   │ 86.23%        │ 731/5310  │
├──────┼─────────────────────────────┼────────┼────────┼───────────────┼───────────┤
│ #6   │ literal_replacement         │ 8781   │ 6498   │ 74.00%        │ 2283/8781 │
├──────┼─────────────────────────────┼────────┼────────┼───────────────┼───────────┤
│ #7   │ binary_operator_swap        │ 271    │ 114    │ 42.07%        │ 157/271   │
╰──────┴─────────────────────────────┴────────┴────────┴───────────────┴───────────╯

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants