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

Increase code coverage of the PackfileBytecodeSegement PMC by 20%

completed by: David Czech

mentors: cotto

Task Description

Increase the code coverage of the PackfileBytecodeSegment PMC by 20%

Steps To Complete This Task

Currently, the PackfileBytecodeSegment PMC is at 57% code coverage, which is a bit low for such an important PMC. This task requires the student to write tests to increase the code coverage of this important PMC. The tests should be added to t/pmc/packfilebytecodesegment.t
  1. Create a fork of parrot.git on github.com
  2. Perform all the necessary code and/or documentation changes
  3. Build parrot and run it's test suite (make fulltest) to verify that things still work
  4. You can also submit a smoke report with "make smoke", but that is optional.
  5. Create a Github pull request (button on the upper right of your fork) to have your changes incorporated into the master repository

Benefits

  1. This will ensure there are no hidden bugs in our PackfileBytecodeSegments, which are a very important subsystem of Parrot.

Requirements

  1. Knowledge of writing tests and PIR
  2. Abillity to debug.

Additional Links