paperbot · PL 论文追踪

全部论文 待读 收藏

P2 ecoCode: a SonarQube Plugin to Remove Energy Smells from Android Projects

ecoCode:一个用于消除 Android 项目中能源坏味道的 SonarQube 插件
ASE Proceedings of the 37th IEEE/ACM International Conference on Automated Software Engineering2022匹配度 2/10 · 该论文属于静态分析与开发者工具,但核心是检测 Android Java 项目中的能源代码坏味道,与用户关注的 LLM/Agent 结合静态分析、浮点程序分析或贝叶斯程序分析没有直接交集。其工业插件形态稍有工具落地参考价值,但研究问题和方向匹配度很低。引用 14 inbox
Olivier Le Goaer, Julien Hertout
crossref: 2026-09-12

AI 速览

一句话:提出 ecoCode——一个 SonarQube 插件,通过检测 Android Java 项目中的能源代码坏味道来推动绿色开发。

为应对气候变化,Android 开发者被呼吁成为绿色软件开发者,但如何大规模保证移动应用的碳效率仍是一个问题。本文提出 ecoCode,一个 SonarQube 插件,用于高亮从能源角度看存在坏味道的代码结构。该插件基于一份精选的能源代码坏味道清单,这些坏味道可能对 Android 设备的电池寿命产生负面影响。ecoCode 能够分析任何用 Java 编写的原生 Android 项目,以帮助推行绿色代码。论文通过演示视频展示了该插件。摘要未报告定量评估结果,主要贡献在于将能源代码坏味道检测集成到 SonarQube 中。

问题
如何大规模确保 Android 移动应用的碳效率,并让开发者发现代码中可能导致设备能耗增加的坏味道。
方法
基于精选的能源代码坏味道列表,实现 SonarQube 插件 ecoCode,对 Java 原生 Android 项目进行静态分析并高亮能源坏味道。
评估
摘要未给出定量评估;作者提供演示视频,展示插件分析任意 Java 原生 Android 项目的能力。
原文摘要(Abstract)

To face the climate change, Android developers urge to become green software developers. But how to ensure carbon-efficient mobile apps at large? In this paper, we introduce ecoCode, a SonarQube plugin able to highlight code structures that are smelly from an energy perspective. It is based on a curated list of energy code smells likely to impact negatively the battery lifespan of Android-powered devices. The ecoCode plugin enables analysis of any native Android project written in Java in order to enforce green code. — Demo video on https://youtu.be/4XIYGyPEhXQ

链接与引用

DOI 原文 · PDF(开放获取) ·

BibTeX
@inproceedings{paperbot7333,
  title = {ecoCode: a SonarQube Plugin to Remove Energy Smells from Android Projects},
  author = {Olivier Le Goaer and Julien Hertout},
  booktitle = {ASE},
  year = {2022},
  doi = {10.1145/3551349.3559518}
}