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
These installer errors require your attention
- Install procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/manualsearcher/manualsearcher-widget.php+21
Methods with the same name as their class will not be constructors in a future version of PHP; hkms_ManualSearcher has a deprecated constructor
Server metrics [RAM: ▼1.85MB] [CPU: ▼59.61ms] Passed 4 tests
Server-side resources used by ManualSearcher
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.15 ▼1.31 | 4.92 ▼38.43 |
Dashboard /wp-admin | 2.17 ▼1.17 | 6.37 ▼60.74 |
Posts /wp-admin/edit.php | 2.17 ▼1.18 | 5.91 ▼43.43 |
Add New Post /wp-admin/post-new.php | 2.17 ▼3.71 | 7.30 ▼95.85 |
Media Library /wp-admin/upload.php | 2.17 ▼1.06 | 8.99 ▼22.93 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 7 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_manualsearcher |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by ManualSearcher
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,817 ▲71 | 13.25 ▼1.05 | 1.76 ▼0.11 | 43.76 ▲5.12 |
Dashboard /wp-admin | 2,221 ▲54 | 5.85 ▲0.28 | 97.84 ▼19.80 | 38.10 ▼3.76 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.05 ▲0.05 | 40.83 ▲3.76 | 36.93 ▲0.68 |
Add New Post /wp-admin/post-new.php | 1,554 ▲23 | 18.45 ▼4.93 | 649.98 ▼21.21 | 58.33 ▲11.48 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.18 ▼0.06 | 97.41 ▼13.13 | 43.40 ▼4.28 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin cannot be uninstalled
- > Deprecated in wp-content/plugins/manualsearcher/manualsearcher-widget.php+21
Methods with the same name as their class will not be constructors in a future version of PHP; hkms_ManualSearcher has a deprecated constructor
- The uninstall procedure has failed, leaving 7 options in the database
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_manualsearcher
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== manualsearcher ===
)
manualsearcher/manualsearcher-widget.php 92% from 13 tests
The principal PHP file in "ManualSearcher" v. 1.4 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("manualsearcher.php" instead of "manualsearcher-widget.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
No dangerous file extensions were detected234 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 35 | 28 | 194 |
CSS | 2 | 6 | 0 | 40 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
Average class complexity | 19.00 |
▷ Minimum class complexity | 19.00 |
▷ Maximum class complexity | 19.00 |
Average method complexity | 5.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 2 | 66.67% |
▷ Anonymous functions | 1 | 33.33% |
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
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 |
images/logo_handleidingkwijt.png | 16.42KB | 3.88KB | ▼ 76.36% |
images/logo_manuall.png | 6.68KB | 3.52KB | ▼ 47.29% |