Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼5.03ms] Passed 4 tests
This is a short check of server-side resources used by Live Blogging Plus
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.08 | 38.10 ▼5.51 |
Dashboard /wp-admin | 3.39 ▲0.08 | 55.89 ▲1.02 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 51.78 ▲2.73 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 87.64 ▼14.64 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 38.58 ▼0.98 |
Live Blogging /wp-admin/options-general.php?page=live-blogging-options | 3.25 | 37.81 |
Add New /wp-admin/post-new.php?post_type=liveblog_entry | 3.36 | 46.03 |
Live Blog Entries /wp-admin/edit.php?post_type=liveblog_entry | 3.35 | 39.97 |
Server storage [IO: ▲0.18MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 18 new files
Database: no new tables, 14 new options
New WordPress options |
---|
widget_recent-comments |
liveblogging_update_effect |
db_upgraded |
liveblogging_twitter_request_secret |
liveblogging_date_style |
liveblogging_method |
widget_recent-posts |
liveblogging_style |
liveblogging_id |
liveblogging_twitter_request_token |
... |
Browser metrics Passed 4 tests
Live Blogging Plus: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,951 ▲165 | 13.96 ▼0.80 | 9.19 ▲7.24 | 46.25 ▲4.44 |
Dashboard /wp-admin | 2,249 ▲55 | 5.88 ▲0.05 | 102.89 ▼4.67 | 71.60 ▲24.37 |
Posts /wp-admin/edit.php | 2,140 ▲40 | 2.03 ▲0.01 | 35.03 ▼0.27 | 34.76 ▼4.06 |
Add New Post /wp-admin/post-new.php | 6,264 ▲4,733 | 19.04 ▼4.25 | 1,049.61 ▲427.18 | 61.39 ▲11.79 |
Media Library /wp-admin/upload.php | 1,432 ▲35 | 4.27 ▲0.12 | 107.92 ▲2.02 | 73.10 ▲27.72 |
Live Blogging /wp-admin/options-general.php?page=live-blogging-options | 1,083 | 2.05 | 25.70 | 32.65 |
Add New /wp-admin/post-new.php?post_type=liveblog_entry | 2,321 | 7.71 | 170.32 | 136.78 |
Live Blog Entries /wp-admin/edit.php?post_type=liveblog_entry | 1,120 | 1.97 | 34.01 | 33.07 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options were found after uninstall: 17 options
- liveblogging_style
- theysaidso_admin_options
- liveblogging_twitter_request_secret
- widget_recent-posts
- widget_recent-comments
- liveblogging_twitter_token
- liveblogging_id
- widget_theysaidso_widget
- liveblogging_enable_twitter
- liveblogging_method
- ...
Smoke tests 0% 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
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=live-blogging-options
- > Notice in wp-content/plugins/live-blogging-plus/twitteroauth/OAuth.php+385
Undefined index: port
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=live-blogging-options
- > Notice in wp-content/plugins/live-blogging-plus/live-blogging-plus.php+348
Undefined index: oauth_token
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=live-blogging-options
- > Notice in wp-content/plugins/live-blogging-plus/live-blogging-plus.php+352
Undefined index: oauth_token_secret
- > GET request to /wp-admin/post-new.php?post_type=liveblog_entry
- > User deprecated in wp-includes/functions.php+5828
Hook media_buttons_context is deprecated since version 3.5.0! Use media_buttons instead.
SRP 0% from 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
Please take a closer look at the following
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/live-blogging-plus/twittercallback.php
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/live-blogging-plus/live-blogging-plus.php:41
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There are user-side issues you should fix
- > GET request to /wp-admin/post-new.php?post_type=liveblog_entry
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: Cannot read properties of null (reading 'options')" "TypeError: Cannot read properties of null (reading 'options')\n at get_selected_liveblog_post_id (/wp-admin/post-new.php?post_type=liveblog_entry:80:61)\n at live_blogging_update_chatbox (/wp-admin/post-new.php?post_type=liveblog_entry:89:50)\n at HTMLDocument.\u003Canonymous> (/wp-admin/post-new.php?post_type=liveblog_entry:75:21)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)" undefined
- > GET request to /wp-admin/post-new.php?post_type=liveblog_entry
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28721 Uncaught TypeError: Cannot read properties of null (reading 'options')
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
7 plugin tags: blogging, event, javascript, live, micro...
live-blogging-plus/live-blogging-plus.php Passed 13 tests
"Live Blogging Plus" version 1.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
84 characters long description:
Plugin to support automatic live blogging and Twitter updates with link to liveblog.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin2,401 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 303 | 445 | 2,122 |
PO File | 2 | 124 | 143 | 278 |
JavaScript | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 7.92 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 29.00 |
Average method complexity | 2.15 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 2 | 16.67% |
▷ Concrete classes | 10 | 83.33% |
▷ Final classes | 0 | 0.00% |
Methods | 76 | |
▷ Static methods | 10 | 13.16% |
▷ Public methods | 65 | 85.53% |
▷ Protected methods | 2 | 2.63% |
▷ Private methods | 9 | 11.84% |
Functions | 46 | |
▷ Named functions | 46 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.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
4 compressed PNG files occupy 0.00MB
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/delete.png | 0.70KB | 0.72KB | 0.00% |
img/icon.png | 0.75KB | 0.75KB | 0.13% |
img/add.png | 0.72KB | 0.75KB | 0.00% |
twitteroauth/signin.png | 2.31KB | 1.70KB | ▼ 26.41% |