84% handl-youtube-extra

Code Review | HandL YouTube Extra

WordPress plugin HandL YouTube Extra scored84%from 54 tests.

About plugin

  • Plugin page: handl-youtube-extra
  • Plugin version: 1.0.2
  • PHP compatiblity: 5.3+
  • PHP version: 7.4.16
  • WordPress version: 6.3.1
  • First release: Sep 27, 2016
  • Latest release: Mar 30, 2023
  • Number of updates: 15
  • Update frequency: every 158.3 days
  • Top authors: haktansuren (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,062 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully

Server metrics [RAM: ▲0.01MB] [CPU: ▼3.63ms] Passed 4 tests

An overview of server-side resources used by HandL YouTube Extra
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0235.13 ▼4.56
Dashboard /wp-admin3.32 ▲0.0144.26 ▼7.60
Posts /wp-admin/edit.php3.37 ▲0.0144.43 ▲1.46
Add New Post /wp-admin/post-new.php5.90 ▲0.0181.56 ▼1.36
Media Library /wp-admin/upload.php3.24 ▲0.0133.28 ▼1.01
HandL YouTube Extra /wp-admin/options-general.php?page=handl-yt-extra3.2026.10

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

Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
can_compress_scripts
widget_recent-posts
widget_theysaidso_widget
db_upgraded
widget_recent-comments

Browser metrics Passed 4 tests

A check of browser resources used by HandL YouTube Extra
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,804 ▲6913.13 ▼1.101.61 ▼0.0936.93 ▼8.06
Dashboard /wp-admin2,213 ▲254.83 ▼0.98111.31 ▼4.9144.50 ▲2.15
Posts /wp-admin/edit.php2,093 ▲72.05 ▼0.0039.00 ▲2.9536.05 ▲1.31
Add New Post /wp-admin/post-new.php1,536 ▲1623.14 ▲0.02671.99 ▼2.0845.11 ▼14.53
Media Library /wp-admin/upload.php1,392 ▲74.22 ▼0.0496.67 ▼10.7938.70 ▼4.53
HandL YouTube Extra /wp-admin/options-general.php?page=handl-yt-extra9793.2255.0430.65

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
Please fix the following items
  • Zombie WordPress options were found after uninstall: 6 options
    • theysaidso_admin_options
    • widget_recent-comments
    • can_compress_scripts
    • widget_theysaidso_widget
    • db_upgraded
    • widget_recent-posts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested

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 server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/handl-youtube-extra/handl-youtube-extra.php:70

User-side errors Passed 1 test

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

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes: Please take inspiration from this readme.txt

handl-youtube-extra/handl-youtube-extra.php Passed 13 tests

Analyzing the main PHP file in "HandL YouTube Extra" version 1.0.2
36 characters long description:
Get more from your YouTube videos...

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
Good job! No executable or dangerous file extensions detected764 lines of code in 6 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript48124485
PHP16813278
CSS1001

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.24
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%
Functions8
▷ Named functions8100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
4 compressed PNG files occupy 0.02MB
Potential savings
Compression of 4 random PNG files using pngquant
FileSize - originalSize - compressedSavings
plugins/images/sort_both.png0.20KB0.29KB0.00%
plugins/images/sort_desc.png0.15KB0.25KB0.00%
plugins/images/sort_asc.png0.16KB0.25KB0.00%
images/delete.png22.46KB9.99KB▼ 55.53%