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.00MB] [CPU: ▼4.69ms] Passed 4 tests
An overview of server-side resources used by Change Price Title for WooCommerce
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 40.66 ▼0.10 |
Dashboard /wp-admin | 3.31 ▲0.01 | 44.43 ▼3.94 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 43.92 ▼6.22 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 83.76 ▼8.51 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 38.50 ▲6.90 |
Freemius Debug [v.2.4.3] /wp-admin/admin.php?page=freemius | 3.00 | 21.67 |
Server storage [IO: ▲2.99MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 172 new files
Database: no new tables, 11 new options
New WordPress options |
---|
fs_accounts |
fs_debug_mode |
db_upgraded |
fs_gdpr |
widget_recent-posts |
can_compress_scripts |
fs_active_plugins |
widget_recent-comments |
change_woocommerce_price_title_db_version |
theysaidso_admin_options |
... |
Browser metrics Passed 4 tests
A check of browser resources used by Change Price Title for WooCommerce
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.36 ▼1.01 | 1.98 ▲0.15 | 43.81 ▼4.76 |
Dashboard /wp-admin | 2,209 ▲17 | 5.86 ▲0.92 | 102.00 ▼7.71 | 40.16 ▼1.81 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.02 ▲0.04 | 33.29 ▼7.63 | 35.37 ▲0.02 |
Add New Post /wp-admin/post-new.php | 1,534 ▲1 | 23.35 ▲0.10 | 686.94 ▲16.31 | 59.85 ▲9.48 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.23 ▲0.06 | 106.86 ▼4.15 | 44.85 ▼3.59 |
Freemius Debug [v.2.4.3] /wp-admin/admin.php?page=freemius | 28 | 0.44 | 0.07 | 3.60 |
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
Please fix the following items
- Zombie WordPress options detected upon uninstall: 10 options
- can_compress_scripts
- fs_accounts
- fs_debug_mode
- fs_gdpr
- fs_active_plugins
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
Smoke tests 75% 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)
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Congratulations! This plugin passed the SRP test
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please take a look at the following user-side issues
- > GET request to /wp-admin/admin.php?page=freemius
- > Network (severe)
wp-admin/admin.php?page=freemius - Failed to load resource: the server responded with a status of 403 (Forbidden)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: woocommerce price, title, change, remove, price
change-wc-price-title/change-wc-price-title.php 85% from 13 tests
The main file in "Change Price Title for WooCommerce" v. 2.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Requires at least: The required version number must match the one declared in readme.txt ("5.3" instead of "3.0.0")
- Description: Please don't use more than 140 characters for the plugin description (currently 244 characters long)
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected31,194 lines of code in 127 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 109 | 7,336 | 16,208 | 30,661 |
JavaScript | 4 | 38 | 60 | 217 |
Markdown | 1 | 68 | 0 | 214 |
PO File | 1 | 24 | 26 | 61 |
JSON | 1 | 0 | 0 | 27 |
CSS | 11 | 0 | 0 | 14 |
PHP code 50% from 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
The following items need your attention
- Class cyclomatic complexity has to be reduced to less than 1000 (currently 2,911)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.63 |
Average class complexity | 89.07 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 2,911.00 |
Average method complexity | 4.63 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 86.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 46 | |
▷ Abstract classes | 2 | 4.35% |
▷ Concrete classes | 44 | 95.65% |
▷ Final classes | 0 | 0.00% |
Methods | 1,147 | |
▷ Static methods | 176 | 15.34% |
▷ Public methods | 807 | 70.36% |
▷ Protected methods | 15 | 1.31% |
▷ Private methods | 325 | 28.33% |
Functions | 95 | |
▷ Named functions | 95 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 123 | |
▷ Global constants | 98 | 79.67% |
▷ Class constants | 25 | 20.33% |
▷ Public constants | 25 | 100.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
2 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |
freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |