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

  • Home
  • SEARCH
  • 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 9171859
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T16:13:13+00:00 2026-06-17T16:13:13+00:00

I am using EclEmma (inside of Eclipse) to scan my JUnit code coverage. This

  • 0

I am using EclEmma (inside of Eclipse) to scan my JUnit code coverage. This works correctly – however, I do not want EclEmma to scan my src/view folder since it contains Swing code that I consider not worthy of testing.

Is there any way to ignore this folder when EclEmma runs so that it: a) runs faster, and b) does not skew the coverage percentage?

EDIT:

My project’s structure is:

src/view
src/model
src/controller

I have tried these (possibly others) with the Path Entries section in the Preferences page:

"src/view"
"src/view/*"
"view"
"view/*"
src/view

These are using the Excludes section in the Preferences page:

*
*View*
*View*.class
src/view/*View*
src/view/*View*.class

They all leave me with the same result of it analysing my entire src folder.

  • 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-06-17T16:13:14+00:00Added an answer on June 17, 2026 at 4:13 pm

    You can specify an exclude field:

    Excludes: A list of class names that should be excluded from execution
    analysis. The list entries are separated by a colon (:) and may use
    wildcard characters (* and ?). (Default: empty)

    However, it might be easier to use their options for classpath matching:

    Only path entries matching: Comma separated list of strings that must
    match with the class path entry. A class path entry matches the
    filter, if it contains one of the given strings. (e.g.
    “src/main/java”, Default: no filter)

    See eclemma – how to ignore source about how to ignore src folders.

    Also please note their caution,

    Warning: If your settings do not match any of the class path entries
    in your project(s), every new launch in coverage mode will have an
    empty analysis scope.

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

Sidebar

Related Questions

I'm trying to get my code coverage in java, using Eclipse and EclEmma. My
I am measuring the code coverage in my project using the EclEmma plugin for
When using eCobertura and EclEmma resp. I found the code coverage come out as
I'm using EclEmma for coverage analysis. My Java code includes a synchronized(MyClass.class) {} block.
I've recently started using code coverage tools (particularily Emma and EclEmma), and I really
Using this code, the following execution yields strange results: C 100 R W The
I am using EclEmma in Eclipse (more specifically, RSA 8). I have the following
using this code: Java Server side: ... out = new PrintWriter(this.client.getOutputStream(), true); ... public
Is there any Eclipse plug-in that gives the code coverage directly within the Eclipse
using this code I can send one texture to the shader: devcon->PSSetShaderResources(0, 1, &pTexture);

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.