90% remove-site-heath-from-dashboard

Code Review | Remove Site Health From Dashboard

WordPress plugin Remove Site Health From Dashboard scored90%from 54 tests.

About plugin

  • Plugin page: remove-site-heath...
  • Plugin version: 1.0
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.3-6.3
  • WordPress version: 6.3.1
  • First release: Apr 18, 2020
  • Latest release: Sep 22, 2023
  • Number of updates: 6
  • Update frequency: every 208.7 days
  • Top authors: fullworks (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

2,000+ active /3,252 total downloads

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.00MB] [CPU: ▼5.71ms] Passed 4 tests

Server-side resources used by Remove Site Health From Dashboard
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0043.49 ▲0.06
Dashboard /wp-admin3.31 ▲0.0145.44 ▼2.14
Posts /wp-admin/edit.php3.36 ▲0.0047.23 ▼1.63
Add New Post /wp-admin/post-new.php5.89 ▲0.0081.54 ▼18.09
Media Library /wp-admin/upload.php3.24 ▲0.0034.15 ▼0.99

Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests

Filesystem and database footprint
The plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
widget_theysaidso_widget
widget_recent-comments
can_compress_scripts
widget_recent-posts
db_upgraded

Browser metrics Passed 4 tests

An overview of browser requirements for Remove Site Health From Dashboard
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,731 ▼1513.20 ▼1.181.76 ▲0.0149.78 ▲10.18
Dashboard /wp-admin2,134 ▼575.79 ▲0.9494.82 ▼4.1339.16 ▼5.25
Posts /wp-admin/edit.php2,089 ▼01.99 ▼0.0140.57 ▲2.6839.77 ▲6.56
Add New Post /wp-admin/post-new.php1,533 ▼022.98 ▼0.13625.82 ▼63.3648.13 ▼10.48
Media Library /wp-admin/upload.php1,388 ▲34.23 ▲0.0596.86 ▼6.1441.09 ▼1.66

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
The following items require your attention
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • widget_theysaidso_widget
    • db_upgraded
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_recent-posts
    • widget_recent-comments

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Congratulations! This plugin passed the SRP test

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
3 plugin tags: sitehealth, site health, dashboard widget

remove-site-heath-from-dashboard/remove-site-heath-from-dashboard.php Passed 13 tests

The entry point to "Remove Site Health From Dashboard" version 1.0 is a PHP file that has certain tags in its header comment area
47 characters long description:
Remove the Site Heath widget from the Dashboard

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin12 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP213312

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.25
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%
Functions1
▷ Named functions00.00%
▷ Anonymous functions1100.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin