Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
You still need to fix the following installer errors
- 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.09MB] [CPU: ▼8.02ms] Passed 4 tests
A check of server-side resources used by Aklamator - Float Video on your blog
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 40.28 ▼1.25 |
Dashboard /wp-admin | 3.40 ▲0.09 | 45.27 ▼12.16 |
Posts /wp-admin/edit.php | 3.45 ▲0.09 | 47.45 ▲0.31 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 79.37 ▼18.98 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 37.53 ▲4.69 |
Server storage [IO: ▲0.60MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Aklamator - Float Video on your blog
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲69 | 13.19 ▼1.56 | 1.65 ▼0.34 | 45.55 ▼1.19 |
Dashboard /wp-admin | 2,218 ▲27 | 4.91 ▲0.01 | 101.73 ▼6.91 | 80.17 ▲36.78 |
Posts /wp-admin/edit.php | 2,101 ▲33 | 1.99 ▼0.02 | 35.61 ▼0.56 | 33.44 ▼0.82 |
Add New Post /wp-admin/post-new.php | 1,536 ▲1 | 23.26 ▲0.00 | 714.51 ▲37.92 | 56.69 ▼4.80 |
Media Library /wp-admin/upload.php | 1,394 ▲6 | 4.22 ▲0.04 | 111.62 ▲12.58 | 77.92 ▲35.34 |
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
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/aklamator-float-video-on-your-blog/aklamator-float-video-on-your-blog.php:40
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Tags: Please reduce the number of tags, currently 16 tag instead of maximum 10
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== aklamator-float-video-on-your-blog ===
)
aklamator-float-video-on-your-blog/aklamator-float-video-on-your-blog.php 92% from 13 tests
"Aklamator - Float Video on your blog" version 2.0.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Description: The description should be shorter than 140 characters (currently 204 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected1,117 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 163 | 46 | 580 |
CSS | 1 | 118 | 158 | 398 |
JavaScript | 1 | 0 | 17 | 139 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 33.00 |
▷ Minimum class complexity | 33.00 |
▷ Maximum class complexity | 33.00 |
Average method complexity | 5.57 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.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.46MB with 0.35MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/aklamator-icon.png | 1.72KB | 0.55KB | ▼ 68.08% |
images/teaser-810x262.png | 279.89KB | 88.35KB | ▼ 68.43% |
assets/dataTables/images/sort_asc.png | 1.11KB | 0.17KB | ▼ 84.28% |
images/logo.png | 107.35KB | 30.40KB | ▼ 71.69% |
assets/dataTables/images/sort_desc_disabled.png | 1.09KB | 0.17KB | ▼ 84.55% |