Benchmarks
Plugin footprint 40% 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
It is recommended to fix the following installer errors
- Install procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/kint-php-debugger/src/kint-php/kint/inc/kintParser.class.php+463
Array and string offset access syntax with curly braces is deprecated
Server metrics [RAM: ▼1.69MB] [CPU: ▼56.07ms] Passed 4 tests
An overview of server-side resources used by Kint PHP Debugger
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.30 ▼1.17 | 5.66 ▼34.39 |
Dashboard /wp-admin | 2.32 ▼0.99 | 6.45 ▼52.37 |
Posts /wp-admin/edit.php | 2.32 ▼1.04 | 10.70 ▼38.89 |
Add New Post /wp-admin/post-new.php | 2.32 ▼3.57 | 9.16 ▼98.63 |
Media Library /wp-admin/upload.php | 2.32 ▼0.91 | 7.10 ▼29.98 |
Server storage [IO: ▲0.36MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 45 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Kint PHP Debugger
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,835 ▲74 | 13.27 ▼1.02 | 1.68 ▼0.18 | 42.92 ▼3.90 |
Dashboard /wp-admin | 2,232 ▲32 | 4.81 ▼1.24 | 102.70 ▼3.10 | 37.96 ▼3.84 |
Posts /wp-admin/edit.php | 2,115 ▲12 | 2.00 ▼0.01 | 39.00 ▲1.38 | 40.79 ▲3.73 |
Add New Post /wp-admin/post-new.php | 1,563 ▲18 | 22.90 ▼0.44 | 639.29 ▼2.63 | 60.05 ▲6.80 |
Media Library /wp-admin/upload.php | 1,411 ▲11 | 4.17 ▼0.03 | 115.39 ▼2.25 | 49.12 ▲0.48 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Uninstall procedure had uncaught errors
- > Deprecated in wp-content/plugins/kint-php-debugger/src/kint-php/kint/inc/kintParser.class.php+463
Array and string offset access syntax with curly braces is deprecated
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% 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 fix the following
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/kint-php-debugger/assets/css/admin-bar.php
- > /wp-content/plugins/kint-php-debugger/src/kint-php/kint/examples/overview.php
- 16× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'KintObject' not found in wp-content/plugins/kint-php-debugger/src/kint-php/kint/parsers/objects/splfileinfo.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function KnowTheCode\\Kint_PHP_Debugger\\add_action() in wp-content/plugins/kint-php-debugger/src/admin-color.php:15
- > PHP Fatal error
Uncaught Error: Class 'kintParser' not found in wp-content/plugins/kint-php-debugger/src/kint-php/kint/parsers/custom/splobjectstorage.php:3
- > PHP Fatal error
Uncaught Error: Class 'kintParser' not found in wp-content/plugins/kint-php-debugger/src/kint-php/kint/parsers/custom/objectiterateable.php:3
- > PHP Fatal error
Uncaught Error: Class 'kintParser' not found in wp-content/plugins/kint-php-debugger/src/kint-php/kint/parsers/custom/fspath.php:3
- > PHP Fatal error
Uncaught Error: Class 'kintParser' not found in wp-content/plugins/kint-php-debugger/src/kint-php/kint/parsers/custom/xml.php:3
- > PHP Fatal error
Uncaught Error: Class 'kintParser' not found in wp-content/plugins/kint-php-debugger/src/kint-php/kint/parsers/custom/classstatics.php:3
- > PHP Fatal error
Uncaught Error: Class 'kintParser' not found in wp-content/plugins/kint-php-debugger/src/kint-php/kint/parsers/custom/microtime.php:3
- > PHP Fatal error
Uncaught Error: Class 'KintObject' not found in wp-content/plugins/kint-php-debugger/src/kint-php/kint/parsers/objects/smarty.php:3
- > PHP Fatal error
Uncaught Error: Class 'kintParser' not found in wp-content/plugins/kint-php-debugger/src/kint-php/kint/parsers/custom/color.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need your attention:
- Screenshots: Please add images for these screenshots: #1 (An example of what gets rendered in the browser when using 'd( $var )'.), #2 (Profile example from Kint.), #3 ("KINT ACTIVE" indicator in the WordPress admin bar.)
kint-php-debugger/plugin.php 77% from 13 tests
The main file in "Kint PHP Debugger" v. 2.0.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Description: The description should be shorter than 140 characters (currently 173 characters long)
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("kint-php-debugger.php" instead of "plugin.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected3,787 lines of code in 39 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 25 | 589 | 656 | 2,387 |
LESS | 5 | 134 | 39 | 505 |
CSS | 4 | 0 | 3 | 394 |
JavaScript | 2 | 70 | 15 | 362 |
Markdown | 2 | 47 | 0 | 110 |
JSON | 1 | 0 | 0 | 29 |
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.54 |
Average class complexity | 25.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 126.00 |
Average method complexity | 7.86 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 36.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 22 | |
▷ Abstract classes | 2 | 9.09% |
▷ Concrete classes | 20 | 90.91% |
▷ Final classes | 0 | 0.00% |
Methods | 79 | |
▷ Static methods | 53 | 67.09% |
▷ Public methods | 33 | 41.77% |
▷ Protected methods | 15 | 18.99% |
▷ Private methods | 31 | 39.24% |
Functions | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 10 | |
▷ Global constants | 2 | 20.00% |
▷ Class constants | 8 | 80.00% |
▷ Public constants | 8 | 100.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
3 PNG files occupy 0.20MB with 0.14MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 42.17KB | 9.38KB | ▼ 77.75% |
screenshot-2.png | 132.83KB | 38.28KB | ▼ 71.18% |
screenshot-3.png | 27.73KB | 8.43KB | ▼ 69.60% |