Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.11MB] [CPU: ▼576.54ms] Passed 4 tests
An overview of server-side resources used by The sixtyseven song requester plugin
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.91 ▲0.19 | 30.90 ▲8.04 |
Dashboard /wp-admin | 3.15 ▲0.10 | 45.11 ▲8.02 |
Posts /wp-admin/edit.php | 3.27 ▲0.16 | 43.36 ▲3.93 |
Add New Post /wp-admin/post-new.php | 5.52 ▲0.09 | 92.91 ▼2,311.76 |
Media Library /wp-admin/upload.php | 3.10 ▲0.09 | 32.92 ▼6.33 |
About /wp-admin/admin.php?page=ss_song_requester_admin_about | 3.07 | 31.44 |
Demo data /wp-admin/admin.php?page=ss_song_requester_admin_demo | 3.07 | 26.31 |
Current requests /wp-admin/admin.php?page=ss_song_requester_admin | 3.08 | 29.85 |
Settings /wp-admin/admin.php?page=ss_song_requester_admin_settings | 3.07 | 32.58 |
Server storage [IO: ▲1.61MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 59 new files
Database: 1 new table, no new options
New tables |
---|
wp_ss_song_requester_current_requests |
Browser metrics Passed 4 tests
Checking browser requirements for The sixtyseven song requester plugin
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,714 ▲109 | 15.79 ▼0.13 | 7.54 ▼0.11 | 45.88 ▼1.54 |
Dashboard /wp-admin | 2,971 ▲121 | 5.94 ▼0.04 | 139.12 ▲4.57 | 107.65 ▲12.10 |
Posts /wp-admin/edit.php | 2,747 ▲41 | 2.68 ▼0.01 | 66.07 ▲2.79 | 89.22 ▼6.28 |
Add New Post /wp-admin/post-new.php | 1,880 ▲27 | 18.74 ▼0.35 | 370.67 ▲8.21 | 103.77 ▼6.90 |
Media Library /wp-admin/upload.php | 1,816 ▲41 | 5.01 ▲0.01 | 155.85 ▲13.35 | 116.02 ▼12.05 |
About /wp-admin/admin.php?page=ss_song_requester_admin_about | 1,109 | 4.17 | 76.18 | 78.06 |
Demo data /wp-admin/admin.php?page=ss_song_requester_admin_demo | 1,515 | 4.34 | 77.68 | 61.10 |
Current requests /wp-admin/admin.php?page=ss_song_requester_admin | 1,472 | 3.83 | 63.71 | 82.49 |
Settings /wp-admin/admin.php?page=ss_song_requester_admin_settings | 1,761 | 4.80 | 89.34 | 106.30 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/the-sixtyseven-song-requester/uninstall.php+24
Trying to access array offset on value of type bool
- Zombie tables were found after uninstall: 1 table
- wp_ss_song_requester_current_requests
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, 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 take a closer look at the following
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_List_Table' not found in wp-content/plugins/the-sixtyseven-song-requester/includes/class-ss_song_requester-list-table.php:22
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 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
No tags were detected
the-sixtyseven-song-requester/ss_song_requester.php 85% from 13 tests
The main file in "The sixtyseven song requester plugin" v. 1.0.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes
- Main file name: Name the main plugin file the same as the plugin slug ("the-sixtyseven-song-requester.php" instead of "ss_song_requester.php")
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
Everything looks great! No dangerous files found in this plugin5,306 lines of code in 25 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 700 | 1,149 | 2,287 |
PO File | 2 | 540 | 662 | 1,664 |
JavaScript | 5 | 272 | 259 | 1,062 |
CSS | 3 | 42 | 9 | 280 |
SVG | 1 | 1 | 0 | 13 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 31.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 124.00 |
Average method complexity | 3.63 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 30.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 116 | |
▷ Static methods | 20 | 17.24% |
▷ Public methods | 105 | 90.52% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 11 | 9.48% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 1 test
Image compression Passed 1 test
PNG files should be compressed to save space and minimize bandwidth usage
4 PNG files occupy 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/img/badge.png | 17.60KB | 9.24KB | ▼ 47.50% |
admin/img/help-sidebar-logo.png | 4.20KB | 2.71KB | ▼ 35.45% |
assets/icon-128x128.png | 9.72KB | 4.58KB | ▼ 52.89% |
assets/icon-256x256.png | 12.23KB | 5.86KB | ▼ 52.12% |