Benchmarks
Plugin footprint 83% from 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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.13MB] [CPU: ▼1.41ms] Passed 4 tests
Analyzing server-side resources used by Competitive Pricing for WooCommerce and Google Shopping
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.14 | 40.51 ▲1.32 |
Dashboard /wp-admin | 3.43 ▲0.12 | 45.06 ▼3.41 |
Posts /wp-admin/edit.php | 3.54 ▲0.19 | 50.15 ▲2.73 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.12 | 86.14 ▼6.28 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 38.98 ▲7.08 |
Server storage [IO: ▲0.48MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 17 new files
Database: no new tables, 12 new options
New WordPress options |
---|
widget_theysaidso_widget |
api_pp_search |
widget_recent-comments |
api_pp_automation_status |
theysaidso_admin_options |
api_pp_total_products_start |
api_pp_automation_count |
can_compress_scripts |
api_pp_automation_all |
widget_recent-posts |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Competitive Pricing for WooCommerce and Google Shopping
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲43 | 13.11 ▼1.27 | 1.80 ▼0.25 | 42.08 ▼2.17 |
Dashboard /wp-admin | 2,206 ▲15 | 6.09 ▲1.05 | 96.94 ▼19.06 | 39.52 ▼6.89 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.00 ▼0.05 | 40.80 ▲3.68 | 35.29 ▲0.82 |
Add New Post /wp-admin/post-new.php | 1,537 ▲15 | 23.19 ▲0.22 | 689.21 ▲53.66 | 51.98 ▲3.73 |
Media Library /wp-admin/upload.php | 1,391 ▲6 | 4.22 ▲0.10 | 96.44 ▼7.20 | 45.15 ▲2.82 |
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
The following items require your attention
- This plugin does not fully uninstall, leaving 12 options in the database
- api_pp_automation_count
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- api_pp_automation_status
- widget_recent-comments
- can_compress_scripts
- api_pp_automation_start_time
- api_pp_total_products_start
- ...
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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 SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes:
- Tags: Please reduce the number of tags, currently 11 tag instead of maximum 10
competitive-pricing-for-wc-and-gs/competitive-pricing-for-woocommerce.php 69% from 13 tests
The main PHP script in "Competitive Pricing for WooCommerce and Google Shopping" version 1.7 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Domain Path: The domain path folder was not found ("/languages")
- Description: The description should be shorter than 140 characters (currently 155 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("competitive-pricing-for-wc-and-gs.php" instead of "competitive-pricing-for-woocommerce.php")
- 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
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 plugin1,216 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 123 | 82 | 1,216 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 17.00 |
▷ Minimum class complexity | 17.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 5.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 1 | 25.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 22 | |
▷ Named functions | 22 | 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 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
3 PNG files occupy 0.42MB with 0.29MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/reviews.png | 66.12KB | 29.29KB | ▼ 55.70% |
(invalid) assets/pricing.png | 305.49KB | 0.00KB | ▼ 100.00% |
assets/videos.png | 56.50KB | 25.72KB | ▼ 54.48% |