Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.05MB] [CPU: ▼4.42ms] Passed 4 tests
An overview of server-side resources used by Quick and Easy Post creation for ACF Relationship Fields
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 42.92 ▼2.08 |
Dashboard /wp-admin | 3.35 ▲0.05 | 51.51 ▼1.75 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 48.92 ▼3.27 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 87.37 ▼10.57 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 36.93 ▲0.65 |
Server storage [IO: ▲0.06MB] [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: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
Quick and Easy Post creation for ACF Relationship Fields: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲3 | 14.27 ▲0.07 | 1.73 ▼0.64 | 41.46 ▼5.03 |
Dashboard /wp-admin | 2,195 ▲15 | 5.51 ▼0.16 | 85.96 ▼12.51 | 36.61 ▼5.62 |
Posts /wp-admin/edit.php | 2,100 ▲18 | 2.02 ▼0.01 | 36.41 ▼0.15 | 33.60 ▼2.31 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.03 ▼0.14 | 648.32 ▼35.70 | 51.29 ▼7.57 |
Media Library /wp-admin/upload.php | 1,397 ▼0 | 4.19 ▲0.01 | 99.46 ▼31.51 | 42.88 ▼10.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
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
The smoke test was a success, however most plugin functionality was not tested
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
Please take a closer look at the following
- 1× 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/quick-and-easy-post-creation-for-acf-relationship-fields/acf-relationship-create.php:59
- > 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 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
10 plugin tags: administration, acf, admin, shortcut, post creation...
quick-and-easy-post-creation-for-acf-relationship-fields/acf-relationship-create.php 92% from 13 tests
The principal PHP file in "Quick and Easy Post creation for ACF Relationship Fields" v. 2.2 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("quick-and-easy-post-creation-for-acf-relationship-fields.php" instead of "acf-relationship-create.php")
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
Everything looks great! No dangerous files found in this plugin863 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 6 | 92 | 122 | 308 |
PHP | 1 | 65 | 134 | 232 |
Sass | 1 | 25 | 0 | 147 |
CSS | 1 | 6 | 12 | 106 |
PO File | 1 | 14 | 14 | 70 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 33.00 |
▷ Minimum class complexity | 33.00 |
▷ Maximum class complexity | 33.00 |
Average method complexity | 3.13 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 15 | |
▷ Static methods | 4 | 26.67% |
▷ Public methods | 13 | 86.67% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 13.33% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin