Simple URLs 115

Does Simple URLs work with WordPress 6.1.1 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
7PHP notices
1PHP deprecation warnings
7Database errors
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 206.12 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.044 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version6.1.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 6,000+
WordPress.org page https://wordpress.org/plugins/simple-urls/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 6

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?plugin_status=all&paged=1&s
Requested URL /wp-admin/plugins.php?action=activate&plugin=simple-urls%2Fplugin.php&plugin_status=all&paged=1&s&_wpnonce=250d317df8
Aspect after-activation
HTTP status 200
Load time 0.497 s
Memory usage 3.54 MiB
JS errors None
Resource errors None

Lasso Lite / Simple URLs

Page screenshot: Lasso Lite / Simple URLs
URL /wp-admin/edit.php?post_type=surl&page=surl-onboarding
Requested URL /wp-admin/edit.php?post_type=surl
Aspect menu-item
HTTP status 200
Load time 2.029 s
Memory usage 3.94 MiB
JS errors None
Resource errors None

Lasso Lite / Simple URLs → Import

Page screenshot: Lasso Lite / Simple URLs → Import
URL /wp-admin/edit.php?post_type=surl&page=surl-import
Aspect menu-item
HTTP status 200
Load time 0.719 s
Memory usage 3.74 MiB
JS errors None
Resource errors None

Lasso Lite / Simple URLs → Settings

Page screenshot: Lasso Lite / Simple URLs → Settings
URL /wp-admin/edit.php?post_type=surl&page=surl-settings-display
Aspect menu-item
HTTP status 200
Load time 0.962 s
Memory usage 3.74 MiB
JS errors None
Resource errors None

Lasso Lite / Simple URLs → Onboarding

Page screenshot: Lasso Lite / Simple URLs → Onboarding
URL /wp-admin/edit.php?post_type=surl&page=surl-dashboard
Requested URL /wp-admin/edit.php?post_type=surl&page=surl-onboarding
Aspect menu-item
HTTP status 200
Load time 0.639 s
Memory usage 3.74 MiB
JS errors None
Resource errors None

Test site – Just another WordPress site

Page screenshot: Test site – Just another WordPress site
URL /
Aspect front-page
HTTP status 200
Load time 0.347 s
Memory usage 3.15 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.284 s0.423 s+0.139 s3.05 MiB3.23 MiB+ 187.53 KiB
/wp-admin/edit.php0.178 s0.377 s+0.199 s3.07 MiB3.31 MiB+ 243.7 KiB
/wp-admin/post-new.php0.752 s0.924 s+0.172 s4.97 MiB5.24 MiB+ 283.84 KiB
/wp-admin/upload.php0.493 s0.277 s-0.216 s2.99 MiB3.16 MiB+ 170.1 KiB
/wp-admin/options-writing.php0.134 s0.159 s+0.025 s2.99 MiB3.14 MiB+ 156.76 KiB
/wp-admin/media-new.php0.264 s0.231 s-0.033 s2.97 MiB3.14 MiB+ 181.48 KiB
/wp-admin/edit-tags.php?taxonomy=category0.177 s0.179 s+0.002 s2.98 MiB3.18 MiB+ 207.47 KiB
/wp-admin/post-new.php?post_type=page0.607 s0.883 s+0.276 s4.96 MiB5.23 MiB+ 279.24 KiB
/wp-admin/options-discussion.php0.236 s0.227 s-0.009 s2.97 MiB3.14 MiB+ 170.6 KiB
/wp-admin/edit-comments.php0.202 s0.194 s-0.008 s3 MiB3.17 MiB+ 170.84 KiB
/0.269 s0.207 s-0.062 s2.94 MiB3.15 MiB+ 215.8 KiB
Average 0.327 s0.371 s+0.044 s3.35 MiB3.56 MiB+ 206.12 KiB

Code Statistics

Note: Third-party libraries and minified JS/CSS files are excluded from these statistics where possible, so the numbers you see here may be lower than those reported by other tools.

PHP
JavaScript
CSS
Language % Lines of code Comment lines Files
PHP70.0%13,1684,450111
JavaScript18.2%3,42023416
CSS10.1%1,9001307
HTML1.2%2241111
JSON0.5%8803
Bourne Shell0.1%1311
SVG0.0%505
Total 18,818 4,826 154

PHP Code Analysis | More results »

