Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼4.35ms] Passed 4 tests
This is a short check of server-side resources used by Youtube Subscribe Link Locker
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 51.03 ▲10.86 |
Dashboard /wp-admin | 3.32 ▲0.02 | 52.65 ▼1.78 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 50.20 ▼1.78 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 93.32 ▼14.24 |
Media Library /wp-admin/upload.php | 3.25 ▲0.01 | 35.59 ▲0.41 |
Youtube Subscribe Link Locker /wp-admin/options-general.php?page=ytsll_settings | 3.21 | 30.29 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Youtube Subscribe Link Locker
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,878 ▲117 | 13.76 ▼0.80 | 8.84 ▲6.96 | 43.92 ▼7.40 |
Dashboard /wp-admin | 2,204 ▲24 | 5.59 ▼0.03 | 95.56 ▲7.60 | 42.56 ▼2.09 |
Posts /wp-admin/edit.php | 2,106 ▲3 | 1.98 ▼0.02 | 34.82 ▼6.98 | 36.10 ▲0.91 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 23.55 ▲0.40 | 624.45 ▼35.83 | 50.78 ▼18.09 |
Media Library /wp-admin/upload.php | 1,403 ▼0 | 4.22 ▼0.06 | 104.59 ▲0.91 | 46.08 ▲1.20 |
Youtube Subscribe Link Locker /wp-admin/options-general.php?page=ytsll_settings | 789 | 2.15 | 23.44 | 42.88 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
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 take a closer look at the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/yt-subscribe-link-locker/yt-subscribe-link-locker.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
4 plugin tags: youtube subscribers, youtube, subscribe, link locker
yt-subscribe-link-locker/yt-subscribe-link-locker.php Passed 13 tests
"Youtube Subscribe Link Locker" version 1.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
96 characters long description:
Convert each downloader of your content into a youtube channel subscriber in a most genuine way.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin67 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 19 | 8 | 49 |
CSS | 2 | 2 | 2 | 12 |
JavaScript | 1 | 0 | 1 | 6 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.11 |
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 | 8 | |
▷ Named functions | 8 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/logo.png | 7.21KB | 2.54KB | ▼ 64.79% |