Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Please fix the following installer errors
- The plugin cannot be installed
- > Deprecated in wp-content/plugins/pricemesh/pricemesh.php+36
Function create_function() is deprecated
Server metrics [RAM: ▼1.84MB] [CPU: ▼51.95ms] Passed 4 tests
Server-side resources used by Pricemesh - Price Comparison | Preisvergleich
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.15 ▼1.31 | 5.47 ▼34.40 |
Dashboard /wp-admin | 2.17 ▼1.13 | 6.43 ▼43.29 |
Posts /wp-admin/edit.php | 2.17 ▼1.18 | 6.87 ▼40.95 |
Add New Post /wp-admin/post-new.php | 2.17 ▼3.72 | 5.25 ▼89.15 |
Media Library /wp-admin/upload.php | 2.17 ▼1.06 | 7.54 ▼29.05 |
Pricemesh /wp-admin/options-general.php?page=Pricemesh | 2.17 | 5.78 |
Server storage [IO: ▲1.14MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 36 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
widget_pricemeshwidget |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Pricemesh - Price Comparison | Preisvergleich
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.57 ▼1.07 | 1.74 ▼0.07 | 40.71 ▼12.49 |
Dashboard /wp-admin | 2,213 ▲22 | 4.80 ▼0.10 | 96.68 ▼10.41 | 37.52 ▼6.17 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.05 ▼0.00 | 36.92 ▼2.45 | 31.20 ▼4.39 |
Add New Post /wp-admin/post-new.php | 6,483 ▲5,072 | 23.38 ▲5.46 | 880.78 ▲304.94 | 104.16 ▲37.75 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.25 ▲0.15 | 103.10 ▼19.09 | 40.34 ▼8.10 |
Pricemesh /wp-admin/options-general.php?page=Pricemesh | 1,082 | 1.72 | 25.68 | 46.10 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- The plugin did not uninstall gracefully
- > Deprecated in wp-content/plugins/pricemesh/pricemesh.php+36
Function create_function() is deprecated
- Zombie WordPress options were found after uninstall: 7 options
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- widget_pricemeshwidget
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=Pricemesh
- > Deprecated in wp-content/plugins/pricemesh/pricemesh.php+36
Function create_function() is deprecated
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
Please fix the following
- 4× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'PricemeshBase' not found in wp-content/plugins/pricemesh/admin/pricemesh-admin.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/pricemesh/admin/views/admin.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/pricemesh/admin/views/metabox.php:2
- > PHP Fatal error
Uncaught Error: Class 'PricemeshBase' not found in wp-content/plugins/pricemesh/public/pricemesh-public.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that need to be fixed:
- Tags: Please reduce the number of tags, currently 17 tag instead of maximum 10
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== pricemesh ===
)
pricemesh/pricemesh.php Passed 13 tests
Analyzing the main PHP file in "Pricemesh - Price Comparison | Preisvergleich" version 1.6.10
102 characters long description:
Extend WordPress with your own price comparison | WordPress um einen eigenen Preisvergleich erweitern.
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
Everything looks great! No dangerous files found in this plugin4,193 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 5 | 509 | 332 | 2,427 |
PHP | 8 | 244 | 493 | 1,028 |
CSS | 1 | 80 | 1 | 550 |
PO File | 1 | 74 | 79 | 188 |
PHP code Passed 2 tests
Analyzing 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.22 |
Average class complexity | 17.20 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 43.00 |
Average method complexity | 2.16 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 70 | |
▷ Static methods | 15 | 21.43% |
▷ Public methods | 59 | 84.29% |
▷ Protected methods | 3 | 4.29% |
▷ Private methods | 8 | 11.43% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 4 | 100.00% |
▷ Public constants | 4 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
5 PNG files occupy 0.90MB with 0.50MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-4.png | 435.86KB | 121.64KB | ▼ 72.09% |
assets/screenshot-2.png | 53.84KB | 17.63KB | ▼ 67.26% |
assets/screenshot-1.png | 8.87KB | 2.87KB | ▼ 67.67% |
assets/screenshot-3.png | 424.53KB | 131.28KB | ▼ 69.08% |
admin/assets/img/icon_sprite.png | 0.62KB | 0.68KB | 0.00% |