What cognitive abilities are involved in trail-making performance?

What cognitive abilities are involved in trail-making performance?