Skip to content

Conversation

@CaelmBleidd
Copy link
Member

@CaelmBleidd CaelmBleidd commented Jan 3, 2023

Description

This request adds support for generic information when we process nested methods. If we pass an object as a parameter and know type information from signatures about this parameter, we will add it to avoid path explosion because of the types.

Fixes #1613

Type of Change

  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

Regression and integration tests

Added a new package called generics

Automated Testing

org.utbot.examples.types.Generics

Manual Scenario

You can run generation for the methods I mentioned with enabled visualization, and see, that there is no additional virtual invokes because of absent type information.

Checklist:

  • The change followed the style guidelines of the UTBot project
  • Self-review of the code is passed
  • The change contains enough commentaries, particularly in hard-to-understand areas
  • New documentation is provided or existed one is altered
  • No new warnings
  • New tests have been added
  • All tests pass locally with my changes

@CaelmBleidd CaelmBleidd added the comp-symbolic-engine Issue is related to the symbolic execution engine label Jan 3, 2023
@CaelmBleidd CaelmBleidd requested a review from Damtev January 3, 2023 07:47
@CaelmBleidd CaelmBleidd force-pushed the caelmbleidd/improved_generics branch 3 times, most recently from 8a8d0ba to 20c95ff Compare January 4, 2023 08:27
@CaelmBleidd CaelmBleidd requested a review from Damtev January 4, 2023 10:43
@CaelmBleidd CaelmBleidd requested a review from Damtev January 5, 2023 04:05
@CaelmBleidd CaelmBleidd force-pushed the caelmbleidd/improved_generics branch from 24e215c to df9fec7 Compare January 5, 2023 06:10
@CaelmBleidd CaelmBleidd enabled auto-merge (squash) January 5, 2023 06:10
@CaelmBleidd CaelmBleidd merged commit 31713eb into main Jan 5, 2023
@CaelmBleidd CaelmBleidd deleted the caelmbleidd/improved_generics branch January 5, 2023 06:44
@alisevych alisevych added the ctg-enhancement New feature, improvement or change request label Jan 23, 2023
@alisevych alisevych added this to the 2023.03 Release milestone Mar 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp-symbolic-engine Issue is related to the symbolic execution engine ctg-enhancement New feature, improvement or change request

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

Use generic information for nested methods parameters

4 participants