-
I have 5 files in a directory: - file1.py There are three ways in which I can create databases and analyze them.
Is there a possibility of the results being different in these three cases? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Depending on your code, all three ways of building the database will yield different analysis results. You should analyse your project in the structure that it's written, so that we can see all the code. |
Beta Was this translation helpful? Give feedback.
Depending on your code, all three ways of building the database will yield different analysis results.
CodeQLs strength lies in its interprocedural analyses - we do consider all your code, in all your files.
In option 1, you will give up many possibilities for us to find bugs in your code.
You should analyse your project in the structure that it's written, so that we can see all the code.
This also saves you the work of re-arranging your project.
I hope that helps, please let me know if you have any more questions.