Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.12MB] [CPU: ▼299.18ms] Passed 4 tests
Server-side resources used by Playlist 217
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.71 ▲0.20 | 59.11 ▲7.49 |
Dashboard /wp-admin | 3.55 ▲0.15 | 33.96 ▼0.32 |
Posts /wp-admin/edit.php | 3.78 ▲0.14 | 36.24 ▲0.04 |
Add New Post /wp-admin/post-new.php | 7.02 ▲0.05 | 89.74 ▼1,197.52 |
Media Library /wp-admin/upload.php | 3.43 ▲0.14 | 27.14 ▲1.07 |
Add Album /wp-admin/post-new.php?post_type=artistalbum | 3.73 | 47.79 |
Playlist217 Settings /wp-admin/edit.php?post_type=artistalbum&page=playlist_settings/playlist.php | 3.40 | 25.40 |
Artists /wp-admin/edit-tags.php?taxonomy=artists&post_type=artistalbum | 3.43 | 23.78 |
Albums /wp-admin/edit.php?post_type=artistalbum | 3.53 | 26.10 |
Auto-Import Albums /wp-admin/edit.php?post_type=artistalbum&page=playlist_options/playlist.php | 3.40 | 22.06 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 6 new files
Database: 1 new table, no new options
New tables |
---|
wp_playlist |
Browser metrics Passed 4 tests
Checking browser requirements for Playlist 217
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,848 ▲104 | 15.90 ▼0.13 | 6.95 ▲0.29 | 2.53 ▲0.32 |
Dashboard /wp-admin | 2,944 ▲90 | 6.16 ▲0.07 | 116.05 ▼17.64 | 154.40 ▼9.15 |
Posts /wp-admin/edit.php | 2,738 ▲47 | 3.24 ▲0.01 | 63.97 ▼0.39 | 141.93 ▼3.19 |
Add New Post /wp-admin/post-new.php | 1,792 ▲126 | 17.68 ▼3.41 | 413.26 ▼41.35 | 156.51 ▼6.77 |
Media Library /wp-admin/upload.php | 1,750 ▲52 | 5.46 ▼0.04 | 144.74 ▼3.67 | 193.61 ▲0.95 |
Add Album /wp-admin/post-new.php?post_type=artistalbum | 2,495 | 5.64 | 93.42 | 145.92 |
Playlist217 Settings /wp-admin/edit.php?post_type=artistalbum&page=playlist_settings/playlist.php | 1,108 | 2.37 | 54.76 | 127.34 |
Artists /wp-admin/edit-tags.php?taxonomy=artists&post_type=artistalbum | 1,671 | 2.76 | 56.14 | 114.18 |
Albums /wp-admin/edit.php?post_type=artistalbum | 1,416 | 3.17 | 61.11 | 114.51 |
Auto-Import Albums /wp-admin/edit.php?post_type=artistalbum&page=playlist_options/playlist.php | 1,069 | 2.36 | 51.99 | 126.40 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie tables detected upon uninstall: 1 table
- wp_playlist
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/playlist-217/output.php
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/playlist-217/playlist.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
4 plugin tags: music, now playing, radio, playlist
playlist-217/playlist.php 85% from 13 tests
The primary PHP file in "Playlist 217" version 2.0.2 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Description: Please don't use more than 140 characters for the plugin description (currently 148 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("playlist-217.php" instead of "playlist.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected685 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 151 | 120 | 685 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 2.00 |
Average method complexity | 1.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 6 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 83.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 16.67% |
Functions | 15 | |
▷ Named functions | 15 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected