sebastianbergmann / phploc

A tool for quickly measuring the size of a PHP project.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Differentiate static method calls and alternate constructors

JeroenDeDauw opened this issue · comments

It's be nice to be able to get the number of static method calls that are not alternative constructors. Static calls are typically harmful, though alternative constructors are a big exception.

This can possibly be achieved by ignoring calls to static method that return self, though that still leaves some room for error.

commented

This issue has been automatically marked as stale because it has not had activity within the last 60 days. It will be closed after 7 days if no further activity occurs. Thank you for your contributions.

commented

This issue has been automatically closed because it has not had activity since it was marked as stale. Thank you for your contributions.

I think this would still be a valuable feature to have. Without it, the static method calls count is basically useless to me.