Menu

#4 may insert unreachable code

open
nobody
None
5
2005-08-24
2005-08-24
Suran
No

for post-conditions in methods returning void a check
for it is inserted as the last statement (and on all
return-statements), this place may be unreachable.

A Full program-flow-analysis needs to be written to
know if this happenes or the original method be
replaced by a wrapper-method.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.