Popis: |
In this paper, we proposed a survivability model for object-oriented software system for solving the problem of software degradation commonly caused by increasing growth in classes and methods. This is achieved through threshold scheme and software rejuvenation technique. Threshold value (T V ) is set as the degradation point for the software system with consideration given to the critical region values (C V ) as defined standard metrics like McCabeCyclomatic Complexity (CC) risk thresholds and NASA SATC WMC risk thresholds metrics. A mechanism is also integrated into the model to monitor and determine the continuous growth of methods and classes such that when threshold value (T V) V ) set within the critical region, the software codes are refreshed and re-initiated. The model is tested using two software programs developed to implement a treemap algorithm using nine (9) attributes. It is observed that software programs with this proposed model embedded into it would prevent code degradation. |