Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼4.56ms] Passed 4 tests
An overview of server-side resources used by AdRotater Email Ad Reports
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 37.11 ▼6.39 |
Dashboard /wp-admin | 3.32 ▲0.01 | 46.68 ▼12.38 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 51.05 ▲1.80 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 92.93 ▼0.94 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.58 ▲1.47 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 15 new files
Database: 1 new table, 12 new options
New tables |
---|
wp_adsmeta |
New WordPress options |
---|
widget_theysaidso_widget |
dsp_subject |
theysaidso_admin_options |
can_compress_scripts |
dsp_cc |
dsp_email_template |
dsp_from_email |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
... |
Browser metrics Passed 4 tests
A check of browser resources used by AdRotater Email Ad Reports
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲29 | 13.40 ▼1.27 | 1.77 ▼0.21 | 39.54 ▼4.44 |
Dashboard /wp-admin | 2,206 ▲15 | 5.86 ▲0.97 | 108.41 ▼5.83 | 43.05 ▼3.49 |
Posts /wp-admin/edit.php | 2,089 ▲3 | 2.04 ▼0.01 | 39.71 ▲4.36 | 34.38 ▼1.62 |
Add New Post /wp-admin/post-new.php | 1,533 ▼1 | 23.34 ▲0.09 | 618.03 ▼56.05 | 62.24 ▼0.87 |
Media Library /wp-admin/upload.php | 1,382 ▼6 | 4.17 ▼0.05 | 93.57 ▼16.21 | 41.32 ▼6.35 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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× GET requests to PHP files have triggered server-side errors or warnings:
- > 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 a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% 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
- Tags: There are too many tags (33 tag instead of maximum 10)
adrotate-email-add-on/adrotate-email-add-on.php Passed 13 tests
The principal PHP file in "AdRotater Email Ad Reports" v. 1.1.0 is loaded by WordPress automatically on each request
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 file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin628 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
A short review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
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
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin