Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
These installer errors require your attention
- This plugin did not install gracefully
- > Warning in wp-includes/class-wp-hook.php+310
call_user_func_array() expects parameter 1 to be a valid callback, function 'set_up_options_aklamator_FV' not found or invalid function name
Server metrics [RAM: ▲0.08MB] [CPU: ▼6.70ms] Passed 4 tests
This is a short check of server-side resources used by Aklamator - Twitch Videofloat
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 45.45 ▲7.53 |
Dashboard /wp-admin | 3.39 ▲0.09 | 50.16 ▲2.83 |
Posts /wp-admin/edit.php | 3.44 ▲0.09 | 44.49 ▼10.69 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.09 | 84.10 ▼21.11 |
Media Library /wp-admin/upload.php | 3.31 ▲0.09 | 39.22 ▲2.18 |
Server storage [IO: ▲0.59MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Aklamator - Twitch Videofloat
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,840 ▲105 | 13.19 ▼1.12 | 1.89 ▲0.29 | 45.14 ▼3.17 |
Dashboard /wp-admin | 2,209 ▲18 | 5.86 ▲0.92 | 108.78 ▲5.37 | 77.82 ▲35.06 |
Posts /wp-admin/edit.php | 2,101 ▲12 | 2.03 ▲0.02 | 37.33 ▼4.73 | 36.58 ▲1.91 |
Add New Post /wp-admin/post-new.php | 1,528 ▼14 | 23.24 ▲5.01 | 698.86 ▲105.24 | 63.29 ▲13.97 |
Media Library /wp-admin/upload.php | 1,397 ▲9 | 4.19 ▼0.02 | 92.60 ▼7.23 | 75.72 ▲32.55 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/aklamator-twitch-videofloat/aklamator-twitch-videofloat.php:40
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% 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
Attributes that require attention:
- Tags: Please delete some tags, you are using 16 tag instead of maximum 10
- Plugin Name: Please specify the plugin name on the first line (
=== aklamator-twitch-videofloat ===
)
aklamator-twitch-videofloat/aklamator-twitch-videofloat.php 92% from 13 tests
The main file in "Aklamator - Twitch Videofloat" v. 1.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 183 characters long)
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 plugin1,076 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 159 | 46 | 539 |
CSS | 1 | 118 | 158 | 398 |
JavaScript | 1 | 0 | 17 | 139 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 30.00 |
▷ Minimum class complexity | 30.00 |
▷ Maximum class complexity | 30.00 |
Average method complexity | 5.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.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 | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 6 | 85.71% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 14.29% |
Functions | 4 | |
▷ Named functions | 4 | 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
9 PNG files occupy 0.45MB with 0.33MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/teaser-810x262.png | 279.89KB | 88.35KB | ▼ 68.43% |
assets/dataTables/images/sort_asc_disabled.png | 1.09KB | 0.17KB | ▼ 84.66% |
images/aklamator-icon.png | 1.72KB | 0.55KB | ▼ 68.08% |
assets/dataTables/images/sort_desc_disabled.png | 1.09KB | 0.17KB | ▼ 84.55% |
images/promo-300x200.png | 77.36KB | 27.52KB | ▼ 64.43% |