GSoC/GCI Archive
Google Code-in 2010 Parrot Foundation and The Perl Foundation

Test coverage for Parrot_freeze_size

completed by: Matt Rajca

mentors: whiteknight

Task Description: Test coverage is important because it lets us know what parts of the code are tested and verified, and which are not. We may never have perfect coverage, but we would like it to be as high as possible.

The function src/packfile/object_serialization.c:Parrot_freeze_size currently has no test coverage. Evaluate this function to determine if it is called from anywhere in the codebase. If It is called, add a test or tests to cover it completely. If not, we need to remove that function following a deprecation cycle.

Steps to Complete:

  1. Create a clone of parrot/parrot on Github
  2. Evaluate the function src/packfile/object_serialization.c:Parrot_freeze_size
    • If it is being used, Test it.
    • If it is not being used:
      1. Create a new git branch and remove that function
      2. Open a new ticket at trac.parrot.org to recommend removal. Mark the ticket as a "deprecation", and assign it to whiteknight.
  3. If necessary, open a pull request on Github to have any code changes merged