Design analyses for php ported form sonar-java