Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼9.12ms] Passed 4 tests
Analyzing server-side resources used by Antivirus Solution
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 37.45 ▼3.83 |
Dashboard /wp-admin | 3.31 ▼0.04 | 45.12 ▼13.75 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 43.37 ▼4.82 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 83.05 ▼14.06 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.96 ▼1.34 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] 67% from 3 tests
A short overview of filesystem and database impact
These are issues you should consider
- Illegal file modification found: 59 files (9,337.06KB) outside of "wp-content/plugins/antivirus-solution/" and "wp-content/uploads/"
- (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/themes/default/assets/fonts/brand-icons.svg
- (new file) siteguarding_tools.php
- (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/tmp/.empty
- (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/assets/semantic.min.css
- (new file) wp-content/plugins/wp-website-antivirus-protection/wp-website-antivirus-protection/assets/semantic.min.js
- (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/wp-website-antivirus-protection/antivirus.php
- ...
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Antivirus Solution
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 14.80 ▲0.42 | 1.93 ▲0.15 | 43.55 ▲1.10 |
Dashboard /wp-admin | 2,206 ▲18 | 5.84 ▲0.74 | 98.78 ▼1.93 | 37.65 ▼4.95 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.00 ▼0.03 | 34.78 ▼5.37 | 34.59 ▼4.16 |
Add New Post /wp-admin/post-new.php | 1,536 ▲16 | 23.34 ▲0.09 | 676.21 ▼18.29 | 58.31 ▼0.18 |
Media Library /wp-admin/upload.php | 1,391 ▼0 | 4.23 ▲0.03 | 95.68 ▼13.84 | 43.37 ▼3.28 |
Uninstaller [IO: ▲9.12MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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
Please take a closer look at the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/antivirus-solution/siteguarding_tools.php
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/antivirus-solution/antivirus-solution.php:10
- > 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)
No browser errors were detected
Optimizations
Plugin configuration 93% 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
Attributes that need to be fixed:
- Tags: There are too many tags (29 tag instead of maximum 10)
antivirus-solution/antivirus-solution.php 92% from 13 tests
The primary PHP file in "Antivirus Solution" version 2.21 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Description: The description should be shorter than 140 characters (currently 164 characters long)
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
No dangerous file extensions were detected405 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 plugin's cyclomatic complexity and code structure detailed below
No 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin