Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼12.27ms] Passed 4 tests
An overview of server-side resources used by AVP Website Solution
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 38.66 ▼1.33 |
Dashboard /wp-admin | 3.31 ▼0.04 | 48.78 ▼18.04 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 50.73 ▼0.98 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 84.56 ▼28.73 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 38.87 ▲3.42 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] 67% from 3 tests
Filesystem and database footprint
It is recommended to fix the following issues
- There were 59 files (9,337.06KB) illegally modified outside of "wp-content/plugins/avp-website-solution/" and "wp-content/uploads/"
- (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/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/semantic.min.js
- (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/test.css
- (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/tmp/.empty
- (new file) siteguarding_tools.php
- (new file) wp-content/plugins/wp-website-antivirus-protection/wp-website-antivirus-protection/assets/qrcode.js
- ...
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for AVP Website Solution
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲43 | 14.24 ▼0.16 | 1.71 ▼0.16 | 41.72 ▼0.08 |
Dashboard /wp-admin | 2,192 ▲15 | 5.65 ▲0.00 | 87.96 ▼5.38 | 42.39 ▼3.18 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.03 ▲0.03 | 35.94 ▼0.10 | 34.94 ▼2.05 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 22.69 ▼0.94 | 679.77 ▲13.36 | 55.32 ▼5.22 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.24 ▲0.03 | 95.40 ▼11.50 | 43.57 ▼5.01 |
Uninstaller [IO: ▲9.12MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
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 fix the following
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/avp-website-solution/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/avp-website-solution/avp-website-solution.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Tags: Please delete some tags, you are using 28 tag instead of maximum 10
avp-website-solution/avp-website-solution.php 92% from 13 tests
The primary PHP file in "AVP Website Solution" version 1.7.14 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 164 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous 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
Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued 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
PNG images were not found in this plugin