Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼0.95ms] Passed 4 tests
A check of server-side resources used by ACF Page Builder Field
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 38.12 ▼6.13 |
Dashboard /wp-admin | 3.32 ▲0.01 | 43.97 ▲0.49 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 48.05 ▲0.53 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 91.73 ▲5.86 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.02 ▲1.29 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for ACF Page Builder Field
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲68 | 13.59 ▼0.82 | 1.67 ▼0.19 | 43.93 ▲0.92 |
Dashboard /wp-admin | 2,220 ▲35 | 5.81 ▼0.21 | 99.34 ▼8.53 | 39.06 ▼0.06 |
Posts /wp-admin/edit.php | 2,103 ▲14 | 2.05 ▲0.04 | 42.06 ▲5.54 | 37.34 ▲1.64 |
Add New Post /wp-admin/post-new.php | 1,523 ▼13 | 17.90 ▼5.40 | 587.52 ▼15.07 | 57.40 ▲3.97 |
Media Library /wp-admin/upload.php | 1,396 ▲14 | 4.26 ▲0.07 | 102.22 ▲5.64 | 42.42 ▲0.82 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
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 take a closer look at the following
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/acf-page-builder-field/acf-page-builder-field.php:13
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/acf-page-builder-field/acf-page-builder-field-v5.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
6 plugin tags: acf flexible content, acf, page builder, flexible fields, flexible content...
acf-page-builder-field/acf-page-builder-field.php Passed 13 tests
The primary PHP file in "ACF Page Builder Field" version 1.0.3 is used by WordPress to initiate all plugin functionality
67 characters long description:
This plugin will add a page builder field in Advanced custom fields
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected465 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 138 | 159 | 325 |
JavaScript | 1 | 33 | 41 | 70 |
JSON | 2 | 0 | 0 | 34 |
Markdown | 1 | 20 | 0 | 29 |
CSS | 1 | 5 | 0 | 7 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 33.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 63.00 |
Average method complexity | 6.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 43.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 | 13 | |
▷ Static methods | 2 | 15.38% |
▷ Public methods | 12 | 92.31% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 7.69% |
Functions | 4 | |
▷ Named functions | 2 | 50.00% |
▷ Anonymous functions | 2 | 50.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
PNG images were not found in this plugin