Filewatcher File Search File Search
Catalog
Content Search
» » » » »

pmccabe

McCabe-style function complexity and line counting for C and C++

Variants:
Pmccabe calculates McCabe-style cyclomatic complexity for C and C++ source code. Per-function complexity may be used for spotting likely trouble spots and for estimating testing effort.

Pmccabe also includes a non-commented line counter compatible with anac, 'decomment' which only removes comments from source code; 'codechanges', a program to calculate the amount of change which has occurred between two source trees or files; and 'vifn', to invoke 'vi' given a function name rather than a file name.

Pmccabe attempts to calculate the apparent complexity rather than the complexity following the C++ and/or cpp preprocessors. This causes Pmccabe to become confused with cpp constructs which cause unmatched curly braces - most of which can profitably be rewritten so they won't confuse prettyprinters anyway. Pmccabe prints C-compiler-style error messages when the parser gets confused so they may be browsed with standard tools.

Two types of cyclomatic complexity are generated - one type counts each switch() statement as regardless of the number of cases included and the other more traditional measure counts each case within the switch(). Pmccabe also calculates the starting line for each function, the number of lines consumed by the function, and the number of C statements within the function.

Homepage:-
Package version:2.5
Architecture:mipsel
Distribution:Debian
Filename:pmccabe_2.5_mipsel.deb

/usr/share/man/man1/codechanges.1.gz

codechanges(1)                                        codechanges(1)



NAME
       codechanges - computes the amount of code changes between two
       code trees or single files

SYNOPSIS
       codechanges [-n] old-directory new-directory

       codechanges [-n] old-file new-file


DESCRIPTION
       codechanges recursively compares the  two  named  directories
       (or files) calculating ne
more»

/usr/share/man/man1/decomment.1.gz

decomment(1)                                            decomment(1)



NAME
       decomment - remove comments from C and C++ files

SYNOPSIS
       decomment [file(s)]


DESCRIPTION
       decomment  processes  the  named  files, or standard input if
       none are named, copying their  contents  to  standard  output
       with comments removed.  Line numbers in the input file(s) and
       ou
more»

/usr/share/man/man1/pmccabe.1.gz

pmccabe(1)                                                pmccabe(1)



NAME
       pmccabe  - calculate McCabe cyclomatic complexity or non-com‐
       mented line counts for C and C++ programs

SYNOPSIS
       pmccabe [-bCdfFntTvV?] [file(s)]


DESCRIPTION
       pmccabe processes the named files, or standard input if  none
       are  named.  In default mode it calculates statistics includ‐
more»

/usr/share/man/man1/vifn.1.gz

vifn(1)                                                      vifn(1)



NAME
       vifn - edit by f
more»

/usr/share/doc/pmccabe/changelog.Debian.gz

pmccabe (2.5) unstable; urgency=low

  * updated codechanges and pdiff to be bashism safe
  * update
more»

/usr/share/doc/pmccabe/changelog.gz

Version 2.2
    Prepare for releasing to Open Source, includes Debianizing.

Version 2.1
    Allow n
more»

/usr/share/doc/pmccabe/TODO

Test namespaces -- probably won't work.  Perhaps other features
newer than templates will break too
more»

/usr/share/doc/pmccabe/copyright

This package was debianized by Paul Bame <bame@debian.org> on
Tue, 17 Dec 2002 10:07:41 -0700.

It w
more»

Browse inside pmccabe_2.5_mipsel.deb

         [DIR]DEBIAN/ (2)  65535+ mirrors
         [DIR]usr/ (3)  65535+ mirrors

Download pmccabe_2.5_mipsel.deb

Results 1 - 1 of 1
Help - FTP Sites List - Software Dir.
Search over 15 billion files
© 1997-2017 FileWatcher.com