Test coverage for Parrot_io_get_last_file_position
completed by: Matt Rajca
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/io/filehandle.c:Parrot_io_get_last_file_position 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:
- Create a clone of parrot/parrot on Github
- Evaluate the function src/io/filehandle.c:Parrot_io_get_last_file_position
- If it is being used, Test it.
- If it is not being used:
- Create a new git branch and remove that function
- Open a new ticket at trac.parrot.org to recommend removal. Mark the ticket as a "deprecation", and assign it to whiteknight.
- If necessary, open a pull request on Github to have any code changes merged