Benchmarks
Plugin footprint 58% 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
The following installer errors require your attention
- Install procedure validation failed for this plugin
- > Warning in wp-content/plugins/yahoo-status-checker/yh_status.php+51
Use of undefined constant yh_footer - assumed 'yh_footer' (this will throw an Error in a future version of PHP)
Server metrics [RAM: ▼1.87MB] [CPU: ▼188.47ms] Passed 4 tests
This is a short check of server-side resources used by Yahoo! Status Checker
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 1.76 ▼0.96 | 4.66 ▼18.19 |
Dashboard /wp-admin | 1.78 ▼1.27 | 4.92 ▼32.35 |
Posts /wp-admin/edit.php | 1.78 ▼1.32 | 5.18 ▼38.38 |
Add New Post /wp-admin/post-new.php | 1.78 ▼3.65 | 4.75 ▼654.85 |
Media Library /wp-admin/upload.php | 1.78 ▼1.22 | 4.86 ▼28.28 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 2 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for Yahoo! Status Checker
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,685 ▲89 | 16.02 ▲0.28 | 9.24 ▼0.96 | 47.84 ▼3.51 |
Dashboard /wp-admin | 2,967 ▲36 | 5.87 ▼0.08 | 139.81 ▼9.63 | 111.55 ▲0.13 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.70 ▼0.00 | 60.74 ▲1.91 | 85.16 ▲2.61 |
Add New Post /wp-admin/post-new.php | 1,683 ▼189 | 18.35 ▼0.71 | 349.24 ▼23.29 | 110.85 ▲9.11 |
Media Library /wp-admin/upload.php | 1,807 ▼0 | 5.02 ▼0.11 | 149.24 ▲0.97 | 116.18 ▼8.86 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Uninstall procedure had uncaught errors
- > Warning in wp-content/plugins/yahoo-status-checker/yh_status.php+51
Use of undefined constant yh_footer - assumed 'yh_footer' (this will throw an Error in a future version of PHP)
Smoke tests Passed 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 Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Congratulations! This plugin passed the SRP test
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 87% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Donate link: Please fix this invalid url: ""
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== yahoo-status-checker ===
)
yahoo-status-checker/yh_status.php 85% from 13 tests
The primary PHP file in "Yahoo! Status Checker" version 1.0 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 167 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("yahoo-status-checker.php" instead of "yh_status.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin42 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 2 | 8 | 42 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 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
No PNG files were detected