Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.11MB] [CPU: ▼11.73ms] 75% from 4 tests
Server-side resources used by Increase Rev Ad Manager
Please fix the following
- CPU: Try to keep total CPU usage under 500.00ms (currently 814.20ms on /wp-admin/admin.php?page=ir-manager/irmngr_option.php)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.14 | 25.53 ▼11.03 |
Dashboard /wp-admin | 3.65 ▲0.30 | 50.24 ▼10.23 |
Posts /wp-admin/edit.php | 3.77 ▲0.42 | 46.22 ▲0.95 |
Add New Post /wp-admin/post-new.php | 5.52 ▼0.36 | 64.56 ▼26.59 |
Media Library /wp-admin/upload.php | 3.58 ▲0.35 | 44.01 ▲11.73 |
Violations /wp-admin/admin.php?page=ir-manager/irmngr_option2.php | 3.61 | 961.22 |
Setting /wp-admin/admin.php?page=ir-manager/irmngr_option.php | 3.68 | 814.20 |
Server storage [IO: ▲0.92MB] [DB: ▲0.07MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 24 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Increase Rev Ad Manager
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,063 ▲302 | 23.54 ▲9.24 | 1.88 ▲0.17 | 44.18 ▼1.78 |
Dashboard /wp-admin | 2,233 ▲56 | 12.61 ▲6.99 | 359.59 ▲275.14 | 69.05 ▲30.36 |
Posts /wp-admin/edit.php | 2,377 ▲277 | 14.20 ▲12.26 | 145.32 ▲108.47 | 38.13 ▼0.68 |
Add New Post /wp-admin/post-new.php | 6,482 ▲4,945 | 26.96 ▲8.65 | 865.85 ▲261.63 | 40.37 ▼26.49 |
Media Library /wp-admin/upload.php | 1,267 ▼127 | 12.67 ▲8.54 | 197.47 ▲95.16 | 41.87 ▼0.64 |
Violations /wp-admin/admin.php?page=ir-manager/irmngr_option2.php | 1,200 | 14.61 | 165.99 | 43.19 |
Setting /wp-admin/admin.php?page=ir-manager/irmngr_option.php | 1,201 | 11.73 | 157.48 | 41.14 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 5× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/ir-manager/irmngr_option_fun.php
- > /wp-content/plugins/ir-manager/ir_amp.php
- > /wp-content/plugins/ir-manager/ir_footer.php
- > /wp-content/plugins/ir-manager/ir_block_div.php
- > /wp-content/plugins/ir-manager/irmngr_option2_fun.php
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/ir-manager/IRManager.php:29
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
These are user-side errors you should fix
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=ir-manager/irmngr_option.php
- > Console-api (warning) in wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=wp-polyfill-inert,regenerator-runtime,wp-polyfill,react,wp-hooks,wp-deprecated,wp-dom,react-dom,wp-escape-html,wp-element,wp-is-&load%5Bchunk_1%5D=shallow-equal&ver=6.3.1+16:627
wp.compose.withState is deprecated since version 5.8. Please use wp.element.useState instead.
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that need to be fixed:
- Contributors: The plugin contributors field is not present
ir-manager/IRManager.php 85% from 13 tests
"Increase Rev Ad Manager" version 1.0.9's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("ir-manager.php" instead of "IRManager.php")
- Description: Keep the plugin description shorter than 140 characters (currently 178 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 plugin15,001 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 178 | 827 | 10,823 |
PHP | 12 | 54 | 54 | 2,891 |
CSS | 4 | 25 | 13 | 1,273 |
INI | 1 | 1 | 4 | 14 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 118.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 230.00 |
Average method complexity | 4.35 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 33.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 71 | |
▷ Static methods | 1 | 1.41% |
▷ Public methods | 71 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 15 | |
▷ Named functions | 15 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
lib/img/icon.png | 3.23KB | 0.73KB | ▼ 77.44% |