Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
These installer errors require your attention
- Install procedure had errors
- > Warning in wp-content/plugins/wp-inline-comment-errors/wp_inline_comment_errors.class.php+180
Use of undefined constant get_defined_messages - assumed 'get_defined_messages' (this will throw an Error in a future version of PHP)
Server metrics [RAM: ▼1.71MB] [CPU: ▼55.63ms] Passed 4 tests
An overview of server-side resources used by WP Inline Comment Errors
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.28 ▼1.19 | 5.31 ▼42.37 |
Dashboard /wp-admin | 2.30 ▼1.01 | 10.43 ▼41.60 |
Posts /wp-admin/edit.php | 2.30 ▼1.06 | 7.47 ▼44.87 |
Add New Post /wp-admin/post-new.php | 2.30 ▼3.59 | 5.96 ▼93.68 |
Media Library /wp-admin/upload.php | 2.30 ▼0.93 | 5.86 ▼31.44 |
WP Inline Comment Errors /wp-admin/options-general.php?page=wpice | 2.30 | 6.23 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP Inline Comment Errors
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲7 | 14.25 ▲0.02 | 2.83 ▲0.74 | 59.06 ▲15.93 |
Dashboard /wp-admin | 2,199 ▲25 | 5.48 ▼0.10 | 85.80 ▼8.29 | 40.14 ▼0.44 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 1.99 ▲0.00 | 35.02 ▲0.05 | 36.30 ▲2.11 |
Add New Post /wp-admin/post-new.php | 1,540 ▲14 | 18.32 ▼4.56 | 647.44 ▼39.65 | 79.70 ▲21.88 |
Media Library /wp-admin/upload.php | 1,404 ▲7 | 4.22 ▲0.02 | 100.07 ▼5.53 | 43.67 ▼1.78 |
WP Inline Comment Errors /wp-admin/options-general.php?page=wpice | 859 | 1.99 | 23.06 | 30.37 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- This plugin cannot be uninstalled
- > Warning in wp-content/plugins/wp-inline-comment-errors/wp_inline_comment_errors.class.php+180
Use of undefined constant get_defined_messages - assumed 'get_defined_messages' (this will throw an Error in a future version of PHP)
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=wpice
- > Warning in wp-content/plugins/wp-inline-comment-errors/wp_inline_comment_errors.class.php+180
Use of undefined constant get_defined_messages - assumed 'get_defined_messages' (this will throw an Error in a future version of PHP)
- > GET request to /wp-admin/options-general.php?page=wpice
- > Notice in wp-content/plugins/wp-inline-comment-errors/wp_inline_comment_errors.class.php+240
Undefined property: WP_Inline_Comment_Errors::$custom_error_messages
- > GET request to /wp-admin/options-general.php?page=wpice
- > Notice in wp-content/plugins/wp-inline-comment-errors/wp_inline_comment_errors_settings.php+104
Undefined variable: config
- > GET request to /wp-admin/options-general.php?page=wpice
- > Warning in wp-content/plugins/wp-inline-comment-errors/wp_inline_comment_errors_settings.php+128
ini_set(): Headers already sent. You cannot change the session module's ini settings at this time
- > GET request to /wp-admin/options-general.php?page=wpice
- > Notice in wp-content/plugins/wp-inline-comment-errors/wp_inline_comment_errors_settings.php+161
Undefined variable: items
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 6× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/wp-inline-comment-errors/examples/validation-functions.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-inline-comment-errors/wp_inline_comment_errors_settings.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/wp-inline-comment-errors/examples/wpice-comment-error-template.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function remove_filter() in wp-content/plugins/wp-inline-comment-errors/examples/get-error-from-math-captcha.php:11
- > PHP Fatal error
Uncaught Error: Class 'WP_Error' not found in wp-content/plugins/wp-inline-comment-errors/wp_inline_comment_errors.class.php:131
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/wp-inline-comment-errors/examples/sample-configuration.php:22
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes:
- Plugin Name: Please specify the plugin name on the first line (
=== wp-inline-comment-errors ===
)
wp-inline-comment-errors/wp_inline_comment_errors.php 85% from 13 tests
"WP Inline Comment Errors" version 1.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Description: Keep the plugin description shorter than 140 characters (currently 344 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("wp-inline-comment-errors.php" instead of "wp_inline_comment_errors.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin841 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 240 | 618 | 631 |
PO File | 2 | 40 | 40 | 188 |
CSS | 1 | 4 | 1 | 22 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 97.00 |
▷ Minimum class complexity | 97.00 |
▷ Maximum class complexity | 97.00 |
Average method complexity | 4.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.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 | 32 | |
▷ Static methods | 1 | 3.12% |
▷ Public methods | 32 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 16 | |
▷ Named functions | 16 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin