Closed stevenmburns closed 2 years ago
@stevenmburns Some files may be used later although they are not used now. Does comment the unused lines with /** **/
work (increase line coverage)?
@stevenmburns Is this issue related to failed nightly? Is it going on in https://github.com/ALIGN-analoglayout/ALIGN-public/tree/fix/nightly?
Let's try to exceed 60% code coverage by 1/28/2022.
Try to split up into multiple PRs.
@Lastdayends @854768750 We have lcov running in CI and it shows that a few files are not being used much or at all anymore. Here is a screen shot from a recent run:
It shows that "PnRDB/HardDesignRule.cpp" and "PnRDB/ReadDesignRule.cpp" are likely not used anymore (at least their usage is not demonstrate during CI.)
We should remove this files that are no longer needed.
There are others as well. In the Placer there is "Aplace.cpp", "Aplace.h", "ConstGraph.cpp", probably "ConstGraph.h", a lot of "Placer.cpp".
To look into this in more detail, click on Details (circled in red below):![image](https://user-images.githubusercontent.com/1512574/106540624-248cd680-64b5-11eb-833f-96c58b64ed6f.png)
then ARTIFACTS (circled in red below):![image](https://user-images.githubusercontent.com/1512574/106540677-48501c80-64b5-11eb-9eca-8e5de88b8730.png)
Then coverage-reports/PlaceRouteHierFlow/htmlcov/index.html (underlined in red below):![image](https://user-images.githubusercontent.com/1512574/106540774-77ff2480-64b5-11eb-85bd-f92bb27a7f1d.png)
Then pick your directory of interest, e.g., PlaceRouteHierFlow/PnRDB![image](https://user-images.githubusercontent.com/1512574/106540851-a4b33c00-64b5-11eb-8ab3-d7837625e3c0.png)