Fix #13
Fix #15
Fix #16
Make isBroken, countErrors and getTotalErrors static
Merge branch 'develop'