• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Question about gcov in Xcode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Question about gcov in Xcode


  • Subject: Question about gcov in Xcode
  • From: Yongqiang <email@hidden>
  • Date: Wed, 27 Aug 2008 21:40:56 +0000
  • Importance: Normal

Hi,

I know how to set Xcode to use gcov. My question is if one program like this:

foo()
{
   if (a>0)
 {a = 1;}
   else
 {a =0;}
}

If use gcov, the coverage is 50%. Actually, its coveage should be 100%.  How can i use gcov in Xcode to get the correct result?

YQ



Windows Live Writer,支持离线撰写博客内容,随时随地想写就写。 立即使用!
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Question about gcov in Xcode
      • From: Franco Milicchio <email@hidden>
    • Re: Question about gcov in Xcode
      • From: Andrew Merenbach <email@hidden>
  • Prev by Date: IB 3.1 Carbon group box weirdness
  • Next by Date: XCode will not debug
  • Previous by thread: Re: IB 3.1 Carbon group box weirdness
  • Next by thread: Re: Question about gcov in Xcode
  • Index(es):
    • Date
    • Thread