Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
You still need to fix the following installer errors
- The plugin did not install without errors
- > Notice in wp-content/plugins/wp-ad-monetizer-lite/wp_admonetizer_lite.php+318
Undefined variable: spec_ads_countries_list
Server metrics [RAM: ▼1.74MB] [CPU: ▼48.71ms] Passed 4 tests
Analyzing server-side resources used by WP Ad-Monetizer Lite
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.25 ▼1.21 | 10.07 ▼30.28 |
Dashboard /wp-admin | 2.27 ▼1.03 | 11.30 ▼40.23 |
Posts /wp-admin/edit.php | 2.27 ▼1.09 | 11.65 ▼36.90 |
Add New Post /wp-admin/post-new.php | 2.27 ▼3.62 | 11.20 ▼87.42 |
Media Library /wp-admin/upload.php | 2.27 ▼0.96 | 11.82 ▼19.76 |
WP Ad-Monetizer /wp-admin/edit.php?post_type=mlx_ads | 2.28 | 11.44 |
Add New /wp-admin/post-new.php?post_type=mlx_ad_blocks | 2.27 | 12.12 |
Add New /wp-admin/post-new.php?post_type=mlx_ads | 2.27 | 10.60 |
Ad Blocks /wp-admin/edit.php?post_type=mlx_ad_blocks | 2.28 | 11.73 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
WP Ad-Monetizer Lite: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,954 ▲197 | 13.74 ▼0.63 | 6.12 ▲4.16 | 40.43 ▼7.91 |
Dashboard /wp-admin | 2,264 ▲79 | 5.17 ▲0.30 | 110.30 ▼5.24 | 39.48 ▼8.49 |
Posts /wp-admin/edit.php | 2,164 ▲75 | 2.41 ▲0.40 | 44.70 ▲7.82 | 34.17 ▼1.15 |
Add New Post /wp-admin/post-new.php | 1,566 ▲33 | 23.29 ▲0.15 | 617.70 ▼19.89 | 49.93 ▼4.62 |
Media Library /wp-admin/upload.php | 1,456 ▲74 | 4.46 ▲0.27 | 100.93 ▼3.86 | 42.93 ▼4.61 |
WP Ad-Monetizer /wp-admin/edit.php?post_type=mlx_ads | 1,146 | 2.32 | 35.89 | 30.12 |
Add New /wp-admin/post-new.php?post_type=mlx_ad_blocks | 2,115 | 3.10 | 64.63 | 44.27 |
Add New /wp-admin/post-new.php?post_type=mlx_ads | 1,717 | 2.82 | 54.39 | 35.30 |
Ad Blocks /wp-admin/edit.php?post_type=mlx_ad_blocks | 1,141 | 2.50 | 34.45 | 28.35 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/wp-ad-monetizer-lite/wp_admonetizer_lite.php+318
Undefined variable: spec_ads_countries_list
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Please fix the following server-side errors
- 6 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=mlx_ad_blocks
- > POST request to /wp-admin/admin-ajax.php
- > Notice in wp-content/plugins/wp-ad-monetizer-lite/wp_admonetizer_lite.php+318
Undefined variable: spec_ads_countries_list
SRP 50% 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
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-ad-monetizer-lite/meta-template.php:553
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-ad-monetizer-lite/meta-template.php:553
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 87% 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:
- Screenshots: These screenshots lack descriptions #0, #0, #0, #0, #0, #0, #0 in wp-ad-monetizer-lite/assets to your readme.txt
- Screenshots: Screenshot #1 (bla) image not found
wp-ad-monetizer-lite/wp_admonetizer_lite.php 85% from 13 tests
The entry point to "WP Ad-Monetizer Lite" version 1.0 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Description: The description should be shorter than 140 characters (currently 326 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("wp-ad-monetizer-lite.php" instead of "wp_admonetizer_lite.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected2,922 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 282 | 40 | 1,520 |
PHP | 2 | 431 | 72 | 1,065 |
CSS | 7 | 22 | 28 | 337 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 41 | |
▷ Named functions | 41 | 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
There are no PNG files in this plugin