Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.02MB] [CPU: ▼295.31ms] Passed 4 tests
This is a short check of server-side resources used by AdRotater Email Ad Reports
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.01 | 54.34 ▲2.07 |
Dashboard /wp-admin | 3.41 ▲0.00 | 33.51 ▼0.18 |
Posts /wp-admin/edit.php | 3.65 ▲0.00 | 36.74 ▲0.51 |
Add New Post /wp-admin/post-new.php | 6.89 ▼0.09 | 93.20 ▼1,179.92 |
Media Library /wp-admin/upload.php | 3.30 ▲0.00 | 22.60 ▼1.66 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 15 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_adsmeta |
New WordPress options |
---|
dsp_subject |
dsp_from_email |
dsp_from |
dsp_email_template |
dsp_reply |
dsp_cc |
Browser metrics Passed 4 tests
AdRotater Email Ad Reports: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,795 ▲41 | 16.25 ▲0.47 | 7.49 ▲1.33 | 2.54 ▲0.04 |
Dashboard /wp-admin | 2,892 ▲38 | 6.15 ▼0.04 | 119.21 ▼16.72 | 152.56 ▼3.09 |
Posts /wp-admin/edit.php | 2,688 ▼3 | 3.25 ▲0.02 | 65.62 ▼1.07 | 139.52 ▼17.73 |
Add New Post /wp-admin/post-new.php | 1,661 ▼0 | 15.96 ▼0.42 | 430.30 ▲30.17 | 154.38 ▲0.67 |
Media Library /wp-admin/upload.php | 1,695 ▼3 | 5.49 ▼0.04 | 147.11 ▲2.22 | 187.94 ▲2.09 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Uninstall script ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting 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
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function adrotate_now() in wp-content/plugins/adrotate-email-add-on/admin/adrotate-email-main.php:66
- > 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 issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
- Tags: You are using too many tags: 33 tag instead of maximum 10
- Requires at least: Invalid version format
adrotate-email-add-on/adrotate-email-add-on.php Passed 13 tests
The primary PHP file in "AdRotater Email Ad Reports" version 1.1.0 is used by WordPress to initiate all plugin functionality
79 characters long description:
AdRotater Email Ad Reports allow you to send monthly ad reports to advertisers.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected628 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 172 | 422 | 628 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 5.43 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 20.00 |
Average method complexity | 2.24 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 25 | |
▷ Static methods | 5 | 20.00% |
▷ Public methods | 21 | 84.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 16.00% |
Functions | 3 | |
▷ Named functions | 3 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected