analyze_impl (ZenTest)

    # File lib/zentest.rb, line 339
      def analyze_impl(klassname)
        testklassname = self.convert_class_name(klassname)
        if @test_klasses[testklassname] then
          methods, testmethods = methods_and_tests(klassname,testklassname)

          # check that each method has a test method
          @klasses[klassname].each_key do | methodname |
            testmethodname = normal_to_test(methodname)
            unless testmethods[testmethodname] then
              begin
                unless testmethods.keys.find { |m| m =~ /#{testmethodname}(_\w+)+$/ } then
                  self.add_missing_method(testklassname, testmethodname)
                end
              rescue RegexpError => e
                puts "# ERROR trying to use '#{testmethodname}' as a regex. Look at #{klassname}.#{methodname}"
              end
            end # testmethods[testmethodname]
          end # @klasses[klassname].each_key
        else # ! @test_klasses[testklassname]
          puts "# ERROR test class #{testklassname} does not exist" if $DEBUG
          @error_count += 1

          @klasses[klassname].keys.each do | methodname |
            self.add_missing_method(testklassname, normal_to_test(methodname))
          end
        end # @test_klasses[testklassname]
      end