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.18MB] [CPU: ▼137.66ms] Passed 4 tests
A check of server-side resources used by Ultimate Fields
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.93 ▲0.21 | 37.28 ▲16.17 |
Dashboard /wp-admin | 3.26 ▲0.21 | 48.23 ▲2.43 |
Posts /wp-admin/edit.php | 3.31 ▲0.20 | 44.70 ▼0.00 |
Add New Post /wp-admin/post-new.php | 5.56 ▲0.12 | 94.76 ▼553.91 |
Media Library /wp-admin/upload.php | 3.21 ▲0.20 | 34.83 ▲0.86 |
Settings /wp-admin/edit.php?post_type=ultimate-fields&page=settings | 3.26 | 34.99 |
Add New /wp-admin/post-new.php?post_type=ultimate-fields | 4.37 | 83.04 |
Ultimate Fields /wp-admin/edit.php?post_type=ultimate-fields | 2.99 | 36.70 |
Server storage [IO: ▲2.06MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 337 new files
Database: no new tables, 2 new options
New WordPress options |
---|
uf_boarding_finished |
uf_v1_to_v2 |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Ultimate Fields
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,765 ▲169 | 15.97 ▲0.46 | 10.20 ▲0.31 | 48.13 ▼2.63 |
Dashboard /wp-admin | 3,030 ▲96 | 5.98 ▼0.13 | 143.09 ▼6.55 | 101.87 ▼12.81 |
Posts /wp-admin/edit.php | 2,804 ▲65 | 2.72 ▲0.01 | 71.17 ▲4.50 | 88.90 ▼6.07 |
Add New Post /wp-admin/post-new.php | 1,527 ▼145 | 18.84 ▼0.07 | 391.30 ▼21.29 | 103.26 ▼3.82 |
Media Library /wp-admin/upload.php | 1,868 ▲61 | 4.96 ▼0.05 | 153.22 ▼36.14 | 110.92 ▼6.05 |
Settings /wp-admin/edit.php?post_type=ultimate-fields&page=settings | 1,461 | 3.56 | 95.50 | 115.07 |
Add New /wp-admin/post-new.php?post_type=ultimate-fields | 3,284 | 9.95 | 276.97 | 121.57 |
Ultimate Fields /wp-admin/edit.php?post_type=ultimate-fields | 1,626 | 3.04 | 93.42 | 163.63 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin did not uninstall successfully, leaving 2 options in the database
- uf_boarding_finished
- uf_v1_to_v2
Smoke tests 50% 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)
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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
Please fix the following items
- 29× GET requests to PHP files return non-empty strings (only 10 are shown):
- > /wp-content/plugins/ultimate-fields/core/templates/field/repeater/base.php
- > /wp-content/plugins/ultimate-fields/core/templates/field/repeater/prototype.php
- > /wp-content/plugins/ultimate-fields/core/templates/section.php
- > /wp-content/plugins/ultimate-fields/core/templates/field/wrap/normal.php
- > /wp-content/plugins/ultimate-fields/core/templates/field/object-preview.php
- > /wp-content/plugins/ultimate-fields/core/templates/field/image-select.php
- > /wp-content/plugins/ultimate-fields/core/templates/field/repeater/popup-group.php
- > /wp-content/plugins/ultimate-fields/core/templates/field/objects-preview.php
- > /wp-content/plugins/ultimate-fields/core/templates/container/options.php
- > /wp-content/plugins/ultimate-fields/core/templates/container/inline-tab.php
- 134× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/ultimate-fields/ui/templates/settings/json.php:4
- > PHP Fatal error
Uncaught Error: Class 'Ultimate_Fields\\UI\\Field_Helper' not found in wp-content/plugins/ultimate-fields/ui/classes/Field_Helper/Number.php:12
- > PHP Fatal error
Uncaught Error: Class 'Ultimate_Fields\\UI\\Field_Helper' not found in wp-content/plugins/ultimate-fields/ui/classes/Field_Helper/Tab.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/ultimate-fields/ui/templates/ui/save-box.php:4
- > PHP Fatal error
Uncaught Error: Class 'Ultimate_Fields\\Field' not found in wp-content/plugins/ultimate-fields/core/classes/Field/Number.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function admin_url() in wp-content/plugins/ultimate-fields/core/templates/container/options-page.php:9
- > PHP Fatal error
Uncaught Error: Class 'Ultimate_Fields\\Field' not found in wp-content/plugins/ultimate-fields/ui/classes/Field/Field_Selector.php:12
- > PHP Fatal error
Uncaught Error: Class 'Ultimate_Fields\\UI\\Field_Helper' not found in wp-content/plugins/ultimate-fields/ui/classes/Field_Helper/WP_Object.php:13
- > PHP Fatal error
Uncaught Error: Class 'Ultimate_Fields\\Helper\\Object\\Item' not found in wp-content/plugins/ultimate-fields/core/classes/Helper/Object/Item/Post.php:11
- > PHP Fatal error
Uncaught Error: Class 'Ultimate_Fields\\Field' not found in wp-content/plugins/ultimate-fields/core/classes/Field/Select.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need to be fixed:
- Screenshots: Screenshot #4 (A post meta box with a few simple fields and a repeater) image missing
- Screenshots: Add a description for screenshot #3 in ultimate-fields/assets to your readme.txt
ultimate-fields/ultimate-fields.php 92% from 13 tests
The entry point to "Ultimate Fields" version 3.0.2 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Description: Please keep the plugin description shorter than 140 characters (currently 212 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin36,546 lines of code in 321 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 88 | 4,477 | 2,779 | 16,262 |
PHP | 186 | 3,705 | 10,592 | 13,522 |
Sass | 40 | 523 | 41 | 2,711 |
CSS | 5 | 228 | 17 | 2,422 |
PO File | 1 | 755 | 1,143 | 1,628 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 16.74 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 98.00 |
Average method complexity | 2.80 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 67.00 |
Code structure | ||
---|---|---|
Namespaces | 16 | |
Interfaces | 0 | |
Traits | 5 | |
Classes | 113 | |
▷ Abstract classes | 8 | 7.08% |
▷ Concrete classes | 105 | 92.92% |
▷ Final classes | 0 | 0.00% |
Methods | 1,045 | |
▷ Static methods | 144 | 13.78% |
▷ Public methods | 921 | 88.13% |
▷ Protected methods | 122 | 11.67% |
▷ Private methods | 2 | 0.19% |
Functions | 23 | |
▷ Named functions | 22 | 95.65% |
▷ Anonymous functions | 1 | 4.35% |
Constants | 20 | |
▷ Global constants | 9 | 45.00% |
▷ Class constants | 11 | 55.00% |
▷ Public constants | 11 | 100.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
9 compressed PNG files occupy 0.25MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
ui/assets/welcome/layout-preview.png | 24.90KB | 24.22KB | ▼ 2.75% |
ui/assets/welcome/post-meta-simple.png | 28.99KB | 28.25KB | ▼ 2.53% |
ui/assets/welcome/theme-options-simple.png | 39.36KB | 38.35KB | ▼ 2.57% |
ui/assets/welcome/wysiwyg-fields.png | 9.92KB | 9.10KB | ▼ 8.29% |
ui/assets/welcome/interface.png | 84.98KB | 83.63KB | ▼ 1.59% |