Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The following installer errors require your attention
- Install procedure had errors
- > Notice in wp-content/plugins/woo-frontpage-blog-roll/WooFrontBlogExtension.php+29
Undefined variable: extension_alias
Server metrics [RAM: ▼1.87MB] [CPU: ▼51.38ms] Passed 4 tests
This is a short check of server-side resources used by Woo Frontpage Blog Roll
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.11 ▼1.35 | 4.90 ▼35.47 |
Dashboard /wp-admin | 2.13 ▼1.17 | 5.93 ▼43.79 |
Posts /wp-admin/edit.php | 2.13 ▼1.22 | 7.05 ▼39.55 |
Add New Post /wp-admin/post-new.php | 2.13 ▼3.75 | 6.36 ▼86.69 |
Media Library /wp-admin/upload.php | 2.13 ▼1.09 | 7.19 ▼27.64 |
Blogroll extension /wp-admin/options-general.php?page=wooFrontBlogextension | 2.14 | 8.30 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 11 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_recent-posts |
_vertical |
widget_recent-comments |
_number |
widget_theysaidso_widget |
_title |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Woo Frontpage Blog Roll
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲60 | 13.37 ▼1.24 | 1.74 ▲0.10 | 38.75 ▼2.38 |
Dashboard /wp-admin | 2,207 ▲19 | 5.77 ▲0.89 | 94.79 ▼10.19 | 38.84 ▼5.83 |
Posts /wp-admin/edit.php | 2,093 ▲7 | 1.99 ▲0.02 | 35.94 ▲2.14 | 33.39 ▼0.88 |
Add New Post /wp-admin/post-new.php | 1,542 ▲23 | 23.27 ▲0.32 | 669.35 ▲18.42 | 54.51 ▼1.13 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.24 ▼0.01 | 107.11 ▲10.69 | 48.43 ▲1.45 |
Blogroll extension /wp-admin/options-general.php?page=wooFrontBlogextension | 832 | 2.05 | 27.54 | 34.97 |
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
- The plugin did not uninstall gracefully
- > Notice in wp-content/plugins/woo-frontpage-blog-roll/WooFrontBlogExtension.php+29
Undefined variable: extension_alias
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
Smoke tests 75% 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
- 3 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=wooFrontBlogextension
- > Notice in wp-content/plugins/woo-frontpage-blog-roll/WooFrontBlogExtension.php+43
Undefined variable: extension_alias
- > GET request to /wp-admin/options-general.php?page=wooFrontBlogextension
- > Notice in wp-content/plugins/woo-frontpage-blog-roll/assets/lib/PluginOptionsPage.php+39
Undefined index: action
- > GET request to /wp-admin/options-general.php?page=wooFrontBlogextension
- > Notice in wp-content/plugins/woo-frontpage-blog-roll/assets/lib/PluginOptionsPage.php+58
Undefined index: saved
- > GET request to /wp-admin/options-general.php?page=wooFrontBlogextension
- > Notice in wp-content/plugins/woo-frontpage-blog-roll/assets/lib/PluginOptionsPage.php+60
Undefined index: reset
- > GET request to /wp-admin/options-general.php?page=wooFrontBlogextension
- > Notice in wp-content/plugins/woo-frontpage-blog-roll/assets/lib/PluginOptionsPage.php+87
Undefined index: description
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
6 plugin tags: homepage blogroll, blog display, storefront, woocommerce blogs, homepage control...
woo-frontpage-blog-roll/WooFrontBlogExtension.php 85% from 13 tests
The main PHP script in "Woo Frontpage Blog Roll" version 1.0 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("woo-frontpage-blog-roll.php" instead of "WooFrontBlogExtension.php")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 144 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected362 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 32 | 16 | 354 |
CSS | 1 | 1 | 0 | 8 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 20.00 |
▷ Minimum class complexity | 12.00 |
▷ Maximum class complexity | 28.00 |
Average method complexity | 4.45 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 1 | 50.00% |
▷ Concrete classes | 1 | 50.00% |
▷ Final classes | 0 | 0.00% |
Methods | 11 | |
▷ Static methods | 1 | 9.09% |
▷ Public methods | 11 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 11 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 11 | 100.00% |
▷ Public constants | 11 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin