Sonarqube architecture analysis cannot deal with python import x as y syntax

I noticed the new architecture analysis tool in sonarqube, and played around with it for a little bit to look at my ~10k lines pure python codebase.

Its a fun visualisation, but for me it seemed to miss a lot of connections that should have been there. I am quite certain that it doesnt recognize certain import statements.
“from model_x.submodel_x” import y works fine, but it does not see the connection if I used the “import model_x.submodel_x as y” syntax.

Did anyone else run into this?

Hi @Micha_Nelis,

Welcome to the Community, thanks for flagging!

We can reproduce the issue. We will look into it, and come back to you.

Thanks,
Paul