Add unit tests for log parsing

The maven goal analyze-only can also output valid declared used
dependencies before listing invalid dependencies. The added unit tests
cover the case, that those valid dependencies are listed before
outputting undeclared or unused dependencies.
Correct javadoc to reduce checkstyle violations