Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.13MB] [CPU: ▼306.45ms] Passed 4 tests
This is a short check of server-side resources used by Adcovery
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.71 ▲0.19 | 58.41 ▲1.33 |
Dashboard /wp-admin | 3.54 ▲0.13 | 33.47 ▼29.13 |
Posts /wp-admin/edit.php | 3.77 ▲0.12 | 36.83 ▼24.64 |
Add New Post /wp-admin/post-new.php | 7.07 ▲0.10 | 98.74 ▼1,168.55 |
Media Library /wp-admin/upload.php | 3.48 ▲0.18 | 27.04 ▼3.48 |
Adcovery /wp-admin/options-general.php?page=adcovery_admin_page | 3.40 | 25.18 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 22 new files
Database: no new tables, 2 new options
New WordPress options |
---|
adcovery_last_heartbeat |
adcovery_last_error_msg |
Browser metrics Passed 4 tests
Checking browser requirements for Adcovery
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,790 ▲35 | 14.65 ▼1.42 | 6.86 ▲1.08 | 2.23 ▼0.79 |
Dashboard /wp-admin | 2,897 ▲43 | 6.07 ▼0.18 | 127.02 ▼9.46 | 225.86 ▲70.48 |
Posts /wp-admin/edit.php | 2,692 ▼2 | 3.23 ▲0.00 | 65.13 ▼3.28 | 138.05 ▼5.99 |
Add New Post /wp-admin/post-new.php | 1,671 ▲16 | 20.42 ▼0.04 | 436.78 ▼6.83 | 190.49 ▲3.78 |
Media Library /wp-admin/upload.php | 1,708 ▲10 | 5.53 ▲0.01 | 141.52 ▼10.03 | 253.71 ▲59.39 |
Adcovery /wp-admin/options-general.php?page=adcovery_admin_page | 1,060 | 2.40 | 53.22 | 110.80 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/adcovery/uninstall.php+35
Constant ADCOVERY_PLUGIN_DIR already defined
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'Adcovery' not found in wp-content/plugins/adcovery/includes/class-adcovery-heartbeat.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function status_header() in wp-content/plugins/adcovery/uninstall.php:31
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/adcovery/admin/partials/adcovery-admin-display.php:20
- > PHP Fatal error
Uncaught Error: Class 'Adcovery' not found in wp-content/plugins/adcovery/admin/class-adcovery-admin.php:23
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
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:
- Screenshots: These screenshots lack descriptions #1, #2, #3 in adcovery/assets to your readme.txt
adcovery/adcovery.php Passed 13 tests
The main PHP file in "Adcovery" ver. 1.0.0 adds more information about the plugin and also serves as the entry point for this plugin
39 characters long description:
Resilient Advertising For Your Website.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin756 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 400 | 652 | 717 |
CSS | 1 | 3 | 0 | 39 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 7.18 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 2.06 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 64 | |
▷ Static methods | 10 | 15.62% |
▷ Public methods | 54 | 84.38% |
▷ Protected methods | 2 | 3.12% |
▷ Private methods | 8 | 12.50% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 11 | |
▷ Global constants | 11 | 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
There are no PNG files in this plugin