pmd warnings fixed and time performance for robotium added.