title: Sonarqube Partially covered tests
body: <p>Sonarqube test coverage report says that my c++ statement are only partially covered. Example of a very simplified function containing such statements is as below:</p>
  
  <pre><code>std::string test(int num) {
      return "abc";
  }
  </code></pre>
  
  <p>My test as follow:</p>
  
  <pre><code>TEST(TestFunc, Equal) {
      std::string res = test(0);
      EXPECT_EQ (res, "abc");
  }
  </code></pre>
  
  <p>Sonarqube coverage report says that the return stmt is only partially covered by tests (1 of 2 conditions). I am wondering what is other condition that i need to test for?</p>
  
  <p>I also saw the following in the report:</p>
  
  <pre><code>Condition to cover: 2
  Uncovered Condition: 1
  Condition Coverage: 50%
  </code></pre>
  
  <p>It seems like i need a test to cover the other condition but i cant figure out what that is.</p>