Re: CRAP for C++ ?

"Stephen" <[email protected]>
Newsgroups gmane.comp.programming.refactoring
Message-ID <[email protected]>

--- In [email protected], Srdjan Todorovic <todorovic.s@...> wrote:
>
> Hello,
> 
> I noticed an interesting Java project called CRAP4J (www.crap4j.org),
> to detect code that smells. While this seems really neat, there's no
> C++ support currently.
> 
> The first 3 pages of Google results seem to only be talking/ranting
> about C++ *being* crap - and this is obviously not what I'm looking
> for.
> 
> Does anyone know of any CRAP frameworks for C++?
> 
> Apologies for cross-posting - I am not sure which of the two lists is
> more concerned with this topic, however this shouldn't be off-topic to
> either.
> 
> Specifically, my problem is that I'm adding unit tests and refactoring
> legacy code, but have no automated way to tell me how much of the
> project has test coverage and what the quality of the test coverage is
> like.
You haven't mentioned what platform or compiler you're using, but gcc has a great coverage system - simply feed the parameter -fprofile-arcs to each compile, run your tests then run the 'gcov' tool to analyse the results.

--
Steve



------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/refactoring/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/refactoring/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[email protected] 
    mailto:[email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.