Q2Software Engineering
Question
Give the difference b/w FP and LOC.
Answer
LOC measures physical code size, while Function Points (FP) rigorously measure the actual computational functionality delivered to the end-user.
Lines of Code (LOC) is a highly primitive, language-dependent metric that strictly counts the physical lines of text written by a programmer. Conversely, Function Point (FP) analysis is a mathematically robust, language-agnostic metric that strictly measures the total amount of actual, usable business functionality delivered to the user, calculated based on inputs, outputs, and internal files.