Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
You still need to fix the following installer errors
- The plugin cannot be installed
- > 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: ▼2.41MB] [CPU: ▼342.20ms] Passed 4 tests
Server-side resources used by 404 Silent Salesman
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 1.96 ▼1.55 | 4.67 ▼45.23 |
Dashboard /wp-admin | 1.98 ▼1.42 | 4.04 ▼29.18 |
Posts /wp-admin/edit.php | 1.98 ▼1.66 | 5.18 ▼30.50 |
Add New Post /wp-admin/post-new.php | 1.98 ▼4.99 | 4.46 ▼1,263.87 |
Media Library /wp-admin/upload.php | 1.98 ▼1.31 | 4.59 ▼19.94 |
Silent Salesman /wp-admin/edit.php?post_type=page&page=silentsalesman_options_page | 1.98 | 4.50 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 1 new option
New WordPress options |
---|
silentsalesman |
Browser metrics Passed 4 tests
Checking browser requirements for 404 Silent Salesman
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,800 ▲58 | 15.81 ▲0.03 | 5.90 ▼0.03 | 2.83 ▲0.62 |
Dashboard /wp-admin | 2,897 ▲43 | 6.12 ▼0.04 | 115.85 ▼30.54 | 156.18 ▼18.43 |
Posts /wp-admin/edit.php | 2,696 ▲5 | 3.24 ▲0.01 | 63.87 ▼5.52 | 139.30 ▼4.97 |
Add New Post /wp-admin/post-new.php | 1,663 ▼48 | 16.99 ▼4.40 | 428.31 ▼25.71 | 158.77 ▲2.14 |
Media Library /wp-admin/upload.php | 1,703 ▲2 | 5.48 ▼0.05 | 145.95 ▲2.05 | 188.64 ▲3.48 |
Silent Salesman /wp-admin/edit.php?post_type=page&page=silentsalesman_options_page | 1,267 | 2.37 | 55.93 | 184.93 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- 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: 1 option
- silentsalesman
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These server-side errors were triggered
- > 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 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > 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
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
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
5 plugin tags: 404, woocommerce, products, 404 redirect, sales
404-silent-salesman/silent-salesman.php 85% from 13 tests
The entry point to "404 Silent Salesman" version 1.0.2 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("404-silent-salesman.php" instead of "silent-salesman.php")
- Description: Keep the plugin description shorter than 140 characters (currently 150 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
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
This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin