Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.01MB] [CPU: ▼298.04ms] Passed 4 tests
Analyzing server-side resources used by ACF Single Relationship Add New
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.02 | 53.79 ▲4.32 |
Dashboard /wp-admin | 3.42 ▲0.02 | 33.35 ▼0.75 |
Posts /wp-admin/edit.php | 3.66 ▲0.02 | 37.68 ▲0.42 |
Add New Post /wp-admin/post-new.php | 6.91 ▼0.06 | 104.28 ▼1,185.44 |
Media Library /wp-admin/upload.php | 3.31 ▲0.01 | 22.98 ▼6.37 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 12 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for ACF Single Relationship Add New
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,763 ▲41 | 16.18 ▲0.16 | 5.84 ▲0.18 | 2.30 ▲0.29 |
Dashboard /wp-admin | 2,895 ▲41 | 6.14 ▼0.13 | 117.62 ▼18.48 | 155.60 ▼1.43 |
Posts /wp-admin/edit.php | 2,691 ▼0 | 3.24 ▲0.01 | 61.74 ▼0.90 | 136.58 ▼4.97 |
Add New Post /wp-admin/post-new.php | 1,708 ▼11 | 19.39 ▲2.16 | 403.66 ▼7.90 | 155.74 ▼2.26 |
Media Library /wp-admin/upload.php | 1,698 ▲3 | 5.45 ▼0.06 | 142.50 ▼9.01 | 187.55 ▼18.09 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Uninstall script ran successfully
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 everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 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/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 just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Screenshots: These screenshots do not have images: #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
Analyzing the main PHP file in "ACF Single Relationship Add New" version 1.2
It is important to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 205 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
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 is a short overview of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
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
PNG files should be compressed to save space and minimize bandwidth usage
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/loading_background.png | 0.16KB | 0.15KB | ▼ 6.02% |
css/images/controls.png | 1.99KB | 2.04KB | 0.00% |
css/images/border.png | 0.16KB | 0.16KB | 0.00% |