Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
These installer errors require your attention
- Install procedure validation failed for this plugin
- > User notice in wp-includes/functions.php+5905
Function check_admin_referer was called incorrectly. You should specify an action to be verified by using the first parameter. Please see Debugging in WordPress for more information. (This message was added in version 3.2.0.)
Server metrics [RAM: ▲0.00MB] [CPU: ▼6.91ms] Passed 4 tests
Server-side resources used by Price Comparison Shopping Engine
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 43.22 ▼3.10 |
Dashboard /wp-admin | 3.31 ▲0.00 | 48.81 ▼9.86 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 50.56 ▼2.21 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 92.79 ▼12.45 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 38.39 ▲0.84 |
Server storage [IO: ▲0.18MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 19 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Price Comparison Shopping Engine: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲53 | 14.72 ▲0.13 | 1.77 ▼0.09 | 40.94 ▼2.05 |
Dashboard /wp-admin | 2,195 ▲18 | 5.64 ▲0.07 | 93.07 ▲0.67 | 42.05 ▼2.55 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.02 ▲0.03 | 39.81 ▲4.28 | 34.19 ▼3.24 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 22.97 ▼0.45 | 582.70 ▼98.34 | 67.88 ▲10.32 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.17 ▼0.04 | 102.65 ▼12.45 | 44.28 ▼3.79 |
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
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Looking good! No server-side errors or output on direct access of PHP files
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 Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
No plugin tags provided
price-comparison-shopping-engine/pcs_goodspack.php 85% from 13 tests
"Price Comparison Shopping Engine" version 1.0.7's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("price-comparison-shopping-engine.php" instead of "pcs_goodspack.php")
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
No dangerous file extensions were detected1,113 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 73 | 4 | 462 |
PHP | 7 | 64 | 42 | 312 |
JavaScript | 1 | 20 | 38 | 306 |
PO File | 1 | 11 | 15 | 33 |
PHP code Passed 2 tests
An overview 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.38 |
Average class complexity | 12.00 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 16.00 |
Average method complexity | 2.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 17 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 17 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
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
4 PNG files occupy 0.09MB with 0.04MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
styles/created_by.png | 2.84KB | 2.60KB | ▼ 8.44% |
styles/created_by_ukrsolution.png | 2.79KB | 2.36KB | ▼ 15.36% |
styles/logo_black.png | 44.38KB | 12.25KB | ▼ 72.39% |
styles/logo_white.png | 45.25KB | 12.44KB | ▼ 72.51% |