© Copyright: Ben Livson, 1988-2021. All rights reserved.
Link: Best of Software Engineering
Contact | Email | Feedback | Legal | Map | Privacy | Talent | Tools
First and Second Laws of Software Engineering
Evaluation of CASE Tools
NB. This article was written in 1998. IEEE and leading CASE vendors conducted in 1992-1995 classification and rationalisation work with limited results. Whereas Object Oriented is back in a big way, CASE is still struggling. Both CASE and OO were the great fads of the computer industry in the late eighties.
The first and second laws of thermodynamics are interpreted for Computer Aided Software Engineering CASE. The first law of software engineering warns CASE about Ex Nihilo Nihil Fit. The second law of thermodynamics states: The most probable processes that may occur in an isolated system are those in which entropy increases or remains constant.
In the author's language CASE tools are likely to cause more damage than good. A framework for CASE evaluation is presented.
CASE, as an engineering discipline has to support software engineering metrics and models. See 1,2,3 for a discussion about quantitative software models covering cost, productivity, reliability and complexity. This paper asserts that preconditions to accepting CASE shall be models evaluating CASE methods and tools, extensive data collection to validate the models, and positive evaluation results. The disappointment with the current state of software engineering methods is so severe that developing evaluation criteria for CASE is a must that suffers no further delay. Major inventions in natural sciences and medicine require massive controlled and repeatable experimentation with extensive statistical analysis before qualifying for publication.
Criteria for accepting CASE methods or tools for publication does not extend beyond the referee audit process to ascertain minimal subjective qualities of a scientific paper. This is extreme in the light that software engineering shall solve problems that may affect our lives. No other engineering discipline would apply methods or tools prior to extensive experimentation and proof of usability and usefulness. In contrast, a business accepts CASE methods or tools after interviewing a few happy (biased? motivated?) users or perhaps after minimal on-site trials with toy projects.
The First and Second Laws of Software Engineering top
The first axiom is that computers and software have no inherent value; until bioware is introduced they are not even edible. The sole value of computers and software is appreciated in terms of the problems we need to solve.
The second axiom is that WORK is needed to solve problems. The WORK required is the sum of the minimal effort required solving a given problem and wasted effort as a function of entropy. The minimal work required to solve the problem is defined as the worked required for the formal specification of the problem. Assuming the existence of a CASE tool that is able to automatically generate software from formal specifications of a given class of problems, then we have the ideal case of zero entropy with no work wasted.
The first law of software engineering is thus:
WORK(PROBLEM,ENTROPY ) = WORK(PROBLEM) + WORK(ENTROPY)
This is simply a restatement of the Conservation of' Energy and the first law of thermodynamics see . In particular, there are no miracles:
WORK(PROBLEM,ENTROPY) >= WORK
WORK(ENTROPY=0) = 0
TOTAL_WORK = WORK(PROBLEM,ENTROPY)
No functional form of work is presented except that work is an exponentially increasing function of problem complexity and entropy.
Entropy is a function of management, people, hardware and software logistics, schedule and all environmental factors. Now, intuitively whatever you add or introduce to your software engineering environment is likely to increase entropy and to increase wasted work. Thus, the second law of software engineering is phrased as:
The most probable processes that may occur in software engineering environment are those in which the entropy either increases or remains constant.
This is a strong impediment against the process of introducing CASE methods or tools. The great importance of the proposed second software engineering law is that it indicates those processes that are more likely to occur in software engineering as a whole. Therefore there are many processes that could occur because they comply with other laws, such as the first law of software engineering. However, it is very improbable that they will occur, because they violate the second law.
Basic Software Engineering Metrics top
The efficiency E in software engineering is defined as the ratio of the problem solving work to the total work. Thus,
Evaluation of Case Solutions top
Each CASE solution affects the level of entropy in your software engineering environment. The two conditions for accepting a CASE solution shall be:
Data collection shall start at the first customer and contact. There shall be a strict separation between the PROBLEM solution "WHAT" and the software design and implementation. This separation is required for accurate WORK(PROBLEM) estimate. It is immaterial for our discussion, if intertwining of the "WHAT" and "HOW" is necessary for implementation. The only requirement is that both can be measured separately. A major problem with the EFFICIENCY measure is that it may take many years to know the TOTAL-WORK .
The problems with interim estimates of the TOTAL-WORK are the typical difficulties in estimating software cost or productivity.
These estimates can be improved, if extensive corporate data collection is available.
The problem is then reduced to the usual statistical experimentation problem of obtaining approval for a new MEDICINE. In software engineering, the patient data is the accumulation of project E data.
The analogy for medicine is CASE, and patients are projects. The experimentation has to be accurate, repeatable and controllable.
The guinea pigs are trial projects by software engineering R & D groups. Only after sufficient proof by dispensing hundreds of poor guinea pigs and only after extensive evidence that our CASE medicine has no toxic side-effects such as lowering product quality or reliability, is a permission given by the Drug Administration to start clinical trials with patients (real life projects).
The author proposes the establishment of Federal, European and Japanese standards bodies for certification of CASE solutions. The number of CASE vendors would reduce to a few key players -the cost of CASE certification would be several times the cost of developing the system.
CASE customers would benefit both in Price, Efficiency and Quality. The larger number of CASE solutions sold would more than compensate the certification cost, thus leading to more affordable solutions. Availability of certified CASE systems would boost CASE into a multi-billion dollar business.
New CASE solutions would be patented very much like medicine. Companies would still be allowed to purchase uncertified CASE solutions and freely try out new methods and tools. However, it is likely that projects funded by DoD or by major corporations would use certified CASE solutions. The merger of operating systems, stems, basic software and CASE would be likely. Software engineering publications would be separated into A (certified product) and B (free) series. Corporate readers chronically short of time would probably restrict themselves to reading the A series whereas B series would be a R&D domain.
Contact | Email | Feedback | Legal | Map | Privacy | Talent | Tools