首页 | 本学科首页   官方微博 | 高级检索  
     


Functional programming analysis
Authors:Eldred Nelson
Affiliation:TRW Defense and Space Systems Group USA
Abstract:An analysis of several routines from a large real time software system, using recently developed functional programming theory, has shown that the functional capabilities of the routines can be constructed from analysis of the code text. This analysis also showed that the number of distinct functions computed by a program is much smaller than generally appreciated. Many apparent logic paths are not executable, some executable logic paths compute the same function (on different input subsets), and some functions are unnecessarily fragmented by excessive logic tests. With the aid of information derived from the analysis, the routines were restructured into simpler forms, having fewer executable statements and a more visible relationship of code text to functional capabilities. Some of the restructured routines have higher performance—shorter execution time and less primary storage usage. The application of functional programming to the generation of test cases to demonstrate satisfaction of functional requirements, software maintenance, and construction of new programs having visible correspondence to functional requirements is also discussed.
Keywords:Address correspondence to Eldred Nelson   Director   Technology Planning and Research   Systems Engineering and Integration Division   TRW Defense and Space Systems Group   One Space Park   Redondo Beach   CA 90278.
本文献已被 ScienceDirect 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号