Edit report at http://pear.php.net/bugs/bug.php?id=16114&edit=1
ID: 16114
Updated by: [email protected]
Reported By: sb at sebastian-bergmann dot de
Summary: Find unused functions, methods, classes
-Status: Assigned
+Status: Open
Type: Feature/Change Request
Package: PHP_CodeSniffer
Operating System: Irrelevant
Package Version: CVS
PHP Version: Irrelevant
Assigned To: squiz
Roadmap Versions:
New Comment:
-Status: Assigned
+Status: Open
Previous Comments:
------------------------------------------------------------------------
[2009-07-02 08:31:10] squiz
-Status: Open
+Status: Assigned
-Assigned To:
+Assigned To: squiz
------------------------------------------------------------------------
[2009-05-26 12:22:59] sebastian
Just because we cannot cater to dynamic function/method invocation
should not prevent us from implementing this.
------------------------------------------------------------------------
[2009-05-23 19:36:37] doconnor
If you have any kind of code like:
$foo->$bar();
Uh oh!
------------------------------------------------------------------------
[2009-04-17 11:54:15] sebastian
Description:
------------
Multi-File/Multi-Pass sniff that first collects a list of all declared
functions and methods and then checks whether each is called at least
once. A function/method that is not called should then be reported as an
error.
------------------------------------------------------------------------