Differnce in number of lines covered opencover and sonarqube

We are using SonarQube 7.9 LTS and opencover for code coverage.
Why is the number of covered lines is both the tools different for the same code base?

Open Cover :- Lines to cover 95775 Covered lines 50332 Uncovered lines 45443
SonarQube :- Lines to cover 94249 Covered lines 37232 Uncovered lines 57017


It’s kind of hard to answer without any more details.
If you’re importing the report in SonarQube, maybe SonarQube is not finding some of the source code files, and therefore it’s not counting coverage for those files. If that’s the case, you should see warnings in the scanner logs.