Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▼1.94MB] [CPU: ▼51.87ms] Passed 4 tests
An overview of server-side resources used by WP Developers Homepage
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.04 ▼1.42 | 5.32 ▼38.24 |
Dashboard /wp-admin | 2.06 ▼1.24 | 8.68 ▼41.92 |
Posts /wp-admin/edit.php | 2.06 ▼1.29 | 8.11 ▼36.54 |
Add New Post /wp-admin/post-new.php | 2.06 ▼3.82 | 7.50 ▼90.77 |
Media Library /wp-admin/upload.php | 2.06 ▼1.16 | 7.00 ▼25.63 |
WP Developers Homepage /wp-admin/options-general.php?page=wp-developers-homepage-admin | 2.07 | 9.77 |
Server storage [IO: ▲2.08MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 687 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP Developers Homepage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,921 ▲186 | 13.74 ▼0.86 | 5.42 ▲3.60 | 40.84 ▼2.08 |
Dashboard /wp-admin | 2,238 ▲63 | 5.08 ▲0.07 | 119.08 ▲0.44 | 38.91 ▼1.90 |
Posts /wp-admin/edit.php | 2,124 ▲38 | 2.13 ▲0.15 | 42.92 ▲8.53 | 35.71 ▲3.06 |
Add New Post /wp-admin/post-new.php | 6,442 ▲4,908 | 20.56 ▼2.68 | 850.33 ▲159.88 | 36.15 ▼20.13 |
Media Library /wp-admin/upload.php | 1,420 ▲29 | 4.30 ▲0.11 | 100.03 ▲3.16 | 44.21 ▼0.96 |
WP Developers Homepage /wp-admin/options-general.php?page=wp-developers-homepage-admin | 956 | 2.21 | 29.78 | 28.62 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Uninstall procedure had uncaught errors
- > User notice in wp-includes/functions.php+5905
Function wp_register_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the wp-developers-homepage-blocks handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These errors were triggered by the plugin
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=wp-developers-homepage-admin
- > POST request to /wp-admin/admin-ajax.php
- > User notice in wp-includes/functions.php+5905
Function wp_register_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the wp-developers-homepage-blocks handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- > GET request to /wp-admin/options-general.php?page=wp-developers-homepage-admin
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=wp-developers-homepage-admin
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
- 4 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=wp-developers-homepage-admin
- > POST request to /wp-admin/admin-ajax.php
- > Notice in wp-content/plugins/wp-developers-homepage/admin/class-wp-developers-homepage-admin.php+777
Undefined index: refresh_timeout
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 10× PHP files output text when accessed directly:
- > /wp-content/plugins/wp-developers-homepage/vendor/simplehtmldom/simplehtmldom/example/example_extract_html.php
- > /wp-content/plugins/wp-developers-homepage/vendor/simplehtmldom/simplehtmldom/example/example_advanced_selector.php
- > /wp-content/plugins/wp-developers-homepage/vendor/simplehtmldom/simplehtmldom/example/scraping/example_scraping_slashdot.php
- > /wp-content/plugins/wp-developers-homepage/vendor/simplehtmldom/simplehtmldom/example/scraping/example_scraping_digg.php
- > /wp-content/plugins/wp-developers-homepage/vendor/simplehtmldom/simplehtmldom/example/scraping/example_scraping_imdb.php
- > /wp-content/plugins/wp-developers-homepage/admin/partials/wp-developers-homepage-admin-display.php
- > /wp-content/plugins/wp-developers-homepage/vendor/simplehtmldom/simplehtmldom/example/example_modify_contents.php
- > /wp-content/plugins/wp-developers-homepage/public/partials/wp-developers-homepage-public-display.php
- > /wp-content/plugins/wp-developers-homepage/vendor/simplehtmldom/simplehtmldom/example/example_callback.php
- > /wp-content/plugins/wp-developers-homepage/vendor/simplehtmldom/simplehtmldom/example/example_basic_selector.php
- 287× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Http\\Message\\Encoding\\FilteredStream' not found in wp-content/plugins/wp-developers-homepage/vendor/php-http/message/src/Encoding/CompressStream.php:13
- > PHP Fatal error
Uncaught Error: Class 'Github\\Api\\AbstractApi' not found in wp-content/plugins/wp-developers-homepage/vendor/knplabs/github-api/lib/Github/Api/GitData/References.php:13
- > PHP Fatal error
Uncaught Error: Class 'GuzzleHttp\\Cookie\\CookieJar' not found in wp-content/plugins/wp-developers-homepage/vendor/guzzlehttp/guzzle/src/Cookie/SessionCookieJar.php:8
- > PHP Fatal error
Trait 'Http\\Message\\Decorator\\MessageDecorator' not found in wp-content/plugins/wp-developers-homepage/vendor/php-http/message/src/Decorator/RequestDecorator.php on line 11
- > PHP Fatal error
Uncaught Error: Class 'Github\\Api\\AbstractApi' not found in wp-content/plugins/wp-developers-homepage/vendor/knplabs/github-api/lib/Github/Api/Issue.php:21
- > PHP Fatal error
Uncaught Error: Class 'Github\\Api\\AbstractApi' not found in wp-content/plugins/wp-developers-homepage/vendor/knplabs/github-api/lib/Github/Api/GitData.php:18
- > PHP Fatal error
Uncaught Error: Class 'Github\\Api\\Project\\AbstractProjectApi' not found in wp-content/plugins/wp-developers-homepage/vendor/knplabs/github-api/lib/Github/Api/Repository/Projects.php:8
- > PHP Fatal error
Uncaught Error: Class 'Github\\Api\\AbstractApi' not found in wp-content/plugins/wp-developers-homepage/vendor/knplabs/github-api/lib/Github/Api/CurrentUser.php:19
- > PHP Fatal error
Uncaught Error: Interface 'Http\\Client\\Common\\Plugin' not found in wp-content/plugins/wp-developers-homepage/vendor/php-http/client-common/src/Plugin/AddPathPlugin.php:17
- > PHP Fatal error
Uncaught Error: Interface 'Http\\Client\\Common\\Plugin' not found in wp-content/plugins/wp-developers-homepage/vendor/php-http/client-common/src/Plugin/AuthenticationPlugin.php:17
- > 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 96% from 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: theme, tickets, plugin, support, unresolved...
wp-developers-homepage/wp-developers-homepage.php 92% from 13 tests
The entry point to "WP Developers Homepage" version 1.1.0 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Domain Path: The domain path is invalid: folder "/languages" does not exist
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
No dangerous file extensions were detected37,755 lines of code in 649 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 450 | 6,124 | 17,132 | 24,929 |
Markdown | 157 | 3,040 | 0 | 7,623 |
JSON | 29 | 0 | 0 | 3,034 |
JavaScript | 5 | 157 | 336 | 1,688 |
CSS | 4 | 64 | 25 | 322 |
YAML | 3 | 8 | 0 | 153 |
HTML | 1 | 1 | 0 | 6 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 8.13 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 270.00 |
Average method complexity | 2.36 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 87.00 |
Code structure | ||
---|---|---|
Namespaces | 69 | |
Interfaces | 59 | |
Traits | 15 | |
Classes | 339 | |
▷ Abstract classes | 6 | 1.77% |
▷ Concrete classes | 333 | 98.23% |
▷ Final classes | 132 | 39.64% |
Methods | 2,106 | |
▷ Static methods | 218 | 10.35% |
▷ Public methods | 1,844 | 87.56% |
▷ Protected methods | 74 | 3.51% |
▷ Private methods | 188 | 8.93% |
Functions | 192 | |
▷ Named functions | 58 | 30.21% |
▷ Anonymous functions | 134 | 69.79% |
Constants | 135 | |
▷ Global constants | 35 | 25.93% |
▷ Class constants | 100 | 74.07% |
▷ Public constants | 87 | 87.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
No PNG images were found in this plugin