View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002141 | Xdebug | Uncategorized | public | 2022-12-06 10:29 | 2024-04-15 13:23 |
Reporter | spriebsch | Assigned To | |||
Priority | normal | Severity | feature | Reproducibility | N/A |
Status | new | Resolution | open | ||
Summary | 0002141: Feature Request: have Xdebug report unused code | ||||
Description | We discussed this at IPC earlier this year in October, and Derick asked to me open a ticket; here it is: XDebug currently can report which lines of code are executed (used for code coverage). I often face the problem of having to find unused code in large codebases. This currently can only be done by exporting lots of data from Xdebug and then "diffing" them against "all lines of code in the codebase". If xdebug could optionally export a list of code lines that have not been executed, finding unused code would become much more feasible (and have less runtime impact). | ||||
Tags | No tags attached. | ||||
Operating System | |||||
PHP Version | 8.1.10-8.1.19 | ||||