Fixed null pointer exception when no source files are found.
Fixed test source spacing.
Fixed test source spacing.
Merge pull request #5 from SonarCommunity/SONARPLUGINS-2852

Fix for Sonarplugins-2852.