Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼0.93ms] 75% from 4 tests
Server-side resources used by Site Health Manager
Please fix the following
- CPU: Total CPU usage must kept under 500.00ms (currently 745.09ms on /wp-admin/tools.php?page=site-health-manager)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 40.18 ▲2.22 |
Dashboard /wp-admin | 3.37 ▲0.06 | 46.64 ▼0.87 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 47.53 ▲0.05 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 90.27 ▼5.12 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 37.70 ▲2.40 |
Site Health Manager /wp-admin/tools.php?page=site-health-manager | 4.00 | 745.09 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Site Health Manager: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲47 | 13.27 ▼1.34 | 4.97 ▲2.65 | 40.63 ▲0.87 |
Dashboard /wp-admin | 2,204 ▲16 | 5.83 ▲0.94 | 101.24 ▼13.43 | 39.62 ▼2.24 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.02 ▲0.02 | 39.73 ▲2.85 | 36.09 ▲3.40 |
Add New Post /wp-admin/post-new.php | 1,531 ▲17 | 23.13 ▲5.61 | 646.23 ▼48.99 | 54.18 ▼6.31 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.17 ▼0.04 | 92.56 ▼20.56 | 41.72 ▼4.51 |
Site Health Manager /wp-admin/tools.php?page=site-health-manager | 1,860 | 2.04 | 23.27 | 34.07 |
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
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
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: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Add descriptions for screenshots #2, #3, #4 in site-health-manager/assets to your readme.txt
site-health-manager/site-health-manager.php Passed 13 tests
The main file in "Site Health Manager" v. 1.1.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
88 characters long description:
Control which status tests and what debug information appear in your Site Health screen.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected285 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 86 | 234 | 285 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 45.00 |
▷ Minimum class complexity | 45.00 |
▷ Maximum class complexity | 45.00 |
Average method complexity | 5.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.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 | 10 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 80.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 20.00% |
Functions | 1 | |
▷ Named functions | 1 | 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 Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin