Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲1.59MB] [CPU: ▲10.98ms] Passed 4 tests
Analyzing server-side resources used by Simple URLs - Link Cloaking, Product Displays, and Affiliate Link Management
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.77 ▲1.30 | 50.61 ▲8.47 |
Dashboard /wp-admin | 4.94 ▲1.63 | 62.19 ▲6.95 |
Posts /wp-admin/edit.php | 5.11 ▲1.75 | 67.17 ▲20.03 |
Add New Post /wp-admin/post-new.php | 7.61 ▲1.72 | 113.45 ▲9.91 |
Media Library /wp-admin/upload.php | 4.95 ▲1.71 | 56.88 ▲18.57 |
Onboarding /wp-admin/edit.php?post_type=surl&page=surl-onboarding | 6.73 | 80.94 |
Dashboard /wp-admin/edit.php?post_type=surl | 5.94 | 45.90 |
Settings /wp-admin/edit.php?post_type=surl&page=surl-settings-display | 6.75 | 74.02 |
Import /wp-admin/edit.php?post_type=surl&page=surl-import | 6.74 | 72.62 |
Server storage [IO: ▲9.66MB] [DB: ▲0.01MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 701 new files
Database: 3 new tables, 11 new options
New tables |
---|
wp_lasso_lite_url_details |
wp_lasso_lite_revert |
wp_lasso_lite_amazon_products |
New WordPress options |
---|
widget_recent-posts |
is_lasso_live_switch_to_new_ui |
surl_lasso_version |
can_compress_scripts |
widget_theysaidso_widget |
surl_is_visited_welcome_page |
is_active_lasso_lite |
surl_site_id |
theysaidso_admin_options |
widget_recent-comments |
... |
Browser metrics Passed 4 tests
Simple URLs - Link Cloaking, Product Displays, and Affiliate Link Management: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,936 ▲175 | 14.29 ▼0.06 | 1.75 ▲0.12 | 45.47 ▲6.23 |
Dashboard /wp-admin | 2,334 ▲157 | 5.62 ▲0.01 | 84.60 ▼6.05 | 83.31 ▲39.11 |
Posts /wp-admin/edit.php | 2,415 ▲315 | 8.73 ▲6.75 | 154.72 ▲119.47 | 37.75 ▲2.25 |
Add New Post /wp-admin/post-new.php | 6,535 ▲5,009 | 23.49 ▲0.39 | 1,041.44 ▲345.13 | 40.05 ▼14.48 |
Media Library /wp-admin/upload.php | 1,483 ▲80 | 4.14 ▼0.11 | 82.20 ▼24.82 | 42.92 ▼5.39 |
Onboarding /wp-admin/edit.php?post_type=surl&page=surl-onboarding | 3,592 | 9.74 | 242.18 | 141.32 |
Dashboard /wp-admin/edit.php?post_type=surl | 1,673 | 9.28 | 180.84 | 89.43 |
Settings /wp-admin/edit.php?post_type=surl&page=surl-settings-display | 3,508 | 10.13 | 272.79 | 134.32 |
Import /wp-admin/edit.php?post_type=surl&page=surl-import | 2,097 | 10.23 | 176.88 | 71.25 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- Zombie tables were found after uninstall: 3 tables
- wp_lasso_lite_amazon_products
- wp_lasso_lite_revert
- wp_lasso_lite_url_details
- This plugin does not fully uninstall, leaving 12 options in the database
- surl_is_visited_welcome_page
- db_upgraded
- surl_site_id
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- is_lasso_live_switch_to_new_ui
- surl_lasso_version
- surl_is_pre_populated_amazon_api
- is_active_lasso_lite
- ...
Smoke tests 50% 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 0% 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
- 16× PHP files output non-empty strings when accessed directly via GET requests (only 10 are shown):
- > /wp-content/plugins/simple-urls/admin/views/onboarding/welcome-step.php
- > /wp-content/plugins/simple-urls/admin/views/modals/revert-confirm.php
- > /wp-content/plugins/simple-urls/admin/views/modals/url-save-progress.php
- > /wp-content/plugins/simple-urls/admin/views/modals/revert-all-confirm.php
- > /wp-content/plugins/simple-urls/admin/views/education/dashboard.php
- > /wp-content/plugins/simple-urls/admin/views/modals/url-quick-detail.php
- > /wp-content/plugins/simple-urls/admin/views/notifications/performance.php
- > /wp-content/plugins/simple-urls/admin/views/modals/customer-flow-confirm.php
- > /wp-content/plugins/simple-urls/admin/views/modals/url-add.php
- > /wp-content/plugins/simple-urls/admin/views/modals/import-all-confirm.php
- 330× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'LassoLiteVendor\\Symfony\\Contracts\\HttpClient\\ResponseStreamInterface' not found in wp-content/plugins/simple-urls/vendor-prefix/vendor/symfony/http-client/Response/ResponseStream.php:19
- > PHP Fatal error
Uncaught Error: Class 'LassoLiteVendor\\Psr\\Log\\AbstractLogger' not found in wp-content/plugins/simple-urls/vendor-prefix/vendor/psr/log/Psr/Log/Test/TestLogger.php:56
- > PHP Fatal error
Uncaught Error: Class 'LassoLiteVendor\\Http\\Client\\Common\\HttpClientPool\\HttpClientPool' not found in wp-content/plugins/simple-urls/vendor-prefix/vendor/php-http/client-common/src/HttpClientPool/RoundRobinClientPool.php:12
- > PHP Fatal error
Uncaught Error: Class 'LassoLiteVendor\\Sentry\\Tracing\\Span' not found in wp-content/plugins/simple-urls/vendor-prefix/vendor/sentry/sentry/src/Tracing/Transaction.php:13
- > PHP Fatal error
Uncaught Error: Interface 'LassoLiteVendor\\Symfony\\Contracts\\HttpClient\\ResponseInterface' not found in wp-content/plugins/simple-urls/vendor-prefix/vendor/symfony/http-client/Response/TraceableResponse.php:30
- > PHP Fatal error
Uncaught Error: Interface 'LassoLiteVendor\\Psr\\Http\\Client\\ClientExceptionInterface' not found in wp-content/plugins/simple-urls/vendor-prefix/vendor/php-http/httplug/src/Exception.php:11
- > PHP Fatal error
Uncaught Error: Interface 'LassoLiteVendor\\Http\\Client\\Common\\Plugin' not found in wp-content/plugins/simple-urls/vendor-prefix/vendor/php-http/client-common/src/Plugin/AddPathPlugin.php:15
- > PHP Fatal error
Uncaught Error: Interface 'LassoLiteVendor\\Http\\Client\\Common\\Plugin' not found in wp-content/plugins/simple-urls/vendor-prefix/vendor/php-http/client-common/src/Plugin/QueryDefaultsPlugin.php:16
- > PHP Fatal error
Uncaught Error: Interface 'LassoLiteVendor\\Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/simple-urls/vendor-prefix/vendor/guzzlehttp/psr7/src/FnStream.php:14
- > PHP Fatal error
Uncaught Error: Interface 'LassoLiteVendor\\Composer\\Plugin\\Capability\\CommandProvider' not found in wp-content/plugins/simple-urls/vendor-prefix/vendor/bamarni/composer-bin-plugin/src/CommandProvider.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Lasso's Link Details Page), #2 (Lasso's Link Groups Page), #3 (Lasso's Link Management Dashboard)
simple-urls/plugin.php 77% from 13 tests
The main PHP script in "Simple URLs - Link Cloaking, Product Displays, and Affiliate Link Management" version 121... is automatically included on every request by WordPress
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("simple-urls.php" instead of "plugin.php")
- Description: Please don't use more than 140 characters for the plugin description (currently 165 characters long)
- Version: The version number should only use digits and periods (ex. "1.0.3" instead of "121...")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected47,956 lines of code in 665 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 581 | 3,694 | 19,614 | 38,595 |
JavaScript | 31 | 622 | 336 | 4,352 |
JSON | 9 | 0 | 0 | 2,559 |
CSS | 13 | 94 | 145 | 2,017 |
HTML | 12 | 7 | 11 | 235 |
Bourne Shell | 12 | 89 | 67 | 176 |
XML | 1 | 0 | 0 | 16 |
SVG | 5 | 0 | 0 | 5 |
YAML | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 10.98 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 178.00 |
Average method complexity | 2.73 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 46.00 |
Code structure | ||
---|---|---|
Namespaces | 90 | |
Interfaces | 81 | |
Traits | 25 | |
Classes | 408 | |
▷ Abstract classes | 16 | 3.92% |
▷ Concrete classes | 392 | 96.08% |
▷ Final classes | 225 | 57.40% |
Methods | 2,859 | |
▷ Static methods | 512 | 17.91% |
▷ Public methods | 2,436 | 85.20% |
▷ Protected methods | 108 | 3.78% |
▷ Private methods | 315 | 11.02% |
Functions | 283 | |
▷ Named functions | 86 | 30.39% |
▷ Anonymous functions | 197 | 69.61% |
Constants | 315 | |
▷ Global constants | 42 | 13.33% |
▷ Class constants | 273 | 86.67% |
▷ Public constants | 231 | 84.62% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
11 PNG files occupy 3.08MB with 1.93MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 408.91KB | 133.89KB | ▼ 67.26% |
admin/assets/images/opportunities-thumbnail.png | 1,019.24KB | 338.46KB | ▼ 66.79% |
screenshot-3.png | 391.92KB | 127.93KB | ▼ 67.36% |
assets/icon-128x128.png | 8.99KB | 4.83KB | ▼ 46.22% |
assets/banner-772x250.png | 63.96KB | 21.99KB | ▼ 65.61% |