Skip to content

Instantly share code, notes, and snippets.

@Kevin222004
Last active December 30, 2023 14:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Kevin222004/98f531c36a2c4a07a75585bf38bbd02e to your computer and use it in GitHub Desktop.
Save Kevin222004/98f531c36a2c4a07a75585bf38bbd02e to your computer and use it in GitHub Desktop.

Google Summer of Code 2023 Final Report

Project - Pitest Resolution

Student - Kevin Patel

Organisation - Checkstyle

Description:

what is Mutation Testing?

  • Mutation Testing is a type of Software Testing that is performed to design new software tests and also evaluate the quality of already existing software tests. Mutation testing is related to modification a program in small ways. It focuses to help the tester develop effective tests or locate weaknesses in the test data used for the program.

Pitest

  • PIT is a state-of-the-art mutation testing system, providing gold standard test coverage for Java and the JVM. It’s fast, scalable, and integrates with modern test and build tooling.

  • Checkstyle recently introduced a number of new mutators to our mutation testing suite After the creation of a new system, all existing suppressions were killed.

  • For this project, Checkstyle needs these suppressions reviewed to identify if any new tests or test input can be identified to resolve them and show the code is still functionally sound. This may require diving into the logic of the modules to either assist in identifying with a test or leading to resolution on what to do with the suppression.

Benefit of Pitest.

FindingBugs/error

Test cases

Code removal

Bad Side of affect of Pitest

  • Pitest really creates a significance value for the source code. but within that their is some disadvantages also their. We have listed all the side effect of Pitest in one issue in provided link with a good description and mentioned Pull request where we found this. Bad Side Effect of Pitest.

Implementation and Work Done during GSoC

  • You can find all my work in the Pull Requests submitted to Checkstyle.

Total Mutation :- 571

Killed Mutation :- 424+

Not Possible To cover :- 36

Acknowledgments

I am really very thankfull to the community to give me the opportunity to be part of this programme. I am very thankfull to all my mentor Roman Ivanov, Ruslan Diachenko, Vyom Yadav for helping me during the programme to figure out the situation where I was stuck and also to help to complete the project.

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