View/Hide Sitemap Inline ...

Long Constructor Argument List

Symptoms

The constructor for an object takes a long list of arguments.

Causes

What To Do

If the class is doing too much, it should be refactored into a set of smaller classes. Each class should have a clearly defined responsibility and therefore a smaller set of dependencies.