Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
qtws26_logo

The Qt Event of the Year: Qt World Summit 2026

Save Your Spot >
Brand Logo
  1. Home
  2. General talk
  3. Brainstorm
  4. What exactly is McCabe cyclomatic complexity?
Qt 6.12 LTS is out! See what's new in the release blog

What exactly is McCabe cyclomatic complexity?

Scheduled Pinned Locked Moved Unsolved Brainstorm
2 Posts 2 Posters 1.6k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    reggie
    wrote on last edited by
    #1

    Hi,

    The cyclomatic complexity is a measurement of the code complexity proposed by McCabe which is often considered as a magic number which allows us to measure the complexity of a program.

    With Squish Coco 4.2 we will support the measurement of McCabe’s cyclomatic complexity.

    But how good is this metric? Read more on https://www.froglogic.com/blog/what-is-cyclomatic-complexity/

    K 1 Reply Last reply
    0
    • R reggie

      Hi,

      The cyclomatic complexity is a measurement of the code complexity proposed by McCabe which is often considered as a magic number which allows us to measure the complexity of a program.

      With Squish Coco 4.2 we will support the measurement of McCabe’s cyclomatic complexity.

      But how good is this metric? Read more on https://www.froglogic.com/blog/what-is-cyclomatic-complexity/

      K Offline
      K Offline
      Konstantin Tokarev
      wrote on last edited by
      #2

      The only adequate metric of code complexity is "WTF per minute" :)

      1 Reply Last reply
      2

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt
      • Unsolved