Cyclomatic complexity is a software metric that measures the complexity of a program based on the number of decision points, informing its maintainability and testability. It can be calculated using various methods and is important for identifying areas that may be hard to test or understand. While it has advantages in guiding testing processes, it also has limitations, such as only reflecting control complexity and potentially providing misleading figures for simple structures.