Skip to main content

On the Impact of Code Obfuscation to Software Energy Consumption

  • Conference paper
  • First Online:
From Science to Society

Part of the book series: Progress in IS ((PROIS))

Abstract

The energy consumption of software systems is an area of increasing interest, especially for mobile application developers. A number of studies have been published that address possible optimizations of energy use and linked quality attributes such as performance. Of equal importance are, at least for commercial software systems, the protection of intellectual knowledge (IP) and the fight against software piracy (e.g., by code obfuscation to prevent reverse engineering). The mutual relations between energy consumption and IP protection force developers to strike a balance between them. This paper reports on the results of an empirical study on the effects of code level obfuscation by executing a number of usage scenarios across a set of ten Android applications. Results indicate that code-level obfuscation can have a significant impact on energy usage and performance and are likely to increase than decrease.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 129.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 169.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 169.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  • Bakker A (2014) Comparing energy profilers for android. In Proceedings of the 21st twente student conference on IT, Enschede, The Netherlands

    Google Scholar 

  • Batchelder M (2006) Java obfuscation techniques. http://www.sable.mcgill.ca/JBCO/examples.html

  • Bunse C (2014) On the impact of user feedback on energy consumption. In: 28th international conference on informatics for environmental protection, Oldenburg, Germany

    Google Scholar 

  • Bunse C, Rohde A (2016) Software development guidelines for performance and energy: initial case studies. In: EnviroInfo2016, 30th international conference, Berlin

    Google Scholar 

  • Bunse C, Stiemer S (2013) On the energy consumption of design patterns. Softwaretechnik-Trends 33(2)

    Google Scholar 

  • Bunse C, Höpfner H, Roychoudhury S, Mansour E (2014) Choosing the best sorting algorithm for optimal energy consumption. In: Proceedings of the 4th international conference on software and data technologies

    Google Scholar 

  • Feeney L (2001) An energy consumption model for performance analysis of routing protocols for mobile ad hoc networks. Mobile Netw Appl 6(3)

    Google Scholar 

  • Gurun S, Nagpurkar P, Zhao B (2006) Energy consumption and conservation in mobile peer-to-peer systems. In: 1st international workshop on decentralized resource sharing in mobile computing and networking

    Google Scholar 

  • Höpfner H, Bunse C (2011) Energy awareness needs a rethinking in software development. In: 6th international conference on software and data technologies, Seville, Spain

    Google Scholar 

  • RobotiumTech (2016) Robotium—user scenario testing for android. https://github.com/RobotiumTech/robotium

  • Sahin C, Wan M, Tornquist P, McKenna R, Pearson Z, Halfond WGJ, Clause J (2016) How does code obfuscation impact energy usage? J Softw: Evol Process 28(7):565–588

    Google Scholar 

  • Sahin C, Pollock L (2014) How do code refactorings affect energy usage? In: Proceedings of the 8th international symposium on empirical software engineering and measurement

    Google Scholar 

  • Schirmer M, Höpfner H (2012) Software-based energy requirement measurement for smartphones. In: 42nd GI Jahrestagung

    Google Scholar 

  • Wilke C, Richly S, Götz S, Assmann U (2013) Energy profiling as a service. In: 43rd GI Jahrestagung 2013, Koblenz, Germany

    Google Scholar 

  • Zhang L, Tiwana B, Qian Z, Wang Z, Dick R, Mao Z, Yang L (2010) Accurate online power estimation and automatic battery behavior based power model generation for smartphones. In: Proceedings of the 8th IEEE/ACM/IFIP international conference on hardware/software codesign and system synthesis. ACM

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Christian Bunse .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2018 Springer International Publishing AG

About this paper

Cite this paper

Bunse, C. (2018). On the Impact of Code Obfuscation to Software Energy Consumption. In: Otjacques, B., Hitzelberger, P., Naumann, S., Wohlgemuth, V. (eds) From Science to Society. Progress in IS. Springer, Cham. https://doi.org/10.1007/978-3-319-65687-8_21

Download citation

Publish with us

Policies and ethics