Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼304.91ms] Passed 4 tests
A check of server-side resources used by Advanced Custom Fields Page Builder
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.08 | 53.96 ▲1.28 |
Dashboard /wp-admin | 3.46 ▲0.06 | 33.46 ▼3.23 |
Posts /wp-admin/edit.php | 3.69 ▲0.05 | 37.46 ▼2.33 |
Add New Post /wp-admin/post-new.php | 6.93 ▼0.04 | 94.92 ▼1,214.32 |
Media Library /wp-admin/upload.php | 3.34 ▲0.05 | 24.06 ▲0.26 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 26 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Advanced Custom Fields Page Builder
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,765 ▲11 | 15.94 ▲0.23 | 6.75 ▲1.00 | 3.03 ▲0.15 |
Dashboard /wp-admin | 2,888 ▲34 | 6.13 ▼0.03 | 117.31 ▼18.75 | 155.95 ▼4.70 |
Posts /wp-admin/edit.php | 2,694 ▼0 | 3.24 ▲0.00 | 63.68 ▼3.91 | 140.12 ▼2.39 |
Add New Post /wp-admin/post-new.php | 1,661 ▼0 | 16.08 ▲0.54 | 441.09 ▲39.87 | 158.78 ▲3.80 |
Media Library /wp-admin/upload.php | 1,695 ▲3 | 5.49 ▼0.02 | 140.73 ▼1.06 | 184.79 ▼5.77 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The plugin uninstalled completely, with no zombie files or tables
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/acf-page-builder/admin/functions.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/acf-page-builder/trunk/admin/functions.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/acf-page-builder/trunk/public/functions.php:54
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/acf-page-builder/public/functions.php:54
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
4 plugin tags: page builder, advanced custom fields, build pages, custom fields
acf-page-builder/acf-page-builder.php Passed 13 tests
The main PHP script in "Advanced Custom Fields Page Builder" version 1.1.4 is automatically included on every request by WordPress
98 characters long description:
A powerful and easy to use page builder, using the Advanced Custom Fields Flexible Content module.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin1,350 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 2 | 0 | 0 | 1,021 |
PHP | 6 | 220 | 150 | 248 |
Markdown | 1 | 35 | 0 | 65 |
CSS | 1 | 3 | 0 | 14 |
JavaScript | 1 | 1 | 0 | 2 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 48.00 |
▷ Minimum class complexity | 48.00 |
▷ Maximum class complexity | 48.00 |
Average method complexity | 4.92 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 24 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 41.67% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 14 | 58.33% |
Functions | 14 | |
▷ Named functions | 14 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin