Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
These installer errors require your attention
- Install procedure had errors
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method AetherPlayer::AetherPlayer_active() should not be called statically
Server metrics [RAM: ▼0.94MB] [CPU: ▼35.59ms] Passed 4 tests
An overview of server-side resources used by AetherPlayer
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.39 ▼0.07 | 26.05 ▼12.28 |
Dashboard /wp-admin | 3.00 ▼0.30 | 22.68 ▼25.40 |
Posts /wp-admin/edit.php | 3.01 ▼0.35 | 25.01 ▼25.02 |
Add New Post /wp-admin/post-new.php | 3.00 ▼2.88 | 22.91 ▼78.10 |
Media Library /wp-admin/upload.php | 3.00 ▼0.22 | 20.68 ▼13.82 |
AetherPlayer /wp-admin/options-general.php?page=aetherplayer | 3.01 | 23.50 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 16 new files
Database: no new tables, 7 new options
New WordPress options |
---|
aetherplayer_playlist |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
AetherPlayer: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,979 ▲244 | 13.68 ▼0.70 | 8.84 ▲7.21 | 66.49 ▲15.61 |
Dashboard /wp-admin | 2,213 ▲25 | 5.85 ▼0.21 | 103.96 ▼12.61 | 39.28 ▼4.44 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.04 ▲0.04 | 39.75 ▼1.07 | 35.67 ▼0.20 |
Add New Post /wp-admin/post-new.php | 1,517 ▼27 | 17.84 ▼0.77 | 707.20 ▲109.46 | 56.85 ▲8.63 |
Media Library /wp-admin/upload.php | 1,392 ▲10 | 4.18 ▼0.03 | 96.05 ▼1.60 | 45.50 ▲2.44 |
AetherPlayer /wp-admin/options-general.php?page=aetherplayer | 840 | 2.06 | 25.63 | 27.88 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Uninstall procedure validation failed for this plugin
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method AetherPlayer_Admin::init() should not be called statically
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_recent-posts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=aetherplayer
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method AetherPlayer_Admin::init() should not be called statically
- > GET request to /wp-admin/options-general.php?page=aetherplayer
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method AetherPlayer_Admin::aetherplayer_admin_page() should not be called statically
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=aetherplayer
- > Deprecated in wp-content/plugins/aetherplayer/class.aetherplayer-admin.php+19
Non-static method AetherPlayer::view() should not be called statically
SRP 0% 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
The following issues need your attention
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/aetherplayer/aetherplayer.php
- 4× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/aetherplayer/views/script.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_nonce_field() in wp-content/plugins/aetherplayer/views/main.php:48
- > PHP Notice
Undefined variable: rows in wp-content/plugins/aetherplayer/views/main.php on line 15
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/aetherplayer/views/main.php on line 15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues 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
These attributes need your attention:
- Screenshots: Add an image for screenshot #1 (The front-end interface of the player in your homepage.)
aetherplayer/aetherplayer.php 92% from 13 tests
The principal PHP file in "AetherPlayer" v. 1.1 is loaded by WordPress automatically on each request
The following require your attention:
- Description: Keep the plugin description shorter than 140 characters (currently 162 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected638 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 76 | 45 | 304 |
PHP | 5 | 60 | 37 | 241 |
CSS | 1 | 3 | 10 | 44 |
Markdown | 2 | 16 | 0 | 37 |
HTML | 1 | 1 | 0 | 12 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.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 | 6 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 6 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin