In Cloud scenarios typical solutions are mashups of several web applications. From usability perspective is it very important that the user should login only once. Otherwise we create a very fragmented perception as the user would have to login in various realms with different usernames and passwords, or other authentication means. Authentication protocols like SAML 2.0 are the solution for this login issue
PMD is a static code analysis tool that examines Java source files and can detect potential problems such as code style issues, code defects, race conditions and even security holes.