Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼7.00ms] Passed 4 tests
A check of server-side resources used by Meks Audio Player
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.09 | 42.22 ▲3.23 |
Dashboard /wp-admin | 3.40 ▲0.05 | 53.93 ▼7.60 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 46.59 ▼3.82 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.11 | 92.07 ▼14.69 |
Media Library /wp-admin/upload.php | 3.33 ▲0.09 | 35.22 ▼1.88 |
Meks Audio Player /wp-admin/options-general.php?page=meks-audio-player | 3.30 | 32.45 |
Server storage [IO: ▲0.33MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 24 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
Meks Audio Player: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,018 ▲257 | 14.23 ▼0.12 | 18.62 ▲16.95 | 42.33 ▲2.56 |
Dashboard /wp-admin | 2,215 ▲35 | 5.90 ▲0.22 | 95.53 ▲11.51 | 41.37 ▼1.08 |
Posts /wp-admin/edit.php | 2,125 ▲25 | 2.29 ▲0.31 | 39.43 ▲5.40 | 34.49 ▼2.44 |
Add New Post /wp-admin/post-new.php | 6,218 ▲4,692 | 21.27 ▼1.84 | 844.27 ▲138.07 | 46.10 ▼5.63 |
Media Library /wp-admin/upload.php | 1,417 ▲20 | 4.40 ▲0.20 | 100.25 ▼1.97 | 42.34 ▼2.40 |
Meks Audio Player /wp-admin/options-general.php?page=meks-audio-player | 1,135 | 2.59 | 48.01 | 28.75 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
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
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: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/meks-audio-player/inc/player.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/meks-audio-player/inc/register-blocks.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
7 plugin tags: podcast, radio, block, audio, player...
meks-audio-player/meks-audio-player.php Passed 13 tests
The main file in "Meks Audio Player" v. 1.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
113 characters long description:
Easily enhance your podcasts, music or any audio files with a full-featured and customizable sticky audio player.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin8,552 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 7 | 1,599 | 71 | 7,268 |
CSS | 3 | 147 | 20 | 810 |
PHP | 5 | 215 | 149 | 457 |
SVG | 1 | 0 | 0 | 17 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 37.00 |
▷ Minimum class complexity | 37.00 |
▷ Maximum class complexity | 37.00 |
Average method complexity | 2.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.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 | 26 | |
▷ Static methods | 1 | 3.85% |
▷ Public methods | 26 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected