SnIff++ also purports to present code of any complexity with a friendly, well-labeled interface, and their demo may suffice for purposes of demonstration. It also draws block diagrams where you would not, I think. Visio will too, but it also sucks lymph out of users, and is about the least-free software anywhere. In a pinch, you can simply run lharc5 on the old code and see whether it what its compression ratio is compared to Management Sample Code's. Hence, for 40k blocks of code, 200:1 : 500:1 or 2:5, your code is e^((5/2)-1) times as complex. If you compile using ActiveState's tools, you can just compare binary file sizes! :) Actual complexity needs to be defined in your favorite flavor of formal method! No prototype, no metrics!

In reply to RE: Is there a way to measure code complexity? by Anonymous Monk
in thread Is there a way to measure code complexity? by mikfire

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.