Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.08MB] [CPU: ▼5.93ms] Passed 4 tests
Analyzing server-side resources used by Easy Debug Info
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 39.50 ▼5.08 |
Dashboard /wp-admin | 3.41 ▲0.06 | 49.74 ▼14.79 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 51.43 ▲2.69 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 99.28 ▼1.72 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 39.23 ▼2.14 |
Easy Debug Info /wp-admin/tools.php?page=easydebuginfo | 3.31 | 33.30 |
Server storage [IO: ▲0.46MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 108 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
easydebuginfo_latest_report |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Easy Debug Info
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.72 ▲0.37 | 2.03 ▲0.00 | 44.34 ▲5.14 |
Dashboard /wp-admin | 2,193 ▲13 | 5.61 ▼0.04 | 91.16 ▼0.30 | 43.00 ▲2.23 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.97 ▼0.07 | 39.38 ▼2.84 | 38.74 ▲0.89 |
Add New Post /wp-admin/post-new.php | 1,529 ▲1 | 23.12 ▲0.02 | 682.22 ▼21.85 | 56.10 ▼10.08 |
Media Library /wp-admin/upload.php | 1,398 ▼2 | 4.18 ▼0.01 | 94.83 ▼15.08 | 46.11 ▲0.17 |
Easy Debug Info /wp-admin/tools.php?page=easydebuginfo | 891 | 2.16 | 22.08 | 37.89 |
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
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
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
Everything seems fine, however this is by no means 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
- 5× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/easy-debug-info/easy-debug-info.php
- > /wp-content/plugins/easy-debug-info/views/notices/legacy.php
- > /wp-content/plugins/easy-debug-info/bootstrap.php
- > /wp-content/plugins/easy-debug-info/uninstall.php
- > /wp-content/plugins/easy-debug-info/legacy.php
- 39× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'TestFixture' not found in wp-content/plugins/easy-debug-info/vendor/nesbot/carbon/tests/IssetTest.php:14
- > PHP Fatal error
Uncaught Error: Class 'TestFixture' not found in wp-content/plugins/easy-debug-info/vendor/nesbot/carbon/tests/CreateFromDateTest.php:14
- > PHP Fatal error
Uncaught Error: Class 'TestFixture' not found in wp-content/plugins/easy-debug-info/vendor/nesbot/carbon/tests/CopyTest.php:14
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit_Framework_TestCase' not found in wp-content/plugins/easy-debug-info/vendor/rych/bytesize/test/Formatter/MetricTest.php:7
- > PHP Fatal error
Uncaught Error: Class 'Console_Table' not found in wp-content/plugins/easy-debug-info/classes/Tools/ConsoleTable.php:11
- > PHP Fatal error
Uncaught Error: Class 'TestFixture' not found in wp-content/plugins/easy-debug-info/vendor/nesbot/carbon/tests/NowAndOtherStaticHelpersTest.php:14
- > PHP Fatal error
Uncaught Error: Class 'TestFixture' not found in wp-content/plugins/easy-debug-info/vendor/nesbot/carbon/tests/TestingAidsTest.php:14
- > PHP Fatal error
Uncaught Error: Class 'jdpowered\\EasyDebugInfo\\Reporters\\BaseReporter' not found in wp-content/plugins/easy-debug-info/classes/Reporters/StatisticsReporter.php:6
- > PHP Fatal error
Uncaught Error: Class 'jdpowered\\EasyDebugInfo\\Reporters\\BaseReporter' not found in wp-content/plugins/easy-debug-info/classes/Reporters/DatabaseReporter.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/easy-debug-info/views/tools-page/tools-page.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
7 plugin tags: statistics, debugging, constants, debug, themes...
easy-debug-info/easy-debug-info.php Passed 13 tests
This is the main PHP file of "Easy Debug Info" version 1.2.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
66 characters long description:
Making collecting extensive and extendable debug info finally easy
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected8,516 lines of code in 95 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 73 | 1,158 | 3,338 | 6,311 |
Markdown | 3 | 278 | 0 | 824 |
JSON | 5 | 0 | 0 | 491 |
XML | 4 | 3 | 0 | 411 |
Sass | 3 | 36 | 0 | 200 |
PO File | 2 | 52 | 56 | 186 |
CSS | 2 | 21 | 12 | 46 |
JavaScript | 1 | 11 | 12 | 19 |
SVG | 1 | 0 | 0 | 18 |
YAML | 1 | 0 | 0 | 10 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
Average class complexity | 7.12 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 96.00 |
Average method complexity | 1.35 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 9 | |
Interfaces | 2 | |
Traits | 0 | |
Classes | 47 | |
▷ Abstract classes | 2 | 4.26% |
▷ Concrete classes | 45 | 95.74% |
▷ Final classes | 2 | 4.44% |
Methods | 865 | |
▷ Static methods | 28 | 3.24% |
▷ Public methods | 770 | 89.02% |
▷ Protected methods | 94 | 10.87% |
▷ Private methods | 1 | 0.12% |
Functions | 15 | |
▷ Named functions | 5 | 33.33% |
▷ Anonymous functions | 10 | 66.67% |
Constants | 29 | |
▷ Global constants | 10 | 34.48% |
▷ Class constants | 19 | 65.52% |
▷ Public constants | 19 | 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
PNG images were not found in this plugin