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
Installer ran successfully
Server metrics [RAM: ▼0.13MB] [CPU: ▼7.16ms] Passed 4 tests
A check of server-side resources used by URL Shortener | Conversion Tracking | AB Testing | WooCommerce
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.78 ▼0.68 | 15.35 ▼25.74 |
Dashboard /wp-admin | 3.35 ▲0.05 | 54.29 ▲3.82 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 46.35 ▼9.27 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 100.76 ▲2.57 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 40.18 ▲7.63 |
Server storage [IO: ▲1.57MB] [DB: ▲0.01MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 30 new files
Database: 5 new tables, 9 new options
New tables |
---|
wp_eblc_redirection_links |
wp_eblc_geo_redirection_links |
wp_eblc_login_attempts_log |
wp_eblc_link_clicks |
wp_eblc_shorten_links |
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
eblc_link_options |
eblc_sec_options |
theysaidso_admin_options |
widget_recent-comments |
eblc_options |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
URL Shortener | Conversion Tracking | AB Testing | WooCommerce: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,838 ▲77 | 14.27 ▲0.06 | 1.79 ▼0.07 | 34.74 ▼7.28 |
Dashboard /wp-admin | 2,211 ▲34 | 5.65 ▲0.03 | 91.95 ▼5.94 | 43.09 ▼2.17 |
Posts /wp-admin/edit.php | 2,116 ▲13 | 1.99 ▼0.02 | 38.74 ▼3.15 | 34.33 ▼1.68 |
Add New Post /wp-admin/post-new.php | 1,540 ▲14 | 21.17 ▼2.40 | 611.31 ▼12.06 | 47.82 ▼11.21 |
Media Library /wp-admin/upload.php | 1,419 ▲22 | 4.27 ▲0.05 | 99.36 ▼4.12 | 43.62 ▼4.17 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 26× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/easy-broken-link-checker/shorten-links-table-core.php on line 8
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/easy-broken-link-checker/shorten-links-table-core.php on line 8
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/easy-broken-link-checker/geo-redirection-links-table-core.php on line 8
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/easy-broken-link-checker/geo-redirection-links-table-core.php on line 8
- > PHP Fatal error
Uncaught Error: Call to undefined function home_url() in wp-content/plugins/easy-broken-link-checker/checker-options-page-view.php:100
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/easy-broken-link-checker/redirection-links-table-core.php on line 8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/easy-broken-link-checker/checker-core.php:11
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/easy-broken-link-checker/geo-redirection-links-table-core.php on line 8
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/easy-broken-link-checker/geo-redirection-links-table-core.php on line 8
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/easy-broken-link-checker/shorten-links-table-core.php on line 8
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Screenshots: Please add images for these screenshots: #6 (Link Clicks Analytics), #7 (Link Clicks Analytics), #8 (Conversion Rate Analytics)
easy-broken-link-checker/easy-broken-link-checker.php 92% from 13 tests
"URL Shortener | Conversion Tracking | AB Testing | WooCommerce" version 9.0.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Description: Please keep the plugin description shorter than 140 characters (currently 141 characters long)
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
There were no executable files found in this plugin5,765 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 522 | 348 | 3,219 |
JavaScript | 6 | 304 | 93 | 2,013 |
CSS | 4 | 95 | 30 | 533 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 26.67 |
▷ Minimum class complexity | 24.00 |
▷ Maximum class complexity | 31.00 |
Average method complexity | 2.57 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 49 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 40 | 81.63% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 9 | 18.37% |
Functions | 41 | |
▷ Named functions | 41 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
3 PNG files occupy 0.34MB with 0.18MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/ad.png | 81.54KB | 26.54KB | ▼ 67.45% |
img/be on google.png | 267.20KB | 104.89KB | ▼ 60.75% |
img/copy--v1.png | 1.33KB | 0.94KB | ▼ 29.60% |