General Optical Component Analyzer (GOCA) based on microwave photonics is a practical instrument optimized for S-parameter measurement and characterization of device in modern optical communication or ROF systems. GOCA, coordinating with R&S vector network analyzer (ZNA, ZVA, ZNB, etc.), can measure the spectrum response of electro– optic (i.e., E-O), optoelectronic (i.e., O-E) and all-optical (i.e., O-O) devices.