Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
You still need to fix the following installer errors
- Install procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/ad-box-widtget-for-az-invest-affiliate-program/az_invest_affiliate.php+105
Function create_function() is deprecated
Server metrics [RAM: ▼1.97MB] [CPU: ▼56.98ms] Passed 4 tests
Server-side resources used by Ad box widtget for az-invest affiliateprogram
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.07 ▼1.44 | 5.81 ▼32.25 |
Dashboard /wp-admin | 2.09 ▼1.30 | 6.26 ▼57.78 |
Posts /wp-admin/edit.php | 2.09 ▼1.31 | 5.83 ▼44.87 |
Add New Post /wp-admin/post-new.php | 2.09 ▼3.84 | 5.38 ▼93.00 |
Media Library /wp-admin/upload.php | 2.09 ▼1.18 | 6.86 ▼29.05 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_az_invest_affiliate |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
Ad box widtget for az-invest affiliateprogram: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲43 | 14.24 ▼0.11 | 1.72 ▼0.14 | 43.51 ▲0.53 |
Dashboard /wp-admin | 2,195 ▲15 | 5.62 ▼0.06 | 90.35 ▲3.75 | 38.65 ▼6.45 |
Posts /wp-admin/edit.php | 2,100 ▲21 | 1.96 ▼0.00 | 36.35 ▲1.31 | 33.97 ▼2.99 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 22.89 ▲0.02 | 688.90 ▲31.81 | 59.76 ▲11.41 |
Media Library /wp-admin/upload.php | 1,394 ▼9 | 4.23 ▲0.09 | 110.68 ▲11.65 | 47.27 ▲1.12 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Uninstall procedure had uncaught errors
- > Deprecated in wp-content/plugins/ad-box-widtget-for-az-invest-affiliate-program/az_invest_affiliate.php+105
Function create_function() is deprecated
- The uninstall procedure has failed, leaving 7 options in the database
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_az_invest_affiliate
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/ad-box-widtget-for-az-invest-affiliate-program/az_invest_affiliate.php:12
- > PHP Fatal error
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 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (http://www.az-invest.eu/downloads/plugin.png), #2 (http://www.az-invest.eu/downloads/plugin2.png)
- Donate link: Please fix this invalid url: ""
ad-box-widtget-for-az-invest-affiliate-program/az_invest_affiliate.php 92% from 13 tests
The main file in "Ad box widtget for az-invest affiliateprogram" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("ad-box-widtget-for-az-invest-affiliate-program.php" instead of "az_invest_affiliate.php")
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
Everything looks great! No dangerous files found in this plugin105 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 20 | 18 | 88 |
JavaScript | 1 | 4 | 0 | 14 |
CSS | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.07 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
2 PNG files occupy 0.15MB with 0.11MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/vtcbox.png | 84.16KB | 19.27KB | ▼ 77.11% |
images/vtrbox.png | 65.99KB | 18.55KB | ▼ 71.89% |