Across comparable stats, Roshan Mahanama leads 3–11.
Test
| William Porterfield | Stat | Roshan Mahanama |
|---|---|---|
| 3 | Matches | 52 |
| 6 | Innings | 89 |
| 58 | Runs | 2576 |
| 9.66 | Average | 29.27 |
| 25.55 | Strike rate | - |
| 32 | Highest | 225 |
| 0 | Hundreds | 4 |
| 0 | Fifties | 11 |
| 7 | Fours | - |
| 0 | Sixes | 2 |
ODI
| William Porterfield | Stat | Roshan Mahanama |
|---|---|---|
| 148 | Matches | 213 |
| 145 | Innings | 198 |
| 4343 | Runs | 5162 |
| 30.58 | Average | 29.49 |
| 68.95 | Strike rate | 60.57 |
| 139 | Highest | 119* |
| 11 | Hundreds | 4 |
| 20 | Fifties | 35 |
| 455 | Fours | - |
| 32 | Sixes | - |
T20I
| William Porterfield | Stat | Roshan Mahanama |
|---|---|---|
| 61 | Matches | - |
| 59 | Innings | - |
| 1079 | Runs | - |
| 20.35 | Average | - |
| 111.12 | Strike rate | - |
| 72 | Highest | - |
| 0 | Hundreds | - |
| 3 | Fifties | - |
| 120 | Fours | - |
| 23 | Sixes | - |