Benchmarks
Plugin footprint 23% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
These installer errors require your attention
- Install procedure had errors
- > Deprecated in wp-content/plugins/wp-linkpushing-buddy/wp-linkpush-buddy.php+12
Methods with the same name as their class will not be constructors in a future version of PHP; WPLinkpushBuddy has a deprecated constructor
Server metrics [RAM: ▼1.90MB] [CPU: ▼53.70ms] Passed 4 tests
An overview of server-side resources used by WP Linkpush Buddy
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.09 ▼1.37 | 4.99 ▼37.97 |
Dashboard /wp-admin | 2.11 ▼1.19 | 9.55 ▼41.38 |
Posts /wp-admin/edit.php | 2.11 ▼1.25 | 5.39 ▼39.13 |
Add New Post /wp-admin/post-new.php | 2.11 ▼3.78 | 6.37 ▼96.30 |
Media Library /wp-admin/upload.php | 2.11 ▼1.12 | 5.94 ▼25.55 |
WP Linkpush Buddy /wp-admin/options-general.php?page=WPLinkpushBuddy | 2.11 | 5.58 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 4 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_wplpbuddy |
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
wplpbuddy_db_version |
Browser metrics Passed 4 tests
An overview of browser requirements for WP Linkpush Buddy
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.23 ▼1.33 | 1.60 ▼0.20 | 42.77 ▼4.02 |
Dashboard /wp-admin | 2,207 ▲18 | 6.00 ▲1.06 | 102.38 ▼14.31 | 38.41 ▲3.38 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.01 ▼0.03 | 36.21 ▼4.47 | 34.70 ▼2.31 |
Add New Post /wp-admin/post-new.php | 6,248 ▲4,731 | 26.06 ▲8.26 | 867.79 ▲257.81 | 49.28 ▼4.55 |
Media Library /wp-admin/upload.php | 1,389 ▲4 | 4.20 ▼0.04 | 95.57 ▼3.73 | 44.21 ▼2.33 |
WP Linkpush Buddy /wp-admin/options-general.php?page=WPLinkpushBuddy | 788 | 2.03 | 22.71 | 24.96 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin did not uninstall without warnings or errors
- > Deprecated in wp-content/plugins/wp-linkpushing-buddy/wp-linkpush-buddy.php+12
Methods with the same name as their class will not be constructors in a future version of PHP; WPLinkpushBuddy has a deprecated constructor
- Zombie tables were found after uninstall: 1 table
- wp_wplpbuddy
- The uninstall procedure has failed, leaving 7 options in the database
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- wplpbuddy_db_version
- theysaidso_admin_options
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
- > GET request to /wp-admin/options-general.php?page=WPLinkpushBuddy
- > Deprecated in wp-content/plugins/wp-linkpushing-buddy/wp-linkpush-buddy.php+12
Methods with the same name as their class will not be constructors in a future version of PHP; WPLinkpushBuddy has a deprecated constructor
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=WPLinkpushBuddy
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- > GET request to /wp-admin/options-general.php?page=WPLinkpushBuddy
- > Notice in wp-content/plugins/wp-linkpushing-buddy/wp-linkpush-admin-form.php+2
Undefined index: wplpbuddy_hidden
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
The following issues need your attention
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-linkpushing-buddy/wp-linkpush-admin-form.php:28
- > PHP Notice
Undefined index: wplpbuddy_hidden in wp-content/plugins/wp-linkpushing-buddy/wp-linkpush-admin-form.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-linkpushing-buddy/wp-linkpush-buddy.php:18
- > 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
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need to be fixed:
- Donate link: Invalid url: ""
wp-linkpushing-buddy/wp-linkpush-buddy.php 85% from 13 tests
The main PHP file in "WP Linkpush Buddy" ver. 1.0 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Description: The description should be shorter than 140 characters (currently 213 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("wp-linkpushing-buddy.php" instead of "wp-linkpush-buddy.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected289 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 51 | 43 | 289 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 11.50 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 20.00 |
Average method complexity | 2.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 12 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 12 | 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 | 16 | |
▷ Global constants | 15 | 93.75% |
▷ Class constants | 1 | 6.25% |
▷ Public constants | 1 | 100.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