首页 | 官方网站   微博 | 高级检索  
相似文献
 共查询到10条相似文献,搜索用时 471 毫秒
1.
许多软件依赖数据库来存储信息。数据库模式的变更可能导致程序代码中与数据库相关的SQL语句代码不能正常执行,因而找出一种能够直接定位到需要修改的SQL语句代码并推荐出这些代码可能的修改方案的方法是十分必要的。提出的面向数据库模式变更的代码演化推荐方法首先自动检测出软件系统数据库模式发生的变更,随后采用程序切片技术得出与数据库操作相关的程序切片;确定受到数据库模式变更影响的程序切片后,利用源程序转换流程图算法将程序切片转化为程序流程图;根据程序流程图的分支条件得出SQL语句所有可能的特定执行路径;最后采用图映射的方法对每条路径的SQL语句进行变更语句推荐,推荐出新数据库模式下可执行的SQL语句。为了验证该方法的可行性,实现了一个用于自动检测数据库模式变更并能推荐出SQL语句演化后代码的插件工具。  相似文献   

2.
3.
The efficient management of monitoring data is necessary for large geotechnical engineering projects. The development of an information management, prediction and warning software system for geotechnical monitoring is presented in this study. Seven categories of property objects that describe the hierarchical relationships among the monitoring objects, as well as two objects that represent and manage the construction progress, are proposed based on the requirements of geotechnical monitoring, data flow and the monitoring objectives of the site. The corresponding data structure and database were established using the object-oriented method in the Visual C++ environment. The software integrated various types of information and document management schemes, including data input and processing, CAD drawing visualisation, data modelling and prediction, as well as an early warning function. The applied case studies indicate that the software system is highly flexible and reliable and can be widely applied to monitor the sites of various geotechnical construction projects, such as tunnels, underground caverns, slopes and foundation pits.  相似文献   

4.
A system for analyzing program structures is described. The system extracts relational information from C programs according to a conceptual model and stores the information in a database. It is shown how several interesting software tasks can be performed by using the relational views. These tasks include generation of graphical views, subsystem extraction, program layering, dead code elimination and binding analysis  相似文献   

5.
在水库洪水调度系统等数据库应用软件的开发过程中,存在数据镜像、汇总、备份等实时主动的数据处理需求。在分析水库洪水调度系统主动数据处理需求的基础上,通过应用基于触发器的主动数据库技术,实现了遥测数据镜像等主动数据处理功能,增强了水库洪水调度系统数据库的主动性与实时性。  相似文献   

6.
The online course management system (OCMS) assists online instruction in various aspects, including testing, course discussion, assignment submission, and assignment grading. This paper proposes a plagiarism detection system whose design is integrated with an OCMS. Online assignment submission is prone to easy plagiarism, which can seriously influence the quality of learning. In the past, plagiarism was detected manually, making it very time-consuming. This research thus focuses on developing a system involving code standardization, textual analysis, structural analysis, and variable analysis for evaluating and comparing programming codes. An agent system serves as a daemon to analyze the program codes for OCMS. For textual analysis, the Fingerprinting Algorithm was used for text comparison. Structurally, a formal algebraic expression and a dynamic control structure tree (DCS Tree) were utilized to rebuild and evaluate the program structure. For variables, not only the relevant information for each variable was recorded, but also the programming structure was analyzed where the variables are positioned. By applying a similarity measuring method, a similarity value was produced for each program in the three aspects mentioned above. This research implements an Online Detection Plagiarism System (ODPS) providing a web-based user interface. This system can be applied independently for assignment analysis of Java programs. After three comparison experiments with other researches, the results demonstrated the ODPS has many advantages and good performance. Meanwhile, a combined approach is proven that it is better than a single approach for source codes of various styles.  相似文献   

7.
恢复软件系统架构对于理解和重用遗留系统具有重要意义。本文提出了一种基于程序动态执行特性分析的JAVA软件系统架构修复方法。首先根据用户需求设计测试用例,然后在测试用例的执行过程中收集动态执行信息,再将信息整理成上下文后进行FC分析,最后将实现类似功能的子系统组合在一起,由此得到系统的逻辑组织结构视图。原型系统的实验结果表明,此方法能有效恢复中小规模JAVA软件系统的系统架构。  相似文献   

8.
支持程序分析的C++程序信息库的建立与研究   总被引:1,自引:0,他引:1  
提出了一种新程序信息库的设计模式,介绍了程序信息的提取方法,建立了程序信息库CPPINFO,并通过使用实例说明了它的优点。  相似文献   

9.
软件执行路径的高层次可视化表示   总被引:3,自引:0,他引:3  
软件的主要特征信息,如功能性信息,常常隐藏在它的结构里面,仅仅分析软件系统的结构不足以揭示它们,只能在对软件的各条执行路径的确认过程中获得,对软件执地路长的分析是软件理解过程是一个必可少的辅助手段,程序执行路径(ExecutionPaht,EP)概念和它在程序测试,排障(纠错)和理解等方面的用途是大家所知晓的并已有记录,本文给出了一种系统性的方法,可根据从程序设计语言的说明规程产生的结构模型,自动  相似文献   

10.
介绍了在高压变频器监控软件设计过程中,为了实现运行参数的记录等功能所应用的ADO数据库编程技术.给出代码并详细说明了在VB程序中利用ADO对象动态创建数据库和数据表的方法,这些方法在开发VB数据库应用程序中很有实用价值,并可以提高数据库的灵活性.  相似文献   

设为首页 | 免责声明 | 关于勤云 | 加入收藏

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

京公网安备 11010802026262号