Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.32MB] [CPU: ▼2.25ms] Passed 4 tests
A check of server-side resources used by Audio Editor & Recorder
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.84 ▲0.38 | 232.45 ▲194.17 |
Dashboard /wp-admin | 3.59 ▲0.29 | 45.86 ▼0.50 |
Posts /wp-admin/edit.php | 3.69 ▲0.34 | 51.37 ▲5.92 |
Add New Post /wp-admin/post-new.php | 6.31 ▲0.42 | 86.39 ▼12.82 |
Media Library /wp-admin/upload.php | 3.51 ▲0.29 | 35.68 ▼1.60 |
Add New /wp-admin/post-new.php?post_type=audio | 6.30 | 82.70 |
All Audio /wp-admin/edit.php?post_type=audio | 3.56 | 34.87 |
Audio categories /wp-admin/edit-tags.php?taxonomy=audios&post_type=audio | 3.51 | 33.49 |
Server storage [IO: ▲8.84MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 25 new files
Database: 1 new table, 8 new options
New tables |
---|
wp_gsp_audio_config |
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
api_ext |
widget_recent-posts |
db_upgraded |
api_url |
Browser metrics Passed 4 tests
Checking browser requirements for Audio Editor & Recorder
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,958 ▲212 | 13.68 ▼0.62 | 10.01 ▲8.19 | 42.50 ▲1.57 |
Dashboard /wp-admin | 2,256 ▲71 | 4.86 ▼0.96 | 99.73 ▼9.31 | 38.54 ▼5.18 |
Posts /wp-admin/edit.php | 2,142 ▲53 | 2.05 ▲0.01 | 40.66 ▼1.26 | 35.23 ▼0.85 |
Add New Post /wp-admin/post-new.php | 1,557 ▲36 | 23.38 ▲0.04 | 624.94 ▼58.40 | 55.43 ▲2.85 |
Media Library /wp-admin/upload.php | 1,432 ▲47 | 4.23 ▼0.07 | 105.96 ▲2.35 | 43.83 ▼2.05 |
Add New /wp-admin/post-new.php?post_type=audio | 6,491 | 20.06 | 911.33 | 43.31 |
All Audio /wp-admin/edit.php?post_type=audio | 1,154 | 1.95 | 36.05 | 32.43 |
Audio categories /wp-admin/edit-tags.php?taxonomy=audios&post_type=audio | 1,315 | 2.16 | 27.22 | 29.49 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% 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
- Zombie tables detected upon uninstall: 1 table
- wp_gsp_audio_config
- This plugin did not uninstall successfully, leaving 8 options in the database
- db_upgraded
- api_url
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- api_ext
- widget_theysaidso_widget
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)
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 9× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/audio-editor-recorder/templates/single-audio.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/audio-editor-recorder/frontend/gsp-functions.php:48
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/audio-editor-recorder/templates/archive-audio.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/audio-editor-recorder/frontend/gsp-edit-audio.php:27
- > PHP Fatal error
Uncaught Error: Call to undefined function do_shortcode() in wp-content/plugins/audio-editor-recorder/frontend/user_audio_edit_form.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/audio-editor-recorder/admin/audio_editor_settings.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/audio-editor-recorder/frontend/gsp-all-my-list.php:29
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/audio-editor-recorder/audio-editor-recorder.php:27
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/audio-editor-recorder/frontend/gsp-all-audio-list.php:29
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please take a look at the following user-side issues
- > GET request to /wp-admin/post-new.php?post_type=audio
- > Javascript (severe) in unknown
/wp-admin/post-new.php?post_type=audio 1345:27 Uncaught TypeError: Cannot read properties of undefined (reading 'getUserMedia')
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Screenshots: These screenshots need descriptions #10, #11, #2, #3, #4, #5, #6, #7, #8, #9 in audio-editor-recorder/assets to your readme.txt
audio-editor-recorder/audio-editor-recorder.php Passed 13 tests
The main PHP script in "Audio Editor & Recorder" version 2.1.0 is automatically included on every request by WordPress
131 characters long description:
Record, upload and edit audio files and posts from your dashboard or from the frontend. Use audios as native Wordpress mp3 objects.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin13,120 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 5 | 3,480 | 1,097 | 10,651 |
PHP | 10 | 7,492 | 1,076 | 1,722 |
CSS | 3 | 1,791 | 13 | 747 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 28 | |
▷ Named functions | 28 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
3 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/glyphicons-halflings.png | 13.50KB | 10.35KB | ▼ 23.34% |
(invalid) images/default_avater.png | 1.49KB | 0.00KB | ▼ 100.00% |
images/glyphicons-halflings-white.png | 8.57KB | 9.20KB | 0.00% |