DefinePK hosts the largest index of Pakistani journals, research articles, news headlines, and videos. It also offers chapter-level book search.
Title: Thermal Energy Sensing Technique for Fire Detection and Warning System based on Image Processing
Journal: ILMA Journal of Technology & Software Management (IJTSM)
Publisher: ILMA University, Karachi
Country: Pakistan
Year: 2021
Volume: 3
Issue: 2
Language: English
Exceptional handling is a mechanism provide by programming languages to handle some unexpected scenarios/errors during the program compilation and continue to precede program execution. Some semantic errors which can’t be handled by exception handling produce inappropriate results after program compilation. However, in order to deal with this issue and obtain accurate results, programmers must develop a code to reduce error ration in likewise scenarios. In this paper we introduce an extended exceptional handling framework developed in Java programming language and define the flow of the developed model. Five classes namely Plus, Minus, Division, Multiplication and Remainder are added in the extended model to handle respective arithmetic exceptions with eight data types such as Byte, Short, Int, Long, Float, Double, Char and String. For experimentation, the developed package i.e. ZAB is imported on two software programs. To measure the complexity of the developed package, we use Cyclomatic Complexity (CC) method and calculated it for all the five classes. The calculation show that CC for Class Plus, Minus and Multi is V(G) = 6. For Class Division and Reminder, V(G) = 2 and 4 respectively. Comparative analysis is done on the calculated results of each class and acquired output of the CC during experimentation show less complexity of Division Class. The Compatibility of Package ZAB isolates and handles semantic errors to reduce compile/run time errors commotion.
Loading PDF...
Loading Statistics...