Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼5.28ms] Passed 4 tests
A check of server-side resources used by Advanced Custom Fields Page Builder
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 38.03 ▼2.11 |
Dashboard /wp-admin | 3.36 ▲0.01 | 43.90 ▼17.80 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 46.91 ▼0.16 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 89.68 ▲4.32 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 34.82 ▼1.04 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 26 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by 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 / | 2,827 ▲56 | 13.27 ▼1.15 | 4.72 ▲2.71 | 39.78 ▼0.64 |
Dashboard /wp-admin | 2,206 ▲14 | 5.77 ▲0.86 | 100.36 ▼12.52 | 38.94 ▼8.59 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 1.98 ▼0.05 | 39.33 ▲4.41 | 36.61 ▲0.37 |
Add New Post /wp-admin/post-new.php | 1,533 ▲19 | 23.05 ▲5.53 | 573.85 ▼129.31 | 54.73 ▲0.40 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.20 ▼0.05 | 94.88 ▼6.73 | 42.03 ▼1.87 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 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/public/functions.php:54
- > 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/trunk/admin/functions.php:18
- > 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
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
4 plugin tags: custom fields, build pages, page builder, advanced custom fields
acf-page-builder/acf-page-builder.php Passed 13 tests
This is the main PHP file of "Advanced Custom Fields Page Builder" version 1.1.4, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
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 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected1,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
A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
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