Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.12MB] [CPU: ▼287.99ms] Passed 4 tests
A check of server-side resources used by real.Kit
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.06 | 57.51 ▲5.62 |
Dashboard /wp-admin | 3.59 ▲0.18 | 43.39 ▲9.53 |
Posts /wp-admin/edit.php | 3.82 ▲0.18 | 46.74 ▲8.58 |
Add New Post /wp-admin/post-new.php | 7.05 ▲0.08 | 101.59 ▼1,175.69 |
Media Library /wp-admin/upload.php | 3.47 ▲0.17 | 38.59 ▲14.29 |
Add New /wp-admin/post-new.php?post_type=realkit_modal | 3.82 | 51.18 |
real.Kit /wp-admin/options-general.php?page=realkit_settings | 3.49 | 31.30 |
All Modals /wp-admin/edit.php?post_type=realkit_modal | 3.51 | 34.84 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 59 new files
Database: no new tables, 2 new options
New WordPress options |
---|
realkit_plugin_version |
realkit_translit_notice |
Browser metrics Passed 4 tests
Checking browser requirements for real.Kit
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 4,138 ▲416 | 16.37 ▲0.70 | 10.35 ▲3.59 | 2.06 ▼0.19 |
Dashboard /wp-admin | 3,128 ▲267 | 6.17 ▼0.02 | 121.15 ▼12.03 | 194.16 ▲31.04 |
Posts /wp-admin/edit.php | 2,767 ▲79 | 3.40 ▲0.17 | 63.25 ▼1.48 | 135.64 ▼7.48 |
Add New Post /wp-admin/post-new.php | 1,695 ▼16 | 17.12 ▼4.13 | 408.04 ▼60.02 | 154.25 ▼3.17 |
Media Library /wp-admin/upload.php | 1,745 ▲50 | 5.57 ▲0.04 | 142.54 ▲1.62 | 188.62 ▼1.27 |
Add New /wp-admin/post-new.php?post_type=realkit_modal | 2,944 | 10.18 | 190.13 | 194.54 |
real.Kit /wp-admin/options-general.php?page=realkit_settings | 2,519 | 2.79 | 54.52 | 154.70 |
All Modals /wp-admin/edit.php?post_type=realkit_modal | 1,412 | 3.19 | 59.69 | 109.80 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Uninstall script ran successfully
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
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
Almost there! Just fix the following items
- 43× PHP files trigger errors when accessed directly with GET requests (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 __() in wp-content/plugins/real-kit/mod/optimize/tpl/settings_revisions.php:2
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/real-kit/mod/translit/tpl/settings.php on line 5
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/real-kit/mod/thumbnails/tpl/field_add.php:2
- > 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 __() in wp-content/plugins/real-kit/mod/modals/tpl/metabox.php:2
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/real-kit/mod/translit/tpl/settings.php on line 3
- > PHP Warning
require_once(REALKIT_PLUGIN_DIR_MOD/thumbnails/class.php): failed to open stream: No such file or directory in wp-content/plugins/real-kit/mod/thumbnails/index.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/real-kit/mod/optimize/settings.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/real-kit/mod/maintenance/settings.php:3
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There are user-side issues you should fix
- > GET request to /wp-admin/edit.php?post_type=realkit_modal
- > Console-api (severe) in wp-admin/edit.php?post_type=realkit_modal+388:15
real.Kit" "Translit
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Screenshots: These screenshots need descriptions #2, #3, #4, #5, #6 in real-kit/assets to your readme.txt
- Tags: Please reduce the number of tags, currently 36 tag instead of maximum 10
real-kit/real-kit.php 85% from 13 tests
The main PHP file in "real.Kit" ver. 5.0.0 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Description: Keep the plugin description shorter than 140 characters (currently 214 characters long)
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
Good job! No executable or dangerous file extensions detected2,271 lines of code in 56 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 40 | 518 | 220 | 1,364 |
CSS | 8 | 13 | 2 | 334 |
JavaScript | 7 | 138 | 47 | 320 |
PO File | 1 | 92 | 107 | 253 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
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 | 55 | |
▷ Named functions | 6 | 10.91% |
▷ Anonymous functions | 49 | 89.09% |
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
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin