SourceCode-AI / aura

Python source code auditing and static analysis on a large scale
GNU General Public License v3.0
487 stars 31 forks source link

Skip files scanning in `aura diff` if they haven' changed #2

Closed RootLUG closed 3 years ago

RootLUG commented 3 years ago

Currently, when running aura diff on input files/directories, everything is always scanned ( mainly talking about the AST analysis) even if there wasn't any change in the files. This can be optimized further optimized to exclude files from being processed by Aura if the diff hasn't detected any change.

RootLUG commented 3 years ago

implemented in https://github.com/SourceCode-AI/aura/commit/294975a24bb2364103a79c2a182d654b132448f8 as part of a rewrite of the diff functionality into the new engine