You need to sign in to do that
Don't have an account?

Mismatch in Number of lines in Class
Hi
We are seeing a difference in the number of lines of code shown in the developer console after running the test. The code has only 488 lines but the right hand panel shows that it has 675 lines and only 435 are covered. I have compiled the code and have waited for a couple of days to check if it is a temporary issue and nothing seems to change. This is in production.

We are seeing a difference in the number of lines of code shown in the developer console after running the test. The code has only 488 lines but the right hand panel shows that it has 675 lines and only 435 are covered. I have compiled the code and have waited for a couple of days to check if it is a temporary issue and nothing seems to change. This is in production.
Is there any code commented in Class In production. ?
What my underastnd is:first time when you deployed the class in production at that time total lines of code in class is like 600. later code is commented and redeployed into production. but system is still taking 600.
Solution is take back up of that class and try to delete that class by using ANT. and redeploy that class. it will show correctly.