Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▼5.13ms] Passed 4 tests
This is a short check of server-side resources used by Thermometer for WooCommerce Crowdfunding
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.01 | 35.60 ▼6.70 |
Dashboard /wp-admin | 3.31 ▲0.01 | 44.79 ▼6.99 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 47.85 ▼1.89 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 84.05 ▼4.94 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.15 ▲1.27 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 18 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
wcj_thermometer_page_id |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Thermometer for WooCommerce Crowdfunding
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.25 ▼1.12 | 4.70 ▲2.41 | 42.95 ▼2.38 |
Dashboard /wp-admin | 2,203 ▲15 | 5.84 ▲0.95 | 98.01 ▼17.82 | 39.23 ▼4.84 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 1.99 ▼0.07 | 39.10 ▲4.66 | 34.63 ▼0.58 |
Add New Post /wp-admin/post-new.php | 1,542 ▲5 | 18.23 ▼5.08 | 587.38 ▼76.33 | 65.04 ▲8.00 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.19 ▼0.05 | 95.19 ▼6.24 | 40.15 ▼5.25 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- db_upgraded
- wcj_thermometer_page_id
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
3 plugin tags: crowdfunding, thermometer, woocommerce
thermometer-for-woocommerce-crowdfunding/wcj_product_crowdfunding_thermometer.php 77% from 13 tests
The principal PHP file in "Thermometer for WooCommerce Crowdfunding" v. 1.0.1 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Description: The description should be shorter than 140 characters (currently 313 characters long)
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Main file name: The principal plugin file should be the same as the plugin slug ("thermometer-for-woocommerce-crowdfunding.php" instead of "wcj_product_crowdfunding_thermometer.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin234 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 43 | 90 | 234 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
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 | 6 | |
▷ Named functions | 6 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
8 PNG files occupy 0.05MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/widget/thermo_300.png | 9.85KB | 5.30KB | ▼ 46.14% |
images/widget/thermo_150.png | 4.43KB | 2.71KB | ▼ 38.91% |
images/widget/thermo_150_red.png | 6.79KB | 2.77KB | ▼ 59.26% |
images/widget/thermo_100.png | 2.75KB | 1.97KB | ▼ 28.23% |
images/widget/thermo_200.png | 6.23KB | 3.49KB | ▼ 43.94% |