Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.37MB] [CPU: ▲5.04ms] Passed 4 tests
Server-side resources used by real.Kit
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.01 ▲0.28 | 52.13 ▲4.72 |
Dashboard /wp-admin | 4.03 ▲0.40 | 67.95 ▼1.86 |
Posts /wp-admin/edit.php | 4.08 ▲0.40 | 65.33 ▲13.35 |
Add New Post /wp-admin/post-new.php | 6.56 ▲0.42 | 111.64 ▲3.94 |
Media Library /wp-admin/upload.php | 3.95 ▲0.46 | 56.74 ▲14.06 |
Add New /wp-admin/post-new.php?post_type=realkit_modal | 4.09 | 64.59 |
Translit /wp-admin/tools.php?page=realkit-translit-generator | 3.86 | 50.95 |
All Modals /wp-admin/edit.php?post_type=realkit_modal | 4.00 | 51.87 |
real.Kit /wp-admin/options-general.php?page=realkit_settings | 3.86 | 49.85 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 70 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
realkit_plugin_version |
can_compress_scripts |
widget_recent-posts |
realkit_translit_notice |
Browser metrics Passed 4 tests
Checking browser requirements for real.Kit
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,031 ▲270 | 13.86 ▼0.54 | 8.49 ▲6.85 | 33.21 ▼8.89 |
Dashboard /wp-admin | 2,354 ▲177 | 5.64 ▼0.02 | 88.66 ▼10.39 | 44.03 ▼1.02 |
Posts /wp-admin/edit.php | 2,181 ▲81 | 2.07 ▲0.01 | 38.97 ▲2.82 | 33.84 ▼2.01 |
Add New Post /wp-admin/post-new.php | 1,568 ▲42 | 23.18 ▲5.56 | 666.00 ▼30.94 | 64.85 ▲5.53 |
Media Library /wp-admin/upload.php | 1,448 ▲48 | 4.31 ▲0.05 | 100.72 ▼21.78 | 42.35 ▼6.04 |
Add New /wp-admin/post-new.php?post_type=realkit_modal | 2,289 | 7.64 | 179.37 | 63.55 |
Translit /wp-admin/tools.php?page=realkit-translit-generator | 839 | 2.12 | 26.99 | 26.69 |
All Modals /wp-admin/edit.php?post_type=realkit_modal | 1,099 | 2.16 | 33.03 | 31.17 |
real.Kit /wp-admin/options-general.php?page=realkit_settings | 1,800 | 1.94 | 26.39 | 38.94 |
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 does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means 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
The following issues need your attention
- 50× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/real-kit/mod/translit/tpl/settings.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/real-kit/mod/metrics/index.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/real-kit/mod/tags/index.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/real-kit/real-kit.php:25
- > PHP Warning
Use of undefined constant REALKIT_PLUGIN_DIR_MOD - assumed 'REALKIT_PLUGIN_DIR_MOD' (this will throw an Error in a future version of PHP) in wp-content/plugins/real-kit/mod/modals/index.php on line 3
- > PHP Warning
Use of undefined constant REALKIT_PLUGIN_DIR_MOD - assumed 'REALKIT_PLUGIN_DIR_MOD' (this will throw an Error in a future version of PHP) in wp-content/plugins/real-kit/mod/thumbnails/index.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/real-kit/mod/dashboard/index.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/real-kit/mod/dashboard/settings.php:3
- > PHP Fatal error
require_once(): Failed opening required 'REALKIT_PLUGIN_DIR_MOD/optimize/actions.php' (include_path='.:/usr/share/php') in wp-content/plugins/real-kit/mod/optimize/index.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/real-kit/mod/optimize/tpl/settings_revisions.php:2
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please take a look at the following user-side issues
- > GET request to /wp-admin/edit.php?post_type=realkit_modal
- > Console-api (severe) in wp-admin/edit.php?post_type=realkit_modal+356:15
real.Kit" "Translit
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Tags: There are too many tags (36 tag instead of maximum 10)
- Screenshots: Add descriptions for screenshots #2, #3, #4, #5, #6, #7, #8 in real-kit/assets to your readme.txt
real-kit/real-kit.php 85% from 13 tests
"real.Kit" version 5.1.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Description: Please don't use more than 140 characters for the plugin description (currently 214 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin2,704 lines of code in 67 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 47 | 599 | 251 | 1,589 |
CSS | 10 | 15 | 2 | 422 |
JavaScript | 9 | 175 | 55 | 413 |
PO File | 1 | 104 | 125 | 280 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 12.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 27.00 |
Average method complexity | 3.30 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 30 | |
▷ Static methods | 27 | 90.00% |
▷ Public methods | 30 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 70 | |
▷ Named functions | 7 | 10.00% |
▷ Anonymous functions | 63 | 90.00% |
Constants | 11 | |
▷ Global constants | 11 | 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
There were not PNG files found in your plugin