Antipattern Practice for Essence Practice Library

The Essence graphical representation language allows to describe various project management practices in software development. At the moment, the Practice Library describes the most popular development methodologies, but work with various risks, such as code smells or antipatterns, which may be cause of future problems, is not represented. This article presents an extension for the Practice Library of the Essence language in the form of a practice for working with antipatterns. To represent antipatterns in the system, the Antipattern subalpha, its states and checkpoints are proposed. Antipatterns states and checkpoints: 1. Detected: Рѕ Signs of poor-quality design or implementation of the Software System have been found. Рѕ The boundaries of the low-quality area in the Software System have been defined. Рѕ Work Products associated with the inferior part of the Software System have been defined. 2. Identified: Рѕ The Software System Elements included in the Antipattern have been determined. Рѕ The type of antipattern has been determined. Рѕ Dependencies of the Software System on the antipattern elements have been determined. Рѕ The impact of the antipattern on the Software System has been estimated. 3. Refactoring Method Defined: Рѕ Possible options for refactoring have been identified. Рѕ The cost of the refactoring options has been assessed. Рѕ The most suitable refactoring method has been selected. 4. Fixed: Рѕ The Software System elements included in the antipattern are completely covered by tests. Рѕ The antipattern has been refactored. Рѕ Tests confirm that the Software System remains operational. Рѕ The Work Products related to the changed part of the Software System have been updated. 5. Closed: Рѕ Tests, reviews or other appropriate activities have been undertaken to ensure that the antipattern has been corrected or shown not to actually be a fault or flaw. Рѕ The antipattern management has been finalized. Рѕ Technical debt has decreased. To record data about an antipattern, the work product Antipattern Report and its levels of details with checkpoints are proposed. Levels of details and checkpoints are: 1. Antipattern detected: Рѕ The components of the Software System included in the antipattern are defined. 2. Antipatterns properties are determined: Рѕ An antipattern type has been defined. 3. Antipattern influence determined: Рѕ The cost of antipattern fixing was estimated. Рѕ An assessment of possible losses associated with the presence of an antipattern was carried out. Рѕ The antipattern is recognized as mandatory for elimination. 4. Antipattern eliminated вЂ” optional: Рѕ Refactoring completed. Рѕ Testing showed the correct work of the components included in the antipattern. Рѕ Antipattern elimination activity completed. To analyze the architecture of the system, the Inspect Architecture activity is proposed. The Fix Architecture activity represents actions to fix architecture flaws. Code analysis is presented as a Review the Code activity, and correction of deficiencies found during the analysis is presented as a Refactor the Code activity. The influence of subalpha on the state of the Software System alpha is analyzed. Recommendations were given on the proposed activities. Information about activities is presented in the form of diagrams in the Essence language. The proposed practice allows to record information about the found flaws in the code, process them correctly and avoid problems with the project in the future. It is an example of working with entities that negatively affect the progress of the project.