Across comparable stats, Shane Warne leads 22–2.

Test

Shane WarneStatDirk Viljoen
145 Matches 2
199 Innings 4
3154 Runs 57
17.32 Average 14.25
57.65 Strike rate 32.75
99 Highest 38
0 Hundreds 0
12 Fifties 0
353 Fours 6
37 Sixes 0
708 Wickets 1
25.41 Bowling average 65.00
2.65 Economy 3.71
8/71 Best bowling 1/14
48 5 wickets 0

ODI

Shane WarneStatDirk Viljoen
194 Matches 53
107 Innings 43
1018 Runs 512
13.05 Average 14.22
72.04 Strike rate 61.91
55 Highest 63*
0 Hundreds 0
1 Fifties 2
60 Fours 26
13 Sixes 5
293 Wickets 44
25.73 Bowling average 37.25
4.25 Economy 4.73
5/33 Best bowling 3/20
12 5 wickets 0