Benchmarks
Plugin footprint 23% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Please fix the following installer errors
- Install procedure had errors
- > User notice in wp-includes/functions.php+5905
Function register_uninstall_hook was called incorrectly. Only a static class method or function can be used in an uninstall hook. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.)
Server metrics [RAM: ▼1.74MB] [CPU: ▼50.26ms] Passed 4 tests
A check of server-side resources used by WP Link Builder
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.25 ▼1.21 | 4.92 ▼31.46 |
Dashboard /wp-admin | 2.27 ▼1.03 | 5.59 ▼40.94 |
Posts /wp-admin/edit.php | 2.27 ▼1.08 | 6.37 ▼41.62 |
Add New Post /wp-admin/post-new.php | 2.27 ▼3.62 | 6.34 ▼87.03 |
Media Library /wp-admin/upload.php | 2.27 ▼0.96 | 7.47 ▼26.40 |
Configuration /wp-admin/admin.php?page=wp_linkbuilder_menuPageConfiguration | 2.27 | 7.77 |
Backlinks /wp-admin/admin.php?page=wp_linkbuilder_menuPageBacklinks | 2.27 | 8.62 |
WP LinkBuilder /wp-admin/admin.php?page=wp_linkbuilder_menuPages | 2.27 | 6.25 |
Wizard /wp-admin/admin.php?page=wp_linkbuilder_menuPageWizard | 2.27 | 6.61 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 17 new files
Database: 1 new table, 13 new options
New tables |
---|
wp_wp_linkbuilder_backlink |
New WordPress options |
---|
wp_linkbuilder_enable_backlink_promotion |
widget_recent-posts |
db_upgraded |
wp_linkbuilder_version |
wp_linkbuilder_auto_backlink_promotion |
widget_theysaidso_widget |
theysaidso_admin_options |
wp_linkbuilder_db_version |
widget_recent-comments |
wp_linkbuilder_promotion_timeout |
... |
Browser metrics Passed 4 tests
A check of browser resources used by WP Link Builder
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,838 ▲77 | 14.24 ▼0.02 | 1.53 ▼0.14 | 39.58 ▼12.75 |
Dashboard /wp-admin | 2,241 ▲61 | 5.72 ▲0.03 | 96.49 ▲9.77 | 39.38 ▲1.51 |
Posts /wp-admin/edit.php | 2,136 ▲36 | 2.18 ▲0.16 | 36.96 ▼1.27 | 32.65 ▼1.75 |
Add New Post /wp-admin/post-new.php | 1,575 ▲58 | 23.79 ▲4.89 | 636.54 ▲186.84 | 33.84 ▼20.90 |
Media Library /wp-admin/upload.php | 1,468 ▲68 | 4.48 ▲0.29 | 90.86 ▼10.46 | 40.92 ▼1.96 |
Configuration /wp-admin/admin.php?page=wp_linkbuilder_menuPageConfiguration | 1,031 | 1.98 | 30.94 | 29.47 |
Backlinks /wp-admin/admin.php?page=wp_linkbuilder_menuPageBacklinks | 880 | 1.97 | 29.40 | 28.55 |
WP LinkBuilder /wp-admin/admin.php?page=wp_linkbuilder_menuPages | 1,030 | 1.96 | 31.94 | 38.87 |
Wizard /wp-admin/admin.php?page=wp_linkbuilder_menuPageWizard | 871 | 1.95 | 30.86 | 26.71 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- The plugin did not uninstall gracefully
- > User notice in wp-includes/functions.php+5905
Function register_uninstall_hook was called incorrectly. Only a static class method or function can be used in an uninstall hook. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.)
- Zombie tables were found after uninstall: 1 table
- wp_wp_linkbuilder_backlink
- Zombie WordPress options detected upon uninstall: 13 options
- widget_theysaidso_widget
- widget_recent-posts
- wp_linkbuilder_promotion_timeout
- can_compress_scripts
- theysaidso_admin_options
- wp_linkbuilder_enable_backlink_promotion
- wp_linkbuilder_auto_backlink_promotion
- wp_linkbuilder_db_version
- db_upgraded
- widget_recent-comments
- ...
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
Almost there, just fix the following server-side errors
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wp_linkbuilder_menuPageWizard
- > User notice in wp-includes/functions.php+5905
Function register_uninstall_hook was called incorrectly. Only a static class method or function can be used in an uninstall hook. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.)
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wp_linkbuilder_menuPageWizard
- > Notice in wp-content/plugins/wp-linkbuilder/plugin/plugin_class.inc.php+637
Undefined index: HTTP_REFERER
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wp_linkbuilder_menuPageWizard
- > Notice in wp-content/plugins/wp-linkbuilder/plugin/pages/configuration_code.inc.php+28
Undefined index: function
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wp_linkbuilder_menuPageBacklinks
- > Notice in wp-content/plugins/wp-linkbuilder/plugin/pages/backlinks_code.inc.php+14
Undefined index: wp_linkbuilder_function
- > GET request to /wp-admin/admin.php?page=wp_linkbuilder_menuPageBacklinks
- > Notice in wp-content/plugins/wp-linkbuilder/plugin/pages/backlinks_code.inc.php+22
Undefined index: _PAGE
- > GET request to /wp-admin/admin.php?page=wp_linkbuilder_menuPageBacklinks
- > Notice in wp-content/plugins/wp-linkbuilder/plugin/pages/backlinks_code.inc.php+22
Undefined variable: paging_query
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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that need to be fixed:
- Tags: You are using too many tags: 14 tag instead of maximum 10
- Screenshots: Please add images for these screenshots: #1 (In the "backlink manager" you can find all the information about your backlinks.), #2 (Here you can configure the settings like auto-promotion or timeouts.)
wp-linkbuilder/wp-linkbuilder.php Passed 13 tests
The main PHP script in "WP Link Builder" version 1.2.0.0 is automatically included on every request by WordPress
96 characters long description:
The WP Link Builder plugin detects and promotes your backlinks: "This is like SEO on autopilot".
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin1,180 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 207 | 173 | 1,016 |
CSS | 1 | 16 | 0 | 119 |
JavaScript | 1 | 13 | 11 | 45 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 92.00 |
▷ Minimum class complexity | 92.00 |
▷ Maximum class complexity | 92.00 |
Average method complexity | 3.94 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 23.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 | 31 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 31 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected