Across comparable stats, Habibul Bashar leads 6–15.
Test
| Dirk Viljoen | Stat | Habibul Bashar |
|---|---|---|
| 2 | Matches | 50 |
| 4 | Innings | 99 |
| 57 | Runs | 3026 |
| 14.25 | Average | 30.87 |
| 32.75 | Strike rate | 60.27 |
| 38 | Highest | 113 |
| 0 | Hundreds | 3 |
| 0 | Fifties | 24 |
| 6 | Fours | 401 |
| 0 | Sixes | 4 |
| 1 | Wickets | 0 |
| 65.00 | Bowling average | - |
| 3.71 | Economy | 4.61 |
| 1/14 | Best bowling | - |
| 0 | 5 wickets | 0 |
ODI
| Dirk Viljoen | Stat | Habibul Bashar |
|---|---|---|
| 53 | Matches | 111 |
| 43 | Innings | 105 |
| 512 | Runs | 2168 |
| 14.22 | Average | 21.68 |
| 61.91 | Strike rate | 60.45 |
| 63* | Highest | 78 |
| 0 | Hundreds | 0 |
| 2 | Fifties | 14 |
| 26 | Fours | - |
| 5 | Sixes | 10 |
| 44 | Wickets | 1 |
| 37.25 | Bowling average | 142.00 |
| 4.73 | Economy | 4.86 |
| 3/20 | Best bowling | 1/31 |
| 0 | 5 wickets | 0 |