Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Please fix the following installer errors
- The plugin did not install without errors
- > Notice in wp-content/plugins/404-silent-salesman/silent-salesman.php+36
Trying to access array offset on value of type bool
Server metrics [RAM: ▼1.83MB] [CPU: ▼50.59ms] Passed 4 tests
An overview of server-side resources used by 404 Silent Salesman
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.16 ▼1.31 | 4.43 ▼34.14 |
Dashboard /wp-admin | 2.18 ▼1.13 | 6.79 ▼40.98 |
Posts /wp-admin/edit.php | 2.18 ▼1.18 | 5.72 ▼44.18 |
Add New Post /wp-admin/post-new.php | 2.18 ▼3.71 | 8.65 ▼83.04 |
Media Library /wp-admin/upload.php | 2.18 ▼1.05 | 6.66 ▼27.94 |
Silent Salesman /wp-admin/edit.php?post_type=page&page=silentsalesman_options_page | 2.18 | 6.89 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 7 new options
New WordPress options |
---|
silentsalesman |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for 404 Silent Salesman
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲7 | 14.72 ▲0.12 | 1.67 ▼0.07 | 36.66 ▼1.32 |
Dashboard /wp-admin | 2,199 ▲25 | 5.51 ▼0.17 | 81.79 ▼3.32 | 40.09 ▼3.32 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.00 ▼0.02 | 33.28 ▼1.35 | 34.72 ▼2.71 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.62 ▲0.42 | 686.47 ▼6.84 | 54.97 ▲0.95 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.15 ▼0.01 | 96.70 ▼2.32 | 40.45 ▼4.62 |
Silent Salesman /wp-admin/edit.php?post_type=page&page=silentsalesman_options_page | 1,027 | 2.00 | 24.55 | 38.21 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/404-silent-salesman/silent-salesman.php+36
A non well formed numeric value encountered
- Zombie WordPress options detected upon uninstall: 7 options
- widget_theysaidso_widget
- silentsalesman
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Please fix the following server-side errors
- > GET request to /wp-admin/edit.php?post_type=page&page=silentsalesman_options_page
- > Notice in wp-content/plugins/404-silent-salesman/silent-salesman.php+36
A non well formed numeric value encountered
- > GET request to /wp-admin/edit.php?post_type=page&page=silentsalesman_options_page
- > Notice in wp-content/plugins/404-silent-salesman/silent-salesman.php+36
Uninitialized string offset: 404
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× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/404-silent-salesman/silent-salesman.php:33
- > PHP Fatal error
Uncaught Error: Class 'SilentSalesmanPro_Settings' not found in wp-content/plugins/404-silent-salesman/includes/plugins/ss_woocommerce.php:3
- > PHP Fatal error
Uncaught Error: Class 'SilentSalesmanPro_Settings' not found in wp-content/plugins/404-silent-salesman/includes/plugins/ss_404.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
5 plugin tags: 404 redirect, sales, woocommerce, 404, products
404-silent-salesman/silent-salesman.php 85% from 13 tests
"404 Silent Salesman" version 1.0.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 150 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("404-silent-salesman.php" instead of "silent-salesman.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
Everything looks great! No dangerous files found in this plugin511 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 128 | 154 | 511 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 18.50 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 3.69 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 26 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 26 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
No PNG images were found in this plugin