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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.20MB] [CPU: ▼3.55ms] Passed 4 tests
An overview of server-side resources used by thefreemusician
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.18 | 28.80 ▼11.80 |
Dashboard /wp-admin | 3.51 ▲0.21 | 46.78 ▼4.22 |
Posts /wp-admin/edit.php | 3.64 ▲0.28 | 48.40 ▼1.30 |
Add New Post /wp-admin/post-new.php | 6.10 ▲0.21 | 95.77 ▲3.14 |
Media Library /wp-admin/upload.php | 3.43 ▲0.21 | 37.82 ▲4.64 |
Artists /wp-admin/edit.php?post_type=artist | 3.49 | 44.18 |
Add New /wp-admin/post-new.php?post_type=album | 3.64 | 50.20 |
Add New /wp-admin/post-new.php?post_type=song | 3.63 | 49.96 |
Albums /wp-admin/edit.php?post_type=album | 3.49 | 36.64 |
Songs /wp-admin/edit.php?post_type=song | 3.49 | 35.92 |
TFM Player /wp-admin/options-general.php?page=TFM_Player | 3.40 | 31.99 |
Add New /wp-admin/post-new.php?post_type=artist | 3.58 | 51.40 |
Server storage [IO: ▲0.03MB] [DB: ▲0.01MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 5 new files
Database: no new tables, 13 new options
New WordPress options |
---|
TFM_Player_playhtml |
TFM_Player_id |
TFM_Player_stophtml |
widget_recent-comments |
can_compress_scripts |
TFM_Player_menu |
TFM_Player_enable_ajax |
widget_theysaidso_widget |
TFM_Player_fade |
db_upgraded |
... |
Browser metrics Passed 4 tests
thefreemusician: 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,984 ▲249 | 13.77 ▼0.88 | 8.83 ▲6.71 | 40.14 ▼7.60 |
Dashboard /wp-admin | 2,294 ▲103 | 5.86 ▼0.04 | 106.03 ▼9.22 | 43.49 ▼5.66 |
Posts /wp-admin/edit.php | 2,174 ▲88 | 2.03 ▲0.03 | 39.45 ▲3.44 | 34.33 ▼2.18 |
Add New Post /wp-admin/post-new.php | 1,591 ▲77 | 23.06 ▲5.47 | 576.02 ▼144.66 | 54.18 ▲3.57 |
Media Library /wp-admin/upload.php | 1,473 ▲82 | 4.20 ▼0.01 | 93.29 ▼8.76 | 42.28 ▼1.36 |
Artists /wp-admin/edit.php?post_type=artist | 1,110 | 2.01 | 31.28 | 29.59 |
Add New /wp-admin/post-new.php?post_type=album | 2,546 | 7.79 | 178.17 | 64.93 |
Add New /wp-admin/post-new.php?post_type=song | 2,543 | 7.66 | 172.09 | 55.70 |
Albums /wp-admin/edit.php?post_type=album | 1,113 | 1.96 | 30.21 | 30.29 |
Songs /wp-admin/edit.php?post_type=song | 1,103 | 1.98 | 32.81 | 28.13 |
TFM Player /wp-admin/options-general.php?page=TFM_Player | 936 | 2.04 | 23.79 | 27.65 |
Add New /wp-admin/post-new.php?post_type=artist | 2,503 | 7.60 | 162.31 | 53.16 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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 items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/the-free-musician-player/thefreemusician.php:20
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== the-free-musician-player ===
)
the-free-musician-player/thefreemusician.php 92% from 13 tests
The primary PHP file in "thefreemusician" version 0.6.1 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("the-free-musician-player.php" instead of "thefreemusician.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
There were no executable files found in this plugin658 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 108 | 60 | 652 |
CSS | 1 | 0 | 0 | 6 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 8.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 16.00 |
Average method complexity | 3.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 33 | |
▷ Named functions | 33 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin