function plugin( dir ) {
	var opts;
	var args;
	var proc;

	opts = {};
	opts.cwd = dir;

	args = new Array( 1 );

	// Target:
	args[ 0 ] = 'view-cov';

	proc = spawn( 'make', args, opts );
	proc.on( 'error', onError );
	proc.stdout.on( 'data', stdout );
	proc.stderr.on( 'data', stderr );
	proc.on( 'close', onFinish );
}
Plugin to view a test coverage report.

@param {string} dir - Makefile directory
@param {string} cwd - current working directory
@param {string} subpath - subdirectory path