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.04MB] [CPU: ▼8.21ms] Passed 4 tests
An overview of server-side resources used by Flying Images
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 37.94 ▼8.02 |
Dashboard /wp-admin | 3.39 ▲0.08 | 48.55 ▼5.93 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 50.43 ▼2.84 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 90.15 ▼16.03 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 37.11 ▼0.14 |
Flying Images /wp-admin/options-general.php?page=flying-images | 3.27 | 35.24 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 20 new files
Database: no new tables, 16 new options
New WordPress options |
---|
flying_images_enable_cdn |
widget_theysaidso_widget |
flying_images_quality |
theysaidso_admin_options |
widget_recent-comments |
flying_images_cdn_exclude_keywords |
flying_images_lazymethod |
widget_recent-posts |
flying_images_enable_lazyloading |
flying_images_enable_compression |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Flying Images
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,822 ▲36 | 14.44 ▼0.09 | 3.08 ▲0.85 | 42.28 ▼3.27 |
Dashboard /wp-admin | 2,202 ▲22 | 5.50 ▼0.10 | 87.39 ▼9.87 | 78.80 ▲32.23 |
Posts /wp-admin/edit.php | 2,110 ▲5 | 1.98 ▼0.04 | 38.44 ▼1.02 | 33.96 ▼0.22 |
Add New Post /wp-admin/post-new.php | 1,532 ▼5 | 23.01 ▲4.97 | 715.12 ▲55.91 | 72.96 ▲4.32 |
Media Library /wp-admin/upload.php | 1,401 ▲1 | 4.30 ▲0.09 | 102.26 ▼5.07 | 65.80 ▲21.17 |
Flying Images /wp-admin/options-general.php?page=flying-images | 1,012 | 1.95 | 22.41 | 26.75 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 16 options
- flying_images_enable_cdn
- flying_images_enable_lazyloading
- flying_images_lazymethod
- theysaidso_admin_options
- flying_images_margin
- flying_images_exclude_keywords
- flying_images_cdn_exclude_keywords
- widget_theysaidso_widget
- flying_images_quality
- FLYING_IMAGES_VERSION
- ...
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
Everything seems fine, however 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 take a closer look at the following
- 8× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/nazy-load/settings/index.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/nazy-load/lib/wpfc-bridge.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/nazy-load/inject-js.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/nazy-load/resource-hints.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/nazy-load/lib/w3tc-bridge.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/nazy-load/settings/lazyload.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/nazy-load/lib/w3tc-bridge.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/nazy-load/init-config.php:42
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
4 plugin tags: compress images, image compression, cdn, adaptive images
nazy-load/flying-images.php 92% from 13 tests
The principal PHP file in "Flying Images" v. 2.4.14 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("nazy-load.php" instead of "flying-images.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 plugin2,488 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 18 | 516 | 390 | 2,393 |
JavaScript | 1 | 7 | 8 | 95 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.57 |
Average class complexity | 193.50 |
▷ Minimum class complexity | 138.00 |
▷ Maximum class complexity | 249.00 |
Average method complexity | 5.28 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 66.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 90 | |
▷ Static methods | 1 | 1.11% |
▷ Public methods | 75 | 83.33% |
▷ Protected methods | 15 | 16.67% |
▷ Private methods | 0 | 0.00% |
Functions | 34 | |
▷ Named functions | 30 | 88.24% |
▷ Anonymous functions | 4 | 11.76% |
Constants | 23 | |
▷ Global constants | 23 | 100.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
There were not PNG files found in your plugin