Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.45MB] [CPU: ▼1.62ms] Passed 4 tests
An overview of server-side resources used by Help Manager
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.86 ▲0.40 | 47.40 ▲5.76 |
Dashboard /wp-admin | 3.79 ▲0.48 | 64.47 ▲16.60 |
Posts /wp-admin/edit.php | 3.84 ▲0.48 | 63.53 ▲13.66 |
Add New Post /wp-admin/post-new.php | 6.39 ▲0.50 | 88.24 ▼25.48 |
Media Library /wp-admin/upload.php | 3.65 ▲0.42 | 38.09 ▼0.41 |
Settings /wp-admin/admin.php?page=help-manager-settings | 3.87 | 39.40 |
Documents /wp-admin/admin.php?page=help-manager-documents | 3.69 | 44.37 |
Tools /wp-admin/admin.php?page=help-manager-tools | 3.64 | 37.32 |
Manage /wp-admin/edit.php?post_type=help-docs | 3.81 | 42.86 |
Add New /wp-admin/post-new.php?post_type=help-docs | 6.17 | 80.99 |
Server storage [IO: ▲0.25MB] [DB: ▲0.01MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 36 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
help-manager-permissions |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
Help Manager: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,965 ▲219 | 13.23 ▼1.35 | 5.56 ▲3.88 | 49.59 ▲9.27 |
Dashboard /wp-admin | 2,331 ▲143 | 5.86 ▼0.02 | 109.73 ▲12.94 | 84.10 ▲41.57 |
Posts /wp-admin/edit.php | 2,148 ▲59 | 2.06 ▲0.05 | 37.87 ▲1.59 | 33.00 ▼4.86 |
Add New Post /wp-admin/post-new.php | 1,556 ▲32 | 23.42 ▲0.46 | 708.98 ▲33.53 | 48.06 ▼8.96 |
Media Library /wp-admin/upload.php | 1,444 ▲56 | 4.23 ▲0.08 | 98.26 ▼18.60 | 43.17 ▼6.32 |
Settings /wp-admin/admin.php?page=help-manager-settings | 1,133 | 3.54 | 71.17 | 33.17 |
Documents /wp-admin/admin.php?page=help-manager-documents | 1,158 | 2.14 | 40.89 | 43.49 |
Tools /wp-admin/admin.php?page=help-manager-tools | 1,018 | 3.22 | 60.69 | 23.67 |
Manage /wp-admin/edit.php?post_type=help-docs | 1,793 | 2.00 | 32.66 | 32.83 |
Add New /wp-admin/post-new.php?post_type=help-docs | 6,207 | 24.18 | 796.88 | 33.02 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
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
Everything seems fine, however this is by no means an exhaustive test
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following browser errors
- > GET request to /wp-admin/post-new.php?post_type=help-docs
- > Console-api (warning) in unknown
/wp-includes/js/dist/block-editor.min.js?ver=0cd49e3f951fc97cabb7 25:219944 "help-manager-gutenberg-css was added to the iframe incorrectly. Please use block.json or enqueue_block_assets to add styles to the iframe." link#help-manager-gutenberg-css
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 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
5 plugin tags: documentation, clients, help, docs, client sites
help-manager/help-manager.php 92% from 13 tests
The main PHP file in "Help Manager" ver. 1.0.0 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 141 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected2,229 lines of code in 29 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 603 | 962 | 2,212 |
CSS | 7 | 0 | 0 | 7 |
JavaScript | 5 | 0 | 0 | 5 |
XML | 1 | 0 | 0 | 5 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 31.86 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 207.00 |
Average method complexity | 3.78 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 78 | |
▷ Static methods | 5 | 6.41% |
▷ Public methods | 74 | 94.87% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 5.13% |
Functions | 4 | |
▷ Named functions | 1 | 25.00% |
▷ Anonymous functions | 3 | 75.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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.00MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/assets/img/document.png | 1.22KB | 0.44KB | ▼ 63.91% |
admin/assets/img/handle.png | 1.00KB | 0.16KB | ▼ 84.36% |