I\'m running EclEmma, the Emma plugin for Eclipse, and the coverage report shows only partial coverage for an Enum I\'ve defined, even though it shows the only value in the Enum
What you're seeing is some hidden bytecode being generated due to an enumeration.
To get rid of this issue, add a call to the values() and valueOf() methods in the enum, as mentioned earlier by Carl Manaster and Peter Lawrey.