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

Increase test coverage of MappedByteArray PMC by 30%

completed by: David Czech

mentors: Tadeusz SoĊ›nierz

Task Description

Increase the code coverage of the MappedByteArray PMC by at least 30%

Steps To Complete This Task

Currently, the MappedByteArray PMC has less than 10% code coverage, which is not acceptable. This task requires the student to write tests to increase the code coverage of this new experimental PMC. The tests should be added to t/pmc/mappedbytearray.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 MappedByteArrays.

Requirements

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

Additional Links