AppRefactoring Instruction
Registration
You need to register in AppRefactoring using your work mail:
After registration, you will receive a registration confirmation password to your work mail.
Next, in the Username field, you need to specify your username in the same way as in the slack (first name, last name without a space).
Search for a project
After registration, you will receive a registration confirmation password to your work mail.
In order to find a Project, you need to:
- Follow the link provided by PM or
- in the Teams section, select the IOS team and enter the name of the project in the search field
Analysis results and a description of options for refactoring
- The Total Intersections displays a summary score of matches with other projects. To skip the project, it is necessary to reach the indicator of 5-7%, in other cases, it is necessary to transfer information to the PM about the impossibility of additional refactoring so that he can coordinate the passage with the management.
- By clicking on the project, you can see Counters (in which part of the project what percentage match with other projects), Intersections (intersection with other projects in percentageterms), Errors.
Counters (in which part of the project what percentage match with other projects)
First of all, you need to pay attention to the fields with a high percentage, located in the yellow or red zone.
Items in which it is necessary to change the names are highlighted in red
Item in which it is necessary to add code fragments that do not affect anything is highlighted in orange.
Green highlights the item where you can change the content of the function (as shown in the picture below).
Intersections (percentage of intersection with other projects)
This section displays a list of projects with which an intersection has been found. When opening the selected project, Counters are opened, which should be worked on (similar to the previous paragraph)
This section displays a list of projects with which an intersection has been found. When opening the selected project, Counters are opened, which should be worked on (similar to the previous paragraph)
The most common ways to reduce the percentage of Intersections:
- Adjusting “File name”, Class name, Struct name, Func Name
- Adding lines of code that do not affect anything
- Excluding the assets and pods folders for the Analyzer, if the percentage of Intersections exceeds the allowable threshold.
- THE PROJECT SHOULD NOT HAVE ERRORS
No Comments