Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼1.48ms] Passed 4 tests
This is a short check of server-side resources used by video bottom tab Qrcode-embed and share buttons
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 36.11 ▼3.63 |
Dashboard /wp-admin | 3.31 ▲0.01 | 45.60 ▼1.17 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.93 ▲1.04 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 84.64 ▼1.31 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.70 ▲0.20 |
Server storage [IO: ▲0.33MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 19 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by video bottom tab Qrcode-embed and share buttons
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,892 ▲157 | 13.70 ▼0.69 | 6.09 ▲4.24 | 41.46 ▼3.18 |
Dashboard /wp-admin | 2,209 ▲18 | 4.86 ▼0.01 | 112.57 ▲2.41 | 36.18 ▼2.64 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.03 ▼0.02 | 39.52 ▲0.03 | 39.65 ▲2.82 |
Add New Post /wp-admin/post-new.php | 1,533 ▲14 | 23.15 ▲0.13 | 651.89 ▼32.90 | 53.68 ▼7.07 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.30 ▲0.09 | 100.80 ▼3.82 | 42.76 ▼2.36 |
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
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
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
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 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
Please take a closer look at the following
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/video-bottom-tab-qr-embed-share/wpvbtab.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
6 plugin tags: embed, share, video, bottom, tab...
video-bottom-tab-qr-embed-share/wpvbtab.php 92% from 13 tests
Analyzing the main PHP file in "video bottom tab Qrcode-embed and share buttons" version 1.0.0
Please make the necessary changes and fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("video-bottom-tab-qr-embed-share.php" instead of "wpvbtab.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin525 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 43 | 2 | 381 |
JavaScript | 1 | 68 | 1 | 134 |
PHP | 2 | 6 | 9 | 10 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.00 |
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 | 1 | |
▷ Named functions | 1 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
14 PNG files occupy 0.31MB with 0.14MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-3.png | 4.55KB | 2.32KB | ▼ 49.07% |
images/share.png | 0.94KB | 0.63KB | ▼ 32.50% |
screenshot-5.png | 95.00KB | 39.00KB | ▼ 58.94% |
screenshot-4.png | 39.47KB | 15.80KB | ▼ 59.97% |
images/telegram.png | 1.51KB | 1.16KB | ▼ 23.47% |