Linux Today: Linux News On Internet Time.

More on LinuxToday

Linux Journal: Programming Tools: Code Complexity Metrics

Jan 14, 2005, 05:30 (0 Talkback[s])
(Other stories by ReG. Charney)

WEBINAR: On-demand webcast

How to Boost Database Development Productivity on Linux, Docker, and Kubernetes with Microsoft SQL Server 2017 REGISTER >

"Few programs out there, however, try to measure the complexity of the code. I define complexity of code as the amount of effort needed to understand and modify the code correctly. As I explain in this article, computing complexity metrics often is a highly personal task. Also, few metrics have been shown to be of real value in determining the amount of effort needed to maintain or test code.

"Performance metrics measure how well a valid program executes. Profiling tools fall into this category, and many tools are available. But for maintenance metrics, there are surprising few tools. Therefore, this column concerns creating a maintenance metric tool that measures complexity. It can be used as a prototype for general tools in other languages..."

Complete Story

Related Story:
Linux Magazine: A Killer App for AOP(Sep 06, 2004)