Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼7.37ms] Passed 4 tests
A check of server-side resources used by ACF Single Relationship Add New
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 36.76 ▼5.44 |
Dashboard /wp-admin | 3.32 ▼0.03 | 52.12 ▼5.98 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 44.48 ▼3.98 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 89.49 ▼14.07 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 31.45 ▼3.35 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for ACF Single Relationship Add New
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲79 | 13.18 ▼1.34 | 1.95 ▲0.07 | 44.64 ▼0.63 |
Dashboard /wp-admin | 2,206 ▲18 | 4.85 ▼1.05 | 124.23 ▲12.95 | 52.71 ▲10.27 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.01 ▼0.00 | 36.01 ▼9.37 | 31.70 ▼5.35 |
Add New Post /wp-admin/post-new.php | 1,557 ▲37 | 18.28 ▼4.86 | 599.66 ▼13.26 | 60.03 ▲9.16 |
Media Library /wp-admin/upload.php | 1,388 ▲6 | 4.23 ▲0.03 | 95.59 ▼6.35 | 44.03 ▲3.66 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/acf-single-relationship-add-new/acf-single-relationship-add-new.php:40
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Shows the new Add New button on a relationship field), #2 (Clicking the Add New button opens the Colorbox with the limited features. Clicking the publish button will post the new item and close the Colorbox.)
acf-single-relationship-add-new/acf-single-relationship-add-new.php 92% from 13 tests
The principal PHP file in "ACF Single Relationship Add New" v. 1.2 is loaded by WordPress automatically on each request
It is important to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 205 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin137 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 9 | 17 | 56 |
CSS | 2 | 5 | 9 | 52 |
PHP | 1 | 3 | 9 | 29 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
3 compressed PNG files occupy 0.00MB
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/images/border.png | 0.16KB | 0.16KB | 0.00% |
css/images/controls.png | 1.99KB | 2.04KB | 0.00% |
css/images/loading_background.png | 0.16KB | 0.15KB | ▼ 6.02% |