Skip to contentSkip to conversation

Yocto Lens - Static Analysis and Style Review Tool for Yocto Metadata

DISCUSSION [email protected] 2 participants 3 messages Jun 12 – Jul 1

lore
Share & tools
lore
#0 lore raw

Hello Yocto Community,

I've been working on a tool called *Yocto Lens* , an open-source static analysis and style review utility for Yocto/OpenEmbedded metadata.

The goal is to help identify common metadata issues before they reach BitBake builds or CI pipelines.

Current capabilities include:

* AUTOREV detection
* Floating SRCREV detection
* Hardcoded credential detection
* Layer configuration validation
* Recipe style checks
* License metadata validation
* bbappend analysis
* Recipe health scoring
* Interactive terminal dashboard
* JSON and SARIF export

Example:

yocto-lens meta-custom

GitHub Repository:

https://github.com/prashantdivate/yocto-lens ( https://github.com/prashantdivate/yocto-lens?utm_source=chatgpt.com )

Prebuilt binaries are available via GitHub Releases.

I would appreciate feedback from the community, especially regarding:

* false positives
* missing checks
* Yocto best practices
* CI integration ideas

Thanks,
Prashant Divate

#1 lore raw
Quoted 6 lines · On Fri, 12 Jun 2026 at 18:58, diwateprashant44 via lists.yoctoproject.org…

I would appreciate feedback from the community, especially regarding:

false positives
missing checks
Yocto best practices
CI integration ideas

Hello Prashant,

I was wondering if you could use the tool with oe-core/meta-yocto/meta-openenmbedded layers, and demonstrate what the tool says about them? Are there lots of false positives? Maybe it discovers real issues that could be addressed?

Alex

#2 lore raw

sure Alex I'll try to run this tool on oe-core/meta-yocto/meta-openenmbedded layer