Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼13.22ms] Passed 4 tests
Analyzing server-side resources used by Wp advertising management
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.79 ▲0.33 | 35.42 ▲0.57 |
Dashboard /wp-admin | 3.69 ▲0.39 | 51.78 ▲0.09 |
Posts /wp-admin/edit.php | 3.79 ▲0.43 | 47.07 ▲3.23 |
Add New Post /wp-admin/post-new.php | 4.94 ▼0.95 | 42.74 ▼56.78 |
Media Library /wp-admin/upload.php | 3.63 ▲0.40 | 43.08 ▲11.58 |
Clienti /wp-admin/admin.php?page=option_adv_management_customer | 3.56 | 33.36 |
Vendite /wp-admin/admin.php?page=option_adv_management_sales | 3.56 | 45.26 |
Premium /wp-admin/admin.php?page=option_adv_management_premium | 3.56 | 31.98 |
Impostazioni /wp-admin/admin.php?page=option_adv_management_support | 3.56 | 35.05 |
ADV management /wp-admin/admin.php?page=option_adv_management | 3.56 | 36.29 |
Articoli /wp-admin/admin.php?page=option_adv_management_advertising | 3.53 | 35.25 |
Server storage [IO: ▲0.12MB] [DB: ▲0.01MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 30 new files
Database: 4 new tables, 10 new options
New tables |
---|
wp_adv_advertising |
wp_adv_paypal |
wp_adv_sales |
wp_adv_customers |
New WordPress options |
---|
widget_recent-posts |
db_adv_sales |
db_upgraded |
widget_theysaidso_widget |
db_adv_advertising |
db_adv_paypal |
widget_recent-comments |
db_adv_customers |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Wp advertising management
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,079 ▲318 | 13.88 ▼0.34 | 15.67 ▲13.95 | 45.53 ▲1.31 |
Dashboard /wp-admin | 2,230 ▲53 | 5.55 ▲0.01 | 101.68 ▼8.03 | 77.43 ▲35.40 |
Posts /wp-admin/edit.php | 2,153 ▲50 | 1.97 ▼0.01 | 36.82 ▼6.87 | 30.27 ▼5.34 |
Add New Post /wp-admin/post-new.php | 1,440 ▼95 | 22.69 ▲4.58 | 531.43 ▼98.92 | 155.69 ▲97.06 |
Media Library /wp-admin/upload.php | 1,450 ▲50 | 4.19 ▼0.02 | 94.26 ▼2.11 | 75.41 ▲35.94 |
Clienti /wp-admin/admin.php?page=option_adv_management_customer | 973 | 2.19 | 25.73 | 29.76 |
Vendite /wp-admin/admin.php?page=option_adv_management_sales | 941 | 2.19 | 24.68 | 24.63 |
Premium /wp-admin/admin.php?page=option_adv_management_premium | 1,138 | 3.35 | 40.13 | 55.45 |
Impostazioni /wp-admin/admin.php?page=option_adv_management_support | 1,099 | 3.11 | 33.84 | 37.92 |
ADV management /wp-admin/admin.php?page=option_adv_management | 1,000 | 3.27 | 32.15 | 34.91 |
Articoli /wp-admin/admin.php?page=option_adv_management_advertising | 1,093 | 2.03 | 22.52 | 26.09 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Almost there, just fix the following server-side errors
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=option_adv_management_advertising
- > Notice in wp-content/plugins/advertising-management/admin/class/advertising_view_class.php+76
Undefined index: action
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/advertising-management/wp_advertising_managment.php
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please take a look at the following user-side issues
- 6 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=option_adv_management_advertising
- > Network (severe)
wp-content/plugins/wp_advertising_management/template/images/wp_advertising_menu_icon.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=option_adv_management_premium
- > Network (severe)
https://wpadvertisingmanagement.com/wp-content/uploads/2019/02/Logo_COMPACT.png - Failed to load resource: net::ERR_NAME_NOT_RESOLVED
Optimizations
Plugin configuration 90% 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 your attention:
- Requires at least: Invalid version format
advertising-management/wp_advertising_managment.php 85% from 13 tests
The main PHP file in "Wp advertising management" ver. 1.0.3 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("advertising-management.php" instead of "wp_advertising_managment.php")
- Description: Please don't use more than 140 characters for the plugin description (currently 176 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
Everything looks great! No dangerous files found in this plugin2,252 lines of code in 27 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 25 | 800 | 655 | 2,192 |
CSS | 2 | 10 | 0 | 60 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 15.33 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 23.00 |
Average method complexity | 2.39 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 31 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 31 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 40 | |
▷ Named functions | 40 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.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 compressed PNG files occupy 0.00MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
template/images/icons8-stella-10.png | 0.28KB | 0.29KB | 0.00% |
template/images/wp_advertising_menu_icon.png | 0.35KB | 0.43KB | 0.00% |