Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.16MB] [CPU: ▼5.01ms] Passed 4 tests
Analyzing server-side resources used by Hide from Search
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.13 | 38.27 ▼1.51 |
Dashboard /wp-admin | 3.52 ▲0.22 | 47.00 ▼3.31 |
Posts /wp-admin/edit.php | 3.57 ▲0.21 | 49.79 ▲3.12 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.16 | 87.76 ▼14.78 |
Media Library /wp-admin/upload.php | 3.38 ▲0.15 | 36.87 ▼0.42 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 33 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
hide_from_search_plugin_version |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Hide from Search
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.68 ▲0.32 | 1.72 ▼0.10 | 42.28 ▲1.69 |
Dashboard /wp-admin | 2,189 ▲12 | 5.52 ▼0.14 | 85.65 ▼3.21 | 40.00 ▲3.97 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.00 ▲0.02 | 35.27 ▼5.20 | 31.37 ▼5.58 |
Add New Post /wp-admin/post-new.php | 6,234 ▲4,699 | 20.85 ▲2.74 | 843.40 ▲207.48 | 96.41 ▲15.53 |
Media Library /wp-admin/upload.php | 1,394 ▼6 | 4.17 ▼0.05 | 96.44 ▼37.82 | 41.74 ▼7.90 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- hide_from_search_plugin_version
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% 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
The following issues need your attention
- 8× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Container\\ContainerExceptionInterface' not found in wp-content/plugins/mpress-hide-from-search/vendor/psr/container/src/NotFoundExceptionInterface.php:8
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Container\\ContainerExceptionInterface' not found in wp-content/plugins/mpress-hide-from-search/vendor/wp-forge/container/includes/ContainerException.php:13
- > PHP Fatal error
Uncaught Error: Interface 'WP_Forge\\Container\\ContainerExceptionInterface' not found in wp-content/plugins/mpress-hide-from-search/vendor/wp-forge/container/includes/NotFoundExceptionInterface.php:8
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Container\otFoundExceptionInterface' not found in wp-content/plugins/mpress-hide-from-search/vendor/wp-forge/container/includes/NotFoundException.php:13
- > PHP Fatal error
Uncaught Error: Class 'WP_Forge\\Container\\Container' not found in wp-content/plugins/mpress-hide-from-search/includes/Plugin.php:159
- > PHP Fatal error
Uncaught Error: Call to a member function query() on null in wp-content/plugins/mpress-hide-from-search/upgrades/1.1.php:5
- > PHP Fatal error
Uncaught Error: Interface 'WP_Forge\\Container\\ContainerInterface' not found in wp-content/plugins/mpress-hide-from-search/vendor/wp-forge/container/includes/Container.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function HideFromSearch\\get_option() in wp-content/plugins/mpress-hide-from-search/includes/Plugin.php:161
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
7 plugin tags: search, wordpress search, hide post, exclude from search, hide from search...
mpress-hide-from-search/mpress-hide-from-search.php Passed 13 tests
The main file in "Hide from Search" v. 1.1.6 serves as a complement to information provided in readme.txt and as the entry point to the plugin
84 characters long description:
Hide individual WordPress pages from search engines and/or WordPress search results.
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
Everything looks great! No dangerous files found in this plugin1,245 lines of code in 27 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 24 | 305 | 962 | 1,195 |
JavaScript | 2 | 4 | 1 | 47 |
Bourne Shell | 1 | 1 | 0 | 3 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 9.53 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 48.00 |
Average method complexity | 2.48 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 6 | |
Interfaces | 6 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 101 | |
▷ Static methods | 32 | 31.68% |
▷ Public methods | 97 | 96.04% |
▷ Protected methods | 1 | 0.99% |
▷ Private methods | 3 | 2.97% |
Functions | 10 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 10 | 100.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected