Plastic Tunes 1.4

Does Plastic Tunes work with WordPress 6.5.2 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
11PHP warnings
232PHP deprecation warnings
82Database errors
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

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

Page speed impact: insignificant.
The plugin didn't make the site noticeably slower.

Environment
WordPress version6.5.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs <10
WordPress.org page https://wordpress.org/plugins/plastic-tunes/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 5

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=plastic-tunes%2Fplastic_tunes.php&plugin_status=all&paged=1&s&_wpnonce=ca964e84c7
Aspect after-activation
HTTP status 200
Load time 0.323 s
Memory usage 3.42 MiB
JS errors None
Resource errors None

Tools → Plastic Tunes

Page screenshot: Tools → Plastic Tunes
URL /wp-admin/tools.php?page=plastic_tunes.php
Aspect menu-item
HTTP status 200
Load time 0.210 s
Memory usage 3.37 MiB
JS errors None
Resource errors None

Settings → Plastic Tunes

Page screenshot: Settings → Plastic Tunes
URL /wp-admin/options-general.php?page=plastic_tunes.php
Aspect menu-item
HTTP status 200
Load time 0.199 s
Memory usage 3.4 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.251 s
Memory usage 3.38 MiB
JS errors None
Resource errors None

Widgets ‹ Test site — WordPress

Page screenshot: Widgets ‹ Test site — WordPress
URL /wp-admin/widgets.php
Aspect new-sidebar-widgets
HTTP status 200
Load time 2.433 s
Memory usage 5.59 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.463 s0.345 s-0.118 s3.44 MiB3.46 MiB+ 21.41 KiB
/wp-admin/edit.php0.237 s0.209 s-0.028 s3.46 MiB3.48 MiB+ 21.41 KiB
/wp-admin/post-new.php0.966 s0.809 s-0.157 s5.59 MiB5.62 MiB+ 25.77 KiB
/wp-admin/upload.php0.676 s0.549 s-0.127 s3.38 MiB3.4 MiB+ 24.74 KiB
/wp-admin/options-writing.php0.229 s0.225 s-0.004 s3.37 MiB3.39 MiB+ 17.53 KiB
/wp-admin/media-new.php0.309 s0.290 s-0.019 s3.35 MiB3.39 MiB+ 37.76 KiB
/wp-admin/edit-tags.php?taxonomy=category0.225 s0.215 s-0.010 s3.37 MiB3.41 MiB+ 42.1 KiB
/wp-admin/post-new.php?post_type=page0.600 s0.616 s+0.016 s5.59 MiB5.61 MiB+ 21.36 KiB
/wp-admin/options-discussion.php0.415 s0.380 s-0.035 s3.36 MiB3.38 MiB+ 26.06 KiB
/wp-admin/edit-comments.php0.291 s0.267 s-0.024 s3.39 MiB3.41 MiB+ 23.99 KiB
/0.374 s0.223 s-0.151 s3.42 MiB3.38 MiB- 34.72 KiB
Average 0.435 s0.375 s-0.060 s3.79 MiB3.81 MiB+ 20.67 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
HTML
Language % Lines of code Comment lines Files
PHP85.8%1,2352175
HTML11.9%17201
CSS2.3%3391
Total 1,440 226 7

PHP Code Analysis | More results »

Lines of code 1,271
Total complexity 201
Median class complexity 16.0
Median method complexity 2.0
Most complex class Str
Most complex function plastic_table()
Classes 2
Methods 18
Functions 15

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.

Options wp_options 33

Sidebar Widgets 1

ID Name
plastic-tunesPlastic Tunes

PHP Error Log 1545 lines

