• 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
Re: Xcode code analysis tool?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xcode code analysis tool?


  • Subject: Re: Xcode code analysis tool?
  • From: Eeyore <email@hidden>
  • Date: Wed, 13 Apr 2011 13:03:41 -0700

One possible way to handle this would be to run the whole source code tree through a tool like doxygen. Not sure if it will get you everything you want, but I believe if you set up the configuration file correctly you can answer questions like "which function calls which function" and "which files include which other files" without having to do much (if anything) to the source itself.

Aaron

On Apr 13, 2011, at 1:00 PM, Nathan Sims wrote:

>
> On Apr 13, 2011, at 12:45 PM, Laurent Daudelin wrote:
>
>> On Apr 13, 2011, at 12:15, Nathan Sims wrote:
>>
>>> Does Xcode 3.x have a static code analysis capability? I was just given a huge (250,000 lines) legacy ObjC project to modify, but without knowing what methods call which others from where, it's a bit overwhelming... A tool that can show the basic pathways of the method invocations would be awesome.
>>
>> There is a "Build & Analyze" function that will analyze your code and shows you potential problems but I'm not aware of a full static analyzer that will show you every possible basic pathways.
>
>
> Hmm. I would think this would be a fairly simple thing to, scanning through the source code and tabulating the method invocations. The compiler must already do this, so if it could generate a report... Maybe I'll have to write my own tool, not that I have the time. What do others do in such a situation, just slog through the code manually?
>
> _______________________________________________
> 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
>

 _______________________________________________
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: Xcode code analysis tool?
      • From: Nathan Sims <email@hidden>
References: 
 >Xcode code analysis tool? (From: Nathan Sims <email@hidden>)
 >Re: Xcode code analysis tool? (From: Laurent Daudelin <email@hidden>)
 >Re: Xcode code analysis tool? (From: Nathan Sims <email@hidden>)

  • Prev by Date: Re: Xcode code analysis tool?
  • Next by Date: Re: GDB error - exit with status 10
  • Previous by thread: Re: Xcode code analysis tool?
  • Next by thread: Re: Xcode code analysis tool?
  • Index(es):
    • Date
    • Thread