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
- This plugin did not install gracefully
- > Notice in wp-content/plugins/katorymnd-reaction-process/katorymnd_feedback.php+75
Undefined variable: katorymnd_wlse
Server metrics [RAM: ▲0.02MB] [CPU: ▼3.30ms] Passed 4 tests
Server-side resources used by Katorymnd Reaction
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 34.49 ▼11.54 |
Dashboard /wp-admin | 3.33 ▲0.03 | 46.55 ▼0.21 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 49.05 ▲3.19 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 92.72 ▼2.72 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 35.27 ▲1.28 |
Katorymnd Member reaction Settings /wp-admin/options-general.php?page=katorymnd_member_feeds_settings | 3.23 | 33.78 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 16 new files
Database: 1 new table, 8 new options
New tables |
---|
wp_katorymnd_feeback |
New WordPress options |
---|
katorymnd_wlse |
widget_theysaidso_widget |
db_upgraded |
katorymnd_kpzv |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Katorymnd Reaction
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,929 ▲172 | 13.66 ▼0.71 | 8.14 ▲5.92 | 40.74 ▲1.09 |
Dashboard /wp-admin | 2,214 ▲23 | 6.03 ▲0.13 | 95.65 ▼4.62 | 39.06 ▼3.15 |
Posts /wp-admin/edit.php | 2,100 ▲11 | 1.99 ▼0.05 | 41.55 ▲6.33 | 35.03 ▲1.15 |
Add New Post /wp-admin/post-new.php | 1,528 ▲116 | 23.22 ▲5.27 | 646.85 ▲5.89 | 57.98 ▲8.76 |
Media Library /wp-admin/upload.php | 1,399 ▲14 | 4.19 ▼0.02 | 94.44 ▼2.87 | 45.40 ▼0.57 |
Katorymnd Member reaction Settings /wp-admin/options-general.php?page=katorymnd_member_feeds_settings | 863 | 2.03 | 28.22 | 49.13 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- This plugin did not uninstall successfully, leaving 8 options in the database
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- katorymnd_wlse
- katorymnd_kpzv
- 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)
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 4× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/katorymnd-reaction-process/katorymnd_feebackAdmin.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/katorymnd-reaction-process/katorymnd_feedback.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/katorymnd-reaction-process/katorymnd_Showfeeback.php:44
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_get_current_user() in wp-content/plugins/katorymnd-reaction-process/katorymnd_feebackForm.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 81% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Tested up to: Version not formatted correctly
- Requires at least: Version not formatted correctly
- Requires php: Version not formatted correctly
katorymnd-reaction-process/katorymnd_feedback.php 92% from 13 tests
The primary PHP file in "Katorymnd Reaction" version 1.0 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("katorymnd-reaction-process.php" instead of "katorymnd_feedback.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin653 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 351 | 92 | 542 |
CSS | 1 | 19 | 7 | 110 |
JavaScript | 1 | 0 | 5 | 1 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 1.71 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.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 | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 12 | |
▷ Named functions | 12 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/GnyDvKN.png | 4.24KB | 1.48KB | ▼ 65.18% |
img/Q9BGTuy.png | 4.34KB | 1.51KB | ▼ 65.32% |