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.66MB] [CPU: ▼19.03ms] Passed 4 tests
Analyzing server-side resources used by Playerzbr
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 40.82 ▼3.30 |
Dashboard /wp-admin | 3.35 ▲0.00 | 52.88 ▼12.39 |
Posts /wp-admin/edit.php | 3.40 ▲0.05 | 48.26 ▲0.64 |
Add New Post /wp-admin/post-new.php | 3.13 ▼2.75 | 33.57 ▼61.06 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 40.35 ▲1.23 |
Add New /wp-admin/post-new.php?post_type=playerzbr | 3.13 | 37.88 |
All Players /wp-admin/edit.php?post_type=playerzbr | 3.32 | 38.43 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Playerzbr
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,988 ▲202 | 13.61 ▼0.68 | 13.59 ▲11.36 | 42.21 ▲0.59 |
Dashboard /wp-admin | 2,248 ▲45 | 4.86 ▼0.01 | 110.78 ▼6.69 | 39.72 ▲0.10 |
Posts /wp-admin/edit.php | 2,134 ▲31 | 2.00 ▼0.04 | 36.71 ▼3.39 | 41.63 ▲4.15 |
Add New Post /wp-admin/post-new.php | 1,568 ▲20 | 23.18 ▲0.20 | 670.71 ▲58.39 | 56.78 ▼10.05 |
Media Library /wp-admin/upload.php | 1,427 ▲30 | 4.20 ▼0.00 | 99.17 ▼17.62 | 40.71 ▼10.77 |
Add New /wp-admin/post-new.php?post_type=playerzbr | 1,476 | 2.53 | 52.72 | 74.05 |
All Players /wp-admin/edit.php?post_type=playerzbr | 1,108 | 1.93 | 32.10 | 40.77 |
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
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/post-new.php?post_type=playerzbr
- > Notice in wp-content/plugins/playerzbr/playerzbr.php+239
Undefined index: urlmeta
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× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/playerzbr/playerzbr.php:55
- > 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 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
These attributes need your attention:
- Tags: Too many tags (11 tag instead of maximum 10); only the first 5 tags are used in your directory listing
playerzbr/playerzbr.php Passed 13 tests
The entry point to "Playerzbr" version 1.6 is a PHP file that has certain tags in its header comment area
46 characters long description:
PlayerZBR is the best HTML5 responsive player.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin143 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 101 | 106 | 141 |
CSS | 1 | 0 | 0 | 1 |
JavaScript | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
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 | 12 | |
▷ Named functions | 12 | 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 50% from 2 tests
Image compression 50% from 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.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
(invalid) screenshot-1.png | 6.72KB | 0.00KB | ▼ 100.00% |