HH\get_executable_lines

Return a vector of lines known to be executable in $file

namespace HH;

function get_executable_lines(
  string $file,
): mixed;

WARNING: there is no guarantee that these lines will be seen when running code-coverage mode. This API is purely a heuristic/best effort approximation of executable lines.

Parameters

  • string $file

Returns

  • mixed