Benchmarks
Plugin footprint 40% 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 did not install without errors
- > Deprecated in wp-content/plugins/wp-exclude-from-homepage/wp-exclude-from-homepage.php+41
Methods with the same name as their class will not be constructors in a future version of PHP; EFHomepage has a deprecated constructor
Server metrics [RAM: ▼1.89MB] [CPU: ▼60.55ms] Passed 4 tests
This is a short check of server-side resources used by Name: WP Exclude From Homepage
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.15 ▼1.36 | 5.22 ▼40.81 |
Dashboard /wp-admin | 2.17 ▼1.22 | 6.94 ▼62.12 |
Posts /wp-admin/edit.php | 2.17 ▼1.23 | 5.75 ▼43.88 |
Add New Post /wp-admin/post-new.php | 2.17 ▼3.76 | 5.22 ▼95.40 |
Media Library /wp-admin/upload.php | 2.17 ▼1.10 | 6.73 ▼30.17 |
Exclude From Homepage /wp-admin/options-general.php?page=wp-exclude-from-homepage-settings | 2.17 | 5.66 |
Server storage [IO: ▲0.06MB] [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: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
Name: WP Exclude From Homepage: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,797 ▲51 | 14.26 ▲0.05 | 1.69 ▼0.04 | 44.76 ▼0.26 |
Dashboard /wp-admin | 2,203 ▲23 | 5.66 ▲0.04 | 95.44 ▼4.40 | 42.63 ▼1.94 |
Posts /wp-admin/edit.php | 2,108 ▲5 | 2.02 ▲0.00 | 36.95 ▼7.75 | 35.54 ▼0.73 |
Add New Post /wp-admin/post-new.php | 1,542 ▲16 | 23.14 ▲0.11 | 667.28 ▼29.95 | 62.45 ▲4.89 |
Media Library /wp-admin/upload.php | 1,408 ▲8 | 4.27 ▲0.06 | 110.07 ▲9.26 | 49.09 ▲2.26 |
Exclude From Homepage /wp-admin/options-general.php?page=wp-exclude-from-homepage-settings | 924 | 1.69 | 25.41 | 28.85 |
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
It is recommended to fix the following
- This plugin did not uninstall without warnings or errors
- > Deprecated in wp-content/plugins/wp-exclude-from-homepage/wp-exclude-from-homepage.php+41
Methods with the same name as their class will not be constructors in a future version of PHP; EFHomepage has a deprecated constructor
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=wp-exclude-from-homepage-settings
- > Deprecated in wp-content/plugins/wp-exclude-from-homepage/wp-exclude-from-homepage.php+41
Methods with the same name as their class will not be constructors in a future version of PHP; EFHomepage has a deprecated constructor
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=wp-exclude-from-homepage-settings
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- > GET request to /wp-admin/options-general.php?page=wp-exclude-from-homepage-settings
- > Warning in wp-content/plugins/wp-exclude-from-homepage/wp-exclude-from-homepage.php+180
Use of undefined constant - assumed ' ' (this will throw an Error in a future version of PHP)
- 10 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=wp-exclude-from-homepage-settings
- > POST request to /wp-cron.php?doing_wp_cron=1697551793.8827230930328369140625
- > Warning in wp-content/plugins/easy-age-verifier/lib/extras/wpApi.php+48
file_get_contents(): php_network_getaddresses: getaddrinfo failed: Name or service not known
- 10 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=wp-exclude-from-homepage-settings
- > POST request to /wp-cron.php?doing_wp_cron=1697551793.8827230930328369140625
- > Warning in wp-content/plugins/easy-age-verifier/lib/extras/wpApi.php+48
file_get_contents(http://www.fillyourtaproom.com/wp-json/wp/v2/posts?per_page=10): failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known
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
Please take a closer look at the following
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/wp-exclude-from-homepage/wp-exclude-from-homepage.php
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/wp-exclude-from-homepage/inc/wp-exclude-from-homepage-settings.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 81% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Donate link: Invalid URI found ("")
- Screenshots: Add a description for screenshot #0 in wp-exclude-from-homepage/assets to your readme.txt
- Plugin Name: Please specify the plugin name on the first line (
=== Name: WP Exclude From Homepage ===
)
wp-exclude-from-homepage/wp-exclude-from-homepage.php Passed 13 tests
The principal PHP file in "Name: WP Exclude From Homepage" v. 1.1.3 is loaded by WordPress automatically on each request
89 characters long description:
Exclude categories, tags, posts or pages from your homepage (without breaking pagination)
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
Everything looks great! No dangerous files found in this plugin612 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 223 | 26 | 268 |
PO File | 3 | 69 | 81 | 183 |
CSS | 1 | 13 | 4 | 143 |
JavaScript | 1 | 5 | 2 | 18 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.52 |
Average class complexity | 63.00 |
▷ Minimum class complexity | 63.00 |
▷ Maximum class complexity | 63.00 |
Average method complexity | 5.13 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 29.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 15 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 15 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
No PNG files were detected