Lines of code 10,238
Total complexity 1,981
Median class complexity 11.0
Median method complexity 2.0
Most complex class Raven_Client
Most complex function LassoLite\Classes\Affiliate_Link::save_lasso_url()
Classes 65
Methods 622
Functions 11

Additions

Things that the plugin adds to the site. This section is not intended to be comprehensive. The test tool only looks for a few specific types of added content.

Database Tables 3

Options wp_options 5

Custom Post Types 1

ID Name
surlLasso Lite / Simple URLs

Meta Boxes

{
    "surl": {
        "surl": {
            "title": "URL Information",
            "context": "normal"
        }
    }
}

PHP Error Log 1500 lines

[13-Jan-2023 23:17:15 UTC] WordPress database error Table 'wordpress.wp_lasso_url_details' doesn't exist for query 
			SELECT COUNT(*) AS `count` 
			FROM (
			SELECT BASE.import_source
			FROM
				(
					
			SELECT
				p.id,
				p.post_type,
				CASE
					WHEN p.post_type = 'pretty-link'
						THEN 'Pretty Links'
					WHEN p.post_type = 'thirstylink'
						THEN 'Thirsty Affiliates'
					WHEN p.post_type = 'earnist'
						THEN 'Earnist'
					WHEN p.post_type = 'affiliate_url'
						THEN 'Affiliate URLs'
					WHEN p.post_type = 'aawp'
						THEN 'AAWP'
					WHEN p.post_type = 'easyazon'
						THEN 'EasyAzon'
					WHEN p.post_type = 'amalinks'
						THEN 'Amalinks Pro'
					WHEN p.post_type = 'lasso-urls'
						THEN 'Lasso Pro'
					ELSE 'Unknown'
				END AS import_source,
				CONVERT(p.post_name USING utf8) as post_name,
				CONVERT(p.post_title USING utf8) AS post_title,
				'' AS check_status,
				'' AS check_disabled
			FROM wp_posts AS p
				
			WHERE
				post_type IN ('pretty-link', 'earnist')
				AND p.ID NOT IN (
					SELECT post_id
					FROM wp_postmeta
					WHERE meta_key = 'old_status'
						AND meta_value != ''
				)
				AND post_status IN ('publish', 'pending', 'draft', 'future', 'private', 'inherit', 'trash')
		
				UNION
	
				SELECT DISTINCT
					CONVERT(substring_index( substring_index(option_name, 'easyazon_item_', -1), '_', 1) USING utf8) AS id,
					'easyazon' AS post_type,
					'EasyAzon' AS import_source,
					'' AS post_name,
					CONVERT(substring_index( option_name, '_', 4) USING utf8) AS post_title,
					CASE
						WHEN CONVERT(substring_index( substring_index(option_name, 'easyazon_item_', -1), '_', 1) USING utf8) IN (
							SELECT CONVERT(old_uri USING utf8) AS old_uri
							FROM wp_lasso_lite_revert
							WHERE plugin = 'easyazon'
						)
						THEN 'checked'
						ELSE ''
					END AS check_status,
					'' AS check_disabled
				FROM wp_options AS ap
				WHERE option_name LIKE 'easyazon_item_%'
			
				UNION
	
				SELECT
					po.ID as id,
					po.post_type,
					'Easy Affiliate Links' as import_source,
					CONVERT(po.post_name USING utf8) as post_name,
					CONVERT(po.post_title USING utf8) as post_title,
					'' as check_status,
					'' as check_disabled
				FROM wp_posts as po
				INNER JOIN wp_postmeta as pom ON po.ID = pom.post_id
				WHERE po.post_type = 'easy_affiliate_link' 
					AND pom.meta_value = 'text'
			
				UNION

				SELECT
					po.ID AS id,
					po.post_type,
					'Affiliate URLs' AS import_source,
					CONVERT(po.post_name USING utf8) AS post_name,
					CONVERT(po.post_title USING utf8) AS post_title,
					'' AS check_status,
					'' AS check_disabled
				FROM wp_posts AS po
					INNER JOIN wp_postmeta AS pom 
					ON po.ID = pom.post_id
				WHERE po.post_type = 'affiliate_url'
					AND pom.meta_key = '_affiliate_url_redirect'
					AND pom.meta_value IS NOT NULL
					AND pom.meta_value <> ""
			
				UNION

(+1400 more lines)
See also: All tests for this plugin, How to Hide Lasso Lite Admin Menus and Meta Boxes