its
pseudo code
translation by line;
- check your device can run this kind of test... if it can then move to line 2
- run the software to test this device
- if it can't then move to line 4
- post an error message to tell why it can't run the test on this device
examples may be you have a Windows phone and it can't run software designed for Iphone or perhaps its too old like W7 instead of W10, it may not have enough Ram or just refuses to allow your testing software to run... the important part of the code is the last line and this error message should tell someone trained in the software which problem caused the error i.e, the info must be enough to work out what the problem was
p.s, i removed your link as pointless...