Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.00MB] [CPU: ▼7.19ms] Passed 4 tests
Server-side resources used by Gosign - Vimeo Video Player Block
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 39.83 ▼5.63 |
Dashboard /wp-admin | 3.32 ▼0.02 | 59.92 ▼9.01 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 48.47 ▼1.16 |
Add New Post /wp-admin/post-new.php | 5.85 ▼0.04 | 85.73 ▼12.96 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 37.33 ▲0.98 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
Gosign - Vimeo Video Player Block: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,791 ▲5 | 14.20 ▼0.15 | 1.78 ▼0.63 | 54.10 ▲10.50 |
Dashboard /wp-admin | 2,195 ▲18 | 5.66 ▲0.09 | 89.55 ▼12.65 | 39.96 ▼6.20 |
Posts /wp-admin/edit.php | 2,097 ▼6 | 2.02 ▲0.01 | 36.69 ▲2.58 | 32.73 ▼2.86 |
Add New Post /wp-admin/post-new.php | 6,369 ▲4,843 | 27.36 ▲4.37 | 879.61 ▲200.38 | 59.43 ▲8.35 |
Media Library /wp-admin/upload.php | 1,391 ▼12 | 4.18 ▼0.01 | 96.64 ▼6.87 | 42.56 ▼4.72 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Requires php: Invalid version format
gosign-vimeo-video-player-block/gosign-vimeo-video-player-block.php Passed 13 tests
The entry point to "Gosign - Vimeo Video Player Block" version 2.0.5 is a PHP file that has certain tags in its header comment area
47 characters long description:
Add Vimeo Video Player with customised options.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin159 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
Markdown | 1 | 24 | 0 | 86 |
PHP | 1 | 25 | 95 | 69 |
JavaScript | 2 | 0 | 4 | 3 |
CSS | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.09 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 8 | |
▷ Static methods | 1 | 12.50% |
▷ Public methods | 8 | 100.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
2 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/ybtn-black.png | 1.21KB | 1.04KB | ▼ 14.31% |
assets/images/ybtn-red.png | 0.99KB | 0.83KB | ▼ 16.83% |