Complex is better

Than complicated. It's OK to build very complex software,
but you don't have to build it in a complicated way. Lizard is a
free open source tool
that analyse the complexity of your source code right away supporting many programming languages, without any extra setup.
It also does code clone / copy-paste detection.