Across comparable stats, William Porterfield leads 13–4.

Test

William PorterfieldStatDirk Viljoen
3 Matches 2
6 Innings 4
58 Runs 57
9.66 Average 14.25
25.55 Strike rate 32.75
32 Highest 38
0 Hundreds 0
0 Fifties 0
7 Fours 6
0 Sixes 0
0 Wickets 1
- Bowling average 65.00
- Economy 3.71
- Best bowling 1/14
0 5 wickets 0

ODI

William PorterfieldStatDirk Viljoen
148 Matches 53
145 Innings 43
4343 Runs 512
30.58 Average 14.22
68.95 Strike rate 61.91
139 Highest 63*
11 Hundreds 0
20 Fifties 2
455 Fours 26
32 Sixes 5
0 Wickets 44
- Bowling average 37.25
- Economy 4.73
- Best bowling 3/20
0 5 wickets 0

T20I

William PorterfieldStatDirk Viljoen
61 Matches -
59 Innings -
1079 Runs -
20.35 Average -
111.12 Strike rate -
72 Highest -
0 Hundreds -
3 Fifties -
120 Fours -
23 Sixes -