Measuring And Improving API Usability And Quality: A Comprehensive Framework And Empirical Study