-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
XPath expressions that broaden the number of anti-patterns checked. #125
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
We still need to run black |
@Finley8 could you make sure your xpath patterns are running successfully and then add them to the zhu_.yml file and dele them from checks.yml |
Finley8
changed the title
Issue #6
XPath expressions that broaden the number of anti-patterns checked.
Dec 12, 2023
VitalJoseph
requested review from
gkapfham,
laurennevill,
bergasanargya,
hankgref,
KellerLiptrap,
simojo and
AidanNeeson
December 12, 2023 22:26
VitalJoseph
added
ready-for-review
This pull request is ready for review
and removed
in-progress
Work is actively happening on this issue
labels
Dec 12, 2023
simojo
approved these changes
Dec 12, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
boulais01
approved these changes
Dec 13, 2023
@laurennevill would you mind reviewing/merging this when you get the chance? |
laurennevill
approved these changes
Dec 13, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
When creating a pull request to add a new feature or alter an existing one,
there are some important elements to include to help our team review and process it more efficiently.
Make sure the title is descriptive of what the PR includes. Don't mention issue names/numbers; save that for the description.
List the names of those who contributed to the project.
@MilesF25 @VitalJoseph @Finley8
#6
This pull request aims to create XPath expressions that check for all of the anti-patterns provided in the article linked below.
https://www.researchgate.net/publication/347335615_How_to_kill_them_all_An_exploratory_study_on_the_impact_of_code_observability_on_mutation_testing
The Issue also asked for at least one instance of executing mutation testing tools for Python. Our team would study the correlation between mutation score and anti-patterns.
This project aims to support the execution of test coverage monitoring and the collection of per-test coverage information using
pytest-cov
andcoverage.py
. This will be possible with our studies of the correlation between mutation score and anti-patterns.This program was tested on both Windows, MacOS, and Linux devices. The test was conducted using the
chasten analyze
command which was tested by analyzing either Lazytracker or Multicounter.The following is the input that would produce the output seen in the screenshots below.
poetry run chasten analyze lazytracker --config C:\Users\finle\chasten\.chasten --search-path C:\Users\finle\chasten\astute_subject\subject_forks\lazytracker\lazytracker --save-directory C:\Users\finle\chasten\astute_subject\subject_data\lazy_tracker
Mark as a draft until it is ready to begin the reviewing process, then tag our Lead Software Architect, Lauren Nevill,
our Principal Software Engineer, Bergas Batara, and our Founding Engineer, Gregory Kapfhammer
when you mark it as ready for review.