Question about Merge Request Analysis

Hi there, thank you for always support.

I have two question about Merge Request Analysis.
Could you help me?

  1. When analyzing a merge request, is it possible to set the target branch for analysis?
    Is it possible to exclude branches other than the default analysis branch from the analysis?

  2. Occasionally, non-differential files are also included in the analysis. Why?
    I change just 1 file.
    image
    I had assumed that only files that had undergone changes would be subject to analysis.
    But all files were included in the analysis.
    image
    Why? Is it because I created a merge request using the same branch over and over again?

Thank you in advance.

Hey,

Since your merge request is against the show branch, can you confirm if the default branch set in DeepSource is show or not?

Currently we analyze every file in the repository if the merge request is made against a non-default branch.

Hi @tushar-deepsource ,
Thank you for your responce.
The Default branch is sv5. It’s not show.
image

Currently we analyze every file in the repository if the merge request is made against a non-default branch.

I understand it.
But, why are there cases where something is analyzed extensively and other cases where it is not?
Please look at the image below.
image

Hi, @shun. This behavior is now fixed. DeepSource is now able to perform granular analysis on PRs against the non-default branches as well. No configuration is required from your side to enable this – you should see the new behavior by default for future commits.

HI, @eshaan .
Thank you for your message. I will check it.