Guide · updated
AEM BPA report: how to run it, read it and what to fix first
Short answer: the BPA report is the output of Adobe's Best Practices Analyzer, a free package you install on AEM 6.1 or later. Run it from Tools, Operations, Best Practices Analyzer, then Generate Report, and use Export to CSV to download results.csv or upload the report to Cloud Acceleration Manager. Fix CRITICAL and MAJOR findings in code and configuration first, and leave many content findings to Adobe's Content Transformer.
What the BPA report is
Best Practices Analyzer (BPA) checks a running AEM 6.x instance for patterns that will need work before a move to AEM as a Cloud Service: custom components and templates, legacy dialogs, unsupported repository structure, replication agents, deprecated APIs, index definitions and more. Each finding has a pattern code, an importance level and the path or class involved. It is the usual first step of the assessment phase, and Cloud Acceleration Manager (CAM) builds its readiness view on it.
How to run BPA and download the report
- Download Best Practices Analyzer from Adobe's Software Distribution portal.
- Pick the instance. Adobe prefers a stage environment or a clone of the production author, so the report reflects real content without loading production.
- Install the package through Package Manager. Only the admin user or a member of the administrators group can run BPA.
- Open Tools, Operations, Best Practices Analyzer and click Generate Report. You can paste a BPA upload key to send the report to CAM automatically, or skip the auto upload.
- Wait. Generation takes from several minutes to a few hours depending on repository size. The result is cached for 24 hours by default; Refresh Report clears the cache and runs it again.
- Click Export to CSV. The file is called results.csv. Manual uploads to CAM are limited to about 200 MB.
For automation, BPA also has an HTTP interface that returns the report as JSON, CSV or TSV (for example /apps/best-practices-analyzer/analysis/report.csv), authenticated with administrator credentials.
If your code uses ACS AEM Commons, BPA shows a filter for its findings. Adobe's advice is not to ignore them: unchecking the filter removes them from the report and from the CSV.
How to read the report: importance levels
| Importance | What Adobe means | What to do with it |
|---|---|---|
| CRITICAL | Very likely an upgrade issue that must be fixed to prevent loss of function or performance. | Plan and estimate every one. These block the move. |
| MAJOR | Likely an upgrade issue that should be addressed. | Plan and estimate; most are mechanical code or configuration changes. |
| ADVISORY | Potentially an upgrade issue; investigate further. | Review by code. Many turn out to be cheap or not relevant. |
| INFO | Provided for information. | Do not estimate. Use them as inventory: products installed, counts of custom components and templates. |
How to read the report: finding categories
The CSV has the columns code, type, subtype, importance, identifier, other, message, moreInfo and context. The code column carries the pattern category. Thousands of rows usually collapse into a few kinds of work once you group them by code:
| Area | Typical codes | What kind of work it is |
|---|---|---|
| Code and APIs | DG, IOI, OCU / OU, NCC, INST, CCL | Code changes: deprecated or internal APIs, development guideline deviations, third-party bundles to update. |
| Authoring UI | CCOM, CTEM, CDW, LUI, MSM | Component, template and dialog work: Classic UI and Foundation-based components need converting or rebuilding. |
| Repository and configuration | URS, CAV / ECU, LOCP, NBCC, OID, DOPI, INS, PCX, MI, UMI, URC | Restructuring: content out of /libs and /apps, OSGi configs in the supported format and run modes, index definitions. |
| Content, assets and infrastructure | ACV, DM, WRK, REP | Asset fixes before transfer, Dynamic Media, DAM workflows and replication agents. |
| Unsupported features and security | CIF, FORMS, OAUI | Decisions first, then design: what replaces the feature on Cloud Service, and how OAuth users move. |
Every code is explained one by one in the BPA codes reference on this site, with whether Adobe's Content Transformer handles it.
- Best Practices Analyzer report codes explained (ACV to WRK)
- BPA codes: fix and automation level for each code
What to fix first
- Unsupported features (CIF, FORMS and similar). They need a decision from the business or architecture before anyone estimates the rest, so raise them in week one.
- CRITICAL code findings, especially removed or internal APIs. Cloud Manager fails builds that use removed APIs, and the same fixes are needed if you go to 6.5 LTS first.
- Repository structure and configuration (LOCP, UMI, URC, MI). Your code cannot be deployed through Cloud Manager until mutable and immutable content are split and configs are in the supported format.
- Authoring UI (CDW, LUI, CCOM, CTEM). Usually the largest volume. Decide per component between Core Components and a rebuild, then convert in batches.
- Content findings (ACV, CAV, URS, PCX, REP and others Adobe lists). Run Adobe's Content Transformer on the same environment as BPA, with the latest report, before content transfer. It backs up the source paths it changes so you can revert.
- ADVISORY rows last, reviewed by code rather than row by row.
From BPA report to migration plan
| BPA finding group | Migration phase | Who usually does it |
|---|---|---|
| Unsupported features and security | Assess: decisions and design | Architect with the business |
| Code and APIs | Code | Developers; much of it is repetitive and suits codemods or reviewed automated changes |
| Repository and configuration | Repository and configuration | Developers, often with Adobe's Repository Modernizer |
| Authoring UI | Authoring and assets | Developers and authors, component by component |
| Content, assets and infrastructure | Content transfer | Content Transformer, then Content Transfer Tool runs |
| INFO inventory | Testing scope | QA: the template and component counts set the regression test list |
Two things the BPA report does not give you: an effort estimate and anything outside the running instance. Integrations, dispatcher rules, custom authentication and the cutover plan still need their own review. Re-run BPA after each big change and compare runs in CAM to track progress.
To turn your results.csv into an estimate, drop it into the free readiness scan on this site. It reads the file in your browser (nothing is uploaded), groups findings by code, weights them by importance and gives planning hours with the fix for each code.
Check your own site or code for free
BPA sizes the code and repository work. For the pages, the site scan reads the public site, counts pages and templates, and gives an effort range with its working.
Surge Migrate moves a website from any CMS to any CMS in four steps: Scan, Convert, Verify, Install. Pages are converted automatically, and you check the result before you install anything.
- Convert 10 pages free
- Scan a site free
- See worked examples
- Free readiness scan of AEM 6.5 code or a Best Practices Analyzer CSV, in your browser
Questions
What is a BPA report in AEM?
It is the output of Adobe's Best Practices Analyzer: a list of findings in your AEM 6.x instance that need work before a move to AEM as a Cloud Service, each with a pattern code, an importance level and the path or class involved.
How do I download the AEM BPA report?
Install Best Practices Analyzer from the Software Distribution portal, open Tools, Operations, Best Practices Analyzer, click Generate Report, then Export to CSV. The file is results.csv. You can also upload the report to Cloud Acceleration Manager with a BPA upload key.
How long does a BPA report take?
Adobe says from several minutes to a few hours, depending on the instance. The report is cached for 24 hours by default; Refresh Report runs it again.
Which AEM versions can run BPA?
BPA is supported on AEM 6.1 and later. Adobe recommends running it on a stage environment or a clone of the production author.
Does the BPA report estimate migration effort?
No. It lists findings by code and importance. Effort depends on how you group and fix them. The free readiness scan on this site gives planning hours from the same CSV.