Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.03MB] [CPU: ▼2.72ms] Passed 4 tests
An overview of server-side resources used by Custom Music Review
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 38.99 ▼2.54 |
Dashboard /wp-admin | 3.33 ▲0.03 | 46.67 ▲1.41 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 46.25 ▼3.70 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 91.88 ▼5.63 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 34.48 ▲0.98 |
Genres /wp-admin/edit-tags.php?taxonomy=genres&post_type=music_review | 3.25 | 30.60 |
Add New /wp-admin/post-new.php?post_type=music_review | 3.41 | 50.43 |
Music Reviews /wp-admin/edit.php?post_type=music_review | 3.30 | 34.06 |
Server storage [IO: ▲0.24MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 6 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
mrpage |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Custom Music Review
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,834 ▲77 | 14.47 ▼0.17 | 1.63 ▼0.50 | 42.73 ▼5.30 |
Dashboard /wp-admin | 2,240 ▲52 | 4.89 ▼0.00 | 107.20 ▲7.49 | 40.55 ▼2.60 |
Posts /wp-admin/edit.php | 2,123 ▲34 | 2.00 ▼0.05 | 34.80 ▼6.91 | 34.50 ▲0.33 |
Add New Post /wp-admin/post-new.php | 1,568 ▲32 | 18.83 ▼4.44 | 615.15 ▲10.93 | 60.03 ▲11.57 |
Media Library /wp-admin/upload.php | 1,419 ▲31 | 4.33 ▲0.03 | 93.43 ▼5.55 | 43.57 ▼1.15 |
Genres /wp-admin/edit-tags.php?taxonomy=genres&post_type=music_review | 1,290 | 2.14 | 26.15 | 28.33 |
Add New /wp-admin/post-new.php?post_type=music_review | 2,754 | 7.74 | 191.02 | 77.72 |
Music Reviews /wp-admin/edit.php?post_type=music_review | 1,132 | 1.95 | 30.37 | 28.71 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 7 options
- widget_recent-posts
- mrpage
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
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
Almost there! Just fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/music-reviews/custom-music-reviews.php:53
- > 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 on the user side
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 81% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Tags: Too many tags (12 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Screenshots: These screenshots have no corresponding images in /assets: #1 (screenshot-1.png), #2 (screenshot-2.png), #3 (screenshot-3.png)
- Donate link: Invalid URI ("")
music-reviews/custom-music-reviews.php 85% from 13 tests
The main PHP script in "Custom Music Review" version 1.3 is automatically included on every request by WordPress
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("music-reviews.php" instead of "custom-music-reviews.php")
- Description: Please keep the plugin description shorter than 140 characters (currently 141 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected70 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 8 | 13 | 70 |
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.00 |
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 | 3 | |
▷ Named functions | 3 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
3 PNG files occupy 0.22MB with 0.15MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 86.40KB | 27.77KB | ▼ 67.86% |
screenshot-2.png | 55.75KB | 17.56KB | ▼ 68.50% |
screenshot-3.png | 80.77KB | 25.87KB | ▼ 67.97% |