Reflecting on the code coverage in the reporting tool in Devops, I had a thought, are there practices to aim for Unit Testing in the right direction towards 100% . I suggest there are some tips for this.
Ensure all public fields are unit tested.
Check whether private methods need to be tested depending on whether other code and methods are dependent on it.
Check the amount of testable code per method that needs to be tested are required for the overall line code coverage.
Make testable methods for a class as public virtual within mock classes if required.
Make tests for exception handling seperately to test error/exception handling as code following that part usually stops.
Always work on the latest components preferably and keep it relevant (this is what I had discovered recently)