Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼4.24ms] Passed 4 tests
This is a short check of server-side resources used by Easy Liveblogs
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 36.04 ▼4.40 |
Dashboard /wp-admin | 3.37 ▲0.07 | 51.26 ▲2.00 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 48.46 ▲0.51 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 80.24 ▼13.27 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 31.86 ▲0.22 |
Settings /wp-admin/edit.php?post_type=elb_entry&page=elb-settings | 3.26 | 30.87 |
Add New /wp-admin/post-new.php?post_type=elb_entry | 3.43 | 50.05 |
All Liveblog Entries /wp-admin/edit.php?post_type=elb_entry | 3.33 | 35.41 |
Server storage [IO: ▲0.45MB] [DB: ▲0.07MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 45 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Easy Liveblogs
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,947 ▲176 | 14.03 ▼0.71 | 23.48 ▲21.46 | 38.81 ▼6.69 |
Dashboard /wp-admin | 2,239 ▲50 | 4.88 ▼1.00 | 110.30 ▲6.82 | 42.86 ▲6.22 |
Posts /wp-admin/edit.php | 2,122 ▲33 | 2.05 ▼0.09 | 39.55 ▲3.08 | 38.19 ▲3.87 |
Add New Post /wp-admin/post-new.php | 6,253 ▲4,720 | 26.24 ▲2.92 | 824.03 ▲191.75 | 49.31 ▼7.98 |
Media Library /wp-admin/upload.php | 1,424 ▲36 | 4.29 ▲0.07 | 96.38 ▼9.09 | 41.00 ▼4.08 |
Settings /wp-admin/edit.php?post_type=elb_entry&page=elb-settings | 1,030 | 2.03 | 21.41 | 28.35 |
Add New /wp-admin/post-new.php?post_type=elb_entry | 2,248 | 7.64 | 174.96 | 61.65 |
All Liveblog Entries /wp-admin/edit.php?post_type=elb_entry | 1,099 | 1.95 | 30.58 | 32.21 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
SRP 50% 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
Almost there! Just fix the following items
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function elb_display_social_sharing() in wp-content/plugins/easy-liveblogs/templates/sharing.php:1
- > PHP Warning
Unterminated comment starting line 2 in wp-content/plugins/easy-liveblogs/assets/js/index.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/easy-liveblogs/templates/post.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 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
1 plugin tags: liveblog
easy-liveblogs/easy-liveblogs.php Passed 13 tests
"Easy Liveblogs" version 2.3.5's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
74 characters long description:
Live blogging made easy with the Easy Liveblogs plugin from vanrossum.dev.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected2,423 lines of code in 39 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 27 | 393 | 541 | 1,362 |
CSS | 6 | 60 | 16 | 651 |
PO File | 2 | 165 | 182 | 392 |
Markdown | 1 | 8 | 0 | 10 |
JavaScript | 3 | 0 | 2 | 8 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 1.51 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 42 | |
▷ Static methods | 8 | 19.05% |
▷ Public methods | 39 | 92.86% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 7.14% |
Functions | 71 | |
▷ Named functions | 70 | 98.59% |
▷ Anonymous functions | 1 | 1.41% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin