function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Santhosh ParakunnathSanthosh Parakunnath 

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.
User-added image
ra811.3921220580267847E12ra811.3921220580267847E12
Hi Santosh,

Is there any code commented in Class In production. ?
Santhosh ParakunnathSanthosh Parakunnath
Hi Ramesh, There are a few lines but not the 200 odd lines that is showing as difference. Regards Santhosh Parakunnath
ra811.3921220580267847E12ra811.3921220580267847E12
Hi Santosh,

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.