Benchmarks
Plugin footprint 48% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼2.01ms] Passed 4 tests
Server-side resources used by Easy Waveform Player
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 41.00 ▼2.20 |
Dashboard /wp-admin | 3.36 ▲0.06 | 47.24 ▼0.09 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 48.07 ▼5.16 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 96.79 ▼0.59 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 39.70 ▲4.04 |
Server storage [IO: ▲0.18MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 37 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Easy Waveform Player
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,821 ▲35 | 13.17 ▼1.45 | 4.30 ▲2.04 | 41.53 ▼6.53 |
Dashboard /wp-admin | 2,230 ▲30 | 4.86 ▼0.06 | 111.25 ▲4.87 | 44.10 ▲1.38 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 2.02 ▼0.03 | 39.80 ▼2.03 | 39.20 ▼0.87 |
Add New Post /wp-admin/post-new.php | 1,551 ▲25 | 23.18 ▲5.62 | 651.16 ▼16.37 | 56.53 ▼1.20 |
Media Library /wp-admin/upload.php | 1,409 ▲9 | 4.26 ▲0.00 | 109.42 ▲10.29 | 44.14 ▼1.73 |
Uninstaller [IO: ▲0.18MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the followingThis plugin does not fully uninstall, leaving 7 options in the database
- The plugin did not uninstall gracefully
- > Notice in wp-content/plugins/easy-waveform-player/uninstall.php+17
Undefined variable: easywaveformplayer
- This plugin has failed uninstalling correctly, leaving 37 files (0.18MB) in the plugin directory
- (new file) assets/js/index.php
- (new file) assets/images/index.php
- (new file) easy-waveform-player.php
- (new file) assets/js/wavesurfer-cursor.js
- (new file) assets/css/bundle.css
- (new file) assets/js/bundle.js
- (new file) includes/class-easywaveformplayer-settings.php
- (new file) assets/index.php
- (new file) assets/js/wavesurfer.js
- (new file) assets/css/index.php
- ...
- widget_theysaidso_widget
- widget_recent-comments
- recovery_mode_email_last_sent
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
Please fix the following
- 9× PHP files output text when accessed directly:
- > /wp-content/plugins/easy-waveform-player/includes/integrations/class-easywaveformplayer-integrations.php
- > /wp-content/plugins/easy-waveform-player/easy-waveform-player.php
- > /wp-content/plugins/easy-waveform-player/includes/integrations/builders/class-easywaveformplayer-integrations-elementor.php
- > /wp-content/plugins/easy-waveform-player/libs/wp-plugin-settings/class-wp-plugin-settings.php
- > /wp-content/plugins/easy-waveform-player/includes/integrations/builders/class-easywaveformplayer-integrations-gutenberg.php
- > /wp-content/plugins/easy-waveform-player/includes/class-easywaveformplayer-settings.php
- > /wp-content/plugins/easy-waveform-player/includes/integrations/builders/Elementor/class-ewfp-integrations-easywaveformplayer-block.php
- > /wp-content/plugins/easy-waveform-player/includes/class-easywaveformplayer.php
- > /wp-content/plugins/easy-waveform-player/includes/integrations/builders/class-easywaveformplayer-integrations-wpbvc.php
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 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Tags: There are too many tags (15 tag instead of maximum 10)
easy-waveform-player/easy-waveform-player.php 92% from 13 tests
Analyzing the main PHP file in "Easy Waveform Player" version 1.1.1
Please make the necessary changes and fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin2,183 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 198 | 646 | 1,587 |
JavaScript | 6 | 69 | 61 | 591 |
CSS | 5 | 0 | 0 | 5 |
PHP code Passed 2 tests
This is a short overview 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.44 |
Average class complexity | 23.38 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 67.00 |
Average method complexity | 3.89 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 37.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 62 | |
▷ Static methods | 8 | 12.90% |
▷ Public methods | 52 | 83.87% |
▷ Protected methods | 3 | 4.84% |
▷ Private methods | 7 | 11.29% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.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
There are no PNG files in this plugin