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
Installer ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼6.29ms] Passed 4 tests
Analyzing server-side resources used by WCE CLOSE SHOPP STORE
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 34.68 ▼5.65 |
Dashboard /wp-admin | 3.31 ▼0.04 | 43.15 ▼16.99 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.00 ▼3.86 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 92.45 ▲1.34 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.27 ▲2.22 |
Server storage [IO: ▲0.63MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for WCE CLOSE SHOPP STORE
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲68 | 13.27 ▼1.48 | 4.53 ▲2.34 | 38.82 ▼12.87 |
Dashboard /wp-admin | 2,206 ▲18 | 4.89 ▼1.01 | 107.72 ▼0.71 | 37.32 ▼5.52 |
Posts /wp-admin/edit.php | 2,092 ▼0 | 2.00 ▼0.05 | 39.86 ▼5.90 | 34.24 ▼1.00 |
Add New Post /wp-admin/post-new.php | 1,533 ▼4 | 23.16 ▼0.01 | 588.70 ▼96.08 | 55.43 ▲1.31 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.22 ▼0.03 | 95.18 ▼1.95 | 43.42 ▲4.24 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wce-close-shopp-store/wce-close-shopp-store.php:43
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/wce-close-shopp-store/assets/templates/page.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function shopp_setting() in wp-content/plugins/wce-close-shopp-store/assets/views/close-shopp-admin.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
2 plugin tags: shopp, ecommerce
wce-close-shopp-store/wce-close-shopp-store.php 92% from 13 tests
The main file in "WCE CLOSE SHOPP STORE" v. 1.0.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Description: The description should be shorter than 140 characters (currently 518 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin478 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 105 | 118 | 463 |
CSS | 1 | 1 | 0 | 15 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 20.00 |
▷ Minimum class complexity | 20.00 |
▷ Maximum class complexity | 20.00 |
Average method complexity | 2.73 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.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 | 15 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 15 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 8 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
3 PNG files occupy 0.59MB with 0.53MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 408.06KB | 71.99KB | ▼ 82.36% |
screenshot-1.png | 150.68KB | 19.08KB | ▼ 87.33% |
assets/menu.png | 50.10KB | 1.24KB | ▼ 97.52% |