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
Installer ran successfully
Server metrics [RAM: ▲0.46MB] [CPU: ▼0.03ms] Passed 4 tests
Analyzing server-side resources used by WP Dev Dashboard
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.95 ▲0.48 | 44.70 ▲0.82 |
Dashboard /wp-admin | 3.79 ▲0.49 | 53.16 ▲5.30 |
Posts /wp-admin/edit.php | 3.84 ▲0.49 | 48.38 ▲2.21 |
Add New Post /wp-admin/post-new.php | 6.33 ▲0.45 | 88.97 ▼3.35 |
Media Library /wp-admin/upload.php | 3.65 ▲0.43 | 37.28 ▲0.19 |
Server storage [IO: ▲0.68MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 75 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
WP Dev Dashboard: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,824 ▲78 | 13.75 ▼0.71 | 1.77 ▼0.25 | 45.54 ▲1.21 |
Dashboard /wp-admin | 2,227 ▲39 | 5.91 ▲1.02 | 101.39 ▼0.48 | 39.15 ▲2.34 |
Posts /wp-admin/edit.php | 2,116 ▲27 | 2.26 ▲0.09 | 37.35 ▼1.53 | 32.43 ▼1.26 |
Add New Post /wp-admin/post-new.php | 1,539 ▲25 | 23.04 ▲5.44 | 666.59 ▼7.02 | 52.77 ▼1.14 |
Media Library /wp-admin/upload.php | 1,414 ▲23 | 4.28 ▲0.10 | 97.33 ▼1.70 | 45.48 ▲1.03 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
SRP 0% 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
Please fix the following
- 9× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/wp-dev-dashboard/vendor/sunra/php-simple-html-dom-parser/Src/Sunra/PhpSimple/simplehtmldom_1_5/app/index.php
- > /wp-content/plugins/wp-dev-dashboard/vendor/sunra/php-simple-html-dom-parser/Src/Sunra/PhpSimple/simplehtmldom_1_5/testcase/memory_test.php
- > /wp-content/plugins/wp-dev-dashboard/public/partials/wp-dev-dashboard-public-display.php
- > /wp-content/plugins/wp-dev-dashboard/vendor/sunra/php-simple-html-dom-parser/Src/Sunra/PhpSimple/simplehtmldom_1_5/testcase/slick_test.php
- > /wp-content/plugins/wp-dev-dashboard/vendor/sunra/php-simple-html-dom-parser/Src/Sunra/PhpSimple/simplehtmldom_1_5/testcase/mass_test.php
- > /wp-content/plugins/wp-dev-dashboard/vendor/sunra/php-simple-html-dom-parser/Src/Sunra/PhpSimple/simplehtmldom_1_5/testcase/reader/memory_test.php
- > /wp-content/plugins/wp-dev-dashboard/admin/partials/wp-dev-dashboard-admin-display.php
- > /wp-content/plugins/wp-dev-dashboard/vendor/sunra/php-simple-html-dom-parser/Src/Sunra/PhpSimple/simplehtmldom_1_5/testcase/performance_test.php
- > /wp-content/plugins/wp-dev-dashboard/vendor/sunra/php-simple-html-dom-parser/Src/Sunra/PhpSimple/simplehtmldom_1_5/example/example_advanced_selector.php
- 4095× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Warning
preg_match(): Compilation failed: invalid range in character class at offset 4 in wp-content/plugins/wp-dev-dashboard/vendor/sunra/php-simple-html-dom-parser/Src/Sunra/PhpSimple/simplehtmldom_1_5/simple_html_dom.php on line 1364
- > PHP Warning
preg_match(): Compilation failed: invalid range in character class at offset 4 in wp-content/plugins/wp-dev-dashboard/vendor/sunra/php-simple-html-dom-parser/Src/Sunra/PhpSimple/simplehtmldom_1_5/simple_html_dom.php on line 1364
- > PHP Warning
preg_match(): Compilation failed: invalid range in character class at offset 4 in wp-content/plugins/wp-dev-dashboard/vendor/sunra/php-simple-html-dom-parser/Src/Sunra/PhpSimple/simplehtmldom_1_5/simple_html_dom.php on line 1364
- > PHP Warning
preg_match(): Compilation failed: invalid range in character class at offset 4 in wp-content/plugins/wp-dev-dashboard/vendor/sunra/php-simple-html-dom-parser/Src/Sunra/PhpSimple/simplehtmldom_1_5/simple_html_dom.php on line 1364
- > PHP Warning
preg_match(): Compilation failed: invalid range in character class at offset 4 in wp-content/plugins/wp-dev-dashboard/vendor/sunra/php-simple-html-dom-parser/Src/Sunra/PhpSimple/simplehtmldom_1_5/simple_html_dom.php on line 1364
- > PHP Warning
preg_match(): Compilation failed: invalid range in character class at offset 4 in wp-content/plugins/wp-dev-dashboard/vendor/sunra/php-simple-html-dom-parser/Src/Sunra/PhpSimple/simplehtmldom_1_5/simple_html_dom.php on line 1364
- > PHP Warning
preg_match(): Compilation failed: invalid range in character class at offset 4 in wp-content/plugins/wp-dev-dashboard/vendor/sunra/php-simple-html-dom-parser/Src/Sunra/PhpSimple/simplehtmldom_1_5/simple_html_dom.php on line 1364
- > PHP Warning
preg_match(): Compilation failed: invalid range in character class at offset 4 in wp-content/plugins/wp-dev-dashboard/vendor/sunra/php-simple-html-dom-parser/Src/Sunra/PhpSimple/simplehtmldom_1_5/simple_html_dom.php on line 1364
- > PHP Warning
preg_match(): Compilation failed: invalid range in character class at offset 4 in wp-content/plugins/wp-dev-dashboard/vendor/sunra/php-simple-html-dom-parser/Src/Sunra/PhpSimple/simplehtmldom_1_5/simple_html_dom.php on line 1364
- > PHP Warning
preg_match(): Compilation failed: invalid range in character class at offset 4 in wp-content/plugins/wp-dev-dashboard/vendor/sunra/php-simple-html-dom-parser/Src/Sunra/PhpSimple/simplehtmldom_1_5/simple_html_dom.php on line 1364
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
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
8 plugin tags: dashboard, requests, theme, unresolved, tickets...
wp-dev-dashboard/wp-dev-dashboard.php Passed 13 tests
The principal PHP file in "WP Dev Dashboard" v. 1.4 is loaded by WordPress automatically on each request
66 characters long description:
Easily see all of your unresolved plugin & theme support requests.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected12,331 lines of code in 64 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 43 | 1,102 | 1,701 | 5,413 |
HTML | 5 | 598 | 50 | 3,990 |
JavaScript | 7 | 740 | 663 | 2,435 |
CSS | 6 | 64 | 22 | 361 |
Markdown | 2 | 48 | 0 | 108 |
JSON | 1 | 0 | 0 | 24 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 42.73 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 197.00 |
Average method complexity | 4.06 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 57.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 148 | |
▷ Static methods | 8 | 5.41% |
▷ Public methods | 125 | 84.46% |
▷ Protected methods | 17 | 11.49% |
▷ Private methods | 6 | 4.05% |
Functions | 28 | |
▷ Named functions | 27 | 96.43% |
▷ Anonymous functions | 1 | 3.57% |
Constants | 21 | |
▷ Global constants | 21 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
vendor/sunra/php-simple-html-dom-parser/Src/Sunra/PhpSimple/simplehtmldom_1_5/manual/img/tab.png | 0.72KB | 0.70KB | ▼ 2.45% |