Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼9.24ms] Passed 4 tests
A check of server-side resources used by Music Request Manager
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 49.36 ▲11.72 |
Dashboard /wp-admin | 3.35 ▲0.00 | 44.03 ▼23.91 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 49.83 ▼2.82 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 86.51 ▼11.41 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 40.16 ▲1.19 |
Music Request /wp-admin/options-general.php?page=set-music-options | 3.24 | 31.89 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] 67% from 3 tests
Filesystem and database footprint
These are issues you should consider
- You have illegally modified 1 file (4.00KB) outside of "wp-content/plugins/music-request-manager/" and "wp-content/uploads/"
- (new file) wp-content/mgd_mirror/mgd_maximinodotpy-gitdown-test-repository
Filesystem: 2 new files
Database: 1 new table, 8 new options
New tables |
---|
wp_current_requests |
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
music_request_countdown |
music_request_credit |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Music Request Manager
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,822 ▲61 | 13.32 ▼1.06 | 5.25 ▲3.48 | 37.51 ▼2.04 |
Dashboard /wp-admin | 2,225 ▲18 | 4.85 ▼0.20 | 113.00 ▲3.18 | 44.26 ▲5.14 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 2.01 ▼0.01 | 40.77 ▲7.23 | 37.11 ▼0.02 |
Add New Post /wp-admin/post-new.php | 1,548 ▲7 | 23.23 ▲0.16 | 597.23 ▼108.54 | 56.16 ▲0.81 |
Media Library /wp-admin/upload.php | 1,407 ▲10 | 4.20 ▼0.01 | 97.02 ▼4.04 | 43.62 ▼2.56 |
Music Request /wp-admin/options-general.php?page=set-music-options | 840 | 2.06 | 27.56 | 29.48 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- Zombie tables detected upon uninstall: 1 table
- wp_current_requests
- The uninstall procedure has failed, leaving 8 options in the database
- widget_recent-posts
- music_request_countdown
- theysaidso_admin_options
- can_compress_scripts
- music_request_credit
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% 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 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 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/music-request-manager/requests.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
No plugin tags provided
music-request-manager/requests.php 85% from 13 tests
This is the main PHP file of "Music Request Manager" version 1.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 226 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("music-request-manager.php" instead of "requests.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected264 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 241 | 12 | 264 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 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 are no PNG files in this plugin