collector->get_data();
if ( empty( $data->types ) || empty( $data->times ) ) {
return;
}
$total_time = 0;
$this->before_tabular_output();
echo '';
echo '';
echo ' ';
echo '';
echo '' . esc_html__( 'Component', 'query-monitor' ) . ' ';
foreach ( $data->types as $type_name => $type_count ) {
echo '';
echo $this->build_sorter( $type_name ); // WPCS: XSS ok;
echo ' ';
}
echo '';
echo $this->build_sorter( __( 'Time', 'query-monitor' ) ); // WPCS: XSS ok;
echo ' ';
echo '