Benchmarks
Plugin footprint 58% 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
You still need to fix the following installer errors
- The plugin cannot be installed
- > User deprecated in wp-includes/functions.php+5747
Function add_option was called with an argument that is deprecated since version 2.3.0 with no alternative available.
Server metrics [RAM: ▲0.06MB] [CPU: ▼4.19ms] Passed 4 tests
An overview of server-side resources used by Zoorum Comments
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.09 | 44.04 ▲1.02 |
Dashboard /wp-admin | 3.39 ▲0.08 | 49.66 ▼0.97 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.17 ▼8.58 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 89.07 ▼8.23 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 38.87 ▲4.37 |
Zoorum Comments /wp-admin/options-general.php?page=zoorum-comments/zoorum-comments.php | 3.26 | 36.05 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 13 new files
Database: no new tables, 10 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
zoorum_show_error |
widget_theysaidso_widget |
widget_zoorum_feed_widget |
zoorum_url |
zoorum_api_key |
Browser metrics Passed 4 tests
An overview of browser requirements for Zoorum Comments
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,898 ▲98 | 13.77 ▼0.85 | 7.15 ▲5.22 | 47.48 ▲8.61 |
Dashboard /wp-admin | 2,215 ▲12 | 4.96 ▲0.12 | 115.94 ▲12.77 | 40.57 ▼1.56 |
Posts /wp-admin/edit.php | 2,099 ▲13 | 2.04 ▲0.06 | 46.36 ▲10.88 | 37.07 ▲4.45 |
Add New Post /wp-admin/post-new.php | 1,521 ▲7 | 23.28 ▲5.76 | 644.68 ▼28.14 | 48.37 ▼8.13 |
Media Library /wp-admin/upload.php | 1,391 ▼0 | 4.27 ▲0.01 | 100.75 ▲1.13 | 41.33 ▼3.98 |
Zoorum Comments /wp-admin/options-general.php?page=zoorum-comments/zoorum-comments.php | 826 | 2.14 | 28.93 | 26.00 |
Uninstaller [IO: ✅] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin did not uninstall successfully, leaving 10 options in the database
- widget_recent-comments
- zoorum_url
- widget_theysaidso_widget
- zoorum_api_key
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- zoorum_show_error
- can_compress_scripts
- widget_zoorum_feed_widget
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
These errors were triggered by the plugin
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=zoorum-comments/zoorum-comments.php
- > Notice in wp-content/plugins/zoorum-comments/zoorum-comments-admin.php+12
Undefined index: submit
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
Please fix the following items
- 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/zoorum-comments/inc/zoorum-comments-utils.php:35
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/zoorum-comments/zoorum-comments.php:45
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/zoorum-comments/inc/zoorum-comments-widget.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function post_password_required() in wp-content/plugins/zoorum-comments/zoorum-comments-tpl.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
2 plugin tags: comments, forum
zoorum-comments/zoorum-comments.php 92% from 13 tests
The entry point to "Zoorum Comments" version 0.9 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 142 characters long)
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
There were no executable files found in this plugin1,030 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 89 | 116 | 509 |
JavaScript | 1 | 20 | 23 | 330 |
CSS | 1 | 5 | 1 | 101 |
PO File | 1 | 34 | 36 | 90 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 26 | |
▷ Named functions | 26 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
No PNG files were detected