Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.15MB] [CPU: ▼15.95ms] Passed 4 tests
Server-side resources used by aviary photo editor
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 34.24 ▼1.46 |
Dashboard /wp-admin | 3.15 ▼0.15 | 29.28 ▼18.34 |
Posts /wp-admin/edit.php | 3.29 ▼0.07 | 31.79 ▼16.45 |
Add New Post /wp-admin/post-new.php | 5.51 ▼0.38 | 70.12 ▼25.26 |
Media Library /wp-admin/upload.php | 3.22 ▼0.01 | 29.01 ▼3.76 |
aviary photo editor options /wp-admin/options-general.php?page=aviary-photo-editor/aviary-photo-editor.php | 3.13 | 24.75 |
Server storage [IO: ▲1.97MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for aviary photo editor
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,807 ▲46 | 14.54 ▲0.02 | 1.73 ▲0.17 | 41.69 ▼0.45 |
Dashboard /wp-admin | 2,216 ▲39 | 5.77 ▲0.15 | 95.27 ▲7.62 | 41.40 ▼2.72 |
Posts /wp-admin/edit.php | 2,123 ▲23 | 2.09 ▲0.12 | 43.43 ▲3.98 | 36.16 ▲0.95 |
Add New Post /wp-admin/post-new.php | 1,540 ▲8 | 23.21 ▲0.26 | 642.07 ▼6.27 | 53.69 ▼7.49 |
Media Library /wp-admin/upload.php | 1,415 ▲12 | 4.27 ▲0.11 | 99.60 ▲6.95 | 41.81 ▲0.87 |
aviary photo editor options /wp-admin/options-general.php?page=aviary-photo-editor/aviary-photo-editor.php | 956 | 1.75 | 25.75 | 24.42 |
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 did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=aviary-photo-editor/aviary-photo-editor.php
- > Notice in wp-content/plugins/aviary-photo-editor/aviary-photo-editor.php+154
Trying to get property 'fileFormat' of non-object
- 26 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=aviary-photo-editor/aviary-photo-editor.php
- > Notice in wp-content/plugins/aviary-photo-editor/aviary-photo-editor.php+443
Trying to access array offset on value of type bool
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/aviary-photo-editor/aviary-photo-editor.php:13
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
These are user-side errors you should fix
- > GET request to /wp-admin/options-general.php?page=aviary-photo-editor/aviary-photo-editor.php
- > Javascript (severe) in unknown
/wp-admin/options-general.php?page=aviary-photo-editor/aviary-photo-editor.php 109:7 Uncaught ReferenceError: jQuery is not defined
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Screenshots: These screenshots require images: #1 (Plugin Options panel.), #2 (Media Library with Aviary editor button.), #3 (Aviary editor inside WordPress.)
aviary-photo-editor/aviary-photo-editor.php Passed 13 tests
The main PHP file in "aviary photo editor" ver. 0.1 adds more information about the plugin and also serves as the entry point for this plugin
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
Success! There were no dangerous files found in this plugin366 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 68 | 180 | 263 |
PO File | 2 | 30 | 32 | 97 |
JavaScript | 1 | 2 | 15 | 6 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 22.00 |
▷ Minimum class complexity | 22.00 |
▷ Maximum class complexity | 22.00 |
Average method complexity | 2.11 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.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 | 19 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 19 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
3 PNG files occupy 1.85MB with 1.73MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-3.png | 662.96KB | 49.05KB | ▼ 92.60% |
screenshot-1.png | 62.18KB | 5.35KB | ▼ 91.40% |
screenshot-2.png | 1,166.67KB | 35.39KB | ▼ 96.97% |