89% hide-help-tab-from-dashboard

Code Review | hide help tab from dashboard

WordPress plugin hide help tab from dashboard scored89%from 54 tests.

About plugin

  • Plugin page: hide-help-tab-fro...
  • Plugin version: 1.0.0
  • PHP compatiblity: 7.2+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-5.5.3
  • WordPress version: 6.3.1
  • First release: Dec 16, 2020
  • Latest release: Dec 17, 2020
  • Number of updates: 3
  • Update frequency: every 0.3 days
  • Top authors: aminak35 (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /312 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▼0.18MB] [CPU: ▼12.80ms] Passed 4 tests

Analyzing server-side resources used by hide help tab from dashboard
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0039.48 ▼2.36
Dashboard /wp-admin3.18 ▼0.1232.85 ▼19.76
Posts /wp-admin/edit.php3.25 ▼0.1036.96 ▼11.26
Add New Post /wp-admin/post-new.php5.44 ▼0.4576.21 ▼17.82
Media Library /wp-admin/upload.php3.19 ▼0.0335.30 ▼1.76

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

Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
theysaidso_admin_options
widget_theysaidso_widget
widget_recent-posts
widget_recent-comments
db_upgraded

Browser metrics Passed 4 tests

Checking browser requirements for hide help tab from dashboard
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,702 ▼6914.47 ▲0.092.07 ▼0.2639.21 ▼7.35
Dashboard /wp-admin2,102 ▼865.85 ▲0.9696.41 ▼17.0738.95 ▼5.40
Posts /wp-admin/edit.php2,003 ▼862.01 ▼0.0135.68 ▼2.0833.07 ▼2.43
Add New Post /wp-admin/post-new.php1,533 ▲1923.24 ▲5.67670.71 ▼4.1865.33 ▲16.75
Media Library /wp-admin/upload.php1,346 ▼454.19 ▼0.09111.84 ▲9.8146.33 ▲2.99

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • db_upgraded
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • widget_recent-comments
    • widget_recent-posts
    • can_compress_scripts

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
Everything seems fine, however this is by no means 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
The SRP test was a success

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
2 plugin tags: customize wordpress dashboard, hide help tab

hide-help-tab-from-dashboard/hide help tab from dashboard.php 85% from 13 tests

The principal PHP file in "hide help tab from dashboard" v. 1.0.0 is loaded by WordPress automatically on each request
It is important to fix the following:
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("hide-help-tab-from-dashboard.php" instead of "hide help tab from dashboard.php")
  • Domain Path: The domain path folder was not found ("/languages")

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 plugin7 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP14147

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.00
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 functions1100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin