A First Step Towards Detecting Values-violating Defects in Android APIs

Human values are an important aspect of life and should be supported in ubiquitous technologies such as mobile applications (apps). There has been a lot of focus on fixing certain kinds of violation of human values, especially privacy, accessibility, and security while other values such as pleasure, tradition, and humility have received little focus. In this paper, we investigate the relationship between human values and Android API services and developed algorithms to detect potential violation of these values. We evaluated our algorithms with a manually curated ground truthset resulting in a high performance, and applied the algorithms to 10,000 apps. Our results show a correlation between violation of values and the presence of viruses. Our results also show that apps with the lowest number of installations contain more violation of values and the frequency of the violation of values was highest in social apps.

[1]  Davoud Mougouei,et al.  Engineering Human Values in Software through Value Programming , 2020, ICSE.

[2]  Jacques Klein,et al.  AndroZoo: Collecting Millions of Android Apps for the Research Community , 2016, 2016 IEEE/ACM 13th Working Conference on Mining Software Repositories (MSR).

[3]  Waqar Hussain,et al.  Society-Oriented Applications Development: Investigating Users’ Values from Bangladeshi Agriculture Mobile Applications , 2020, 2020 IEEE/ACM 42nd International Conference on Software Engineering: Software Engineering in Society (ICSE-SEIS).

[4]  Maria Angela Ferrario,et al.  Measuring human values in software engineering , 2018, ESEM.

[5]  Andreas Zeller,et al.  AccessiLeaks: Investigating Privacy Leaks Exposed by the Android Accessibility Service , 2019, Proc. Priv. Enhancing Technol..

[6]  Burak Turhan,et al.  A First Look at Human Values-Violation in App Reviews , 2020, 2021 IEEE/ACM 43rd International Conference on Software Engineering: Software Engineering in Society (ICSE-SEIS).

[7]  Markus Bick,et al.  Big Data, Big Opportunities: Revenue Sources of Social Media Services Besides Advertising , 2015, I3E.

[8]  Eldad Davidov,et al.  Refining the theory of basic individual values. , 2012, Journal of personality and social psychology.

[9]  Yunfeng Zhang,et al.  Think Your Artificial Intelligence Software Is Fair? Think Again , 2019, IEEE Software.

[10]  Waqar Hussain,et al.  A Study on the Prevalence of Human Values in Software Engineering Publications, 2015 - 2018 , 2019, 2020 IEEE/ACM 42nd International Conference on Software Engineering (ICSE).

[11]  Kenneth R. Fleischmann,et al.  Developing a meta-inventory of human values , 2010, ASIST.

[12]  Michael W. Godfrey,et al.  Detecting API usage obstacles: A study of iOS and Android developer questions , 2013, 2013 10th Working Conference on Mining Software Repositories (MSR).