I am a bit new to apex coding and has banged my head against the code coverage for a week. I made a trigger, helper, rest callout etc that work just fine. I wrote a bunch of unit tests for the code too.
When I check my code coverage in the developer console after the tests has been run all lines are marked as blue (I guess this mean they are covered) but the code coverage is listed as very poor, like between 1 and 50% depending on method.
Eventually I got fed up and had a peek in the setup/Custom Code/Apex Classes and Apex triggers. here my trigger and helper etc show as having 100% coverage, all of the methods.
Why is it so, that the developer console report such bad results and the setup give me full pott?
Best regard Daniel