This paper introduces CMCD, a Count Matrix based technique to detect clones in program code. The key concept behind CMCD is Count Matrix, which is created while counting the occurrence frequencies of every variable in...
详细信息
This paper introduces CMCD, a Count Matrix based technique to detect clones in program code. The key concept behind CMCD is Count Matrix, which is created while counting the occurrence frequencies of every variable in situations specified by pre-determined counting conditions. Because the characteristics of the count matrix do not change due to variable name replacements or even switching of statements, CMCD works well on many hard-to-detect code clones, such as swapping statements or deleting a few lines, which are difficult for other state-of-the-art detection techniques. We have obtained the following interesting results using CMCD: (1) we successfully detected all 16 clone scenarios proposed by C. Roy et al., (2) we discovered two clone clusters with three copies each from 29 student-submitted compiler lab projects, (3) we identified 174 code clone clusters and a potential bug from JDK 1.6 source files.
Boundary scan is a complete, standardized test method, which provides a new testing way for infrastructure, interconnection and other tests on the circuit board. In order to study a relatively simple method of boundar...
详细信息
ISBN:
(纸本)9781612841021
Boundary scan is a complete, standardized test method, which provides a new testing way for infrastructure, interconnection and other tests on the circuit board. In order to study a relatively simple method of boundary-scan, based on the existing SVF files for designing, test vectors are automatically generated in the LabV IEW software platform and then sent to the UUT through a printer interface, to realize traditional function of TAP controller. The simulation results show that test vectors generated by this software system totally meet requirements of IEEEll49.1 standard protocols.
Automated random testing is efficient at detecting faults but it is certainly not an optimal testing strategy for every given program. For example, an automated random testing tool ignores that some routines have stro...
详细信息
Automated random testing is efficient at detecting faults but it is certainly not an optimal testing strategy for every given program. For example, an automated random testing tool ignores that some routines have stronger preconditions, they use certain literal values, or they are more error-prone. Taking into account such characteristics may increase testing effectiveness. In this article, we present Evotec, an enhancement of random testing which relies on genetic algorithms to evolve a best testing strategy for contract-equipped programs. The resulting strategy is optimized for detecting more faults, satisfying more routine preconditions and establishing more object states on a given set of classes to test. Our experiment tested 92 classes over 1710 hours. It shows that Evotec detected 29% more faults than random+ and 18% more faults than the precondition-satisfaction strategy.
This paper describes this development of a test platform of a grid-connection PV station. Essentially this entire platform involves the integration of a Personal computer (PC), a Dc power source, a power analyzer, an ...
详细信息
This paper describes this development of a test platform of a grid-connection PV station. Essentially this entire platform involves the integration of a Personal computer (PC), a Dc power source, a power analyzer, an AC load and an analog grid to create a grid-connection PV system and to test. This new system boasts of high accuracy measurements coupled with the commercial viability of low cost. In the test system, various testing equipments have been controlled by the computer. This control interface has been developed by utilizing Labview software, which forms the programming backbone of inter-instrument communication via RS232 bus and Ethernet.
software comprehension plays a critical role in software maintenance. Understanding a software system is not an easy task because in most cases documentation of software design is outdated, incomplete or absent. There...
详细信息
software comprehension plays a critical role in software maintenance. Understanding a software system is not an easy task because in most cases documentation of software design is outdated, incomplete or absent. Therefore support of tools and algorithms are necessary for software developers to understand software quicker and easier. Clustering algorithms have been widely used for software architecture recovery. Their performance depends not only on the algorithm itself but also on the nature of the software system. For example, an algorithm that is successful for a procedural program or a small software system or might be unsuccessful for a large system developed in object-oriented paradigm. In this paper, we propose the adaption of the fast community detection algorithm for object-oriented software clustering and evaluate its performance with other clustering algorithms in the literature. It is an agglomerative hierarchical clustering algorithm that has been introduced to find communities in networks. The algorithm can operate on directed weighted graphs and it has a considerable speed advantage over other algorithms. Experimental results show that the algorithm also performs well for clustering object-oriented systems.
A new kind of airfoil sail is proposed in this paper based on NACA006 aerofoil and arc wing sail. The aerodynamic characteristic is numerically simulated with FLUENT software based on standard K-ε model under differe...
详细信息
ISBN:
(纸本)9781424462537
A new kind of airfoil sail is proposed in this paper based on NACA006 aerofoil and arc wing sail. The aerodynamic characteristic is numerically simulated with FLUENT software based on standard K-ε model under different wind directions of 0, 5, 10, 15, 20 angles respectively. Lift coefficients and drag coefficients were calculated, which verified bigger lift force of the proposed aerofoil sail compared to traditional arcing sails.
As the embedded systems are becoming more and more complex, requirements engineering approaches are needed for modeling requirements, especially the timing requirements. Among various requirements engineering approach...
详细信息
As the embedded systems are becoming more and more complex, requirements engineering approaches are needed for modeling requirements, especially the timing requirements. Among various requirements engineering approaches, the Problem Frames(PF) approach is particularly useful in requirements modeling for the embedded systems due to the characteristic that the PF pays special attention to the environment entities that will interact with the to-be software. However, no concern is given on timing requirements of the PF at present. This paper studies how to add timing constraints on problem domains in the PF. Our approach is to integrate the problem representation frame in the PF with the timing representation mechanism of MARTE(Modeling and Analysis of Real Time and Embedded systems). A unified problem frame modeling process integrated with timing constraints is provided, and problem frame requirements with timing constraints expressed by MARTE/CCSL(Clock Constraint Specification Language) and clock construction operators are obtained.
One of the most popular and efficient artificial lift mechanisms is the electrical submersible pump (ESP). According to recent statistics, there are more than 100,000 ESPs worldwide. With the increasing number of well...
详细信息
ISBN:
(纸本)9781618392626
One of the most popular and efficient artificial lift mechanisms is the electrical submersible pump (ESP). According to recent statistics, there are more than 100,000 ESPs worldwide. With the increasing number of wells equipped with ESPs, operators are making substantial efforts to improve ESP performance and achieve longer runlife. The primary focus has been on tracking ESPs sensors real-time data, along with failures prediction as proactive measures. It is however, still difficult to keep track of historical ESP pull and run jobs, ESP equipments, and benchmark pump runlife. Typically there are no structured datastores for ESP movements. ESP runlife statistics are stored in multiple individual spreadsheets and are resource-intensive to compile. This paper presents a solution that enables to track within database software ESP operations, equipments movements and failures along with classical production data to enable better ESP lifetime evaluation and equipments management. The solution encompassed ESP operations and equipment tracking within a next-generation production volumes management system. The software and database were expanded to ensure that data was generated through a single point of reference, so that operators could capture and store downhole and surface equipments tracked via serial-number along with operations details and failures. ESP runlife, failure and equipment statistics were also calculated and reported graphically. More accurate ESP lifetime was calculated using well production uptime, installation and pull dates. Using these key statistics, the asset team was able to benchmark equipments and vendors. Each time the team needed to design or redesign an ESP, the solution enabled them to browse current and historical production, ESP operations, and both installed and warehoused equipments data. Used equipments historical installations can be tracked to make informed decisions before any reinstallation in other wells. In addition, the solution al
The unit UPC-32 supplied by PACIPIC company, is a programmable three-phase power supply control which is used for the alternating current power supply of AMX series products. In the application of performance test for...
详细信息
The unit UPC-32 supplied by PACIPIC company, is a programmable three-phase power supply control which is used for the alternating current power supply of AMX series products. In the application of performance test for an electronic product, it is achieved the performance data via analysis meter PZ4000, that is used for the object test and analysis in dif This article introduces a sequence control method of unit UPC-32 based on the Lab VIEW software. It is by means of GPIB interface bus to realize the communication between PC machine and programmable power control unit UPC-32. In this application, the power control is taken by a unit UPC-32 through its driver programming . In this programming, to make the software reusability is a purpose design, which is used with sub drive VI to improve the software application. The design also improves the testing automation, testing efficiency and accuracy, being easy to extending.
暂无评论