Open njzjz opened 2 months ago
all functions in preprocess except compute_smooth_weight
can be removed.
@wanghan-iapcm @iProzd could we find and remove all dead codes at once?
May not necessarily do it at once ? or is there tools for automatically removing the dead codes?
May not necessarily do it at once ? or is there tools for automatically removing the dead codes?
Indeed we can find them using Codecov, assuming all used functions are tested.
I see preprocess.py
has a 93% coverage, though
good idea. I am wondering how much codes that are not dead are not covered by the UTs.
I just found _to_face_distance
in region.py
is also not used at all, but left there for an unclear reason.
Since both code blocks are not used, I unassigned myself and moved from mustfix
to enhance
. cc @wanghan-iapcm @iProzd