Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.54MB] [CPU: ▼27.01ms] Passed 4 tests
A check of server-side resources used by Search Limiter & Blocker
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.80 ▼0.66 | 13.00 ▼29.82 |
Dashboard /wp-admin | 3.24 ▼0.07 | 33.99 ▼15.02 |
Posts /wp-admin/edit.php | 3.17 ▼0.19 | 31.36 ▼14.45 |
Add New Post /wp-admin/post-new.php | 4.64 ▼1.25 | 47.17 ▼48.75 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 35.60 ▼0.22 |
Search Limiter & Blocker /wp-admin/options-general.php?page=search-limiter-blocker | 3.23 | 29.20 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Search Limiter & Blocker
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲47 | 13.20 ▼1.17 | 1.62 ▼0.38 | 40.06 ▼5.60 |
Dashboard /wp-admin | 2,210 ▲22 | 5.86 ▲0.98 | 96.57 ▼13.07 | 39.68 ▼7.87 |
Posts /wp-admin/edit.php | 2,090 ▲1 | 2.18 ▲0.12 | 39.98 ▲2.49 | 34.37 ▲1.78 |
Add New Post /wp-admin/post-new.php | 1,537 ▲18 | 23.28 ▲0.22 | 613.89 ▲21.74 | 50.85 ▼0.17 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.17 ▼0.02 | 96.16 ▼0.42 | 41.65 ▼1.68 |
Search Limiter & Blocker /wp-admin/options-general.php?page=search-limiter-blocker | 791 | 2.06 | 24.73 | 29.40 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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
The following issues need your attention
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/search-limiter-blocker/search-limiter-blocker.php:19
- > 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 97% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Please fix the following attributes:
- Screenshots: Add an image for screenshot #1 (The Settings Page screenshot-1.png)
search-limiter-blocker/search-limiter-blocker.php Passed 13 tests
The main file in "Search Limiter & Blocker" v. 1.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
71 characters long description:
Set and limit search count of visitors. Also, you can block visitor IP.
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
There were no executable files found in this plugin176 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 33 | 19 | 146 |
Markdown | 1 | 14 | 0 | 30 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 18.00 |
▷ Minimum class complexity | 18.00 |
▷ Maximum class complexity | 18.00 |
Average method complexity | 2.55 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.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 | 11 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 11 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 30.44KB | 8.93KB | ▼ 70.66% |