Benchmarks
Plugin footprint 23% 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
Please fix the following installer errors
- Install procedure validation failed for this plugin
- > Notice in wp-content/plugins/pushlive/pushlive.php+75
Undefined index: option_page
Server metrics [RAM: ▼1.86MB] [CPU: ▼49.42ms] Passed 4 tests
A check of server-side resources used by PushLive - Staging Sites to Live in One Click
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 37.37 ▼6.66 |
Dashboard /wp-admin | 2.09 ▼1.22 | 6.28 ▼44.51 |
Posts /wp-admin/edit.php | 2.09 ▼1.27 | 7.96 ▼36.53 |
Add New Post /wp-admin/post-new.php | 2.09 ▼3.80 | 6.01 ▼84.62 |
Media Library /wp-admin/upload.php | 2.09 ▼1.14 | 5.75 ▼32.01 |
Setup /wp-admin/admin.php?page=pushlive-admin-options | 2.83 | 18.10 |
Replicate (Soon!) /wp-admin/admin.php?page=pushlive-replicate-options | 2.83 | 17.40 |
PushLive /wp-admin/admin.php?page=pushlive-admin-tool | 2.79 | 16.13 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 26 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_pushlive |
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by PushLive - Staging Sites to Live in One Click
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,858 ▲87 | 14.47 ▲0.10 | 1.97 ▼0.19 | 41.62 ▼1.77 |
Dashboard /wp-admin | 2,233 ▲42 | 5.91 ▲0.88 | 96.02 ▼13.94 | 39.87 ▼2.80 |
Posts /wp-admin/edit.php | 2,119 ▲33 | 2.06 ▲0.04 | 36.68 ▲0.63 | 33.77 ▲0.46 |
Add New Post /wp-admin/post-new.php | 1,560 ▲25 | 23.17 ▲0.09 | 638.40 ▼41.13 | 56.25 ▼7.23 |
Media Library /wp-admin/upload.php | 1,424 ▲39 | 4.21 ▲0.06 | 96.72 ▼3.66 | 43.58 ▼0.65 |
Setup /wp-admin/admin.php?page=pushlive-admin-options | 1,171 | 1.77 | 27.32 | 34.54 |
Replicate (Soon!) /wp-admin/admin.php?page=pushlive-replicate-options | 965 | 1.75 | 23.16 | 31.58 |
PushLive /wp-admin/admin.php?page=pushlive-admin-tool | 879 | 1.73 | 29.28 | 34.86 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- The plugin did not uninstall gracefully
- > Notice in wp-content/plugins/pushlive/pushlive.php+75
Undefined index: option_page
- The plugin did not uninstall successfully, leaving 1 table in the database
- wp_pushlive
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- 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
Smoke test failed, please fix the following
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=pushlive-admin-tool
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method PushLive_Admin::init() should not be called statically
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=pushlive-admin-tool
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method PushLive_Admin::pushlive_menu() should not be called statically
- > GET request to /wp-admin/admin.php?page=pushlive-admin-options
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method PushLive_Admin::pushlive_options() should not be called statically
- > GET request to /wp-admin/admin.php?page=pushlive-admin-options
- > Warning in wp-admin/includes/template.php+1771
call_user_func() expects parameter 1 to be a valid callback, function 'admin_exclude_settings_callback' not found or invalid function name
- 13 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=pushlive-admin-options
- > Warning in wp-content/plugins/pushlive/views/exclude.php+40
in_array() expects parameter 2 to be array, bool given
- > GET request to /wp-admin/admin.php?page=pushlive-replicate-options
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method PushLive_Admin::pushlive_replicate() should not be called statically
- > GET request to /wp-admin/admin.php?page=pushlive-admin-tool
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method PushLive_Admin::pushlive_tools() should not be called statically
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
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
Attributes that require attention:
- Requires at least: Invalid plugin version format
- Tags: There are too many tags (28 tag instead of maximum 10)
pushlive/pushlive.php 92% from 13 tests
Analyzing the main PHP file in "PushLive - Staging Sites to Live in One Click" version 0.6.8
Please make the necessary changes and fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 393 characters long)
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 detected1,435 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 17 | 432 | 105 | 1,359 |
CSS | 1 | 17 | 6 | 76 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 12.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 33.00 |
Average method complexity | 2.15 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 63 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 53 | 84.13% |
▷ Protected methods | 10 | 15.87% |
▷ Private methods | 0 | 0.00% |
Functions | 38 | |
▷ Named functions | 36 | 94.74% |
▷ Anonymous functions | 2 | 5.26% |
Constants | 14 | |
▷ Global constants | 14 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/img/pushlive50x50.png | 3.59KB | 2.18KB | ▼ 39.20% |