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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼6.69ms] Passed 4 tests
An overview of server-side resources used by Featured Audio
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 41.10 ▲4.81 |
Dashboard /wp-admin | 3.38 ▲0.03 | 48.29 ▼14.32 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 41.44 ▼8.61 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.10 | 92.72 ▼4.72 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 33.19 ▲0.88 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 6 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_featured_audio_recent_playlist_widget |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_featured_audio_playlist_widget |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Featured Audio
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲43 | 14.35 ▲0.00 | 1.76 ▲0.19 | 44.12 ▲2.13 |
Dashboard /wp-admin | 2,198 ▲21 | 5.62 ▲0.02 | 86.47 ▼2.38 | 38.40 ▼6.71 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 2.01 ▲0.06 | 34.05 ▼3.10 | 31.78 ▼4.24 |
Add New Post /wp-admin/post-new.php | 6,257 ▲4,731 | 21.08 ▼1.94 | 874.17 ▲193.30 | 77.02 ▲17.27 |
Media Library /wp-admin/upload.php | 1,400 ▼3 | 4.30 ▲0.08 | 104.24 ▲3.08 | 42.58 ▼2.72 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- Zombie WordPress options detected upon uninstall: 8 options
- widget_featured_audio_playlist_widget
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- widget_featured_audio_recent_playlist_widget
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 75% 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 | 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
The following issues need your attention
- 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/featured-audio/featured-audio-recent-playlist-widget.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/featured-audio/post-meta.php:22
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/featured-audio/featured-audio-playlist-widget.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/featured-audio/featured-audio.php:33
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
4 plugin tags: audio, podcast, media, music
featured-audio/featured-audio.php Passed 13 tests
The main PHP file in "Featured Audio" ver. 1.2 adds more information about the plugin and also serves as the entry point for this plugin
65 characters long description:
Add featured audio to your posts and pages, like featured images.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin380 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 68 | 124 | 308 |
JavaScript | 1 | 12 | 25 | 72 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 2.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 8 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 17 | |
▷ Named functions | 17 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin