Cyclomatic complexity was introduced by Thomas J. McCabe Sr. in his 1976 paper, 'A Complexity Measure,' to quantify code complexity and predict defects, moving beyond simple lines of code. It uses graph theory to count linearly independent execution paths.