[25-Apr-2024 21:47:04 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'TYPE = MYISAM' at line 14 for query 
CREATE TABLE IF NOT EXISTS `wp_plastic_tunes` (
`id` BIGINT NOT NULL AUTO_INCREMENT ,
`user_id` INT NOT NULL ,
`created` TIMESTAMP ,
`artist` VARCHAR(255) NULL ,
`album` VARCHAR(255) NULL ,
`title` VARCHAR(255) NULL ,
`rating` INT NULL ,
`year` VARCHAR(255) NULL,
`track` INT NULL,
`genre` VARCHAR(255) NULL,
`duration` VARCHAR(255) NULL,
PRIMARY KEY ( `id` )
) TYPE = MYISAM
 made by activate_plugin, plugin_sandbox_scrape, include_once('/plugins/plastic-tunes/plastic_tunes.php')
[25-Apr-2024 21:47:04 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'TYPE = MYISAM' at line 14 for query 
CREATE TABLE IF NOT EXISTS `wp_plastic_tunes` (
`id` BIGINT NOT NULL AUTO_INCREMENT ,
`user_id` INT NOT NULL ,
`created` TIMESTAMP ,
`artist` VARCHAR(255) NULL ,
`album` VARCHAR(255) NULL ,
`title` VARCHAR(255) NULL ,
`rating` INT NULL ,
`year` VARCHAR(255) NULL,
`track` INT NULL,
`genre` VARCHAR(255) NULL,
`duration` VARCHAR(255) NULL,
PRIMARY KEY ( `id` )
) TYPE = MYISAM
 made by require_once('wp-admin/admin.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), include_once('/plugins/plastic-tunes/plastic_tunes.php')
[25-Apr-2024 21:47:04 UTC] PHP Deprecated:  Function register_sidebar_widget is deprecated since version 2.8.0! Use wp_register_sidebar_widget() instead. in /wp-includes/functions.php on line 6078
[25-Apr-2024 21:47:04 UTC] PHP Deprecated:  Function register_widget_control is deprecated since version 2.8.0! Use wp_register_widget_control() instead. in /wp-includes/functions.php on line 6078
[25-Apr-2024 21:47:04 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6078
[25-Apr-2024 21:47:04 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6078
[25-Apr-2024 21:47:04 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6078
[25-Apr-2024 21:47:04 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6078
[25-Apr-2024 21:47:05 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'TYPE = MYISAM' at line 14 for query 
CREATE TABLE IF NOT EXISTS `wp_plastic_tunes` (
`id` BIGINT NOT NULL AUTO_INCREMENT ,
`user_id` INT NOT NULL ,
`created` TIMESTAMP ,
`artist` VARCHAR(255) NULL ,
`album` VARCHAR(255) NULL ,
`title` VARCHAR(255) NULL ,
`rating` INT NULL ,
`year` VARCHAR(255) NULL,
`track` INT NULL,
`genre` VARCHAR(255) NULL,
`duration` VARCHAR(255) NULL,
PRIMARY KEY ( `id` )
) TYPE = MYISAM
 made by require_once('wp-admin/admin.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), include_once('/plugins/plastic-tunes/plastic_tunes.php')
[25-Apr-2024 21:47:05 UTC] PHP Deprecated:  Function register_sidebar_widget is deprecated since version 2.8.0! Use wp_register_sidebar_widget() instead. in /wp-includes/functions.php on line 6078
[25-Apr-2024 21:47:05 UTC] PHP Deprecated:  Function register_widget_control is deprecated since version 2.8.0! Use wp_register_widget_control() instead. in /wp-includes/functions.php on line 6078
[25-Apr-2024 21:47:05 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6078
[25-Apr-2024 21:47:05 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6078
[25-Apr-2024 21:47:05 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6078
[25-Apr-2024 21:47:05 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6078
[25-Apr-2024 21:47:06 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'TYPE = MYISAM' at line 14 for query 
CREATE TABLE IF NOT EXISTS `wp_plastic_tunes` (
`id` BIGINT NOT NULL AUTO_INCREMENT ,
`user_id` INT NOT NULL ,
`created` TIMESTAMP ,
`artist` VARCHAR(255) NULL ,
`album` VARCHAR(255) NULL ,
`title` VARCHAR(255) NULL ,
`rating` INT NULL ,
`year` VARCHAR(255) NULL,
`track` INT NULL,
`genre` VARCHAR(255) NULL,
`duration` VARCHAR(255) NULL,
PRIMARY KEY ( `id` )
) TYPE = MYISAM
 made by require_once('wp-admin/admin.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), include_once('/plugins/plastic-tunes/plastic_tunes.php')
[25-Apr-2024 21:47:06 UTC] PHP Deprecated:  Function register_sidebar_widget is deprecated since version 2.8.0! Use wp_register_sidebar_widget() instead. in /wp-includes/functions.php on line 6078
[25-Apr-2024 21:47:06 UTC] PHP Deprecated:  Function register_widget_control is deprecated since version 2.8.0! Use wp_register_widget_control() instead. in /wp-includes/functions.php on line 6078
[25-Apr-2024 21:47:06 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6078
[25-Apr-2024 21:47:06 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6078
[25-Apr-2024 21:47:06 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6078
[25-Apr-2024 21:47:06 UTC] PHP Deprecated:  Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6078
[25-Apr-2024 21:47:06 UTC] PHP Deprecated:  Function get_settings is deprecated since version 2.1.0! Use get_option() instead. in /wp-includes/functions.php on line 6078
[25-Apr-2024 21:47:06 UTC] PHP Warning:  Undefined array key "action" in /wp-content/plugins/plastic-tunes/plastic_pages.php on line 407
[25-Apr-2024 21:47:06 UTC] PHP Warning:  Undefined array key "action" in /wp-content/plugins/plastic-tunes/plastic_pages.php on line 417
[25-Apr-2024 21:47:06 UTC] PHP Warning:  Undefined variable $plastic_tunes_startrow in /wp-content/plugins/plastic-tunes/plastic_pages.php on line 434
[25-Apr-2024 21:47:06 UTC] WordPress database error Table 'wordpress.wp_plastic_tunes' doesn't exist for query 
	SELECT user_id AS user_id, id AS song_id, title AS title, artist AS artist, album AS album, year AS year, genre AS genre, 
	track AS track, rating as rating, DATE_FORMAT(created, "%d %b %y") AS created, UNIX_TIMESTAMP(created) AS time_stamp, duration AS duration
	FROM wp_plastic_tunes
	ORDER BY time_stamp desc	
	LIMIT 0, 21 made by require_once('wp-admin/admin.php'), do_action('tools_page_plastic_tunes'), WP_Hook->do_action, WP_Hook->apply_filters, plastic_tunes_manage
[25-Apr-2024 21:47:06 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'TYPE = MYISAM' at line 14 for query 
CREATE TABLE IF NOT EXISTS `wp_plastic_tunes` (
`id` BIGINT NOT NULL AUTO_INCREMENT ,
`user_id` INT NOT NULL ,
`created` TIMESTAMP ,
`artist` VARCHAR(255) NULL ,
`album` VARCHAR(255) NULL ,
`title` VARCHAR(255) NULL ,

(+1445 more lines)
See also: All tests for this plugin, How to Hide Plastic Tunes Admin Menus