Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The following installer errors require your attention
- The plugin did not install without errors
- > Warning in wp-content/plugins/wp-healthcheck/includes/class-wp-healthcheck.php+671
fsockopen(): unable to connect to ssl://wp.com:443 (Connection refused)
Server metrics [RAM: ▲0.14MB] [CPU: ▼1.96ms] Passed 4 tests
A check of server-side resources used by WP Healthcheck
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 44.29 ▲3.84 |
Dashboard /wp-admin | 3.47 ▲0.16 | 56.05 ▲5.39 |
Posts /wp-admin/edit.php | 3.57 ▲0.21 | 48.79 ▼1.80 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.15 | 90.01 ▼14.03 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 38.65 ▲4.14 |
Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 46 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
wphc_version |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for WP Healthcheck
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,861 ▲126 | 13.46 ▼1.29 | 1.70 ▼0.13 | 42.61 ▲5.04 |
Dashboard /wp-admin | 2,267 ▲76 | 4.98 ▲0.06 | 122.93 ▲16.22 | 44.41 ▼2.24 |
Posts /wp-admin/edit.php | 2,135 ▲46 | 2.56 ▲0.54 | 39.97 ▼2.87 | 32.72 ▼5.46 |
Add New Post /wp-admin/post-new.php | 1,551 ▲37 | 23.38 ▲5.87 | 693.87 ▲29.93 | 54.95 ▲5.52 |
Media Library /wp-admin/upload.php | 1,433 ▲45 | 4.32 ▲0.13 | 101.21 ▼8.18 | 43.37 ▲0.75 |
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 did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
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
Please fix the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'WP_CLI_Command' not found in wp-content/plugins/wp-healthcheck/includes/class-wp-healthcheck-cli.php:10
- > 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, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
9 plugin tags: https, cron, performance, load time, check...
wp-healthcheck/wp-healthcheck.php Passed 13 tests
The principal PHP file in "WP Healthcheck" v. 1.3.4 is loaded by WordPress automatically on each request
44 characters long description:
Checks the health of your WordPress install.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin2,058 lines of code in 36 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 29 | 415 | 670 | 1,398 |
PO File | 1 | 85 | 121 | 330 |
CSS | 2 | 42 | 0 | 196 |
JavaScript | 2 | 27 | 30 | 120 |
SVG | 1 | 1 | 0 | 13 |
JSON | 1 | 0 | 0 | 1 |
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.42 |
Average class complexity | 26.17 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 89.00 |
Average method complexity | 3.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 63 | |
▷ Static methods | 58 | 92.06% |
▷ Public methods | 61 | 96.83% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 3.17% |
Functions | 2 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 2 | 100.00% |
Constants | 16 | |
▷ Global constants | 5 | 31.25% |
▷ Class constants | 11 | 68.75% |
▷ Public constants | 11 | 100.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
No PNG files were detected