Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Please fix the following installer errors
- The plugin cannot be installed
- > Deprecated in wp-content/plugins/pco-kint/vendor/raveren/kint/inc/kintParser.class.php+465
Array and string offset access syntax with curly braces is deprecated
Server metrics [RAM: ▲0.01MB] [CPU: ▼8.59ms] Passed 4 tests
This is a short check of server-side resources used by PCo Kint
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 37.67 ▼16.07 |
Dashboard /wp-admin | 3.31 ▲0.01 | 49.34 ▼2.58 |
Posts /wp-admin/edit.php | 3.42 ▲0.07 | 51.16 ▼5.82 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 92.24 ▼9.88 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.66 ▼0.21 |
Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 48 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for PCo Kint
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.19 ▼1.08 | 1.83 ▲0.10 | 42.98 ▼1.20 |
Dashboard /wp-admin | 2,209 ▲21 | 4.84 ▼0.08 | 97.64 ▼12.31 | 39.92 ▲2.90 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.02 ▼0.01 | 38.82 ▼4.22 | 36.72 ▲0.71 |
Add New Post /wp-admin/post-new.php | 1,514 ▼28 | 17.65 ▼0.46 | 645.99 ▲4.48 | 54.62 ▲4.18 |
Media Library /wp-admin/upload.php | 1,391 ▲9 | 4.20 ▼0.05 | 97.60 ▼0.30 | 42.56 ▼0.37 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% 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
Please take a closer look at the following
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/pco-kint/vendor/raveren/kint/examples/overview.php
- 14× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'kintParser' not found in wp-content/plugins/pco-kint/vendor/raveren/kint/parsers/custom/fspath.php:3
- > PHP Fatal error
Uncaught Error: Class 'kintParser' not found in wp-content/plugins/pco-kint/vendor/raveren/kint/parsers/custom/classmethods.php:3
- > PHP Fatal error
Uncaught Error: Class 'kintParser' not found in wp-content/plugins/pco-kint/vendor/raveren/kint/parsers/custom/xml.php:3
- > PHP Fatal error
Uncaught Error: Class 'kintVariableData' not found in wp-content/plugins/pco-kint/vendor/raveren/kint/inc/kintParser.class.php:3
- > PHP Fatal error
Uncaught Error: Class 'kintParser' not found in wp-content/plugins/pco-kint/vendor/raveren/kint/parsers/custom/objectiterateable.php:3
- > PHP Fatal error
Uncaught Error: Class 'kintParser' not found in wp-content/plugins/pco-kint/vendor/raveren/kint/parsers/custom/microtime.php:3
- > PHP Fatal error
Uncaught Error: Class 'KintObject' not found in wp-content/plugins/pco-kint/vendor/raveren/kint/parsers/objects/closure.php:3
- > PHP Fatal error
Uncaught Error: Class 'kintParser' not found in wp-content/plugins/pco-kint/vendor/raveren/kint/parsers/custom/json.php:3
- > PHP Fatal error
Uncaught Error: Class 'KintObject' not found in wp-content/plugins/pco-kint/vendor/raveren/kint/parsers/objects/smarty.php:3
- > PHP Fatal error
Uncaught Error: Class 'kintParser' not found in wp-content/plugins/pco-kint/vendor/raveren/kint/parsers/custom/timestamp.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration Passed 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
5 plugin tags: debug, kint, var_dump, print_r, krumo
pco-kint/pco-kint.php Passed 13 tests
The entry point to "PCo Kint" version 1.0.10 is a PHP file that has certain tags in its header comment area
71 characters long description:
Kint debugger for WordPress - a powerful and modern PHP debugging tool.
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
Everything looks great! No dangerous files found in this plugin4,604 lines of code in 45 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 30 | 787 | 840 | 3,125 |
LESS | 5 | 134 | 39 | 505 |
CSS | 4 | 0 | 3 | 397 |
JavaScript | 2 | 70 | 15 | 362 |
JSON | 3 | 0 | 0 | 113 |
Markdown | 1 | 39 | 0 | 102 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.53 |
Average class complexity | 26.41 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 124.00 |
Average method complexity | 6.76 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 35.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 27 | |
▷ Abstract classes | 4 | 14.81% |
▷ Concrete classes | 23 | 85.19% |
▷ Final classes | 0 | 0.00% |
Methods | 123 | |
▷ Static methods | 75 | 60.98% |
▷ Public methods | 58 | 47.15% |
▷ Protected methods | 20 | 16.26% |
▷ Private methods | 45 | 36.59% |
Functions | 8 | |
▷ Named functions | 8 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin