cqfn / veniq

Veniq uses Machine Learning to analyze source code, find possible refactorings, and suggest those that seem optimal

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fix baseline.

aravij opened this issue · comments

Currently baseline filter out extraction opportunity from 17 to 26. It happens because extraction semantic step output else if statements, while they are not automatically traversed in syntactic filter. To solve this, one may need to fix block-statement graph creation, so each else if statement would be represented by its own Statement node. This means each If statement ow may how only one THEN_BRANCH block.