10% yahoo-status-checker

Code Review | Yahoo! Status Checker

WordPress plugin Yahoo! Status Checker scored 10% from 54 tests.

About plugin

  • Plugin page: yahoo-status-checker
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-3.4
  • WordPress version: 5.8.1
  • First release: Apr 15, 2013
  • Latest release: Apr 16, 2013
  • Number of updates: 16
  • Update frequency: every 0.1 days
  • Top authors: codersempire (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 812 total downloads

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
PageMemory (MB)CPU Time (ms)
Home /1.76 ▼0.964.66 ▼18.19
Dashboard /wp-admin1.78 ▼1.274.92 ▼32.35
Posts /wp-admin/edit.php1.78 ▼1.325.18 ▼38.38
Add New Post /wp-admin/post-new.php1.78 ▼3.654.75 ▼654.85
Media Library /wp-admin/upload.php1.78 ▼1.224.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
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,685 ▲8916.02 ▲0.289.24 ▼0.9647.84 ▼3.51
Dashboard /wp-admin2,967 ▲365.87 ▼0.08139.81 ▼9.63111.55 ▲0.13
Posts /wp-admin/edit.php2,739 ▼02.70 ▼0.0060.74 ▲1.9185.16 ▲2.61
Add New Post /wp-admin/post-new.php1,683 ▼18918.35 ▼0.71349.24 ▼23.29110.85 ▲9.11
Media Library /wp-admin/upload.php1,807 ▼05.02 ▼0.11149.24 ▲0.97116.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 === )
Please take inspiration from this readme.txt

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:
LanguageFilesBlank linesComment linesLines of code
PHP12842

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 code0.29
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions3
▷ Named functions3100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.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