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.07MB] [CPU: ▼7.00ms] Passed 4 tests
An overview of server-side resources used by Adaptive Images for WordPress
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.11 ▼0.36 | 22.11 ▼14.92 |
Dashboard /wp-admin | 3.52 ▲0.22 | 46.24 ▼5.23 |
Posts /wp-admin/edit.php | 3.64 ▲0.28 | 50.21 ▲5.21 |
Add New Post /wp-admin/post-new.php | 6.10 ▲0.22 | 82.99 ▼11.60 |
Media Library /wp-admin/upload.php | 3.44 ▲0.22 | 39.35 ▲3.77 |
Adaptive Images /wp-admin/options-general.php?page=adaptive-images | 3.39 | 33.97 |
Server storage [IO: ▲0.20MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Adaptive Images for WordPress
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,850 ▲89 | 14.74 ▲0.13 | 3.75 ▲2.01 | 42.89 ▲0.80 |
Dashboard /wp-admin | 2,227 ▲50 | 5.58 ▲0.02 | 84.50 ▼4.84 | 41.12 ▼3.34 |
Posts /wp-admin/edit.php | 2,129 ▲29 | 2.13 ▲0.12 | 36.73 ▲1.14 | 34.58 ▼3.22 |
Add New Post /wp-admin/post-new.php | 1,549 ▲23 | 23.03 ▼0.42 | 636.78 ▼48.43 | 53.62 ▼11.70 |
Media Library /wp-admin/upload.php | 1,432 ▲32 | 4.21 ▲0.01 | 97.07 ▼3.50 | 44.43 ▲0.47 |
Adaptive Images /wp-admin/options-general.php?page=adaptive-images | 1,342 | 1.83 | 26.16 | 46.14 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Smoke test failed, please fix the following
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=adaptive-images
- > Notice in wp-content/plugins/adaptive-images/adaptive-images-admin.php+732
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
The following issues need your attention
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/adaptive-images/index.php
- > /wp-content/plugins/adaptive-images/adaptive-images-script.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)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 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
These attributes need to be fixed:
- Screenshots: Please a description for screenshot #0 in adaptive-images/assets to your readme.txt
- Tags: Please reduce the number of tags, currently 11 tag instead of maximum 10
adaptive-images/adaptive-images.php Passed 13 tests
This is the main PHP file of "Adaptive Images for WordPress" version 0.6.72, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
86 characters long description:
Resizes your images, by device screen size, to reduce download time in the mobile web.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected1,722 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 1,605 | 948 | 1,722 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
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 | 68 | |
▷ Named functions | 68 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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 are no PNG files in this plugin