From Paul_Long@ortel.org Thu Sep 22 21:14:52 1994 From: Paul_Long@ortel.org (Paul Long) Newsgroups: comp.archives Subject: [comp.lang.c] C metrics tool, Metre, now available Followup-To: poster Date: 19 Sep 1994 18:18:19 +0200 Organization: Oregon Telcom Reply-To: Paul_Long@ortel.org NNTP-Posting-Host: rubb.rz.ruhr-uni-bochum.de X-Url: ftp://iecc.com/pub/file/metre.tar.gz X-Batch-Name: archsave.1994-09-17 X-Original-Date: 16 Sep 1994 06:23:08 GMT Archive-Name: auto/comp.lang.c/C-metrics-tool-Metre-now-available In case you're interested in this sort of thing, Metre v1.08 is now available for anonymous FTP from the comp.compilers archive, iecc.com:pub/file/metre.tar.gz. Metre is a portable, rule-based software-metrics tool for Standard (ANSI/ISO) C. It reports various metrics, including McCabe's cyclomatic complexity index, and warns about dubious programming practices, such as using that harmful old goto statement. The behavior can be easily changed, though, by modifying the default set of rules. This is the first version to be made available on the Internet and to be distributed as source code. (Binaries-only versions of v1.06 have been available on CompuServe.) It has a lex/yacc lexer/parser and is written in Standard C. To build an executable on any platform, e.g., MS-DOS, UNIX, or VMS, you just need a Standard C compiler. I have tested it with the MKS and AT&T versions of lex/yacc, but it should also work with all other versions. The MKS lex/yacc output is provided for all the great unwashed who don't have these tools. Paul_Long@ortel.org 72607.1506@compuserve.com pci!plong@ormail.intel.com Sent from Oregon Telcom