Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
It is recommended to fix the following installer errors
- Install procedure validation failed for this plugin
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method TFSongList::activation() should not be called statically
Server metrics [RAM: ▼1.05MB] [CPU: ▼42.62ms] Passed 4 tests
Server-side resources used by tf Song List
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.91 ▼0.55 | 15.00 ▼26.22 |
Dashboard /wp-admin | 2.96 ▼0.34 | 19.67 ▼30.75 |
Posts /wp-admin/edit.php | 2.96 ▼0.39 | 16.58 ▼32.21 |
Add New Post /wp-admin/post-new.php | 2.96 ▼2.93 | 17.33 ▼81.28 |
Media Library /wp-admin/upload.php | 2.96 ▼0.27 | 19.28 ▼14.66 |
Settings /wp-admin/admin.php?page=tfsl-settings | 2.96 | 18.94 |
Import/Export /wp-admin/admin.php?page=tfsl-import-export | 2.96 | 18.04 |
Songs /wp-admin/admin.php?page=tfsl-songs | 2.96 | 18.88 |
Server storage [IO: ▲0.11MB] [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: 16 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_tfsl_songs |
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
tfsl_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for tf Song List
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,858 ▲123 | 14.47 ▼0.31 | 1.90 ▲0.19 | 43.78 ▼5.59 |
Dashboard /wp-admin | 2,237 ▲46 | 4.86 ▼1.19 | 97.09 ▼5.25 | 38.95 ▼1.09 |
Posts /wp-admin/edit.php | 2,120 ▲31 | 2.02 ▲0.00 | 38.51 ▼0.45 | 36.38 ▲0.72 |
Add New Post /wp-admin/post-new.php | 1,539 ▲2 | 17.58 ▼5.64 | 663.79 ▼13.78 | 61.16 ▼5.83 |
Media Library /wp-admin/upload.php | 1,419 ▲28 | 4.18 ▼0.02 | 94.95 ▼3.13 | 43.06 ▲1.99 |
Settings /wp-admin/admin.php?page=tfsl-settings | 1,070 | 2.06 | 23.25 | 27.94 |
Import/Export /wp-admin/admin.php?page=tfsl-import-export | 970 | 2.06 | 22.16 | 33.49 |
Songs /wp-admin/admin.php?page=tfsl-songs | 982 | 2.06 | 22.91 | 26.85 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin cannot be uninstalled
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method TFSongList::load_textdomain() should not be called statically
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Smoke test failed, please fix the following
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=tfsl-songs
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method TFSongList::load_textdomain() should not be called statically
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=tfsl-songs
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method TFSongList::admin_menu() should not be called statically
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=tfsl-songs
- > Deprecated in wp-content/plugins/tf-song-list/tf-song-list.php+291
Non-static method TFSongList::add_cap() should not be called statically
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=tfsl-songs
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method TFSongList::register_settings() should not be called statically
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=tfsl-songs
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method TFSongList::admin_head() should not be called statically
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=tfsl-songs
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method TFSongList::admin_help() should not be called statically
- > GET request to /wp-admin/admin.php?page=tfsl-settings
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method TFSLSettings::print_page() should not be called statically
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=tfsl-songs
- > Deprecated in wp-content/plugins/tf-song-list/tf-song-list.php+269
Non-static method TFSongList::sanitize_options() should not be called statically
- > GET request to /wp-admin/admin.php?page=tfsl-import-export
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method TFSLImportExport::print_page() should not be called statically
- > GET request to /wp-admin/admin.php?page=tfsl-songs
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method TFSLSongs::print_page() should not be called statically
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
8 plugin tags: music, song list, performers, songs, bands...
tf-song-list/tf-song-list.php Passed 13 tests
Analyzing the main PHP file in "tf Song List" version 1.1.0
102 characters long description:
An easy-to-use song listing plugin for bands and solo musicians. Insert with shortcode [tf_song_list].
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected1,962 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 168 | 403 | 1,440 |
PO File | 2 | 167 | 354 | 419 |
CSS | 2 | 25 | 40 | 103 |
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.52 |
Average class complexity | 40.75 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 186.00 |
Average method complexity | 6.78 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 56.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 1 | 12.50% |
▷ Concrete classes | 7 | 87.50% |
▷ Final classes | 1 | 14.29% |
Methods | 55 | |
▷ Static methods | 11 | 20.00% |
▷ Public methods | 48 | 87.27% |
▷ Protected methods | 1 | 1.82% |
▷ Private methods | 6 | 10.91% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin