There is no relationship whatsoever.
Let’s take a practical example to be clearer: You analyze a project with 20 files and 10’000 lines to cover (this is a detail no so important for the example, but lines toc over are different from (are a subset of) lines of code. We can explain that later.
Coverage is 2% means that 2% of the 10’000 lines to cover, ie 200 lines covered. (Again here the reality is slightly more subtle if your coverage tool produces condition coverage information, but it’s not so important for our example).
"Scanning is also %2" does not make a lot of sense to me. What do you mean by that ?
By definition the scanner scans all the source code it can find, so I’d say scanning is always 100% (excepted for scan configuration mistakes that may cause to scan less than all the source code).