Across comparable stats, Hashmatullah Shahidi leads 14–17.
Test
| James Anderson | Stat | Hashmatullah Shahidi |
|---|---|---|
| 188 | Matches | 15 |
| 265 | Innings | 28 |
| 1353 | Runs | 903 |
| 8.96 | Average | 39.26 |
| 39.42 | Strike rate | 47.98 |
| 81 | Highest | 246 |
| 0 | Hundreds | 2 |
| 1 | Fifties | 2 |
| 184 | Fours | 105 |
| 3 | Sixes | 4 |
| 704 | Wickets | 2 |
| 26.45 | Bowling average | 169.50 |
| 2.79 | Economy | 3.80 |
| 7/42 | Best bowling | 1/31 |
| 32 | 5 wickets | 0 |
ODI
| James Anderson | Stat | Hashmatullah Shahidi |
|---|---|---|
| 194 | Matches | 103 |
| 79 | Innings | 101 |
| 273 | Runs | 2752 |
| 7.58 | Average | 34.40 |
| 48.66 | Strike rate | 68.92 |
| 28 | Highest | 102 |
| 0 | Hundreds | 1 |
| 0 | Fifties | 22 |
| 23 | Fours | 240 |
| 0 | Sixes | 16 |
| 269 | Wickets | 0 |
| 29.22 | Bowling average | - |
| 4.92 | Economy | 6.42 |
| 5/23 | Best bowling | - |
| 11 | 5 wickets | 0 |
T20I
| James Anderson | Stat | Hashmatullah Shahidi |
|---|---|---|
| 19 | Matches | 6 |
| 4 | Innings | 4 |
| 1 | Runs | 48 |
| 1.00 | Average | 24.00 |
| 50.00 | Strike rate | 87.27 |
| 1* | Highest | 36 |
| 0 | Hundreds | 0 |
| 0 | Fifties | 0 |
| 0 | Fours | 5 |
| 0 | Sixes | 0 |
| 18 | Wickets | 0 |
| 30.66 | Bowling average | - |
| 7.84 | Economy | - |
| 3/23 | Best bowling | - |
| 0 | 5 wickets | 0 |