Software Complexity: Toward a Unified Theory of Coupling and Cohesion
نویسندگان
چکیده
Knowledge work is generally regarded as involving complex cognition, and few types of knowledge work are as important in the modern economy as software engineering (SE). A large number of measures have been developed to analyze software and its concomitant processes with the goals of evaluating, predicting and controlling its complexity. While many effective measures can be used to achieve these goals, there is no firm theoretical basis for choosing among measures. The first research question for this paper is: how to theoretically determine a parsimonious subset of software measures to use in software complexity analysis? To answer this question, task complexity is studied; specifically Wood’s model of task complexity is examined for relevant insights. The result is that coupling and cohesion stand out as comprising one such parsimonious subset. The second research question asks: how to resolve potential conflicts between coupling and cohesion? Analysis of the information processing view of cognition results in a model of cohesion as a moderator on a main relationship between coupling and complexity. The theory-driven approach taken in this research considers both the task complexity model and cognition and lends significant support to the developed model for software complexity. Furthermore, examination of the task complexity model steers this paper towards considering complexity in the holistic sense of an entire program, rather than of a single program unit, as is conventionally done. Finally, it is intended that by focusing software measurement on coupling and cohesion, research can more fruitfully aid both the practice and pedagogy of software complexity management.
منابع مشابه
A Quantitative Evaluation of Maintainability of Software Architecture Styles
Proper decisions play a crucial role in any software architecture design process. An important decision of design stage is the selection of a suitable software architecture style. Lack of investigation on the quantitative impact of architecture styles on software quality attributes is the main problem in using such styles. Consequently, the use of architecture styles in designing is based on th...
متن کاملImpact of Coupling and Cohesion in Object-Oriented Technology
The interaction between the classes or within the classes shows the complexity of the design. For one smaller problem, there may be more than one software design but who will be the best; depends on the complexity level of software design. Therefore, coupling and cohesion which shows the interlinking of classes and strength of classes; control the complexity of the design. The best software obj...
متن کاملCoupling and Cohesion
This research examines the structural complexity of software, and specifically the potential interaction of the two most important structural complexities: coupling and cohesion.Coupling and Cohesion are the two terms which very frequently occur together. Together they talk about the quality a module should have. Coupling talks about the interdependencies between the various modules while cohes...
متن کاملCohesion and coupling measures for aspect oriented systems
Software metrics aim to measure the inherent complexity of software systems with a view toward predicting the overall project cost and evaluating the quality and effectiveness of the design. Aspect Oriented Software design is an emerging paradigm that provides new mechanisms to support the modularization of concerns, which otherwise would crosscut the OO system decomposition. There are various ...
متن کاملMeasuring Coupling and Cohesion: An Information-Theory Approach
The design of software is often depicted by graphs that show components and their relationships. For example, a structure chart shows the calling relationships among components. Object-oriented design is based on various graphs, as well. Such graphs are abstractions of the software, devised to depict certain design decisions. Coupling and cohesion are attributes that summarizes the degree of in...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2002