The purpose of this might be to minimize the dimensions of the new feel succession

The purpose of this might be to minimize the dimensions of the new feel succession

For this reason, ReCDroid+ resets all leaf nodes to ready in order to keep the fresh lookup (Line 19–20)

A good GUI role is considered to be connected to the new insect statement and ordered with the kept of your own forest peak whenever next requirements was satisfied: (1) it fits the latest bug report and you may was not explored in the previous levels; (2) abreast of meeting the first updates, it appears prior to throughout the insect statement considering its relevant phrase ID; (3) it’s a beneficial clickable part and won’t meet the very first status, but its related editable parts matches the new insect declaration (as just because of the workouts the brand new clickable role can the fresh new exploration bring the fresh application to a new monitor); (4) on conference any of the a lot more than requirements, it’s naturally more threatening. Our most recent implementation takes into account Ok and you can Over as the without a doubt more threatening section (Searching for cuatro), just like the former component is far more attending offer the fresh new application to some other screen. Brand new requirements (1) and you can (2) check out the order regarding S2R for the exploration, so that ReCDroid+ can also be stop copy and you can completely wrong matching.

The fresh new program FindSequence (Range 19) identifies and therefore GUI element of explore close to see a meeting succession to execute next iteration. If any elements in the current tree height is actually strongly related to the brand new bug statement, it selects the leftmost leaf and you will appends they to \( \mathcal \). In the event that none ones components was relevant, ReCDroid+ traverses brand new forest will leave from kept in order to until trying to find good leaf node which is connected to the latest bug report. In place of incorporating backtracking methods to \( \mathcal \), ReCDroid+ finds the fresh suffix street regarding the leaf to help you root to-be done next iteration. In case the algorithm detects you to none of one’s leaf nodes are strongly related to brand new insect declaration, it indicates that people could need to deepen the fresh new mining to help you learn more matching GUI parts.

DOET will not simply take the newest become step since it is not a GUI parts. Additionally, because of the you’ll be able to lost information regarding insect report, it is not easy to find the precise location of the rotate action. Ergo, we should instead find the right urban centers when you look at the a meeting succession to type new become action (Range 4). We use a limit Roentgen so you can specify maximum amount of methods to the history wife Nora skills where rotate try resolved. Finding 2 shows that a crash tend to happens step 1–2 strategies adopting the change. For this reason, automagically, R = dos.

step three.3.2 Active Complimentary.

To choose if good GUI role matches a bug statement (Line eleven), ReCDroid+ uses Word2vec , a word embedding technique, to test if the blogs of your own GUI component was semantically equivalent with all extracted experience representations or the terminology out of sentences where grammar models cannot be made use of. Word2vec spends a sensory circle model knowing phrase embedding of a large corpus away from text message. Word2vec is short for for each and every term because of the a numerical vector. Cosine similarity get from the list of [0, 1] ranging from vectors out of a couple terms suggests the fresh new semantic resemblance anywhere between terms (step one ways a precise meets). The newest Word2vec design was taught away from a community dataset text8 which has had sixteen billion conditions and that is offered in addition to the resource code away from Word2vec . The brand new design uses a get regarding the a number of [0, 1] to point the level of semantic similarity anywhere between terms and conditions (step one implies an exact meets). ReCDroid+ spends a relatively higher score, 0.8, because the endurance. We seen you to definitely having fun with a minimal endurance get misguide the fresh new browse toward an incorrect GUI role. Such as for example, the resemblance score off “start” and you will “stop” is 0.51 nevertheless the a few terms aren’t synonymous.

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert