Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7637885
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T08:02:27+00:00 2026-05-31T08:02:27+00:00

The scenario is: I’ve run JUnit code coverage in eclipse with RTC installed. I

  • 0

The scenario is: I’ve run JUnit code coverage in eclipse with RTC installed.
I have this view called “Coverage” that I am not sure about, but it seems to show me the code coverage of my JUnit tests. It shows for every package, class and method a percent, and when look at a class in the editor some lines are indeed green, red or yellow.

My main issue is : How could i find out in what test is one of my methods covered? (And no, ctrl+G doesn’t help, because it’s referenced by many other methods until i get to the test method). Isn’t there an easier way to find the test method starting from the method being tested?

I’ve also got a minor issue: why are some lines in the actual test methods colored in red? Is there possibly an exception being thrown and thus the code is not executed?

Thx, you guys rule.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T08:02:28+00:00Added an answer on May 31, 2026 at 8:02 am

    If you are talking about RAD coverage (which can be integrated in RTC), see “Getting Started with Jazz Code Coverage“:

    Go to the project properties of your project (Alt+Enter), browse to the Coverage tab, and enable static code instrumentation.

    packageexplorer coveragereport1

    So your main class tested is the one of your Java Application.
    The lines in red in your code are the lines not executed during your tests (ie, not “covered”).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Scenario 1 (That Works) This is a POC i created. I have a script
Scenario: old legacy code in rpg have to consume data from a new web
Scenario: I have a console application that needs to access a network share with
Scenario : There is this online questionaire that will be filled in by various
Scenario: Most smartphones have a high resolution camera that generates photos that may range
Scenario: You have an ASP.Net webpage that should display the next image in a
Scenario: I have several services that I want to be discovered by different clients.
Scenario I have a TreeView that is bound to ObservableCollection<T> . The collection gets
Scenario : I have a ContentControl in my View whose Content property is bound
Scenario: I run the find code issues function in resharper. I go one by

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.