Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
These installer errors require your attention
- Install procedure had errors
- > Parse error in wp-content/plugins/total-control-html5-audio-player-basic/total-control-html5-audio-player-plugin.php+525
syntax error, unexpected end of file
Server metrics [RAM: ▼0.01MB] [CPU: ▼8.10ms] Passed 4 tests
This is a short check of server-side resources used by Total Control HTML5 Audio Player Basic
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 36.80 ▼3.91 |
Dashboard /wp-admin | 3.31 ▼0.04 | 57.74 ▼1.23 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.17 ▲0.26 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 80.88 ▼22.58 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 30.77 ▼4.66 |
Server storage [IO: ▲0.78MB] [DB: ▲0.07MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 64 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Total Control HTML5 Audio Player Basic
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 14.79 ▲0.40 | 1.65 ▼0.16 | 38.94 ▼2.76 |
Dashboard /wp-admin | 2,209 ▲21 | 5.89 ▲0.02 | 93.18 ▼7.69 | 38.65 ▼4.86 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 2.06 ▲0.05 | 39.29 ▲2.81 | 35.08 ▼0.53 |
Add New Post /wp-admin/post-new.php | 1,533 ▼9 | 23.43 ▲5.31 | 642.11 ▲34.16 | 56.14 ▼14.00 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.18 ▼0.01 | 96.97 ▼0.63 | 43.84 ▼0.09 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 1× PHP files trigger server errors when accessed directly:
- > PHP Parse error
syntax error, unexpected end of file in wp-content/plugins/total-control-html5-audio-player-basic/total-control-html5-audio-player-plugin.php on line 525
- > PHP Parse error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Tags: You are using too many tags: 11 tag instead of maximum 10
- Screenshots: Add images for these screenshots: #1 (Playlist manager), #2 (Plugin widget), #3 (Player)
total-control-html5-audio-player-basic/total-control-html5-audio-player-plugin.php 92% from 13 tests
The main PHP script in "Total Control HTML5 Audio Player Basic" version 1.1 is automatically included on every request by WordPress
It is important to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("total-control-html5-audio-player-basic.php" instead of "total-control-html5-audio-player-plugin.php")
Code Analysis 5% from 3 tests
File types 0% from 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
It is important to fix the following items
- For security reasons, never distribute binary or executable files with your plugin
- .as - Adobe Flash ActionScript File in Adobe Flash
- ☣ wp-content/plugins/total-control-html5-audio-player-basic/javascripts/soundmanager/src/SoundManager2.as
- ☣ wp-content/plugins/total-control-html5-audio-player-basic/javascripts/soundmanager/src/SoundManager2_AS3.as
- ☣ wp-content/plugins/total-control-html5-audio-player-basic/javascripts/soundmanager/src/SoundManager2_SMSound_AS3.as
- .bat - Batch File in Windows
- ☣ wp-content/plugins/total-control-html5-audio-player-basic/javascripts/soundmanager/src/make-flash8.bat
- ☣ wp-content/plugins/total-control-html5-audio-player-basic/javascripts/soundmanager/src/make-flash9.bat
- .as - Adobe Flash ActionScript File in Adobe Flash
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 10 | 1,767 | 1,241 | 7,536 |
ActionScript | 3 | 206 | 308 | 1,408 |
CSS | 5 | 114 | 14 | 1,144 |
PHP | 1 | 125 | 28 | 372 |
HTML | 2 | 8 | 13 | 365 |
DOS Batch | 2 | 3 | 0 | 6 |
Bourne Shell | 2 | 0 | 0 | 4 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.04 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
30 PNG files occupy 0.20MB with 0.12MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
javascripts/jscrollpane/themes/lozenge/image/ui-icons_888888_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
images/default-scrubber-dragger.png | 3.74KB | 0.84KB | ▼ 77.53% |
images/default-lcd-screen.png | 3.79KB | 1.36KB | ▼ 64.00% |
images/default-control-panel.png | 2.92KB | 0.31KB | ▼ 89.38% |
screenshot-2.png | 34.70KB | 10.17KB | ▼ 70.70% |