Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼1.02ms] Passed 4 tests
Analyzing server-side resources used by AdvertentiePlanet for WooCommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.01 | 39.00 ▼3.74 |
Dashboard /wp-admin | 3.31 ▲0.01 | 47.59 ▼0.83 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 44.62 ▼0.78 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 98.18 ▲3.14 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.55 ▲1.28 |
AdvertentiePlanet /wp-admin/options-general.php?page=advertentieplanet | 3.17 | 30.37 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 10 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
advertentieplanet_status |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by AdvertentiePlanet for WooCommerce
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲47 | 13.25 ▼1.36 | 1.77 ▼0.41 | 43.02 ▼5.25 |
Dashboard /wp-admin | 2,210 ▲19 | 5.90 ▲0.80 | 110.38 ▼9.86 | 42.75 ▲0.81 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.02 ▲0.02 | 33.85 ▼3.18 | 35.28 ▼2.74 |
Add New Post /wp-admin/post-new.php | 1,536 ▲17 | 23.22 ▼0.19 | 690.49 ▲21.38 | 52.64 ▼1.00 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.25 ▲0.01 | 98.53 ▲0.09 | 41.56 ▼0.85 |
AdvertentiePlanet /wp-admin/options-general.php?page=advertentieplanet | 887 | 2.04 | 24.88 | 25.64 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 7 options
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- advertentieplanet_status
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=advertentieplanet
- > Notice in wp-content/plugins/advertentieplanet-for-woocommerce/options/easyads-options.php+40
Undefined index: connect
SRP 0% 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
Please fix the following
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/advertentieplanet-for-woocommerce/options/tabs/easyads-tab-log.php
- > /wp-content/plugins/advertentieplanet-for-woocommerce/options/tabs/easyads-tab-about.php
- 5× PHP files trigger errors when accessed directly with GET requests:
- > PHP Warning
Use of undefined constant ADVERTENTIEPLANET_PLUGIN_VERSION - assumed 'ADVERTENTIEPLANET_PLUGIN_VERSION' (this will throw an Error in a future version of PHP) in wp-content/plugins/advertentieplanet-for-woocommerce/options/tabs/easyads-tab-status.php on line 16
- > PHP Fatal error
Uncaught Error: Call to undefined function advertentiePlanet_getConnectionStatus() in wp-content/plugins/advertentieplanet-for-woocommerce/options/tabs/easyads-tab-status.php:24
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/advertentieplanet-for-woocommerce/options/easyads-options.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/advertentieplanet-for-woocommerce/easyads-config.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/advertentieplanet-for-woocommerce/easyads-config.php:16
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 76% from 29 tests
readme.txt 81% from 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
Please fix the following attributes:
- Screenshots: These screenshots require images: #1 (This screen shot description corresponds to screenshot-1.(png|jpg|jpeg|gif). Note that the screenshot is taken from), #2 (This is the second screen shot)
- Donate link: Please fix this invalid URI: ""
- Plugin Name: You should set the name of your plugin on the first line (
=== advertentieplanet-for-woocommerce ===
)
advertentieplanet-for-woocommerce/advertentieplanet.php 69% from 13 tests
This is the main PHP file of "AdvertentiePlanet for WooCommerce" version 0.2.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 165 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("advertentieplanet-for-woocommerce.php" instead of "advertentieplanet.php")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Domain Path: The domain path folder was not found ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin365 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 57 | 129 | 322 |
CSS | 1 | 14 | 3 | 42 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An short overview of 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.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 | 16 | |
▷ Named functions | 16 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 11 | |
▷ Global constants | 11 | 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
There were not PNG files found in your plugin