Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.announce > #1261

Release of version 1.3 of complexity

Path csiph.com!xmission!news.glorb.com!usenet.stanford.edu!not-for-mail
From Bruce Korb <bkorb@gnu.org>
Newsgroups gnu.announce
Subject Release of version 1.3 of complexity
Date Fri, 16 Oct 2015 09:11:14 -0700
Lines 28
Approved info-gnu@gnu.org
Message-ID <mailman.480.1445032804.7904.info-gnu@gnu.org> (permalink)
Reply-To bug-gnu-utils <bug-gnu-utils@gnu.org>
NNTP-Posting-Host lists.gnu.org
Mime-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 7bit
X-Trace usenet.stanford.edu 1445032804 19708 208.118.235.17 (16 Oct 2015 22:00:04 GMT)
X-Complaints-To action@cs.stanford.edu
To GNU Announcements <info-gnu@gnu.org>
Envelope-to info-gnu@gnu.org
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0
X-detected-operating-system by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value).
X-Received-From 2001:4830:134:3::e
X-Mailman-Approved-At Fri, 16 Oct 2015 18:00:02 -0400
X-BeenThere info-gnu@gnu.org
X-Mailman-Version 2.1.14
Precedence list
List-Id Announcements and Requests for Help from the GNU project and the Free Software Foundation <info-gnu.gnu.org>
List-Unsubscribe <https://lists.gnu.org/mailman/options/info-gnu>, <mailto:info-gnu-request@gnu.org?subject=unsubscribe>
List-Archive <http://lists.gnu.org/archive/html/info-gnu>
List-Post <mailto:info-gnu@gnu.org>
List-Help <mailto:info-gnu-request@gnu.org?subject=help>
List-Subscribe <https://lists.gnu.org/mailman/listinfo/info-gnu>, <mailto:info-gnu-request@gnu.org?subject=subscribe>
Xref csiph.com gnu.announce:1261

Show key headers only | View raw


GNU complexity computes a complexity measure of C source code.
For the most part, it is very similar to pmccabe results.
The difference is that code length adds linearly to the
score and logic nesting adds geometrically to the score.
Short functions tend to score lower than pmccabe and highly
nested functionality can score considerably higher.
The weighting for length and nesting levels can be adjusted.

Complexity also understands C syntax a little better,
but still overweights complex initializer expressions.

New in 1.3 - October 2015
* src/complexity.c: explicitly include headers that are needed but
   usually included by config.h.
   (die): It is claimed that va_start() may expand to unbalanced
   opening braces, so add va_end().  This is not true, but added
   va_end() for balance anyway.
* doc/Makefile.am: add "mk.sh" to EXTRA_DIST
* incorporate a spelling fix from autogen

complexity home:  http://www.gnu.org/software/complexity/
primary ftp:     ftp://ftp.gnu.org/gnu/complexity/
.tar.gz:         ftp://ftp.gnu.org/gnu/complexity/complexity-1.3.tar.gz
bug reports:     bkorb at the usual GNU domain
bug archive:     http://lists.gnu.org/mailman/listinfo/bug-gnu-utils/
maintainer:      Bruce Korb - bkorb at the usual GNU domain

Back to gnu.announce | Previous | Next | Find similar | Unroll thread


Thread

Release of version 1.3 of complexity Bruce Korb <bkorb@gnu.org> - 2015-10-16 09:11 -0700

csiph-web