Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼1.22MB] [CPU: ▼355.62ms] Passed 4 tests
An overview of server-side resources used by WP Auto Post ADS
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.05 | 59.66 ▲6.52 |
Dashboard /wp-admin | 3.11 ▼0.30 | 21.00 ▼20.64 |
Posts /wp-admin/edit.php | 3.11 ▼0.53 | 20.23 ▼25.98 |
Add New Post /wp-admin/post-new.php | 3.11 ▼3.86 | 19.55 ▼1,366.30 |
Media Library /wp-admin/upload.php | 3.11 ▼0.18 | 22.99 ▼9.55 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 14 new files
Database: 1 new table, no new options
New tables |
---|
wp_wp_ads_auto_post |
Browser metrics Passed 4 tests
An overview of browser requirements for WP Auto Post ADS
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,768 ▲24 | 15.77 ▼0.18 | 6.14 ▲0.16 | 2.13 ▲0.20 |
Dashboard /wp-admin | 2,897 ▲36 | 6.08 ▼0.07 | 118.12 ▼20.84 | 158.54 ▼35.23 |
Posts /wp-admin/edit.php | 2,696 ▲5 | 3.24 ▲0.00 | 66.04 ▲2.76 | 139.22 ▼9.97 |
Add New Post /wp-admin/post-new.php | 1,714 ▲24 | 21.77 ▲1.03 | 454.64 ▲8.20 | 185.59 ▲26.31 |
Media Library /wp-admin/upload.php | 1,703 ▲5 | 5.50 ▼0.02 | 147.56 ▼6.69 | 190.49 ▼11.83 |
WP ADS Auto Post /wp-admin/wp_ads_auto_post.php | 26 | 0.94 | 0.03 | 29.86 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- The plugin did not uninstall gracefully
- > User deprecated in wp-includes/functions.php+5600
has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
Smoke tests 50% 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 no errors were found, this is by no means 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
The following issues need your attention
- 1× 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-ads-auto-post/wp_ads_auto_post.php:87
- > 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 browser errors
- > GET request to /wp-admin/wp_ads_auto_post.php
- > Network (severe)
wp-admin/wp_ads_auto_post.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
3 plugin tags: publicidad, ads, adsense
wp-ads-auto-post/wp_ads_auto_post.php 85% from 13 tests
The primary PHP file in "WP Auto Post ADS" version 1.3 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("wp-ads-auto-post.php" instead of "wp_ads_auto_post.php")
- Description: The description should be shorter than 140 characters (currently 182 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected286 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
HTML | 2 | 39 | 0 | 205 |
PHP | 1 | 20 | 9 | 62 |
CSS | 1 | 0 | 0 | 19 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.09 |
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 | 6 | |
▷ Named functions | 6 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
6 compressed PNG files occupy 0.01MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
template/images/layer-resize.png | 0.56KB | 0.44KB | ▼ 22.18% |
template/images/application-javascript.png | 1.84KB | 1.70KB | ▼ 7.54% |
template/images/arrow-move.png | 0.65KB | 0.46KB | ▼ 29.41% |
template/images/preview.png | 1.35KB | 1.37KB | 0.00% |
template/images/user.png | 0.69KB | 0.77KB | 0.00% |