Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼3.25ms] Passed 4 tests
Server-side resources used by Wordpress Price Comparison
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 40.05 ▼2.18 |
Dashboard /wp-admin | 3.36 ▲0.05 | 46.67 ▼2.24 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 46.36 ▼0.03 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 81.75 ▼8.53 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 33.08 ▲0.69 |
Wordpress Price Comparison /wp-admin/options-general.php?page=wordpress_price_comparison | 3.22 | 30.74 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 7 new options
New WordPress options |
---|
wppc_settings |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
Wordpress Price Comparison: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,812 ▲77 | 13.32 ▼1.11 | 2.08 ▲0.13 | 45.56 ▼2.19 |
Dashboard /wp-admin | 2,214 ▲29 | 4.85 ▼1.01 | 113.85 ▼7.26 | 42.29 ▼1.43 |
Posts /wp-admin/edit.php | 2,097 ▲5 | 2.01 ▼0.02 | 35.41 ▲0.38 | 32.88 ▼0.56 |
Add New Post /wp-admin/post-new.php | 1,521 ▼12 | 17.67 ▼5.40 | 653.67 ▼11.26 | 47.00 ▼16.70 |
Media Library /wp-admin/upload.php | 1,396 ▲8 | 4.15 ▼0.03 | 96.04 ▼0.36 | 42.36 ▼1.21 |
Wordpress Price Comparison /wp-admin/options-general.php?page=wordpress_price_comparison | 877 | 1.80 | 28.55 | 33.39 |
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 7 options in the database
- theysaidso_admin_options
- can_compress_scripts
- wppc_settings
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=wordpress_price_comparison
- > Notice in wp-content/plugins/price-comparison/wordpress-price-comparison.php+322
Undefined index: skimlinksid
SRP 50% from 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
Please take a closer look at the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/price-comparison/wordpress-price-comparison.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Screenshots: Screenshot #1 (http://www.affiliatewebdesigners.com/assets/wordpress-price-comparison-pro1-300x227.png) image not found
price-comparison/wordpress-price-comparison.php 92% from 13 tests
The primary PHP file in "Wordpress Price Comparison" version 1.0 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("price-comparison.php" instead of "wordpress-price-comparison.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin320 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 50 | 46 | 301 |
CSS | 1 | 0 | 0 | 12 |
JavaScript | 1 | 2 | 0 | 7 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.10 |
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 | 9 | |
▷ Named functions | 9 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected