Benchmarks
Plugin footprint 83% 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.02MB] [CPU: ▼10.28ms] Passed 4 tests
An overview of server-side resources used by KrakenFiles.com audio player
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 39.27 ▼6.08 |
Dashboard /wp-admin | 3.34 ▼0.00 | 48.03 ▼16.91 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 50.11 ▼4.01 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 93.42 ▼7.50 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 38.28 ▼10.63 |
KrakenFiles.com audio player /wp-admin/options-general.php?page=krakenfiles-com-audio-player/kraken-embed-audio.php | 3.23 | 32.86 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 9 new files
Database: no new tables, 9 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
krakendownbutt |
can_compress_scripts |
krakenauto |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
krakenwidth |
Browser metrics Passed 4 tests
KrakenFiles.com audio 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,793 ▲7 | 14.46 ▲0.10 | 1.59 ▼0.48 | 39.65 ▼4.32 |
Dashboard /wp-admin | 2,202 ▲22 | 5.70 ▲0.06 | 81.50 ▼15.48 | 38.30 ▼7.63 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 1.98 ▼0.07 | 41.82 ▲1.59 | 35.99 ▼1.02 |
Add New Post /wp-admin/post-new.php | 1,548 ▲22 | 23.29 ▲5.64 | 665.06 ▼19.55 | 56.19 ▼4.60 |
Media Library /wp-admin/upload.php | 1,404 ▲7 | 4.19 ▼0.12 | 97.36 ▼20.40 | 44.19 ▼5.94 |
KrakenFiles.com audio player /wp-admin/options-general.php?page=krakenfiles-com-audio-player/kraken-embed-audio.php | 849 | 2.06 | 24.29 | 27.49 |
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
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, 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
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/krakenfiles-com-audio-player/kraken-embed-audio.php:29
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were 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
These attributes need to be fixed:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Plugin settings page), #2 (You must only put some Zippyshare links to your Wordpress content), #3 (Working plugin)
krakenfiles-com-audio-player/kraken-embed-audio.php 92% from 13 tests
"KrakenFiles.com audio player" version 1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("krakenfiles-com-audio-player.php" instead of "kraken-embed-audio.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin175 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 36 | 33 | 117 |
PO File | 1 | 21 | 24 | 58 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
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 | 7 | |
▷ Named functions | 7 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
4 PNG files occupy 0.11MB with 0.06MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 30.48KB | 12.77KB | ▼ 58.12% |
screenshot-3.png | 50.08KB | 21.49KB | ▼ 57.09% |
images/download_button.png | 14.34KB | 5.93KB | ▼ 58.68% |
screenshot-1.png | 17.16KB | 7.76KB | ▼ 54.77% |