Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Automated Source Code Analysis for C++ Ruby Projects (free!?!?)
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Thursday  
View profile  
 More options Apr 8 2005, 8:11 pm
Newsgroups: comp.lang.ruby
From: Thursday <nos...@nospam.nospam.nospam.nospam.org>
Date: Sat, 09 Apr 2005 00:11:07 GMT
Local: Fri, Apr 8 2005 8:11 pm
Subject: Automated Source Code Analysis for C++ Ruby Projects (free!?!?)
It would be nice if Rubyforge or RAA would auto-analyze source code for
common errors like memory leaks (unfreed pointers) using tools such as:

1. Gimpel pc-lint
2. Parasoft c++test

Since they are static code-analysis tools, they can be automated more
easily/safely than say, runtime tools such as valgrind or Glowcode.

Lets approach both Gimpel and Parasoft--then ask them if they'd be
willing to provide a license to analyze c/c++ ruby code in exchange for
recognition of their donation to the ruby community on RAA and
Rubyforge.  See which vendor offers a better deal (not just in price,
but in licensing/usage terms--maybe they can run the analysis on their
machines every night (or week) so they don't even have to give away a
copy of the tool).

Even if they approve this for only ruby 1.8.x and fcgi 0.x, it would
still be very timesaving.

It is very useful to have an automated tool go thru all the source code
and point out memory leaks or code that breaks published recommendations
(effective c++ books, misra2, etc).  And simply clicking on these alerts
will take you directly to the code so you can review & edit.

Any takers?  Seems crazy not to try given the win/win for all involved.


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Saynatkari  
View profile  
 More options Apr 8 2005, 8:46 pm
Newsgroups: comp.lang.ruby
From: Saynatkari <ruby...@magical-cat.org>
Date: Sat, 9 Apr 2005 09:46:21 +0900
Local: Fri, Apr 8 2005 8:46 pm
Subject: Re: Automated Source Code Analysis for C++ Ruby Projects (free!?!?)

Le 9/4/2005, "Thursday" <nos...@nospam.nospam.nospam.nospam.org> a
écrit:

The problem is that, due to the structure of ruby programs (or
ruby itself), certain errors are very difficult to spot and many
things will cause false positives, for example with memory since
there is a garbage collector involved.

I do not know how well even commercial products would deal with that,
but otherwise it may not be a bad idea. Often, though, compiling
with the highest settings and using lint + valgrind yields similar
results.

E

--
No-one expects the Solaris POSIX implementation!


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tom Copeland  
View profile  
 More options Apr 8 2005, 9:15 pm
Newsgroups: comp.lang.ruby
From: Tom Copeland <t...@infoether.com>
Date: Sat, 9 Apr 2005 10:15:32 +0900
Local: Fri, Apr 8 2005 9:15 pm
Subject: Re: Automated Source Code Analysis for C++ Ruby Projects (free!?!?)

On Sat, 2005-04-09 at 09:14 +0900, Thursday wrote:
> It would be nice if Rubyforge or RAA would auto-analyze source code for
> common errors like memory leaks (unfreed pointers) using tools such as:

> 1. Gimpel pc-lint
> 2. Parasoft c++test

> Since they are static code-analysis tools, they can be automated more
> easily/safely than say, runtime tools such as valgrind or Glowcode.

Note that anyone who has a license to either product could do this use
anonymous CVS checkouts from RubyForge... they could run a nightly job
or some such.  They'd just need to set up a list of the projects on
RubyForge/RAA that included C code...

Yours,

Tom


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
NAKAMURA, Hiroshi  
View profile  
 More options Apr 16 2005, 12:07 am
Newsgroups: comp.lang.ruby
From: "NAKAMURA, Hiroshi" <nakah...@sarion.co.jp>
Date: Sat, 16 Apr 2005 13:07:51 +0900
Local: Sat, Apr 16 2005 12:07 am
Subject: Re: Automated Source Code Analysis for C++ Ruby Projects (free!?!?)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

Tom Copeland wrote:
> Note that anyone who has a license to either product could do this use
> anonymous CVS checkouts from RubyForge... they could run a nightly job
> or some such.  They'd just need to set up a list of the projects on
> RubyForge/RAA that included C code...

We have 194 projects in RAA;
http://raa.ruby-lang.org/gonzui/search?q=void&fm=c

# Sorry for OT.

Regards,
// NaHi
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (Cygwin)

iD8DBQFCYI9hf6b33ts2dPkRAiF5AJ45L5WFw9nXqTOGsFYnb8WZM+g5iACgspd7
vl7Zrcxz6tCGMjsCTxOhsN0=
=vG5B
-----END PGP SIGNATURE-----


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2010 Google