Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼6.73ms] Passed 4 tests
This is a short check of server-side resources used by Audio Envelope
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.41 ▼0.05 | 33.89 ▼7.88 |
Dashboard /wp-admin | 3.34 ▲0.04 | 47.98 ▲0.26 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 41.26 ▼6.52 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 85.33 ▼10.17 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 36.19 ▼2.33 |
Audio Envelope /wp-admin/options-general.php?page=audio-envelope | 3.26 | 31.38 |
Server storage [IO: ▲0.62MB] [DB: ▲0.07MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 76 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
audio_envelope_plugin_options |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Audio Envelope
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,016 ▲255 | 15.24 ▲0.71 | 33.78 ▲31.94 | 44.32 ▲2.19 |
Dashboard /wp-admin | 2,206 ▲29 | 5.60 ▲0.03 | 86.58 ▼6.02 | 41.94 ▲4.32 |
Posts /wp-admin/edit.php | 2,108 ▲11 | 1.98 ▼0.01 | 38.91 ▲1.13 | 31.20 ▼8.50 |
Add New Post /wp-admin/post-new.php | 6,239 ▲4,713 | 18.63 ▼4.40 | 869.41 ▲236.21 | 37.01 ▼10.71 |
Media Library /wp-admin/upload.php | 1,408 ▲8 | 4.14 ▼0.13 | 101.15 ▲2.54 | 41.99 ▼2.65 |
Audio Envelope /wp-admin/options-general.php?page=audio-envelope | 975 | 2.00 | 27.28 | 29.36 |
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
You still need to fix the following
- This plugin did not uninstall successfully, leaving 7 options in the database
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- audio_envelope_plugin_options
Smoke tests 50% 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)
The smoke test was a success, however most plugin functionality was not tested
SRP 0% 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
Almost there! Just fix the following items
- 3× PHP files output text when accessed directly:
- > /wp-content/plugins/audio-envelope/public/templates/ae-player-button.php
- > /wp-content/plugins/audio-envelope/public/templates/ae-playlist-panel.php
- > /wp-content/plugins/audio-envelope/public/partials/audio-envelope-public-display.php
- 5× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function Elementor_Audio_Envelope\\add_action() in wp-content/plugins/audio-envelope/elementor/init.php:85
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/audio-envelope/admin/partials/audio-envelope-admin-display.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function _x() in wp-content/plugins/audio-envelope/public/templates/ae-playlist-current-item.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function _x() in wp-content/plugins/audio-envelope/public/templates/ae-playlist-item.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/audio-envelope/blocks/audio-envelope.php:66
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Screenshots: Screenshot #1 (Expanded full player and playlist for desktop) image missing
audio-envelope/audio-envelope.php 92% from 13 tests
The entry point to "Audio Envelope" version 1.0.9 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 339 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected12,383 lines of code in 68 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 3 | 0 | 0 | 5,409 |
JavaScript | 17 | 673 | 689 | 3,131 |
CSS | 9 | 422 | 127 | 1,853 |
PHP | 21 | 321 | 961 | 1,140 |
HTML | 2 | 35 | 28 | 798 |
SVG | 16 | 0 | 0 | 52 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 6.82 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 27.00 |
Average method complexity | 1.83 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 1 | 9.09% |
Methods | 77 | |
▷ Static methods | 5 | 6.49% |
▷ Public methods | 68 | 88.31% |
▷ Protected methods | 4 | 5.19% |
▷ Private methods | 5 | 6.49% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 1 | 25.00% |
▷ Class constants | 3 | 75.00% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin