Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▼1.12MB] [CPU: ▼41.55ms] Passed 4 tests
A check of server-side resources used by block-wpscan
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.85 ▼0.61 | 17.74 ▼21.43 |
Dashboard /wp-admin | 2.90 ▼0.41 | 18.41 ▼26.57 |
Posts /wp-admin/edit.php | 2.90 ▼0.46 | 17.33 ▼34.11 |
Add New Post /wp-admin/post-new.php | 2.90 ▼2.99 | 17.98 ▼84.10 |
Media Library /wp-admin/upload.php | 2.90 ▼0.33 | 19.73 ▼10.63 |
Server storage [IO: ▲9.20MB] [DB: ▲0.00MB] 67% from 3 tests
How much does this plugin use your filesystem and database?
Please try to fix the following items
- There were 1 file (0.00KB) illegally modified outside of "wp-content/plugins/block-wpscan/" and "wp-content/uploads/"
- (new file) wp-content/block-wpscan/cache_status
Filesystem: 96 new files
Database: no new tables, 8 new options
New WordPress options |
---|
ownserverip |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
curl_extension |
Browser metrics Passed 4 tests
Checking browser requirements for block-wpscan
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,826 ▲91 | 13.16 ▼1.42 | 1.72 ▼0.03 | 33.14 ▼18.05 |
Dashboard /wp-admin | 2,235 ▲47 | 5.79 ▼0.09 | 105.29 ▲0.13 | 75.97 ▲32.08 |
Posts /wp-admin/edit.php | 2,115 ▲26 | 1.99 ▼0.07 | 37.60 ▲1.10 | 37.94 ▲3.96 |
Add New Post /wp-admin/post-new.php | 1,691 ▲169 | 22.43 ▼1.13 | 608.06 ▼67.74 | 40.55 ▼13.18 |
Media Library /wp-admin/upload.php | 1,414 ▲23 | 4.23 ▲0.00 | 99.89 ▼3.01 | 73.25 ▲26.82 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/block-wpscan/block-wpscan.php+826
Undefined index: HTTP_ACCEPT_LANGUAGE
- Zombie WordPress options were found after uninstall: 8 options
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- curl_extension
- db_upgraded
- can_compress_scripts
- ownserverip
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 5× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/block-wpscan/assets/securimage/example_form.php
- > /wp-content/plugins/block-wpscan/assets/securimage/securimage_play.php
- > /wp-content/plugins/block-wpscan/assets/securimage/securimage_show.php
- > /wp-content/plugins/block-wpscan/block-wpscan.php
- > /wp-content/plugins/block-wpscan/assets/securimage/example_form.ajax.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Screenshot #1 (block wpscan) image not found
block-wpscan/block-wpscan.php Passed 13 tests
This is the main PHP file of "block-wpscan" version 0.7.6, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
121 characters long description:
This plugin block wpscan, Proxy and Tor. * If you using cache plugin or cache system, this plugin doesn't run properly. *
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
Good job! No executable or dangerous file extensions detected4,630 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 1,052 | 2,052 | 3,882 |
JavaScript | 5 | 54 | 33 | 330 |
Markdown | 1 | 69 | 0 | 175 |
PO File | 1 | 35 | 92 | 121 |
HTML | 2 | 26 | 29 | 82 |
CSS | 1 | 1 | 0 | 40 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 123.80 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 360.00 |
Average method complexity | 5.95 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 56.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 124 | |
▷ Static methods | 9 | 7.26% |
▷ Public methods | 73 | 58.87% |
▷ Protected methods | 51 | 41.13% |
▷ Private methods | 0 | 0.00% |
Functions | 19 | |
▷ Named functions | 19 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 46 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 46 | 100.00% |
▷ Public constants | 46 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
6 PNG files occupy 0.59MB with 0.27MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/icon.png | 20.70KB | 0.30KB | ▼ 98.53% |
assets/securimage/images/audio_icon.png | 1.64KB | 2.04KB | 0.00% |
assets/images/icon-256x256.png | 529.88KB | 2.20KB | ▼ 99.59% |
assets/securimage/backgrounds/bg6.png | 41.88KB | 29.04KB | ▼ 30.64% |
assets/securimage/images/loading.png | 1.11KB | 1.10KB | 0.44% |