Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼5.26ms] Passed 4 tests
This is a short check of server-side resources used by ReWord
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 38.86 ▼0.86 |
Dashboard /wp-admin | 3.33 ▼0.01 | 46.65 ▼14.26 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 47.46 ▲0.77 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 91.11 ▼6.69 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 36.54 ▲2.76 |
Settings /wp-admin/admin.php?page=reword-settings | 3.29 | 33.34 |
Help /wp-admin/admin.php?page=reword-help | 3.26 | 475.18 |
Reports /wp-admin/admin.php?page=reword-reports | 3.28 | 35.20 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 14 new files
Database: 1 new table, 14 new options
New tables |
---|
wp_reword |
New WordPress options |
---|
reword_send_stats |
can_compress_scripts |
reword_icon_pos |
widget_theysaidso_widget |
reword_plugin_version |
db_upgraded |
reword_email_new |
reword_banner_pos |
widget_recent-comments |
reword_access_cap |
... |
Browser metrics Passed 4 tests
ReWord: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,836 ▲89 | 14.26 ▼0.34 | 2.31 ▲0.56 | 46.46 ▲2.41 |
Dashboard /wp-admin | 2,212 ▲32 | 5.57 ▼0.08 | 92.26 ▲3.92 | 91.64 ▲55.26 |
Posts /wp-admin/edit.php | 2,135 ▲35 | 1.94 ▼0.06 | 38.59 ▼2.94 | 34.66 ▼0.83 |
Add New Post /wp-admin/post-new.php | 1,707 ▲158 | 22.08 ▼2.87 | 695.94 ▲56.37 | 47.86 ▼28.75 |
Media Library /wp-admin/upload.php | 1,435 ▲41 | 4.12 ▼0.19 | 94.92 ▼1.08 | 64.44 ▲23.41 |
Settings /wp-admin/admin.php?page=reword-settings | 1,050 | 2.02 | 27.54 | 27.49 |
Help /wp-admin/admin.php?page=reword-help | 886 | 1.99 | 24.97 | 27.00 |
Reports /wp-admin/admin.php?page=reword-reports | 949 | 2.00 | 26.83 | 27.07 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 13× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/reword/admin/php/reword-settings.php:17
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/reword/class/class-reword-reports-table.php on line 5
- > PHP Fatal error
Uncaught Error: Call to a member function display() on null in wp-content/plugins/reword/admin/php/reword-reports.php:25
- > PHP Notice
Undefined variable: active_tab in wp-content/plugins/reword/admin/php/reword-reports.php on line 21
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/reword/reword.php:29
- > PHP Notice
Undefined variable: active_tab in wp-content/plugins/reword/admin/php/reword-reports.php on line 22
- > PHP Notice
Undefined variable: reword_new_reports_count in wp-content/plugins/reword/admin/php/reword-reports.php on line 21
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/reword/admin/php/reword-help.php:21
- > PHP Notice
Undefined variable: reword_ignore_reports_count in wp-content/plugins/reword/admin/php/reword-reports.php on line 22
- > PHP Notice
Undefined variable: reword_show_delete_all in wp-content/plugins/reword/admin/php/reword-reports.php on line 16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
6 plugin tags: typo, mistakes, report, spellcheck, fix...
reword/reword.php 92% from 13 tests
The entry point to "ReWord" version 3.0 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 447 characters long)
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
Everything looks great! No dangerous files found in this plugin2,536 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 300 | 356 | 1,225 |
PHP | 6 | 55 | 439 | 992 |
CSS | 2 | 71 | 20 | 319 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
Average class complexity | 58.00 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 105.00 |
Average method complexity | 3.84 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 23.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 38 | |
▷ Static methods | 3 | 7.89% |
▷ Public methods | 26 | 68.42% |
▷ Protected methods | 1 | 2.63% |
▷ Private methods | 11 | 28.95% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
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 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
reword-icon.png | 0.72KB | 0.64KB | ▼ 10.08% |