Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The following installer errors require your attention
- This plugin did not install gracefully
- > Notice in wp-content/plugins/loopwi/loopwi.php+63
Trying to get property 'pid' of non-object
Server metrics [RAM: ▲0.02MB] [CPU: ▼327.47ms] Passed 4 tests
This is a short check of server-side resources used by Loopwi - Get paid to show adverts on your website
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.10 | 594.51 ▲541.68 |
Dashboard /wp-admin | 3.45 ▲0.04 | 35.74 ▲2.00 |
Posts /wp-admin/edit.php | 3.68 ▲0.04 | 38.60 ▲1.01 |
Add New Post /wp-admin/post-new.php | 6.92 ▼0.06 | 94.26 ▼1,316.23 |
Media Library /wp-admin/upload.php | 3.33 ▲0.03 | 27.22 ▲3.36 |
Loopwi /wp-admin/admin.php?page=loopwi_ads | 3.56 | 30.80 |
Settings /wp-admin/admin.php?page=loopwi_ads_settings | 3.56 | 28.57 |
Server storage [IO: ▲3.48MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 37 new files
Database: 1 new table, 1 new option
New tables |
---|
wp_loopwi_adsplugins_settings |
New WordPress options |
---|
my_db_version |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Loopwi - Get paid to show adverts on your website
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,968 ▲226 | 16.17 ▲0.37 | 9.10 ▲3.31 | 8.64 ▲6.27 |
Dashboard /wp-admin | 2,923 ▲69 | 6.14 ▼0.04 | 116.34 ▼15.44 | 152.81 ▼10.35 |
Posts /wp-admin/edit.php | 2,719 ▲31 | 3.24 ▲0.00 | 62.64 ▼3.56 | 145.67 ▲3.86 |
Add New Post /wp-admin/post-new.php | 1,771 ▲110 | 21.28 ▲4.71 | 454.93 ▲41.81 | 160.72 ▲6.28 |
Media Library /wp-admin/upload.php | 1,726 ▲28 | 5.56 ▲0.07 | 138.00 ▼0.74 | 185.07 ▼1.79 |
Loopwi /wp-admin/admin.php?page=loopwi_ads | 1,257 | 2.39 | 54.42 | 138.89 |
Settings /wp-admin/admin.php?page=loopwi_ads_settings | 1,234 | 2.38 | 53.80 | 76.00 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie tables were found after uninstall: 1 table
- wp_loopwi_adsplugins_settings
- This plugin does not fully uninstall, leaving 1 option in the database
- my_db_version
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These server-side errors were triggered
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=loopwi_ads
- > Notice in wp-content/plugins/loopwi/includes/dashboard.php+38
Undefined variable: site_code
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please 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 wp_head() in wp-content/plugins/loopwi/includes/dashboard.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_head() in wp-content/plugins/loopwi/includes/settings.php:1
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following user-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=loopwi_ads_settings
- > Network (severe)
wp-content/plugins/loopwi/css/plugins.css?ver=5.9.2 - Failed to load resource: the server responded with a status of 404 (Not Found)
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=loopwi_ads_settings
- > Network (severe)
wp-content/themes/twentytwentytwo/js/jquery.min.js?ver=3.6.0 - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Tags: Please delete some tags, you are using 11 tag instead of maximum 10
loopwi/loopwi.php 92% from 13 tests
The principal PHP file in "Loopwi - Get paid to show adverts on your website" v. 1.0 is loaded by WordPress automatically on each request
It is important to fix the following:
- Text Domain: The text domain name should consist of only dashes and lowercase characters
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected11,624 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 9 | 38 | 275 | 8,697 |
SVG | 1 | 1 | 3 | 2,624 |
PHP | 3 | 81 | 51 | 287 |
JavaScript | 4 | 1 | 11 | 16 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
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 | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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
4 PNG files occupy 0.05MB with 0.02MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/payment-methods.png | 42.08KB | 3.65KB | ▼ 91.32% |
images/logo_small.png | 1.08KB | 1.16KB | 0.00% |
images/logo-light.png | 4.44KB | 3.26KB | ▼ 26.56% |
images/logo.png | 4.45KB | 3.26KB | ▼ 26.71% |