Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.27MB] [CPU: ▼0.15ms] Passed 4 tests
Analyzing server-side resources used by AudioIgniter Music Player
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.75 ▲0.28 | 45.47 ▲0.70 |
Dashboard /wp-admin | 3.58 ▲0.23 | 54.23 ▼11.74 |
Posts /wp-admin/edit.php | 3.69 ▲0.34 | 56.02 ▲4.69 |
Add New Post /wp-admin/post-new.php | 6.16 ▲0.28 | 106.57 ▲5.76 |
Media Library /wp-admin/upload.php | 3.50 ▲0.27 | 46.75 ▲10.71 |
All Playlists /wp-admin/edit.php?post_type=ai_playlist | 3.55 | 40.94 |
Add New Playlist /wp-admin/post-new.php?post_type=ai_playlist | 3.56 | 51.73 |
Server storage [IO: ▲0.86MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 68 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
AudioIgniter Music Player: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,881 ▲120 | 13.82 ▼0.53 | 20.64 ▲18.94 | 37.11 ▼2.07 |
Dashboard /wp-admin | 2,219 ▲45 | 5.56 ▼0.07 | 89.55 ▼8.25 | 41.65 ▲1.97 |
Posts /wp-admin/edit.php | 2,130 ▲27 | 2.03 ▲0.05 | 40.69 ▲4.02 | 35.87 ▼0.43 |
Add New Post /wp-admin/post-new.php | 1,549 ▲23 | 23.08 ▼0.01 | 682.25 ▼4.99 | 53.21 ▼12.32 |
Media Library /wp-admin/upload.php | 1,427 ▲27 | 4.16 ▼0.06 | 108.21 ▲8.80 | 46.94 ▲2.58 |
All Playlists /wp-admin/edit.php?post_type=ai_playlist | 1,099 | 1.98 | 30.67 | 30.49 |
Add New Playlist /wp-admin/post-new.php?post_type=ai_playlist | 2,202 | 3.64 | 65.16 | 97.91 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function status_header() in wp-content/plugins/audioigniter/uninstall.php:6
- > 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 86% 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:
- Tags: Please reduce the number of tags, currently 12 tag instead of maximum 10
audioigniter/audioigniter.php 77% from 13 tests
The principal PHP file in "AudioIgniter Music Player" v. 2.0.0 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 150 characters long)
- Domain Path: Prefix the domain path with a forward slash character ("/languages")
- Domain Path: Note that the domain path follows the same naming rules as the domain name, using only dashes and lowercase characters ("languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin6,809 lines of code in 55 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 37 | 425 | 288 | 3,102 |
Sass | 4 | 271 | 87 | 1,533 |
PHP | 4 | 284 | 447 | 1,233 |
CSS | 5 | 118 | 2 | 567 |
EJS | 1 | 6 | 0 | 188 |
JSON | 2 | 0 | 0 | 131 |
HTML | 1 | 0 | 0 | 54 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 34.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 53.00 |
Average method complexity | 2.65 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 60 | |
▷ Static methods | 16 | 26.67% |
▷ Public methods | 51 | 85.00% |
▷ Protected methods | 7 | 11.67% |
▷ Private methods | 2 | 3.33% |
Functions | 1 | |
▷ Named functions | 1 | 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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/vc_icon.png | 1.81KB | 0.84KB | ▼ 53.73% |