Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼5.68ms] Passed 4 tests
This is a short check of server-side resources used by WP Webdoctor
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 36.48 ▼6.22 |
Dashboard /wp-admin | 3.31 ▲0.00 | 48.42 ▼10.20 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.07 ▼6.12 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 91.97 ▼0.18 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.12 ▲1.12 |
Server storage [IO: ▲0.03MB] [DB: ▲0.07MB] 67% from 3 tests
Input-output and database impact of this plugin
It is recommended to fix the following issues
- Illegal file modification found: 59 files (9,337.06KB) outside of "wp-content/plugins/wp-webdoctor/" and "wp-content/uploads/"
- (new file) wp-content/plugins/wp-website-antivirus-protection/wp-website-antivirus-protection/assets/themes/default/assets/fonts/brand-icons.svg
- (new file) wp-content/plugins/wp-website-antivirus-protection/wp-website-antivirus-protection/assets/themes/default/assets/fonts/brand-icons.eot
- (new file) wp-content/plugins/wp-website-antivirus-protection/wp-website-antivirus-protection/assets/semantic.min.css
- (new file) wp-content/plugins/wp-website-antivirus-protection/wp-website-antivirus-protection/assets/test.css
- (new file) wp-content/plugins/wp-website-antivirus-protection/wp-website-antivirus-protection/assets/index.html
- (new file) wp-content/plugins/wp-website-antivirus-protection/wp-website-antivirus-protection/antivirus.php
- (new file) wp-content/plugins/wp-website-antivirus-protection/wp-website-antivirus-protection/assets/semantic.min.js
- (new file) siteguarding_tools.php
- (new file) wp-content/plugins/wp-website-antivirus-protection/wp-website-antivirus-protection/assets/qrcode.js
- (new file) wp-content/plugins/wp-website-antivirus-protection/tmp/.empty
- ...
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for WP Webdoctor
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.22 ▼0.14 | 1.80 ▼0.07 | 46.58 ▲3.20 |
Dashboard /wp-admin | 2,195 ▲18 | 5.58 ▼0.05 | 88.51 ▼11.94 | 39.89 ▼3.32 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.05 ▲0.05 | 34.88 ▼2.31 | 36.10 ▲0.46 |
Add New Post /wp-admin/post-new.php | 1,545 ▲3 | 23.21 ▲0.11 | 665.60 ▼14.16 | 52.17 ▼2.87 |
Media Library /wp-admin/upload.php | 1,394 ▼9 | 4.24 ▲0.02 | 99.78 ▼0.48 | 44.40 ▼2.86 |
Uninstaller [IO: ▲9.12MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/wp-webdoctor/siteguarding_tools.php
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/wp-webdoctor/wp-webdoctor.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
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
Please fix the following attributes:
- Tags: Too many tags (34 tag instead of maximum 10); only the first 5 tags are used in your directory listing
wp-webdoctor/wp-webdoctor.php Passed 13 tests
This is the main PHP file of "WP Webdoctor" version 2.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
76 characters long description:
Powerful and effective wordpress security and firewall plugin for your site.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin405 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 105 | 37 | 403 |
Pascal | 1 | 0 | 0 | 2 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 15 | |
▷ Named functions | 15 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 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