cqfn / aibolit

Static Analyzer for Java Code with Machine Learning in Mind
https://pypi.org/project/aibolit/
51 stars 17 forks source link

Check return objects of metrics and patterns in integration test. #555

Closed aravij closed 4 years ago

aravij commented 4 years ago

Source code line number algorithm is now embeded in ASTNode. If there is no line field at givven node, it takes all node, reachable from givven and take minimum from line fields of all such nodes. If even this does not helps, we traverse from givven node to root and seek for line field. If this approach fails too, exception is raised.

acheshkov commented 4 years ago

Great!

acheshkov commented 4 years ago

@rultor merge

rultor commented 4 years ago

@rultor merge

@acheshkov OK, I'll try to merge now. You can check the progress of the merge here

rultor commented 4 years ago

@rultor merge

@acheshkov Done! FYI, the full log is here (took me 15min)