Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼7.70ms] Passed 4 tests
An overview of server-side resources used by Exclude Posts from Search Results
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 42.26 ▼1.19 |
Dashboard /wp-admin | 3.37 ▲0.02 | 49.86 ▼16.39 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 53.74 ▲4.77 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 88.56 ▼15.03 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 41.26 ▲1.80 |
Server storage [IO: ▲0.26MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 34 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
gwsepfsr_options |
widget_recent-comments |
can_compress_scripts |
gwsepfsr_user_options |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Exclude Posts from Search Results
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,813 ▲52 | 14.74 ▲0.38 | 1.60 ▼0.20 | 44.23 ▲0.36 |
Dashboard /wp-admin | 2,219 ▲39 | 5.63 ▼0.03 | 94.47 ▲0.58 | 41.80 ▼5.79 |
Posts /wp-admin/edit.php | 2,184 ▲84 | 2.08 ▲0.06 | 41.80 ▲4.87 | 38.76 ▼0.02 |
Add New Post /wp-admin/post-new.php | 6,250 ▲4,723 | 25.92 ▲2.64 | 928.56 ▲256.60 | 56.81 ▼8.84 |
Media Library /wp-admin/upload.php | 1,490 ▲90 | 4.25 ▲0.08 | 96.68 ▼2.19 | 44.07 ▼0.53 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 8 options
- widget_recent-posts
- gwsepfsr_user_options
- widget_theysaidso_widget
- theysaidso_admin_options
- gwsepfsr_options
- can_compress_scripts
- widget_recent-comments
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed:
- Screenshots: Please describe screenshot #7 in exclude-posts-from-search-results/assets to your readme.txt
exclude-posts-from-search-results/exclude-posts-from-search-results.php Passed 13 tests
The principal PHP file in "Exclude Posts from Search Results" v. 1.6 is loaded by WordPress automatically on each request
96 characters long description:
This plugin excludes posts and pages from site's search results without harming SEO performance.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin2,669 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 12 | 540 | 569 | 1,657 |
PHP | 3 | 68 | 18 | 709 |
CSS | 2 | 54 | 0 | 291 |
JavaScript | 2 | 2 | 0 | 8 |
SVG | 1 | 0 | 0 | 4 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 37.00 |
▷ Minimum class complexity | 25.00 |
▷ Maximum class complexity | 48.00 |
Average method complexity | 4.70 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 29 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 29 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 2 | 100.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin