• DocumentCode
    3578866
  • Title

    Efficiency measurement of Java Android code

  • Author

    Satrijandi, Nugroho ; Widyani, Yani

  • Author_Institution
    Sch. of Electr. Eng. & Inf., Bandung Inst. of Technol., Bandung, Indonesia
  • fYear
    2014
  • Firstpage
    1
  • Lastpage
    6
  • Abstract
    Efficiency is one of the important qualities of a mobile application because of its limited resources. Several techniques have been proposed to measure the efficiency of mobile applications (mobile apps), such as using metrics and static code analysis. This paper proposes Java Android code efficiency measurement based on CISQ Specification for Automated Quality Characteristic Measures. CISQ defines 16 measure elements for efficiency measurement. Using CISQ, measure elements of efficiency quality factor are measured by counting rule-violation of the source code. An existing static analysis tools, which is PMD, is extended by adding and modifying the rules. The rules will analyze the Abstract Syntax Tree generated by PMD. Only 11 out of 16 measure elements are implemented. The measurement results will be generated in two different formats, CISQ report format and full report format. Each rule has been unit tested, stress tested, and benchmarking tested using defined test cases and an existing mobile application, which is Daily Money. Testing results show that each measure element has been working correctly for the given test cases.
  • Keywords
    Android (operating system); Java; mobile computing; program diagnostics; source code (software); trees (mathematics); CISQ specification; Java Android code efficiency measurement; PMD; abstract syntax tree; automated quality characteristic measure; daily money; mobile application; quality factor; rule-violation; source code; static analysis tool; static code analysis; Androids; Documentation; Humanoid robots; Java; Mobile communication; Time measurement; PMD; code efficiency; rule-violation based; static code analysis;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Data and Software Engineering (ICODSE), 2014 International Conference on
  • Print_ISBN
    978-1-4799-8175-5
  • Type

    conf

  • DOI
    10.1109/ICODSE.2014.7062696
  • Filename
    7062696