Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼14.27ms] Passed 4 tests
An overview of server-side resources used by Aviary Editor
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 38.70 ▼1.21 |
Dashboard /wp-admin | 3.38 ▲0.03 | 50.80 ▼11.47 |
Posts /wp-admin/edit.php | 3.49 ▲0.14 | 45.05 ▼2.18 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 83.02 ▼41.08 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 34.50 ▼2.36 |
Aviary Options /wp-admin/options-general.php?page=aviary-editor/aviary-editor.php | 3.24 | 30.32 |
Server storage [IO: ▲1.20MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
Aviary Editor: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.18 ▼1.38 | 1.81 ▲0.11 | 43.38 ▲1.38 |
Dashboard /wp-admin | 2,213 ▲28 | 5.86 ▼0.01 | 111.89 ▲10.31 | 42.17 ▼0.87 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.01 ▼0.04 | 33.36 ▼6.23 | 34.28 ▼5.24 |
Add New Post /wp-admin/post-new.php | 1,536 ▲22 | 23.12 ▲5.52 | 640.94 ▲45.57 | 48.67 ▼4.23 |
Media Library /wp-admin/upload.php | 1,398 ▲7 | 4.15 ▼0.10 | 95.71 ▼0.76 | 41.13 ▼5.44 |
Aviary Options /wp-admin/options-general.php?page=aviary-editor/aviary-editor.php | 963 | 2.05 | 24.20 | 27.87 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Please fix the following server-side errors
- 36 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=aviary-editor/aviary-editor.php
- > Notice in wp-content/plugins/aviary-editor/aviary-editor.php+372
Trying to access array offset on value of type bool
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
The following issues need your attention
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/aviary-editor/aviary-editor.php
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)
There were no browser issues found
Optimizations
Plugin configuration 97% 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
Attributes that require attention:
- Screenshots: Please add images for these screenshots: #1 (Plugin Options panel.), #2 (Media Library with Aviary editor button.), #3 (Aviary editor inside WordPress.)
aviary-editor/aviary-editor.php Passed 13 tests
"Aviary Editor" version 0.3's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
82 characters long description:
A plugin that integrates The Awesome Aviary editor In the WordPress Media Library.
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
No dangerous file extensions were detected292 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 43 | 173 | 286 |
JavaScript | 1 | 2 | 15 | 6 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 29.00 |
▷ Minimum class complexity | 29.00 |
▷ Maximum class complexity | 29.00 |
Average method complexity | 2.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 18 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 18 | 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 | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
4 PNG files occupy 1.07MB with 0.62MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 99.57KB | 30.33KB | ▼ 69.54% |
screenshot-1.png | 19.47KB | 7.87KB | ▼ 59.58% |
screenshot-3.png | 979.80KB | 230.83KB | ▼ 76.44% |
aviary/edit-photo.png | 1.16KB | 0.88KB | ▼ 24.33% |