Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼5.85ms] Passed 4 tests
An overview of server-side resources used by Buooy Aviary Editor
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 36.63 ▼8.22 |
Dashboard /wp-admin | 3.35 ▲0.04 | 50.04 ▲0.97 |
Posts /wp-admin/edit.php | 3.46 ▲0.10 | 47.07 ▼1.60 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 83.68 ▼14.56 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 37.37 ▲1.69 |
Aviary Settings /wp-admin/options-general.php?page=aviary_settings | 3.24 | 30.77 |
Server storage [IO: ▲2.38MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 57 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
Buooy Aviary Editor: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,913 ▲142 | 13.18 ▼1.20 | 1.76 ▼0.23 | 37.94 ▼5.80 |
Dashboard /wp-admin | 2,331 ▲140 | 5.88 ▲0.97 | 99.76 ▼0.10 | 60.65 ▲19.70 |
Posts /wp-admin/edit.php | 2,216 ▲127 | 2.02 ▼0.04 | 42.29 ▲2.69 | 62.37 ▲27.05 |
Add New Post /wp-admin/post-new.php | 1,542 ▲22 | 21.09 ▼1.77 | 654.50 ▲15.29 | 75.46 ▲24.39 |
Media Library /wp-admin/upload.php | 1,579 ▲194 | 4.20 ▲0.02 | 96.74 ▼5.63 | 50.40 ▲7.33 |
Aviary Settings /wp-admin/options-general.php?page=aviary_settings | 955 | 2.03 | 23.68 | 46.48 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
- 10× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/buooy-aviary-editor/v0.6.6/admin/views/view-settings.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/buooy-aviary-editor/v0.6.8/admin/views/view-settings.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/buooy-aviary-editor/v0.6.8/admin/class-buooy-aviary-editor.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/buooy-aviary-editor/v0.6.6/admin/class-buooy-aviary-editor.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/buooy-aviary-editor/v0.6.6/admin/class-buooy-aviary-editor-admin.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/buooy-aviary-editor/v0.6.9/admin/class-buooy-aviary-editor.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/buooy-aviary-editor/v0.6.9/admin/lib/class-buooy-aviary-editor-ajax.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/buooy-aviary-editor/v0.6.9/admin/views/view-settings.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/buooy-aviary-editor/v0.6.8/admin/class-buooy-aviary-editor-admin.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/buooy-aviary-editor/v0.6.9/admin/lib/class-buooy-aviary-editor-ajax.php:5
- > 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 Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
8 plugin tags: photo editor, photos, image editor, images, adobe creative sdk...
buooy-aviary-editor/buooy-aviary-editor.php Passed 13 tests
The main PHP file in "Buooy Aviary Editor" ver. 0.6.9 adds more information about the plugin and also serves as the entry point for this plugin
102 characters long description:
Buooy Aviary Editor allows you to use the powerful Aviary editor to crop, edit and manage your images.
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
Everything looks great! No dangerous files found in this plugin614 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 99 | 57 | 327 |
JavaScript | 3 | 48 | 15 | 150 |
Bourne Shell | 1 | 29 | 35 | 135 |
CSS | 2 | 0 | 10 | 2 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 4.60 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 1.95 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 38 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 38 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 100.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 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
7 PNG files occupy 0.88MB with 0.36MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
v0.6.8/admin/assets/img/my-apps.png | 238.99KB | 125.67KB | ▼ 47.42% |
v0.6.9/admin/assets/img/stewaard.v.0.5.0.png | 7.44KB | 8.04KB | 0.00% |
v0.6.6/admin/assets/img/buooy-rectangle.png | 57.25KB | 25.64KB | ▼ 55.21% |
v0.6.9/admin/assets/img/buooy-rectangle.png | 57.25KB | 25.64KB | ▼ 55.21% |
v0.6.6/admin/assets/img/my-apps.png | 238.99KB | 125.67KB | ▼ 47.42% |