Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
These installer errors require your attention
- Install procedure had errors
- > Deprecated in wp-content/plugins/blogroll-dropdown-links/plugin.php+111
Function create_function() is deprecated
Server metrics [RAM: ▼1.96MB] [CPU: ▼48.13ms] Passed 4 tests
Analyzing server-side resources used by Blogroll Dropdown Links
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.44 | 4.26 ▼35.99 |
Dashboard /wp-admin | 2.05 ▼1.26 | 5.63 ▼41.96 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 6.09 ▼36.39 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 5.41 ▼78.16 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 6.22 ▼28.21 |
Link Categories /wp-admin/edit-tags.php?taxonomy=link_category | 2.05 | 5.11 |
Add New /wp-admin/link-add.php | 2.05 | 5.88 |
All Links /wp-admin/link-manager.php | 2.05 | 6.04 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 6 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
widget_blogroll-dropdown-widget |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Blogroll Dropdown Links
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,836 ▲90 | 13.22 ▼1.53 | 1.78 ▲0.15 | 43.77 ▼0.76 |
Dashboard /wp-admin | 2,240 ▲52 | 4.85 ▼0.06 | 111.89 ▼2.32 | 41.94 ▼1.69 |
Posts /wp-admin/edit.php | 2,120 ▲34 | 2.00 ▼0.05 | 34.15 ▼1.65 | 32.39 ▼0.87 |
Add New Post /wp-admin/post-new.php | 1,540 ▲20 | 17.58 ▼5.47 | 678.16 ▼18.97 | 52.06 ▼10.81 |
Media Library /wp-admin/upload.php | 1,419 ▲31 | 4.22 ▲0.05 | 100.59 ▼6.12 | 44.19 ▼3.14 |
Link Categories /wp-admin/edit-tags.php?taxonomy=link_category | 1,296 | 2.14 | 25.42 | 28.60 |
Add New /wp-admin/link-add.php | 1,644 | 2.24 | 45.28 | 33.88 |
All Links /wp-admin/link-manager.php | 1,056 | 1.70 | 25.72 | 30.41 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- This plugin did not uninstall without warnings or errors
- > Deprecated in wp-content/plugins/blogroll-dropdown-links/plugin.php+111
Function create_function() is deprecated
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_blogroll-dropdown-widget
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Please fix the following server-side errors
- 3 occurences, only the last one shown
- > GET request to /wp-admin/link-manager.php
- > Deprecated in wp-content/plugins/blogroll-dropdown-links/plugin.php+111
Function create_function() is deprecated
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
- 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/blogroll-dropdown-links/plugin.php:12
- > PHP Notice
Undefined variable: link_cat in wp-content/plugins/blogroll-dropdown-links/views/widget.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function get_bookmarks() in wp-content/plugins/blogroll-dropdown-links/views/widget.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function blogrolldrop_categories_to_array() in wp-content/plugins/blogroll-dropdown-links/views/admin.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed:
- Screenshots: Screenshot #1 (Configuring the widget) image missing
blogroll-dropdown-links/plugin.php 85% from 13 tests
The principal PHP file in "Blogroll Dropdown Links" v. 1.0 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("blogroll-dropdown-links.php" instead of "plugin.php")
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
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
Success! There were no dangerous files found in this plugin131 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 47 | 20 | 126 |
CSS | 1 | 1 | 0 | 5 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.10 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 2.00 |
Average method complexity | 1.20 |
▷ 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 | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 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
No PNG images were found in this plugin